/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Description: Child theme for Blocksy â€“ FunhouseBids
Author: Your Name
Author URI: https://funhousebids.com
Template: blocksy
Version: 1.0.0
Text Domain: blocksy-child
*/


/* =========================
   FUNHOUSE NAVBAR (MOCHA)
   ========================= */

.funhouse-nav {
  width: 100%;
  background: #fff7ed;
  border-bottom: 4px solid #b45309;
  font-family: 'Fredoka One', system-ui, sans-serif;
  letter-spacing: 0.04em;  
}

/* Carnival stripes */
.carnival-stripes {
  height: 22px;
  background: repeating-linear-gradient(
    45deg,
    #b91c1c,
    #b91c1c 16px,
    #fbbf24 16px,
    #fbbf24 32px
  );
}

/* Main layout */
.funhouse-main {
  max-width: 1200px;
  margin: auto;
  padding: 24px 16px;
  text-align: center;
}

/* Header row layout */
.funhouse-header-row {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo */
.funhouse-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #fbbf24;
  width: 100%;
  position: relative;
}

/* Keep logo centered even with hamburger */
.fhb-hamburger {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.funhouse-logo img {
  width: 80px;
  height: 80px;
}

.funhouse-logo h1 {
  font-size: 3rem;
  color: #7f1d1d;
  margin: 0;
  letter-spacing: 2px;
}

.funhouse-logo > div {
  text-align: center;
}

/* Ribbon */
.funhouse-logo .tagline {
  display: inline-block;
  margin-top: 8px;
  background: #b91c1c;
  color: white;
  padding: 6px 20px;
  font-size: 1rem;
  transform: skewX(-12deg);
}

.funhouse-logo .tagline::before {
  content: attr(data-text);
  transform: skewX(12deg);
}

/* Menu */
.funhouse-menu {
  margin-top: 20px;
}

.funhouse-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 0;
  margin: 0;
}

.funhouse-menu li {
  position: relative;
  padding-right: 28px;
}

.funhouse-menu li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 24px;
  width: 2px;
  background: #b45309;
}

.funhouse-menu a {
  text-decoration: none;
  color: #7f1d1d;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.funhouse-menu a:hover {
  color: #dc2626;
}

/* Mobile */
@media (max-width: 768px) {
  .funhouse-logo {
    flex-direction: column;
  }

  .funhouse-logo img {
    position: static;
  }

  .funhouse-menu ul {
    flex-wrap: wrap;
    gap: 16px;
  }

  .funhouse-menu li::after {
    display: none;
  }
}






/* FOOTER */

@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');

/* ========== FOOTER BASE ========== */
.fhb-footer {
  background: linear-gradient(90deg, #7f1d1d, #c2410c, #f59e0b);
  color: #fff;
  width: 100%;
}

.fhb-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px 30px;
}

.fhb-carnival {
  font-family: 'Fredoka One', cursive;
  letter-spacing: 0.04em;
}

/* ========== APP CTA ========== */
.fhb-app-cta {
  background: linear-gradient(90deg, #facc15, #fb923c);
  color: #7f1d1d;
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  margin-bottom: 50px;
}

.fhb-app-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.fhb-icon {
  font-size: 28px;
}

.fhb-app-text {
  margin: 14px 0 20px;
  font-size: 15px;
}

.fhb-app-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.fhb-btn {
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.fhb-btn.primary {
  background: #7f1d1d;
  color: #fff;
}

.fhb-btn.primary:hover {
  background: #651818;
}

.fhb-btn.ghost {
  background: rgba(255,255,255,0.3);
  color: #7f1d1d;
}

/* ========== GRID ========== */
.fhb-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.fhb-footer-col a,
.fhb-socials a {
  display: block;
  color: #fde68a;
  text-decoration: none;
  margin: 6px 0;
}

.fhb-footer-col a:hover,
.fhb-socials a:hover {
  color: #fff;
}

/* ========== BRAND ========== */
.fhb-brand-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.fhb-brand-row img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
}

.fhb-tagline {
  font-size: 12px;
  color: #fde68a;
}

.fhb-desc {
  font-size: 14px;
  margin: 12px 0;
}

.fhb-contact {
  font-size: 13px;
}

/* ========== BOTTOM ========== */
.fhb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.35);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 13px;
}

.fhb-bottom-links a {
  margin-left: 16px;
  color: #fde68a;
  text-decoration: none;
}

.fhb-bottom-links .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.fhb-bottom-links .menu li {
  margin: 0;
}

.fhb-bottom-links .menu a {
  color: #fde68a;
  text-decoration: none;
}



/* Home page */
/* GLOBAL */
.cream-bg {
  background: #fff6e5;
  min-height: 100vh;
}

.carnival-text {
  font-family: 'Fredoka One', cursive;
}

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.3));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  padding: 2rem;
}

.badge {
  display: inline-block;
  background: #7a0c0c;
  color: #ffdf7e;
  padding: 10px 25px;
  border-radius: 50px;
  font-family: 'Fredoka One';
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Fredoka One';
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
}

.hero-title .yellow { color: #ffd34d; }
.hero-title .red { color: #ff4b4b; }

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 1.5rem auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 35px;
  border-radius: 50px;
  font-family: 'Fredoka One';
  text-decoration: none;
  border: 3px solid;
}

.btn-red {
  background: #b11212;
  color: #ffe39c;
  border-color: #ffe39c;
}

.btn-yellow {
  background: #ffcc33;
  color: #7a0c0c;
  border-color: #7a0c0c;
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px,1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  background: rgba(0,0,0,.5);
  border: 1px solid #ffd34d55;
  padding: 1rem;
  border-radius: 10px;
}

.stat-number {
  font-family: 'Fredoka One';
  font-size: 1.5rem;
  color: #ffd34d;
}

/* FEATURED */
.featured {
  padding: 4rem 2rem;
}

.section-title {
  text-align: center;
  font-family: 'Fredoka One';
  font-size: 2.5rem;
  color: #7a0c0c;
  margin-bottom: 3rem;
}

/* ===============================
   FIXED WIDTH GRID
================================ */

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 260px);
  gap: 2rem;
  justify-content: center;
}


.item-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform .3s;
  width: 260px;
  position: relative;
}

.item-card:hover {
  transform: scale(1.05);
}

/* ===============================
   AUCTION CARD IMAGE (FULL FIT)
================================ */
/* ===============================
   SQUARE IMAGE CROPPING
================================ */

.item-image {
  width: 100%;
  aspect-ratio: 1 / 1; /* forces square */
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===============================
   AUCTION CARD BASE STYLE
================================ */

.items-grid .item-card {
  border: 3px solid #facc15; /* gold */
  border-radius: 12px;
  background: #ffffff;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Shared */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

/* =======================
   EARN TICKETS
======================= */

.earn-tickets-section {
  background: #fff6cc;
}

.earn-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 40px;
}

.wheel {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 10px solid #a44a12;
  background: #fff;
  position: relative;
}

.wheel-center {
  width: 40px;
  height: 40px;
  background: #a44a12;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.earn-text h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 48px;
  color: #9b1c1c;
  margin-bottom: 20px;
  text-align: center;
}

.ticket-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.ticket-tags span {
  background: #8b3f0f;
  color: #fff;
  padding: 10px 18px;
  font-weight: bold;
  transform: skewX(-12deg);
}

.ticket-tags span::before {
  content: "";
  display: inline-block;
  transform: skewX(12deg);
}

.play-now-btn {
  background: #cc1f1f;
  color: #fff;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 6px 0 #8b0f0f;
}

.play-now-btn:hover {
  transform: scale(1.05);
}

/* =======================
   TRUST SECTION
======================= */

.trust-section {
  background: #fdf7ec;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.safe-badge {
  background: #b91c1c;
  color: #fff;
  display: inline-block;
  padding: 14px 28px;
  font-weight: bold;
  transform: skewX(-12deg);
  margin-bottom: 30px;
}

.payment-badges {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.badge {
  padding: 14px 18px;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
}

.visa { background: #2563eb; }
.mastercard { background: #dc2626; }
.buyer {
  background: #d97706;
  text-align: center;
  font-size: 12px;
}

.trust-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.trust-card {
  background: #fff;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.trust-card strong {
  display: block;
  font-size: 36px;
  color: #9b1c1c;
}

.trust-card span {
  color: #b45309;
  font-weight: bold;
}

/* =======================
   MOBILE
======================= */

@media (max-width: 900px) {
  .earn-grid,
  .trust-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .wheel {
    margin: auto;
  }
}


/* ===============================
   FOOTER MENU HARD RESET (FIX)
================================ */

.fhb-footer .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fhb-footer .menu li {
  margin: 0;
  padding: 0;
}

.fhb-footer .menu li a {
  display: block;
  color: #fde68a;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  margin: 6px 0;
}

.fhb-footer .menu li a:hover {
  color: #ffffff;
}

/* Ensure footer columns stack vertically */
.fhb-footer-col {
  display: flex;
  flex-direction: column;
}
/* =====================================
   BLOCKSY FOOTER MENU OVERRIDE (FINAL)
===================================== */

/* Kill Blocksy footer menu layout */
.fhb-footer ul.menu,
.fhb-footer ul.menu li {
  all: unset;
}

/* Rebuild menu safely */
.fhb-footer ul.menu {
  display: block;
}

.fhb-footer ul.menu li {
  display: block;
  margin: 0;
  padding: 0;
}

/* Links */
.fhb-footer ul.menu li a {
  display: block;
  color: #fde68a;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  margin: 6px 0;
}

/* Hover */
.fhb-footer ul.menu li a:hover {
  color: #ffffff;
}

/* Keep bottom legal menu as a single horizontal line */
.fhb-footer .fhb-bottom-links ul.menu {
  all: unset;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.fhb-footer .fhb-bottom-links ul.menu li {
  all: unset;
}

.fhb-footer .fhb-bottom-links ul.menu li a {
  display: inline-block;
  margin: 0;
  color: #fde68a;
  text-decoration: none;
  line-height: 1.4;
}

/* Footer column stacking */
.fhb-footer-col {
  display: flex;
  flex-direction: column;
}
/* ===============================
   GLOBAL SITE BACKGROUND
================================ */

html,
body {
  background-color: #ffedd5 !important;
}

/* Hide default WordPress page titles */
.entry-title,
.page-title {
  display: none;
}

/* Exempted pages: show default WP titles */
.fhb-show-page-title .entry-title,
.fhb-show-page-title .page-title {
  display: block;
}

.price-current {
  font-family: 'Fredoka One', cursive;
  color: #7a0c0c;
  font-size: 1.2rem;
}

.price-starting {
  font-family: 'Fredoka One', cursive;
  color: #b45309;
  font-size: 1rem;
}

/* Auction extras */
.item-bids {
  font-size: 13px;
  color: #92400e;
  margin-top: 6px;
}



.buy-now {
  margin-top: 6px;
  background: #16a34a;
  color: #fff;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
}



/* Ending soon highlight */
.ending-soon {
  border: 3px solid #dc2626;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 rgba(220,38,38,.4); }
  50% { box-shadow: 0 0 20px rgba(220,38,38,.6); }
  100% { box-shadow: 0 0 0 rgba(220,38,38,.4); }
}

.auction-countdown {
  margin-top: 6px;
  font-size: 13px;
  font-weight: bold;
  color: #b91c1c;
}

.ending-soon .auction-countdown {
  color: #dc2626;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: .6; }
  100% { opacity: 1; }
}

/* ===============================
   ENDING SOON BADGE OVERLAY
================================ */

.item-card {
  position: relative;
  overflow: hidden;
}

/* Badge */
.item-card.ending-soon::before {
  content: "ðŸ”¥ ENDING SOON  ";
  position: absolute;
  top: 15px;
  left: -45px;
  background: #dc2626;
  color: #fff;
  font-family: 'Fredoka One', cursive;
  font-size: 10px;
  padding: 6px 40px;
  transform: rotate(-45deg);
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
  z-index: 5;
  text-align: center;
  letter-spacing: .05em;
}

/* Extra urgency glow */
.item-card.ending-soon {
  border: 3px solid #dc2626;
  box-shadow: 0 0 20px rgba(220,38,38,.6);
}


.item-card {
  padding: 0;
}

.item-card h3 {
  padding: 12px 12px 0;
}

.item-price,
.item-bids,
.buy-now,
.auction-countdown {
  padding: 0 12px 10px;
}

/* Kill Blocksy breadcrumbs on auction products */
.wcmv-auction-product .ct-breadcrumbs,
.wcmv-auction-product nav[aria-label="Breadcrumbs"] {
    display: none !important;
}

/* Kill breadcrumbs on all single products */
.single-product .ct-breadcrumbs,
.single-product nav[aria-label="Breadcrumbs"] {
    display: none !important;
}

/* SAFE: remove empty junk but keep gallery alive */
.wcmv-auction-product .summary > p.price:empty,
.wcmv-auction-product .summary > .ct-product-divider,
.wcmv-auction-product .product_meta:empty,
.wcmv-auction-product .woocommerce-product-details__short-description:empty {
    display: none !important;
}

/* Remove empty junk on all single products */
.single-product .summary > p.price:empty,
.single-product .summary > .ct-product-divider,
.single-product .product_meta:empty,
.single-product .woocommerce-product-details__short-description:empty {
    display: none !important;
}

/* 🔥 REMOVE EMPTY PRICE (Blocksy) */
.wcmv-auction-product p.price:empty {
    display: none !important;
}

/* 🔥 REMOVE BLOCKSY PRODUCT DIVIDERS */
.wcmv-auction-product .ct-product-divider {
    display: none !important;
}

/* Remove empty price + divider on all single products */
.single-product p.price:empty,
.single-product .ct-product-divider {
    display: none !important;
}
/* ================================
   AUCTION – RELATED PRODUCTS CARD
================================ */

/* Grid spacing */
.wcmv-auction-product .related.products ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

/* Card */
.wcmv-auction-product .related.products li.product {
    background: #fff;
    border-radius: 18px;
    border: 2px solid #fde68a;
    padding: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.wcmv-auction-product .related.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(0,0,0,.12);
}

/* Image */
.wcmv-auction-product .related.products li.product img {
    border-radius: 14px;
    object-fit: cover;
}

/* Category pill (top-left) */
.wcmv-auction-product .related.products li.product .posted_in {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    background: #6366f1;
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

/* Title */
.wcmv-auction-product .related.products li.product h2 {
    font-size: 16px;
    font-weight: 700;
    margin: 8px 0 6px;
    color: #111827;
}

/* Hide Woo price (auction handles this) */
.wcmv-auction-product .related.products .price {
    display: none;
}

/* Meta row spacing */
.wcmv-auction-product .related.products li.product .woocommerce-loop-product__link {
    display: block;
}
/* View button */
.wcmv-auction-product .related.products a.button {
    width: 100%;
    margin-top: 12px;
    background: #fff;
    border: 2px solid #22c55e;
    color: #22c55e;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 0;
    text-align: center;
    transition: all .2s ease;
}

.wcmv-auction-product .related.products a.button:hover {
    background: #22c55e;
    color: #fff;
}


/* =========================================
   RESTORE BLOCKSY GALLERY FUNCTIONALITY
========================================= */

/* Ensure gallery container is visible */
.wcmv-auction-product .woocommerce-product-gallery,
.wcmv-auction-product .ct-product-gallery {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure thumbnails are enabled */
.wcmv-auction-product .flex-control-nav {
    display: flex !important;
}

/* Prevent accidental collapse */
.wcmv-auction-product .woocommerce-product-gallery__wrapper {
    display: block !important;
}
/* React-style gallery look */
.wcmv-auction-product .woocommerce-product-gallery img {
    border-radius: 16px;
}

/* Thumbnail style */
.wcmv-auction-product .flex-control-nav img {
    border-radius: 10px;
    border: 2px solid transparent;
}

.wcmv-auction-product .flex-control-nav img.flex-active {
    border-color: #f59e0b;
}

.wcmv-auction-product .ct-product-gallery img {
    border-radius: 18px;
}

.wcmv-auction-product .flex-control-nav {
    margin-top: 12px;
    gap: 8px;
}

.wcmv-auction-product .flex-control-nav img {
    border-radius: 10px;
    border: 2px solid transparent;
}

.wcmv-auction-product .flex-control-nav img.flex-active {
    border-color: #f59e0b;
}
/* ✅ SAFE: hide Blocksy empty add-to-cart container for auctions only */
.wcmv-auction-product .ct-product-add-to-cart {
    display: none !important;
}

/* =========================================
   AUCTION SUMMARY - UNIFIED PANEL STYLING
========================================= */
.wcmv-auction-product .summary,
.wcmv-auction-product .entry-summary {
  background: #f8fafc;
  border: 1px solid #facc15;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Flatten plugin/theme card styles into one shared wrapper card */
.wcmv-auction-product .summary > *,
.wcmv-auction-product .entry-summary > * {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Strip nested auction card effects */
.wcmv-auction-product .summary [class*="auction-"],
.wcmv-auction-product .summary [class*="auction_"],
.wcmv-auction-product .entry-summary [class*="auction-"],
.wcmv-auction-product .entry-summary [class*="auction_"] {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Keep all action buttons at the bottom of auction blocks */
.wcmv-auction-product .summary [class*="auction-"] a.button,
.wcmv-auction-product .summary [class*="auction-"] button,
.wcmv-auction-product .summary [class*="auction-"] input[type="submit"],
.wcmv-auction-product .summary [class*="auction_"] a.button,
.wcmv-auction-product .summary [class*="auction_"] button,
.wcmv-auction-product .summary [class*="auction_"] input[type="submit"],
.wcmv-auction-product .entry-summary [class*="auction-"] a.button,
.wcmv-auction-product .entry-summary [class*="auction-"] button,
.wcmv-auction-product .entry-summary [class*="auction-"] input[type="submit"],
.wcmv-auction-product .entry-summary [class*="auction_"] a.button,
.wcmv-auction-product .entry-summary [class*="auction_"] button,
.wcmv-auction-product .entry-summary [class*="auction_"] input[type="submit"] {
  order: 99;
}

/* Shared section spacing */
.wcmv-auction-product .summary > * + *,
.wcmv-auction-product .entry-summary > * + * {
  border-top: 1px solid rgba(148, 163, 184, 0.5);
  padding-top: 14px !important;
}

/* Hide Cost section entirely */
.wcmv-auction-product .summary > p.price,
.wcmv-auction-product .entry-summary > p.price {
  display: none !important;
}

/* Section labels */
.wcmv-auction-product .summary > p.price::before,
.wcmv-auction-product .entry-summary > p.price::before {
  content: "Cost";
}

.wcmv-auction-product .summary > .woocommerce-product-details__short-description::before,
.wcmv-auction-product .entry-summary > .woocommerce-product-details__short-description::before {
  content: "Description";
}

.wcmv-auction-product .summary > .product_meta::before,
.wcmv-auction-product .entry-summary > .product_meta::before {
  content: "Categories";
}

.wcmv-auction-product .summary > form::before,
.wcmv-auction-product .summary > [class*="auction-"]::before,
.wcmv-auction-product .summary > [class*="auction_"]::before,
.wcmv-auction-product .entry-summary > form::before,
.wcmv-auction-product .entry-summary > [class*="auction-"]::before,
.wcmv-auction-product .entry-summary > [class*="auction_"]::before {
  content: "";
  display: none;
}

.wcmv-auction-product .summary > p.price::before,
.wcmv-auction-product .summary > .woocommerce-product-details__short-description::before,
.wcmv-auction-product .summary > .product_meta::before,
.wcmv-auction-product .entry-summary > p.price::before,
.wcmv-auction-product .entry-summary > .woocommerce-product-details__short-description::before,
.wcmv-auction-product .entry-summary > .product_meta::before {
  display: block;
  margin-bottom: 8px;
  font-family: 'Fredoka One', cursive;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7a0c0c;
}

/* Hide custom category section label only */
.wcmv-auction-product .summary > .product_meta::before,
.wcmv-auction-product .entry-summary > .product_meta::before {
  display: none;
}

.wcmv-auction-product .summary > .product_meta .posted_in,
.wcmv-auction-product .entry-summary > .product_meta .posted_in {
  font-size: 14px;
  color: #334155;
}

/* Keep form controls readable */
.wcmv-auction-product .summary form input,
.wcmv-auction-product .summary form select,
.wcmv-auction-product .summary form textarea,
.wcmv-auction-product .summary form button,
.wcmv-auction-product .entry-summary form input,
.wcmv-auction-product .entry-summary form select,
.wcmv-auction-product .entry-summary form textarea,
.wcmv-auction-product .entry-summary form button {
  border-radius: 10px;
}

@media (max-width: 768px) {
  .wcmv-auction-product .summary,
  .wcmv-auction-product .entry-summary {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    gap: 10px;
  }

  .wcmv-auction-product .summary > * + *,
  .wcmv-auction-product .entry-summary > * + * {
    padding-top: 10px !important;
  }

  .wcmv-auction-product .summary input,
  .wcmv-auction-product .summary select,
  .wcmv-auction-product .summary textarea,
  .wcmv-auction-product .summary button,
  .wcmv-auction-product .summary .button,
  .wcmv-auction-product .entry-summary input,
  .wcmv-auction-product .entry-summary select,
  .wcmv-auction-product .entry-summary textarea,
  .wcmv-auction-product .entry-summary button,
  .wcmv-auction-product .entry-summary .button {
    width: 100%;
    min-height: 44px;
    font-size: 16px;
  }

  .wcmv-auction-product .summary .product_meta,
  .wcmv-auction-product .summary .woocommerce-product-details__short-description,
  .wcmv-auction-product .entry-summary .product_meta,
  .wcmv-auction-product .entry-summary .woocommerce-product-details__short-description {
    font-size: 14px;
    line-height: 1.45;
  }
}

/* ===============================
   SINGLE PRODUCT – SHARED STYLES
   (apply to regular + auction)
================================ */

/* Gallery rounding */
.single-product .woocommerce-product-gallery img,
.single-product .ct-product-gallery img {
  border-radius: 16px;
}

/* Thumbnails */
.single-product .flex-control-nav {
  display: flex;
  margin-top: 12px;
  gap: 8px;
}

.single-product .flex-control-nav img {
  border-radius: 10px;
  border: 2px solid transparent;
}

.single-product .flex-control-nav img.flex-active {
  border-color: #f59e0b;
}

/* Related products grid/cards */
.single-product .related.products ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.single-product .related.products li.product {
  background: #fff;
  border-radius: 18px;
  border: 2px solid #fde68a;
  padding: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.single-product .related.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(0,0,0,.12);
}

.single-product .related.products li.product img {
  border-radius: 14px;
  object-fit: cover;
}

.single-product .related.products li.product .posted_in {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  background: #6366f1;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.single-product .related.products li.product h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 8px 0 6px;
  color: #111827;
}

.single-product .related.products li.product .woocommerce-loop-product__link {
  display: block;
}

.single-product .related.products a.button {
  width: 100%;
  margin-top: 12px;
  background: #fff;
  border: 2px solid #22c55e;
  color: #22c55e;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 0;
  text-align: center;
  transition: all .2s ease;
}

.single-product .related.products a.button:hover {
  background: #22c55e;
  color: #fff;
}

/* ===============================
   FHB CUSTOM PRODUCT GALLERY
================================ */

.fhb-gallery {
    max-width: 520px;
}

.fhb-gallery-main {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    position: relative;
}

.fhb-gallery-main img {
    width: 100%;
    display: block;
    transition: transform .25s ease;
    cursor: zoom-in;
}

/* Thumbnails */
.fhb-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.fhb-gallery-thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border .2s ease, transform .2s ease;
}

.fhb-gallery-thumbs img:hover {
    transform: scale(1.05);
}

.fhb-gallery-thumbs img.active {
    border-color: #f59e0b;
}

/* ===============================
   FHB GALLERY – THUMB FIX
================================ */

.fhb-gallery {
    max-width: 100%;
}

/* Main image */
.fhb-gallery-main {
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    position: relative;
}

.fhb-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.28);
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.fhb-gallery-prev {
    left: 12px;
}

.fhb-gallery-next {
    right: 12px;
}

.fhb-gallery-arrow:hover {
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.35);
}

.fhb-gallery-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

@media (max-width: 768px) {
  .fhb-gallery-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .fhb-gallery-prev {
    left: 8px;
  }

  .fhb-gallery-next {
    right: 8px;
  }
}

/* Thumbnails container */
.fhb-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;

    /* 🔒 prevent overflow */
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    /* smooth horizontal scroll */
    scroll-behavior: smooth;

    /* hide scrollbar (optional) */
    scrollbar-width: none;
}
.fhb-gallery-thumbs::-webkit-scrollbar {
    display: none;
}

/* Individual thumbs */
.fhb-gallery-thumbs img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    flex: 0 0 auto;

    border: 2px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

/* Active thumb */
.fhb-gallery-thumbs img.active {
    border-color: #f59e0b;
    transform: scale(1.05);
}

/* Hover */
.fhb-gallery-thumbs img:hover {
    transform: scale(1.05);
}

.fhb-shipping-cost th {
    color: #7a0c0c;
    font-family: 'Fredoka One', cursive;
}

.fhb-shipping-cost td {
    color: #92400e;
    font-weight: bold;
}

.fhb-inline-product-info {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.5);
}

.fhb-inline-description {
  margin: 0;
}

.fhb-inline-description-title {
  margin: 0 0 10px;
  font-family: 'Fredoka One', cursive;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7a0c0c;
}

.fhb-inline-description-content {
  color: #334155;
  font-size: 14px;
  line-height: 1.5;
}

.fhb-inline-product-info-title {
  margin: 0 0 10px;
  font-family: 'Fredoka One', cursive;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7a0c0c;
}

.fhb-inline-product-info table.shop_attributes {
  width: 100%;
  border-collapse: collapse;
}

.fhb-inline-product-info table.shop_attributes th,
.fhb-inline-product-info table.shop_attributes td {
  padding: 7px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 13px;
  line-height: 1.35;
}

.fhb-inline-product-info table.shop_attributes th {
  width: 42%;
  color: #7a0c0c;
  font-weight: 700;
}

.fhb-inline-product-info table.shop_attributes td {
  color: #334155;
}

.wcmv-auction-product .fhb-edit-listing-wrap {
  margin: 12px 0 0 !important;
}

.wcmv-auction-product .fhb-edit-listing-wrap .button {
  display: block;
  width: 100%;
}

/* Refine shipping-cost row to look lighter/slicker */
.fhb-inline-product-info table.shop_attributes tr.woocommerce-product-attributes-item--shipping_cost th {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 600;
}

.fhb-inline-product-info table.shop_attributes tr.woocommerce-product-attributes-item--shipping_cost td {
  font-size: 13px !important;
  color: #0f172a !important;
  font-weight: 600 !important;
}

.fhb-inline-product-info table.shop_attributes tr.woocommerce-product-attributes-item--shipping_cost td .amount,
.fhb-inline-product-info table.shop_attributes tr.woocommerce-product-attributes-item--shipping_cost td .woocommerce-Price-amount,
.fhb-inline-product-info table.shop_attributes tr.woocommerce-product-attributes-item--shipping_cost td bdi,
.fhb-inline-product-info table.shop_attributes tr.woocommerce-product-attributes-item--shipping_cost td span {
  color: #0f172a !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

@media (max-width: 768px) {
  .fhb-inline-description-title,
  .fhb-inline-product-info-title {
    font-size: 13px;
  }

  .fhb-inline-description-content {
    font-size: 13px;
  }

  .fhb-inline-product-info table.shop_attributes th,
  .fhb-inline-product-info table.shop_attributes td {
    font-size: 12px;
  }
}

/* ===============================
   MOBILE APP MODE
================================ */
@media (max-width: 768px) {

  /* App-like viewport */
  html, body {
    height: 100%;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
  }

  body {
    padding-bottom: 78px; /* space for bottom nav */
  }

  /* Featured: show only first 4 cards on mobile */
  .featured .items-grid .item-card:nth-child(n+5) {
    display: none;
  }

  /* Smooth app scroll */
  main {
    scroll-behavior: smooth;
  }

  /* Reduce “website” padding */
  .container,
  .funhouse-main {
    padding: 24px 14px;
  }

  /* HERO behaves like app header */
  .hero {
    min-height: 100vh;
    padding-top: 80px;
  }

  .hero-content {
    padding: 1.5rem 1rem;
  }

  .hero-title {
    font-size: clamp(2.6rem, 8vw, 4rem);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
    font-size: 18px;
  }

  /* Stats = swipeable cards */
  .stats {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .stat {
    min-width: 160px;
    flex: 0 0 auto;
  }

  /* Featured items become app cards */
  .items-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .item-card {
    width: 100%;
    border-radius: 18px;
  }

}
/* ===============================
   BOTTOM APP NAV
================================ */
.fhb-bottom-nav {
  display: none;
}

@media (max-width: 768px) {

  .fhb-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: #fff7ed;
    border-top: 2px solid #fbbf24;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
  }

  .fhb-bottom-nav a {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #7f1d1d;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .fhb-bottom-nav a span {
    font-size: 11px;
  }

  .fhb-bottom-nav .fhb-nav-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
  }

  .fhb-bottom-nav .fhb-cart-count-badge {
    position: absolute;
    top: -7px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
  }

  .fhb-bottom-nav .fhb-cart-count-badge.is-empty {
    display: none;
  }

  .fhb-bottom-nav a.sell {
    background: #dc2626;
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    transform: translateY(-20px);
    font-size: 26px;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
  }

  .fhb-bottom-nav a.active {
    color: #dc2626;
  }

}
/* ===============================
   MOBILE APP HEADER
================================ */
.funhouse-header-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger */
.fhb-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.fhb-hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #7f1d1d;
  margin: 5px 0;
  border-radius: 2px;
}

/* MOBILE MODE */
@media (max-width: 768px) {

  .funhouse-main {
    padding: 14px 16px;
    text-align: left;
  }

  .funhouse-logo {
    gap: 10px;
    border-bottom: none;
    padding-bottom: 0;
    justify-content: center;
  }
  
  .funhouse-header-row {
    justify-content: flex-start;
  }

  .funhouse-logo {
    justify-content: flex-start;
  }

  .funhouse-logo > div {
    text-align: left;
  }

  .funhouse-logo img {
    width: 42px;
    height: 42px;
  }

  .funhouse-logo h1 {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }

  .funhouse-logo .tagline {
    display: none;
  }

  .fhb-hamburger {
    display: block;
  }

  /* Hide menu by default */
  .funhouse-menu {
    display: none;
    margin-top: 16px;
  }

  /* Mobile menu */
  .funhouse-menu ul {
    flex-direction: column;
    gap: 14px;
    background: #fff7ed;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
  }

  .funhouse-menu li::after {
    display: none;
  }

  .funhouse-menu a {
    font-size: 1.1rem;
  }

  /* Open state */
  body.fhb-menu-open .funhouse-menu {
    display: block;
  }
}
/* ===============================
   MOBILE LOGO INLINE FIX
================================ */
@media (max-width: 768px) {

  .funhouse-logo {
    flex-direction: row;          /* 🔑 keep inline */
    align-items: center;
    gap: 10px;
  }

  .funhouse-logo > div {
    display: flex;
    align-items: center;
  }

  .funhouse-logo h1 {
    font-size: 1.15rem;
    line-height: 1;
    margin: 0;
    white-space: nowrap;          /* 🔒 prevent wrapping */
  }

  .funhouse-logo img {
    position: static;
  }

}
.funhouse-logo h1 {
  letter-spacing: 0.5px;
  font-weight: 800;
}
/* ===============================
   HERO – MOBILE APP FIX
================================ */
@media (max-width: 768px) {

  /* HERO CONTAINER */
  .hero {
    min-height: 100vh;                 /* full screen */
    padding: 0;
    overflow: hidden;
  }

  /* BACKGROUND IMAGE */
  .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;                 /* 🔑 fills screen properly */
    object-position: center;
  }

  /* CONTENT */
  .hero-content {
    padding: 24px 16px;
    max-width: 100%;
  }

  /* BADGE */
  .badge {
    font-size: 0.85rem;
    padding: 8px 18px;
  }

  /* TITLE */
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
    line-height: 1.05;
  }

  /* SUBTITLE */
  .hero-subtitle {
    font-size: 1rem;
    margin: 1rem auto;
    max-width: 90%;
  }

  /* BUTTONS – APP STYLE STACK */
  .hero-buttons {
    flex-direction: column;            /* 🔑 stack */
    gap: 12px;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;                       /* 🔑 no overflow */
    max-width: 320px;
    margin: 0 auto;
    padding: 14px 0;
    font-size: 1rem;
  }

  /* STATS GRID */
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 1.5rem;
  }

  .stat {
    padding: 12px;
  }

  .stat-number {
    font-size: 1.2rem;
  }
}
.hero-content {
  padding-bottom: env(safe-area-inset-bottom);
}
.hero-content {
  backdrop-filter: blur(4px);
}


/* ===============================
   FEATURED ITEMS – MOBILE APP UI
================================ */
@media (max-width: 768px) {

  /* Section spacing */
  .featured {
    padding: 2.5rem 1rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  /* GRID → 2 columns app-style */
  .items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 🔑 */
    gap: 14px;
    justify-content: stretch;
  }

  /* CARD */
  .item-card {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    transform: none !important; /* kill hover zoom */
  }

  /* IMAGE */
  .item-image {
    aspect-ratio: 1 / 1;
    border-radius: 16px 16px 0 0;
  }

  /* TITLE */
  .item-card h3 {
    font-size: 0.95rem;
    line-height: 1.2;
    padding: 10px 10px 4px;
  }

  /* PRICE */
  .item-price {
    font-size: 1rem;
    padding: 0 10px;
  }

  .price-current {
    font-size: 1.1rem;
  }

  /* BIDS */
  .item-bids {
    font-size: 0.8rem;
    padding: 0 10px 8px;
  }

  /* BUY NOW */
  .buy-now {
    font-size: 0.75rem;
    padding: 4px 8px;
    margin: 6px 10px 10px;
  }

  /* ENDING SOON BADGE */
  .item-card.ending-soon::before {
    font-size: 9px;
    padding: 5px 36px;
  }
}
.item-card:active {
  transform: scale(0.97);
}
@media (max-width: 768px) {
  .item-card {
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  }
}

/* ===============================
   EARN TICKETS – MOBILE
================================ */
@media (max-width: 768px) {

  .earn-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 2rem 1rem;
  }

  .wheel {
    width: 140px;
    height: 140px;
  }

  .earn-text h2 {
    font-size: 1.8rem;
  }

  .ticket-tags {
    gap: 8px;
  }

  .ticket-tags span {
    font-size: 0.75rem;
    padding: 8px 14px;
  }

  .play-now-btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 14px 0;
    font-size: 1rem;
  }
}
/* ===============================
   TRUST SECTION – MOBILE APP
================================ */
@media (max-width: 768px) {

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .trust-left {
    text-align: center;
  }

  .payment-badges {
    justify-content: center;
  }

  .trust-right {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .trust-card {
    padding: 20px 10px;
    border-radius: 14px;
  }

  .trust-card strong {
    font-size: 1.6rem;
  }

  .trust-card span {
    font-size: 0.8rem;
  }
}
/* ===============================
   GLOBAL MOBILE FIXES
================================ */
@media (max-width: 768px) {

  html, body {
    overflow-x: hidden;
  }

  main {
    overflow-x: hidden;
  }

  section {
    max-width: 100%;
  }
}
