/* TechFrezz Scoped Editorial Redesign: Product 218 ONLY (Classic Holiday Bingo & Icebreaker Card Set) */

body.postid-218 .entry-summary .woocommerce-breadcrumb,
body.postid-218 .entry-summary .single-product-category {
  display: none !important;
}

/* Gallery Frame & Thumbnails */
body.postid-218 .tf-pdp-shell .woocommerce-product-gallery {
  background: linear-gradient(160deg, #F6F0E4 0%, #ECE2D0 100%);
  border: 1.5px solid #C6A66B;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(45, 36, 24, 0.09);
  padding: 12px;
}

body.postid-218 .tf-pdp-shell .woocommerce-product-gallery .flex-viewport,
body.postid-218 .tf-pdp-shell .woocommerce-product-gallery__image img {
  border-radius: 10px;
}

body.postid-218 .tf-pdp-shell .woocommerce-product-gallery .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px !important;
  padding: 0 !important;
}

body.postid-218 .tf-pdp-shell .woocommerce-product-gallery .flex-control-thumbs li {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  list-style: none !important;
}

body.postid-218 .tf-pdp-shell .woocommerce-product-gallery .flex-control-thumbs li img {
  border-radius: 8px;
  border: 2px solid #E5DFD3;
  opacity: 0.78;
  transition: opacity 200ms ease, border-color 200ms ease, transform 200ms ease;
}

body.postid-218 .tf-pdp-shell .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
body.postid-218 .tf-pdp-shell .woocommerce-product-gallery .flex-control-thumbs li img:hover {
  opacity: 1;
  border-color: #A9483E;
  transform: translateY(-2px);
}

body.postid-218 .tf218-gallery-caption {
  margin: 12px 2px 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(198, 166, 107, 0.4);
  font-size: 13px;
  line-height: 1.48;
  color: #4D4944;
  text-align: center;
}

/* Top Festive Edition Strip above Title */
body.postid-218 .tf218-kicker-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

body.postid-218 .tf218-pill-cranberry {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 4px;
  background-color: #A9483E;
  color: #FAF8F3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.postid-218 .tf218-pill-forest {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 4px;
  background-color: #EEF3EF;
  border: 1px solid #C6D3C9;
  color: #354C3D;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Title & Price Lockup */
body.postid-218 .tf-pdp-shell .entry-summary .product_title {
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.1;
  color: #252525;
  margin-bottom: 14px;
}

body.postid-218 .tf-pdp-shell .entry-summary .price {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 28px;
  font-weight: 700;
  color: #354C3D;
  margin-bottom: 8px;
}

body.postid-218 .tf218-price-note-row {
  margin: 0 0 12px;
}

body.postid-218 .tf218-price-note {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 99px;
  background-color: #FDF6EC;
  border: 1px solid #DEC082;
  color: #7D5E2A;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

body.postid-218 .tf218-who-for {
  margin: 0 0 14px;
  padding: 10px 14px;
  background-color: #F3EFE6;
  border-radius: 6px;
  border-left: 3px solid #354C3D;
  font-size: 14px;
  line-height: 1.5;
  color: #3E3C38;
}

body.postid-218 .tf218-who-for strong {
  color: #252525;
}

/* Scannable Short Description Box */
body.postid-218 .tf218-short-lead {
  font-size: 15.5px;
  line-height: 1.56;
  color: #252525;
  font-weight: 600;
  margin: 0 0 14px;
}

body.postid-218 .tf218-value-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F3 100%);
  border: 1px solid #DEC082;
  border-left: 4px solid #A9483E;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 0 20px;
}

body.postid-218 .tf218-value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.postid-218 .tf218-value-list li {
  position: relative;
  padding-left: 24px;
  font-size: 13.75px;
  line-height: 1.48;
  color: #46433E;
}

body.postid-218 .tf218-value-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background-color: #354C3D;
  color: #FAF8F3;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.postid-218 .tf218-value-list li:nth-child(even)::before {
  background-color: #A9483E;
}

body.postid-218 .tf218-value-list li strong {
  color: #252525;
}

/* Primary Add to Cart & Wishlist Styling */
body.postid-218 .tf-pdp-shell form.cart {
  margin: 20px 0 14px;
}

body.postid-218 .tf-pdp-shell form.cart button.single_add_to_cart_button {
  background: linear-gradient(135deg, #354C3D 0%, #4E6B58 100%) !important;
  border: 1px solid #354C3D !important;
  color: #FFFFFF !important;
  height: 50px;
  padding: 0 34px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease !important;
}

body.postid-218 .tf-pdp-shell form.cart button.single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #8F3830 0%, #B34E42 100%) !important;
  border-color: #8F3830 !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(143, 56, 48, 0.22);
}

body.postid-218 .tf-pdp-wishlist-btn {
  height: 50px;
  border-radius: 6px;
  border-color: #C6A66B;
  color: #252525;
}

body.postid-218 .tf-pdp-wishlist-btn:hover {
  background-color: #A9483E;
  border-color: #A9483E;
  color: #FAF8F3;
}

/* Quick Start Strip near Purchase Button */
body.postid-218 .tf218-quickstart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  background-color: #FAF8F3;
  border: 1px solid #DEC082;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 0 0 12px;
}

body.postid-218 .tf218-quickstart-label {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  background-color: #354C3D;
  color: #FAF8F3;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}

body.postid-218 .tf218-quickstart-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #252525;
}

body.postid-218 .tf218-quickstart-steps li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.postid-218 .tf218-quickstart-steps li::after {
  content: "\2192";
  color: #A9483E;
  font-weight: 700;
}

body.postid-218 .tf218-quickstart-steps li:last-child::after {
  content: none;
}

/* Confidence Strip below Quick Start */
body.postid-218 .tf218-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 20px;
}

body.postid-218 .tf218-trust-pill {
  background-color: #F3EFE6;
  border: 1px solid #E2D9C8;
  border-radius: 6px;
  padding: 9px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #354C3D;
  line-height: 1.35;
}

body.postid-218 .tf218-trust-pill span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #5C5954;
  margin-top: 2px;
}

/* Digital Specs Polish */
body.postid-218 .tf-pdp-specs {
  background-color: #FFFFFF;
  border: 1px solid #E5DFD3;
  border-radius: 10px;
  padding: 4px 18px;
}

body.postid-218 .tf-pdp-spec-row:last-child {
  border-bottom: none;
}

body.postid-218 .tf-pdp-spec-label {
  color: #354C3D;
}

/* Full-Width Editorial Description Area */
body.postid-218 .tf-pdp-shell .woocommerce-tabs {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid #E2D9C8;
}

body.postid-218 .tf-pdp-shell .woocommerce-tabs ul.tabs li.active a {
  color: #354C3D;
  border-bottom: 2px solid #A9483E;
}

body.postid-218 .tf-pdp-shell .woocommerce-tabs .panel {
  max-width: 100% !important;
  width: 100%;
  padding-top: 24px;
}

/* Section A: Festive Editorial Story Banner */
body.postid-218 .tf218-story-banner {
  background: linear-gradient(135deg, #2D4337 0%, #445F4E 100%);
  border: 1.5px solid #C6A66B;
  border-radius: 14px;
  padding: 44px 48px;
  color: #FAF8F3;
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
}

body.postid-218 .tf218-story-badge {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 4px;
  background-color: #A9483E;
  border: 1px solid #DEC082;
  color: #FAF8F3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

body.postid-218 .tf218-story-banner h2 {
  font-family: var(--tf-font-heading);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.14;
  color: #FAF8F3 !important;
  margin: 0 0 14px !important;
}

body.postid-218 .tf218-story-banner p {
  font-size: 15.5px;
  line-height: 1.68;
  color: rgba(250, 248, 243, 0.9);
  margin: 0 0 12px;
}

body.postid-218 .tf218-story-banner p:last-child {
  margin-bottom: 0;
}

body.postid-218 .tf218-story-stats {
  background-color: rgba(250, 248, 243, 0.1);
  border: 1px solid rgba(222, 192, 130, 0.45);
  border-radius: 10px;
  padding: 24px 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

body.postid-218 .tf218-stat {
  border-left: 2px solid #DEC082;
  padding-left: 12px;
}

body.postid-218 .tf218-stat-val {
  font-family: var(--tf-font-heading);
  font-size: 28px;
  line-height: 1.05;
  color: #DEC082;
  font-weight: 600;
}

body.postid-218 .tf218-stat-lbl {
  font-size: 12.5px;
  color: rgba(250, 248, 243, 0.88);
  margin-top: 4px;
  line-height: 1.35;
}

/* Section Headers inside Description */
body.postid-218 .tf218-sec-head {
  margin-bottom: 24px;
}

body.postid-218 .tf218-sec-head h3 {
  font-family: var(--tf-font-heading);
  font-size: clamp(26px, 2.5vw, 34px);
  color: #252525 !important;
  margin: 0 0 8px !important;
}

body.postid-218 .tf218-sec-head p {
  font-size: 15.5px;
  color: #5C5954;
  margin: 0;
  max-width: 68ch;
}

/* Section B: 4-Card What's Included Showcase Grid */
body.postid-218 .tf218-games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

body.postid-218 .tf218-game-card {
  background-color: #FFFFFF;
  border: 1px solid #E2D9C8;
  border-top: 4px solid #354C3D;
  border-radius: 10px;
  padding: 24px 26px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

body.postid-218 .tf218-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(45, 36, 24, 0.08);
}

body.postid-218 .tf218-game-card.is-cranberry {
  border-top-color: #A9483E;
  background-color: #FFFDFB;
}

body.postid-218 .tf218-game-card.is-gold {
  border-top-color: #C6A66B;
  background-color: #FAF8F3;
}

body.postid-218 .tf218-game-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

body.postid-218 .tf218-game-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #354C3D;
  color: #FAF8F3;
  font-family: var(--tf-font-heading);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.postid-218 .tf218-game-card.is-cranberry .tf218-game-num {
  background-color: #A9483E;
}

body.postid-218 .tf218-game-card.is-gold .tf218-game-num {
  background-color: #9C7D46;
}

body.postid-218 .tf218-game-meta {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5C5954;
  background-color: #F3EFE6;
  border: 1px solid #E2D9C8;
  padding: 4px 10px;
  border-radius: 99px;
}

body.postid-218 .tf218-game-card h4 {
  font-family: var(--tf-font-heading);
  font-size: 21px;
  color: #252525;
  margin: 0 0 8px;
  line-height: 1.22;
}

body.postid-218 .tf218-game-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #5C5954;
  margin: 0;
}

/* Section C: 3-Column Print & Setup Map */
body.postid-218 .tf218-map-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

body.postid-218 .tf218-map-card {
  background-color: #FFFFFF;
  border: 1px solid #E2D9C8;
  border-radius: 10px;
  overflow: hidden;
}

body.postid-218 .tf218-map-head {
  padding: 14px 20px;
  color: #FAF8F3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.postid-218 .tf218-map-head.forest { background-color: #354C3D; }
body.postid-218 .tf218-map-head.cranberry { background-color: #A9483E; }
body.postid-218 .tf218-map-head.gold { background-color: #9C7D46; }

body.postid-218 .tf218-map-body {
  padding: 20px 22px;
}

body.postid-218 .tf218-map-body h4 {
  font-family: var(--tf-font-heading);
  font-size: 20px;
  color: #252525;
  margin: 0 0 8px;
}

body.postid-218 .tf218-map-body p {
  font-size: 14px;
  line-height: 1.6;
  color: #5C5954;
  margin: 0;
}

/* Section D: Paper Guide & Print License Split */
body.postid-218 .tf218-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

body.postid-218 .tf218-split-card {
  background-color: #FFFFFF;
  border: 1px solid #E2D9C8;
  border-radius: 12px;
  padding: 28px 30px;
}

body.postid-218 .tf218-split-card.is-tinted {
  background-color: #FAF8F3;
  border-color: #DEC082;
}

body.postid-218 .tf218-split-card h4 {
  font-family: var(--tf-font-heading);
  font-size: 22px;
  color: #252525;
  margin: 0 0 14px;
}

body.postid-218 .tf218-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.postid-218 .tf218-check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #46433E;
}

body.postid-218 .tf218-check-list li::before {
  content: "\2022";
  position: absolute;
  left: 4px;
  top: 0;
  color: #A9483E;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

/* Enhanced Download Box strictly on Product 218 */
body.postid-218 .tf-download-box {
  background: linear-gradient(135deg, #FDF7F0 0%, #F3EFE6 100%);
  border: 1px solid #DEC082;
  border-left: 4px solid #354C3D;
}

/* Responsive Breakpoints (Tablet & Mobile) */
@media (max-width: 980px) {
  body.postid-218 .tf218-story-banner,
  body.postid-218 .tf218-games-grid,
  body.postid-218 .tf218-map-grid,
  body.postid-218 .tf218-split-grid {
    grid-template-columns: 1fr;
  }
  body.postid-218 .tf218-story-banner {
    padding: 32px 26px;
  }
}

@media (max-width: 680px) {
  body.postid-218 .tf-pdp-shell .woocommerce-product-gallery {
    padding: 8px;
  }
  body.postid-218 .tf-pdp-shell .woocommerce-product-gallery .flex-control-thumbs {
    gap: 8px;
    margin-top: 10px !important;
  }
  body.postid-218 .tf218-trust-row {
    grid-template-columns: 1fr;
  }
  body.postid-218 .tf218-story-stats {
    grid-template-columns: 1fr 1fr;
    padding: 18px 16px;
  }
  body.postid-218 .tf218-quickstart {
    padding: 10px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.postid-218 .tf-pdp-shell form.cart button.single_add_to_cart_button,
  body.postid-218 .tf218-game-card,
  body.postid-218 .tf-pdp-shell .woocommerce-product-gallery .flex-control-thumbs li img {
    transition: none !important;
    transform: none !important;
  }
}
