/* ===========================
   HARDWARE PAGES
   =========================== */

/* Taller CTA section on hardware pages */
.section-cta-yellow { padding: 8rem 2rem; }

/* Reduced section spacing */
.section-reduce-bottom { padding-bottom: 2.5rem; }
.section-reduce-top { padding-top: 2.5rem; }

/* Product Card wrapper */
.product-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 3rem;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Gallery */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 100px;
  align-self: start;
}

.product-main-image {
  border-radius: 16px;
  overflow: hidden;
  background: #f5f0ff;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.product-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--color-text-light);
  font-size: 0.9rem;
  background: linear-gradient(135deg, #f0e8ff 0%, #ffe3ff 100%);
  min-height: 400px;
}

.product-thumbnails {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-thumb {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  background: #f5f0ff;
}

.product-thumb.active {
  border-color: var(--color-pink);
}

.product-thumb:hover { border-color: var(--color-pink); }

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0e8ff 0%, #ffe3ff 100%);
  color: var(--color-text-light);
  font-size: 0.8rem;
  font-weight: 700;
}

.thumb-video-indicator {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a2e;
  color: white;
  font-size: 1.2rem;
}

/* Spec images below CTA button */
.product-spec-imgs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.spec-img-full {
  width: 100%;
  object-fit: contain;
}

.spec-img-badge {
  width: 100%;
  object-fit: contain;
}

/* Product Info */
.product-category {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-pink);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.product-description p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.product-description strong { color: var(--color-dark); }
.pink-note strong { color: var(--color-pink) !important; }
.product-description em { font-style: italic; }

.product-note {
  font-size: 0.85rem !important;
  margin-top: 0.5rem;
}

.pink-note {
  color: var(--color-pink) !important;
  background: #fff0bf;
  border-radius: 8px;
  padding: 0.6rem 0.875rem !important;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-dark);
  margin: 1.5rem 0;
}

.btn-buy {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--color-pink);
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem;
  border-radius: 10px;
  transition: var(--transition);
  text-decoration: none;
  margin-bottom: 1rem;
}

.btn-buy:hover {
  background: #c4208a;
  transform: translateY(-2px);
}

.product-pickup {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-light);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.6;
}

.product-pickup svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-pink);
}

.product-pickup span {
  display: block;
  color: var(--color-text-light);
}

/* Trust Container */
.trust-container {
  background: linear-gradient(to bottom, #ffe3ff 0%, #e732a0 100%);
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1.25rem;
}

/* Trust Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1rem;
  text-align: center;
}

.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  color: var(--color-dark);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-item h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.4rem;
  line-height: 1.3;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-item p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-dark);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Hardware Features Grid */
.hw-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
  text-align: center;
}

.hw-feature-icon {
  width: 144px;
  height: 144px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hw-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hw-feature h3 {
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 700;
  color: #000;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.hw-feature p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #000;
  line-height: 1.7;
  max-width: 325px;
  margin: 0 auto;
}

/* Google Reviews */
.reviews-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--color-pink);
  text-align: center;
  margin-bottom: 2rem;
}

.reviews-wrapper {
  position: relative;
}

.reviews-grid {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.reviews-grid::-webkit-scrollbar {
  display: none;
}

.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  color: var(--color-pink);
  z-index: 2;
  transition: var(--transition);
}

.reviews-arrow:hover {
  background: var(--color-pink);
  color: white;
}

.reviews-arrow-left { left: -20px; }
.reviews-arrow-right { right: -20px; }

.review-card {
  min-width: calc(33.333% - 0.85rem);
  scroll-snap-align: start;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-initial {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-pink);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-dark);
}

.review-stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-google-g {
  width: 24px;
  height: 24px;
  margin-left: auto;
  flex-shrink: 0;
}

.review-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #333;
  line-height: 1.7;
}

.review-images {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.review-images img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 600px) {
  .review-card { min-width: 100%; }
}

/* You May Also Like */
.also-like-title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.also-like-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.also-like-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
  min-width: calc(25% - 1rem);
  scroll-snap-align: start;
  flex-shrink: 0;
}

.also-like-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.also-like-img {
  background: linear-gradient(135deg, #c8b0e8 0%, #e8a0d0 100%);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.also-like-img {
  position: relative;
}

.also-like-img .also-img-1,
.also-like-img .also-img-2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.also-like-img .also-img-2 {
  opacity: 0;
}

.also-like-card:hover .also-img-1 {
  opacity: 0;
}

.also-like-card:hover .also-img-2 {
  opacity: 1;
}

.also-like-placeholder {
  background: #f0f0f0;
  color: var(--color-text-light);
  font-size: 0.8rem;
}

.also-like-card h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-dark);
  padding: 0.75rem 1rem 0.25rem;
  text-align: center;
}

.also-like-price {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--color-pink);
  font-family: var(--font-heading);
  font-weight: 900;
  padding: 0 1rem 1rem;
  text-align: center;
}

/* Interested CTA */
.interested-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--color-pink);
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 900px) {
  .product-card { padding: 1.5rem; }
  .product-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hw-features-grid { grid-template-columns: repeat(2, 1fr); }
  .product-gallery { position: static; }
  .section-cta-yellow { padding: 4rem 1.25rem; }
  .also-like-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .hw-features-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hw-feature-icon { width: 100px; height: 100px; }
  .hw-feature p { font-size: 0.95rem; }
  .also-like-grid { grid-template-columns: repeat(2, 1fr); }
  .also-like-card { min-width: calc(50% - 0.625rem); }
  .product-thumbnails { gap: 0.5rem; }
  .product-thumb { width: 60px; height: 60px; }
}

/* 4-column features grid (Pro) */
.hw-features-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.hw-features-grid-4 .hw-feature h3 {
  min-height: 5.5rem;
}

/* Spec badges */
.product-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}

.spec-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
}

.spec-badge-dark { background: #1a1a2e; }
.spec-badge-orange { background: #e8732a; }
.spec-badge-green { background: #3dbd4a; }

/* Payment badges */
.payment-badges {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  border: 1.5px solid var(--color-pink);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
}

.payment-badges img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.payment-badges img:nth-child(2) { height: 28px; width: auto; }
.payment-badges img:nth-child(3) { height: 50px; width: auto; }

@media (max-width: 900px) {
  .hw-features-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Product specs bullet list */
.product-specs {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.product-specs li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}
