/* Honchie Virtual Gift Shop - Original-style navigation */
.honchie-nav {
  font-family: Arial, sans-serif;
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
  white-space: nowrap;
  overflow-x: auto;
  text-align: center;
}
.honchie-nav a {
  color: #c00;
  text-decoration: none;
}

.honchie-nav a + a {
  margin-left: 0.35em;
}
.honchie-nav a:hover {
  color: #e33;
}
.honchie-nav a.active {
  font-weight: normal;
}

/* Amazon-style product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  padding: 24px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 16px;
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  background: #f8f8f8;
  margin-bottom: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Classic only: natural state - contain, centered, not full frame */
body:not(.theme-modern) .product-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.3;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-description {
  font-size: 12px;
  color: #555;
  margin: 0 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: #b12704;
  margin: 0 0 8px;
}

.product-cta {
  font-size: 12px;
  color: #007185;
}

.product-cta:hover {
  text-decoration: underline;
}

.no-products {
  padding: 48px 24px;
  text-align: center;
  color: #666;
}

.category-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 0;
}

.category-header h1 {
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 8px;
  color: #111;
}

.category-header p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* Theme toggle button - base styles */
.theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s;
}

.theme-toggle:hover {
  background: #f5f5f5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Homepage - organized layout with all promo content */
.homepage {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}
.homepage-banners {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}
.homepage-carousel {
  display: none;
}

.homepage-banners img {
  max-height: 80px;
  width: auto;
}
.homepage-intro {
  padding: 24px 0;
  max-width: 560px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}
.homepage-intro p {
  margin: 0 0 12px;
}
.homepage-intro p:last-child {
  margin-bottom: 0;
}
.homepage-intro em {
  font-style: italic;
}
.homepage-promo {
  padding: 24px 0;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}
.homepage-promo a {
  color: #c00;
  text-decoration: none;
  font-weight: 600;
}
.homepage-promo a:hover {
  text-decoration: underline;
}
.homepage-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px 0;
}
@media (max-width: 700px) {
  .homepage-featured { grid-template-columns: 1fr; }
}
.homepage-card {
  display: flex;
  flex-direction: column;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}
.homepage-card-img {
  display: block;
  padding: 16px;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.homepage-card-img img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
}
.homepage-card-img-multi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.homepage-card-img-multi img {
  max-height: 100px;
}
.homepage-card-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.homepage-card-links img {
  max-height: 50px;
}
.homepage-card-saltshaker .homepage-card-img img {
  max-height: 80px;
}
.homepage-card-body {
  padding: 16px;
  flex: 1;
}
.homepage-card-body h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.homepage-card-body h3 a {
  color: #c00;
  text-decoration: none;
}
.homepage-card-body h3 a:hover {
  text-decoration: underline;
}
.homepage-card-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #444;
}
.homepage-card-body a {
  color: #c00;
  text-decoration: none;
}
.homepage-card-body a:hover {
  text-decoration: underline;
}
.homepage-links {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid #eee;
}
.homepage-links a {
  margin: 0 16px;
}
.homepage-links img {
  max-height: 60px;
  vertical-align: middle;
}
.homepage-footer {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #eee;
}
.homepage-footer img {
  display: block;
  margin: 12px auto;
}

/* Modern theme: product images fill frame, left-aligned (in shop.css so always loaded) */
body.theme-modern .product-image {
  display: block !important;
}
body.theme-modern .product-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: left center !important;
}
