/*
Theme Name: I Love Freebies - Coffee Review (Inactive)
Theme URI: https://ilovefreebies.com/
Description: Lightweight Halloween child theme for I Love Freebies, built for ClipMyDeals 8.6.13. Includes dynamic six-slot Featured Offers, automatic Recent Offers, responsive Halloween homepage, SEO-friendly HTML and lightweight assets.
Author: I Love Freebies
Template: clipmydeals
Version: 26.0.0
Text Domain: ilovefreebies
*/

/* Non-home pages inherit ClipMyDeals. The custom homepage stylesheet is loaded only on the front page. */

/* Clear hover affordance for editorial and footer text links without affecting buttons/navigation. */
.ilf-article-content p a:not(.ilf-primary-button):hover,
.ilf-article-content li a:not(.ilf-primary-button):hover,
.ilf-static-content p a:hover,
.ilf-static-content li a:hover,
.ilf-footer a:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* I Love Freebies brand refinements: heart accents + homepage-style category grids. */
:root{
	--ilf-heart-cluster:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cpath fill='%23ffd6e8' d='M72 40c-18-26-60-8-60 24 0 37 60 71 60 71s60-34 60-71c0-32-42-50-60-24z'/%3E%3Cpath fill='%23e7ddff' d='M175 105c-12-18-40-6-40 16 0 25 40 48 40 48s40-23 40-48c0-22-28-34-40-16z'/%3E%3Cpath fill='%23ffe7ad' d='M53 168c-8-12-27-4-27 11 0 17 27 32 27 32s27-15 27-32c0-15-19-23-27-11z'/%3E%3Cpath fill='%23f29bc2' d='M154 42l4 10 10 4-10 4-4 10-4-10-10-4 10-4z'/%3E%3C/svg%3E");
}

/* Homepage side decoration: swap generic bubbles for branded pastel hearts + sparkle. */
body.ilf-homepage .v2-featured:before,
body.ilf-homepage .v2-featured:after,
body.ilf-homepage .v2-latest:before,
body.ilf-homepage .v2-latest:after{
	background-image:var(--ilf-heart-cluster)!important;
	background-color:transparent!important;
	background-repeat:no-repeat!important;
	background-position:center!important;
	background-size:contain!important;
	border-radius:0!important;
	filter:none!important;
	opacity:.62!important;
}

/* Category pages: use the same wide desktop rhythm as the homepage. */
@media (min-width:1181px){
	body.category .ilf-wrap{width:min(1440px,calc(100% - 48px))!important;max-width:none!important}
	body.category [class*="-grid"]:has(> [class*="-card"]){grid-template-columns:repeat(4,minmax(0,1fr))!important;max-width:none!important;width:100%!important;column-gap:22px!important;row-gap:30px!important;justify-content:stretch!important}
}
@media (min-width:821px) and (max-width:1180px){
	body.category [class*="-grid"]:has(> [class*="-card"]){grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:none!important;width:100%!important;gap:20px!important}
}
@media (max-width:820px){
	body.category [class*="-grid"]:has(> [class*="-card"]){grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:none!important;width:100%!important;gap:16px!important}
}
@media (max-width:520px){
	body.category [class*="-grid"]:has(> [class*="-card"]){grid-template-columns:1fr!important}
}

/* Category heart accents are handled per section in assets/css/category-hearts.css. */

/* Preview only: MyPoints offer table, modeled on compact item-specifications rows. */
body.postid-2646 .ilf-editorial-layout .ilf-combined-offer-details {
  padding:18px!important;
  border-left:4px solid #ff75ad!important;
}
body.postid-2646 .ilf-editorial-layout .ilf-combined-offer-details .ilf-offer-facts {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0!important;
  border-top:1px solid #d3e4f4;
  border-left:1px solid #d3e4f4;
  margin-top:10px;
  background:#fff;
}
body.postid-2646 .ilf-editorial-layout .ilf-combined-offer-details .ilf-offer-facts > div {
  display:grid!important;
  grid-template-columns:minmax(90px,36%) minmax(0,1fr)!important;
  align-items:stretch!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-right:1px solid #d3e4f4!important;
  border-bottom:1px solid #d3e4f4!important;
  border-radius:0!important;
  min-width:0;
  background:#fff!important;
}
body.postid-2646 .ilf-editorial-layout .ilf-combined-offer-details .ilf-fact-label {
  display:flex!important;
  align-items:center;
  margin:0!important;
  padding:11px 10px!important;
  background:#e9f2fc!important;
  border-right:1px solid #d3e4f4;
  color:#17365d!important;
  line-height:1.35!important;
  font-size:11px!important;
}
body.postid-2646 .ilf-editorial-layout .ilf-combined-offer-details .ilf-fact-value {
  display:block!important;
  margin:0!important;
  padding:10px 12px!important;
  line-height:1.5!important;
  font-size:14px!important;
  color:#33465e!important;
}
body.postid-2646 .ilf-editorial-layout .ilf-combined-offer-details .ilf-offer-facts br{display:none!important}
@media(max-width:700px){
 body.postid-2646 .ilf-editorial-layout .ilf-combined-offer-details .ilf-offer-facts{
  grid-template-columns:1fr!important;
 }
}

