/* Prefctio Design: home page. The hero runs edge to edge on phones; the content blocks sit 8 px from the edge. */

body.pf-design .pf-home { padding: 0 0 28px; color: var(--pf-ink); }
body.pf-design .pf-home h2 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin: 0; line-height: 1.25; }
body.pf-design .pf-eyebrow { display: inline-block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--pf-gold-deep); }
body.pf-design .pf-box { background: #fff; border: 1px solid var(--pf-line); border-radius: var(--pf-r); box-shadow: var(--pf-shadow); padding: 20px 18px; }
body.pf-design .pf-home > section, body.pf-design .pf-home > ul { margin: 10px 8px 0; }

/* Hero */
body.pf-design .pf-hero {
	position: relative; overflow: hidden; color: #f4ead6; padding: 28px 20px 22px; margin: 0 !important;
	background: radial-gradient(120% 100% at 100% 0%, #4a391c 0%, #1d1a16 50%, #131110 100%);
}
body.pf-design .pf-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 999px; background: radial-gradient(circle, rgba(231,167,43,.32), transparent 65%); pointer-events: none; }
body.pf-design .pf-hero > * { position: relative; z-index: 1; }
body.pf-design .pf-hero .pf-eyebrow { color: #e7b54d; }
body.pf-design .pf-hero h1 { font-size: 31px; line-height: 1.12; font-weight: 600; color: #fff; margin: 10px 0 8px; letter-spacing: -.01em; text-wrap: balance; }
body.pf-design .pf-hero h1 em { font-style: normal; background: linear-gradient(180deg, #f3c25a, #cf8b0c); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.pf-design .pf-hero p { color: #cfc4b2; font-size: 14.5px; max-width: 34ch; margin: 0; }
body.pf-design .pf-acts { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
body.pf-design .pf-btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 20px; border-radius: 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
body.pf-design .pf-btn-gold { background: linear-gradient(180deg, #e7a72b, #cf8b0c); color: #1f1d1a !important; box-shadow: 0 10px 22px rgba(207,139,12,.3); }
body.pf-design .pf-btn-ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff !important; }
body.pf-design .pf-fan { display: flex; justify-content: center; margin: 26px 0 6px; height: 170px; }
body.pf-design .pf-fan img { width: 128px; height: 160px; object-fit: cover; border-radius: 18px; box-shadow: 0 16px 30px rgba(0,0,0,.45); border: 3px solid rgba(255,255,255,.08); }
body.pf-design .pf-fan img:nth-child(1) { transform: rotate(-9deg) translate(26px, 10px); }
body.pf-design .pf-fan img:nth-child(2) { transform: translateY(-4px); z-index: 2; position: relative; }
body.pf-design .pf-fan img:nth-child(3) { transform: rotate(9deg) translate(-26px, 10px); }
body.pf-design .pf-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; text-align: center; font-size: 12px; color: #cfc4b2; }
body.pf-design .pf-facts b { display: block; font-size: 20px; font-weight: 600; color: #fff; }
body.pf-design .pf-facts div + div { border-left: 1px solid rgba(255,255,255,.12); }

/* Phone finder */
body.pf-design .pf-finder p { color: var(--pf-muted); font-size: 14px; margin: 4px 0 14px; }
body.pf-design .pf-finder-search {
	display: flex; align-items: center; gap: 10px; width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid #e3dbcf; background: var(--pf-bg);
	color: var(--pf-ink); font: inherit; font-size: 15px; text-align: left; cursor: pointer; text-transform: none; letter-spacing: 0;
}
body.pf-design .pf-finder-search svg { color: var(--pf-muted); flex: none; }
body.pf-design .pf-finder-brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
body.pf-design .pf-finder-brands button {
	height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid #e3dbcf; color: var(--pf-ink); font: inherit; font-size: 13.5px;
	cursor: pointer; text-transform: none; letter-spacing: 0;
}
body.pf-design .pf-finder-brands .pf-more { background: var(--pf-gold-soft); border-color: #ecd6a6; color: var(--pf-gold-deep); font-weight: 600; font-size: 12.5px; letter-spacing: .06em; }

/* Offer (the product page's card, used here too) */
body.pf-design .pf-home-deal { margin-bottom: 0; }

/* Section titles */
body.pf-design .pf-sec-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 18px 8px 12px; }
body.pf-design .pf-sec-title a { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; color: var(--pf-gold-deep); }

/* Categories */
body.pf-design .pf-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
body.pf-design .pf-cat { position: relative; display: block; border-radius: var(--pf-r); overflow: hidden; aspect-ratio: 4 / 5; background: #111; box-shadow: var(--pf-shadow); }
body.pf-design .pf-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--pf-ease); }
body.pf-design .pf-cat:hover img { transform: scale(1.04); }
body.pf-design .pf-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,9,8,.78)); }
body.pf-design .pf-cat-t { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; color: #fff; }
body.pf-design .pf-cat-t b { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }
body.pf-design .pf-cat-t small { font-size: 12.5px; color: #e9dfcf; }

/* Product rows */
body.pf-design .pf-cards { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; margin-right: -8px; padding: 2px 8px 4px 0; }
body.pf-design .pf-cards::-webkit-scrollbar { display: none; }
body.pf-design .pf-card { flex: 0 0 160px; scroll-snap-align: start; background: #fff; border: 1px solid var(--pf-line); border-radius: 18px; padding: 8px; color: var(--pf-ink); display: flex; flex-direction: column; }
body.pf-design .pf-card:active { transform: scale(.985); }
body.pf-design .pf-card-img { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--pf-soft); }
body.pf-design .pf-card-img img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
body.pf-design .pf-card-off { position: absolute; left: 8px; top: 8px; background: var(--pf-ink); color: #f3c25a; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; padding: 4px 8px; border-radius: 999px; }
body.pf-design .pf-card-n { font-size: 13px; font-weight: 500; line-height: 1.3; margin-top: 9px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 34px; }
body.pf-design .pf-card-p { font-size: 12.5px; margin-top: 5px; }
body.pf-design .pf-card-p ins { text-decoration: none; font-size: 14.5px; font-weight: 600; margin-right: 4px; }
body.pf-design .pf-card-p del { color: var(--pf-muted); }
body.pf-design .pf-card-c { font-size: 11.5px; color: var(--pf-muted); margin-top: 4px; }

/* Promises */
body.pf-design .pf-home-assure { margin-top: 18px !important; }

/* Reviews */
body.pf-design .pf-rv-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; margin-right: -8px; padding-right: 8px; }
body.pf-design .pf-rv-row::-webkit-scrollbar { display: none; }
body.pf-design .pf-rv { flex: 0 0 82%; scroll-snap-align: start; margin: 0; background: #fff; border: 1px solid var(--pf-line); border-radius: var(--pf-r); padding: 18px; display: flex; flex-direction: column; }
body.pf-design .pf-stars { color: var(--pf-gold); letter-spacing: 2px; font-size: 14px; }
body.pf-design .pf-rv blockquote { margin: 10px 0 14px; padding: 0; border: 0; font-size: 14.5px; line-height: 1.55; color: #4d4842; font-style: normal; flex: 1; }
body.pf-design .pf-rv blockquote::before { display: none; }
body.pf-design .pf-rv figcaption { display: flex; gap: 10px; align-items: center; }
body.pf-design .pf-rv .av { width: 38px; height: 38px; border-radius: 999px; background: var(--pf-gold-soft); color: var(--pf-gold-deep); display: grid; place-items: center; font-weight: 600; font-size: 13.5px; flex: none; }
body.pf-design .pf-rv figcaption b { display: block; font-size: 14px; font-weight: 600; }
body.pf-design .pf-rv figcaption small { font-size: 12px; color: var(--pf-muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* About */
body.pf-design .pf-about { margin-top: 18px !important; }
body.pf-design .pf-about h2 { margin: 6px 0 8px; }
body.pf-design .pf-about p { color: #4d4842; font-size: 14.5px; margin: 0; }

/* Phones: the hero to the screen's edges (the theme's content has 15 px sides), blocks 8 px in */
@media (max-width: 992px) {
	body.pf-design .pf-home { margin-left: -15px; margin-right: -15px; }
}

/* Computers */
@media (min-width: 993px) {
	body.pf-design .pf-home { max-width: 1240px; margin: 0 auto; padding: 24px 32px 40px; }
	body.pf-design .pf-home > section, body.pf-design .pf-home > ul { margin: 18px 0 0; }
	body.pf-design .pf-hero { margin: 0 !important; border-radius: 28px; padding: 48px 48px 36px; display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 32px; }
	body.pf-design .pf-hero h1 { font-size: 46px; }
	body.pf-design .pf-hero .pf-fan { grid-column: 2; grid-row: 1 / span 4; align-self: center; height: 260px; }
	body.pf-design .pf-hero .pf-fan img { width: 180px; height: 230px; }
	body.pf-design .pf-hero .pf-facts { grid-column: 1; }
	body.pf-design .pf-finder { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6px 28px; align-items: center; }
	body.pf-design .pf-finder h2, body.pf-design .pf-finder p { grid-column: 1; }
	body.pf-design .pf-finder-search, body.pf-design .pf-finder-brands { grid-column: 2; }
	body.pf-design .pf-finder-search { grid-row: 1; }
	body.pf-design .pf-finder-brands { grid-row: 2; }
	body.pf-design .pf-cards { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; }
	body.pf-design .pf-card { flex: none; }
	body.pf-design .pf-cat { aspect-ratio: 16 / 9; }
	body.pf-design .pf-rv-row { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; overflow: visible; }
	body.pf-design .pf-sec-title { margin: 30px 0 14px; }
}

/* The hero meets the band above it. */
body.pf-design.pf-home-page .site-content, body.pf-design.pf-home-page .site-content > .col-full { padding-top: 0 !important; margin-top: 0 !important; }
@media (min-width: 993px) { body.pf-design.pf-home-page .pf-home { padding-top: 24px; } }
