/* =============================================================================
   WrickX Inner Pages CSS — wrickx-pages.css
   Figures / Others / Clothing / Contact Us
   ============================================================================= */

/* ── Reset helpers shared with home-page.css ──────────────────── */
.wrx-page *,
.wrx-page *::before,
.wrx-page *::after {
  box-sizing: border-box;
}

/* ── PAGE WRAPPER ─────────────────────────────────────────────── */
.wrx-page {
  min-height: 60vh;
  background: #f5f5f5;
}

/* ── HERO BANNER ──────────────────────────────────────────────── */
.wrx-hero-banner {
  position: relative;
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #111; /* Fallback */
  background-size: cover;
  background-position: center;
}

.wrx-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.wrx-hero-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: clamp(32px, 6vw, 58px);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  margin: 0;
}

/* ── Per-page hero backgrounds ──── */
.wrx-hero-figures {
  background-image: url('https://thewrickx.com/wp-content/uploads/2026/06/BIG-3.webp');
  background-color: #7a1a1a;
}

.wrx-hero-others {
  background-image: url('https://thewrickx.com/wp-content/uploads/2026/06/Death.avif');
  background-color: #0d2e2e;
}

.wrx-hero-clothing {
  background-image: linear-gradient(135deg, #b8b8b8 0%, #e0e0e0 50%, #c0c0c0 100%);
  background-color: #c8c8c8;
}

/* "Coming Soon" title has a red badge style */
.wrx-hero-title--coming {
  background: #d8232a;
  padding: 10px 32px;
  border-radius: 4px;
  font-size: clamp(26px, 4vw, 40px);
  text-transform: none;
  letter-spacing: 0;
}

.wrx-hero-contact {
  background-image: url('https://thewrickx.com/wp-content/uploads/2026/06/millennium-falcon-2-scaled-1.webp');
  background-color: #0a1a2a;
}

/* ── Hollywood: vibrant comic art banner ─────────────────────── */
.wrx-hero-hollywood {
  background-image: url('https://thewrickx.com/wp-content/uploads/2026/06/1144579-scaled-1.avif');
  background-color: #1a0a1a;
}

/* ── Anime: dark blue eye-art banner ────────────────────────── */
.wrx-hero-anime {
  background-image: url('https://thewrickx.com/wp-content/uploads/2026/06/BIG-3.webp');
  background-color: #04102a;
}

/* ── Hot Wheels: no banner — page starts immediately ─────────── */
.wrx-page--no-banner {
  background: #f5f5f5;
}

.wrx-product-section--top {
  padding-top: 32px;
}

/* ── PRODUCT SECTION (shared wrapper) ─────────────────────────── */
.wrx-product-section {
  padding: 32px 40px 64px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Override WooCommerce/shortcode grid to look like the reference images */
.wrx-product-section .wrickx-product-grid,
.wrx-product-section .products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Each product card */
.wrx-product-section .wrickx-product-card,
.wrx-product-section .product {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}

.wrx-product-section .wrickx-product-card:hover,
.wrx-product-section .product:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

/* Product image */
.wrx-product-section .wrickx-product-card img,
.wrx-product-section .product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ── CLOTHING COMING SOON GRID ─────────────────────────────────── */
.wrx-clothing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wrx-clothing-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.wrx-clothing-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e8e8e8;
}

.wrx-clothing-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px) brightness(0.9);
  transform: scale(1.05); /* Prevent blur edge gaps */
  display: block;
}

/* Blurred placeholder when no image */
.wrx-clothing-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c8c8c8, #e8e8e8);
}

.wrx-clothing-blur-overlay {
  position: absolute;
  inset: 0;
  background: rgba(200, 200, 200, 0.1);
}

.wrx-clothing-label {
  padding: 16px;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── CONTACT US ────────────────────────────────────────────────── */
.wrx-contact-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 40px 80px;
  background: #fff;
}

.wrx-contact-info {
  text-align: center;
  margin-bottom: 36px;
}

.wrx-contact-email {
  font-size: 18px;
  font-weight: 500;
  color: #111;
  margin-bottom: 16px;
}

.wrx-contact-email a {
  color: inherit;
  text-decoration: none;
}

.wrx-contact-email a:hover {
  text-decoration: underline;
}

.wrx-contact-address {
  font-size: 18px;
  font-weight: 500;
  color: #111;
  line-height: 1.6;
}

/* Alerts */
.wrx-alert {
  padding: 14px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.wrx-alert--success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.wrx-alert--error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Contact form */
.wrx-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wrx-field {
  position: relative;
}

.wrx-field input,
.wrx-field textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}

.wrx-field input:focus,
.wrx-field textarea:focus {
  border-color: #888;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .06);
}

.wrx-field input::placeholder,
.wrx-field textarea::placeholder {
  color: #999;
}

/* Phone field with flag */
.wrx-field--phone {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.wrx-field--phone:focus-within {
  border-color: #888;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .06);
}

.wrx-phone-flag {
  padding: 0 10px 0 14px;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  pointer-events: none;
}

.wrx-field--phone input {
  border: none;
  padding: 14px 16px 14px 4px;
  border-radius: 0 4px 4px 0;
  flex: 1;
}

.wrx-field--phone input:focus {
  box-shadow: none;
}

.wrx-field textarea {
  resize: vertical;
  min-height: 120px;
}

/* SEND button */
.wrx-contact-btn {
  width: 100%;
  padding: 16px;
  background: #b01a22;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: background .2s;
  text-transform: uppercase;
  font-family: inherit;
}

.wrx-contact-btn:hover {
  background: #8e141b;
}

/* ── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .wrx-product-section {
    padding: 24px 20px 48px;
  }

  .wrx-product-section .wrickx-product-grid,
  .wrx-product-section .products,
  .wrx-clothing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .wrx-contact-wrap {
    padding: 36px 20px 56px;
  }
}

@media (max-width: 600px) {
  .wrx-hero-banner {
    height: 160px;
  }

  .wrx-product-section .wrickx-product-grid,
  .wrx-product-section .products,
  .wrx-clothing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .wrx-hero-title--coming {
    font-size: 22px;
    padding: 8px 20px;
  }
}

/* =============================================================================
   FOOTER — matches home-page.css exactly
   ============================================================================= */
.whp-footer {
  background: #111;
  color: rgba(255, 255, 255, .75);
  padding: 56px 30px 24px;
}

.whp-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.whp-footer-logo img {
  height: 44px;
  margin-bottom: 16px;
}

.whp-footer-logo p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .5);
  max-width: 240px;
}

.whp-footer-col h3 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.whp-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.whp-footer-col ul li {
  margin-bottom: 10px;
}

.whp-footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  transition: color .2s;
}

.whp-footer-col ul li a:hover {
  color: #fff;
}

.whp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.whp-footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, .35);
}

.whp-footer-social {
  display: flex;
  gap: 12px;
}

.whp-footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.whp-footer-social a:hover {
  background: rgba(255, 255, 255, .18);
}

.whp-footer-social svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, .65);
}

/* Footer responsive */
@media (max-width: 900px) {
  .whp-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 500px) {
  .whp-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .whp-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

