/* huntinggear.css */
body {
  font-family: Arial, sans-serif;
  background-color: #2b2b2b;
  color: white;
}
.hg-title {
  text-align: center;
  font-size: 2rem;
  margin: 1rem 0;
  color: #ffd700;
}
@media screen and (max-width: 468px) {
  .hg-title {
    font-size: 20px;
    margin-bottom: 8px;
  }
}
.hg-container {
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #2b2b2b;
}
@media screen and (max-width: 468px) {
  .hg-container {
    scroll-margin-top: 60px; /* so anchors or scrolls land better */
  }
}
.hg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.hg-card {
  background-color: #3e3e3e;
  border: 1px solid #555;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  padding: 0.5rem;
  flex: 0 0 auto;
  width: 140px;
  max-width: 45vw;
  margin-right: 10px;
}
.hg-card a {
  text-decoration: none !important;
  color: inherit;
}

.hg-card a:visited,
.hg-card a:hover,
.hg-card a:active {
  text-decoration: none !important;
  color: inherit;
}
.hg-card:hover {
  transform: scale(1.03);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
}

.hg-thumb {
  display: block;
  margin: 0 auto;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}
/*
.hg-thumb {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}
  */
.hg-card-text {
  padding: 0.75rem;
  text-align: center;
}
.hg-card-text a {
  text-decoration: none;
  color: inherit;
}
.hg-prod-name {
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: bold;
  color: white;
  margin: 0.5rem 0;
}

.hg-prod-brand,
.hg-prod-cat {
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 0.25rem;
}

.hg-product-wrap {
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.hg-product-header {
  text-align: center;
  margin-bottom: 2rem;
}

.hg-product-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.hg-product-main {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.hg-product-image {
  flex: 1 1 300px;
}

.hg-product-info {
  flex: 1 1 300px;
}

.hg-product-price {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.hg-price-retail {
  text-decoration: line-through;
  color: #888;
  margin-right: 0.5rem;
}

.hg-price-sale {
  color: red;
  font-weight: bold;
}

.hg-price-current {
  font-weight: bold;
}

.hg-btn-buy {
  display: inline-block;
  background: green;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

.hg-product-desc h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.hg-product-desc p {
  line-height: 1.6;
  white-space: pre-wrap;
}
.hg-prod-price {
  margin-top: 0.5rem;
  font-size: 1rem;
}

.hg-sale-price {
  color: #ff4d4d;
  font-weight: bold;
}

.hg-retail-strike {
  text-decoration: line-through;
  color: #aaa;
  margin-left: 5px;
}

.hg-sale-badge-wrapper {
  margin-bottom: 0.25rem;
}

.hg-sale-badge {
  display: inline-block;
  background-color: #ff4d4d;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
}
.hg-filter-bar {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  padding: 15px;
  background-color: #f8f8f8;
  border-radius: 8px;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hg-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.hg-filter-select {
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  min-width: 180px;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
@media screen and (max-width: 468px) {
  .hg-filter-select {
    display: block;
    width: 100%;
    min-width: unset;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
}
.hg-checkbox-label {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hg-filter-btn,
.hg-reset-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
}

.hg-filter-btn {
  background-color: #a51d2d;
  color: white;
  transition: background-color 0.2s;
}

.hg-filter-btn:hover {
  background-color: #7f1623;
}

.hg-reset-btn {
  background-color: #555;
  color: white;
}

.hg-reset-btn:hover {
  background-color: #333;
}
.hg-checkbox-label {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  color:red; /* Set text color to black */
}
.hg-pagination-wrapper {
  text-align: center;
  margin-top: 20px;
}

.hg-page-link {
  display: inline-block;
  padding: 6px 12px;
  margin: 4px;
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
}

.hg-page-link:hover,
.hg-page-link.active {
  background-color: #333;
  color: #fff;
}
.hg-backtotop {
  text-align: center;
  margin: 20px 0 40px;
}

.hg-back-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #374c2c;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.hg-back-btn:hover {
  background-color: #4f663c;
}
.hg-float-btn-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: none;
}

.hg-float-btn {
  background-color: #2c3e50;
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s;
}
.hg-float-btn:hover {
  background-color: #1a252f;
}
.hg-product-container {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.hg-breadcrumbs {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: #ccc;
}

.hg-breadcrumbs a {
  color: #ffd700;
  text-decoration: none;
}
.hg-breadcrumbs a:hover {
  text-decoration: underline;
}

.hg-product-card {
  display: flex;
  flex-wrap: wrap;
  background-color: #3a3a3a;
  border: 1px solid #555;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  padding: 1rem;
  gap: 1.5rem;
}

.hg-product-img-block {
  flex: 1 1 300px;
}

.hg-product-img {
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
.hg-updated-at {
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 0.5rem;
}
.hg-product-info-block {
  flex: 1 1 300px;
  color: #fff;
}

.hg-product-name {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.hg-product-brand {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.hg-product-price {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.hg-product-buy {
  margin-bottom: 1.5rem;
}

.hg-buy-btn {
  background-color: #a51d2d;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.hg-buy-btn:hover {
  background-color: #7f1623;
}

.hg-product-desc {
  font-size: 1rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .hg-product-card {
    flex-direction: column;
    padding: 1rem;
  }

  .hg-product-img {
    max-width: 100%;
  }

  .hg-product-info-block {
    padding-top: 1rem;
  }
}
.hg-related-title {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: #ffd700;
  text-align: center;
}

.hg-related-wrapper {
  margin-top: 3rem;
}
.hg-scroll-row {
  -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
}

.hg-scroll-row .hg-card {
  min-width: 220px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.hg-card-see-more {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  background-color: #444;
  color: white;
}
.hg-scrollable {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding-bottom: 1rem;
}

.hg-scrollable > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.hg-scroll-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
}

.hg-scroll-wrapper a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  scroll-snap-align: start;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
}

.hg-scroll-wrapper img {
  width: 1000px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}
.hg-prod-block {
  margin: 2rem auto;
  text-align: center;
}

.hg-block-heading {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: bold;
  background-color: #a51d2d;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}
@media (max-width: 600px) {
  .hg-block-heading {
    font-size: 1.25rem;
  }
}
.hg-block-heading:hover {
  background-color: #7f1623;
  transform: scale(1.03);
  cursor: pointer;
}
.hg-explore-btn-wrapper {
  text-align: center;
  margin: 2rem auto 3rem;
}

.hg-explore-btn {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: bold;
  background-color: #a51d2d;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hg-explore-btn:hover {
  background-color: #7f1623;
  transform: scale(1.03);
}
.hg-more-info-link {
  text-align: center;
  margin-top: 0.75rem;
}

.hg-more-info-link a {
  color: #ffd700;
  font-size: 1rem;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.2s ease;
}

.hg-more-info-link a:hover {
  color: #fff;
}
.hg-category-scroll a {
  display: inline-block;
  width: 100px;
  max-width: 25vw;
  margin-right: 12px;
  text-align: center;
  text-decoration: none;
}

.hg-category-scroll img {
  width: 100%;
  max-width: 60px;
  margin: 0 auto 4px;
  display: block;
}

.hg-category-scroll div {
  font-size: 0.85rem;
  white-space: nowrap;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 600px) {
  .hg-category-scroll a {
    width: 80px;
  }
  .hg-category-scroll img {
    max-width: 80px;
  }
}
.hg-card-grid {
  background-color: #3e3e3e;
  border: 1px solid #555;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  padding: 0.5rem;
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
}

.hg-card-grid:hover {
  transform: scale(1.03);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
}

.hg-card-grid img.hg-thumb {
  width: 120px;
  height: 120px;
}
.hg-card-grid a {
  text-decoration: none !important;
  color: inherit;
}

.hg-card-grid a:visited,
.hg-card-grid a:hover,
.hg-card-grid a:active {
  text-decoration: none !important;
  color: inherit;
}
.hg-watch-controls {
  margin-top: 0.75rem;
}

.watch-icon, .notify-icon {
  cursor: pointer;
  font-size: 1.5rem;
  margin-right: 10px;
  color: #ccc;
}

.watch-icon.active, .notify-icon.active {
  color: #ffd700;
}
.hg-watch-wrapper {
  margin-top: 1rem;
}

.hg-watch-controls span {
  cursor: pointer;
  font-size: 1.4rem;
  margin-right: 0.5rem;
}
.gear-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 20px;
  background: #333;
  color: white;
  border-radius: 6px;
  z-index: 9999;
  font-size: 14px;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}
.gear-toast.error { background: #c0392b; }
.gear-toast.success { background: #27ae60; }
.hg-sms-hidden {
  display: none;
}
/* === MyGear Settings Page === */
.hg-settings-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #333;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hg-settings-container h1 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  text-align: center;
}

.hg-settings-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hg-checkbox-label input[type="checkbox"] {
  margin-right: 0.5rem;
}

.hg-input-label input[type="tel"],
.hg-input-label input[type="text"] {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 0.3rem;
}

.hg-success-msg,
.hg-error-msg {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
}

.hg-success-msg {
  background-color: #e7f9ee;
  color: #2b7a4b;
  border: 1px solid #b1e4c1;
}

.hg-error-msg {
  background-color: #fde8e8;
  color: #c0392b;
  border: 1px solid #f5b7b1;
}

.hg-sms-verification {
  margin-top: 1rem;
}

.hg-sms-verification input[type="text"] {
  width: 100%;
}

.hg-resend-code {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #007BFF;
  text-decoration: underline;
}

.hg-resend-code:hover {
  color: #0056b3;
}

.hg-verified-status {
  color: green;
  font-weight: 600;
}

.hg-btn {
  display: inline-block;
  background-color: #2a7a2d;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 1rem;
}

.hg-btn:hover {
  background-color: #256a27;
}
.hg-settings-btn {
  display: inline-block;
  margin-left: 1rem;
  font-size: 0.9rem;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  color: #333;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.hg-settings-btn:hover {
  background-color: #e0e0e0;
}
.hg-btn-center {
  text-align: center;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.hg-loggedin-name {
  text-align: center;
  color: #ccc;
  font-size: 0.95em;
  margin-top: 0;
}
.hg-topcat-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.hg-topcat-nav-left, .hg-topcat-nav-right {
  flex: 0 0 auto;
}
@media screen and (max-width: 468px) {
  .hg-topcat-nav {
    flex-direction: column;
    gap: 8px;
  }
}