/*
Theme Name: Beauty Guide PK
Template: generatepress
Description: Custom child theme for beautyguidepk.online — beauty/perfume affiliate buying-guide site
Version: 1.0
Author: Sara
*/

/* ============================
   FONTS & VARIABLES
   ============================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Inter:wght@400;500;600&display=swap');

:root{
	--bgpk-charcoal: #2B2A28;
	--bgpk-charcoal-soft: #55524d;
	--bgpk-rose: #C88EA7;
	--bgpk-rose-dark: #a9698a;
	--bgpk-gold: #D9B26F;
	--bgpk-bg: #FFFFFF;
	--bgpk-bg-soft: #FBF6F4;
	--bgpk-border: #EDE3E0;
}

body{
	font-family: 'Inter', sans-serif;
	color: var(--bgpk-charcoal);
	background: var(--bgpk-bg);
}
h1,h2,h3,h4,h5,h6{
	font-family: 'Poppins', sans-serif;
	color: var(--bgpk-charcoal);
	font-weight: 700;
}
a{ color: var(--bgpk-rose-dark); }
a:hover{ color: var(--bgpk-rose); }

/* ============================
   SITE TITLE WORDMARK LOGO
   (Do NOT upload a logo image in Customizer — leave Site Identity as text.
   This CSS turns the plain site title into a styled wordmark.)
   ============================ */
.main-title, .site-title{
	font-family: 'Poppins', sans-serif !important;
	font-weight: 700 !important;
	font-size: 26px !important;
	letter-spacing: -0.5px;
	color: var(--bgpk-charcoal) !important;
}
.main-title a, .site-title a{ color: var(--bgpk-charcoal) !important; }
/* Colors the last 2 letters of the site title ("PK") gold, since GP wraps
   the title as plain text — this uses a CSS trick via the tagline area
   instead of trying to split text with pure CSS (unreliable). See functions.php
   for the small PHP filter that wraps "PK" in a span for this to target. */
.site-title .bgpk-pk-accent{ color: var(--bgpk-gold) !important; }

.site-description{
	font-family: 'Inter', sans-serif !important;
	font-size: 12px !important;
	color: var(--bgpk-charcoal-soft) !important;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* ============================
   HEADER / NAV
   ============================ */
#site-navigation, .main-navigation{
	background: var(--bgpk-bg) !important;
	border-bottom: 1px solid var(--bgpk-border);
}
.main-navigation .main-nav ul li a{
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 14px;
	color: var(--bgpk-charcoal);
}
.main-navigation .main-nav ul li a:hover{ color: var(--bgpk-rose-dark); }

/* ============================
   HERO SECTION (homepage only — injected via functions.php hook)
   ============================ */
.bgpk-hero{
	background: linear-gradient(135deg, var(--bgpk-bg-soft) 0%, #ffffff 100%);
	padding: 70px 24px;
	text-align: center;
	border-bottom: 1px solid var(--bgpk-border);
}
.bgpk-hero.bgpk-hero-img{
	background-size: cover;
	background-position: center;
}
.bgpk-hero h1{
	font-size: 38px;
	max-width: 780px;
	margin: 0 auto 16px;
}
.bgpk-hero p{
	font-size: 17px;
	color: var(--bgpk-charcoal-soft);
	max-width: 620px;
	margin: 0 auto 28px;
}
.bgpk-hero-search{
	max-width: 480px;
	margin: 0 auto;
	display: flex;
	gap: 8px;
}
.bgpk-hero-search input[type="search"]{
	flex: 1;
	padding: 14px 18px;
	border: 1px solid var(--bgpk-border);
	border-radius: 30px;
	font-size: 15px;
	font-family: 'Inter', sans-serif;
}
.bgpk-hero-search button{
	background: var(--bgpk-charcoal);
	color: #fff;
	border: none;
	padding: 14px 26px;
	border-radius: 30px;
	font-weight: 600;
	cursor: pointer;
}

/* ============================
   CATEGORY GRID (homepage)
   ============================ */
.bgpk-cat-grid{
	max-width: 1100px;
	margin: 0 auto;
	padding: 60px 24px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
@media (max-width: 768px){ .bgpk-cat-grid{ grid-template-columns: 1fr; } }
.bgpk-cat-card{
	background: var(--bgpk-bg-soft);
	border: 1px solid var(--bgpk-border);
	border-radius: 16px;
	padding: 36px 24px;
	text-align: center;
	text-decoration: none;
	display: block;
	transition: transform .15s ease, box-shadow .15s ease;
}
.bgpk-cat-card:hover{
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(43,42,40,0.08);
}
.bgpk-cat-card img{ width: 64px; height: 64px; margin-bottom: 16px; }
.bgpk-cat-card h3{ font-size: 19px; margin: 0 0 8px; color: var(--bgpk-charcoal); }
.bgpk-cat-card p{ font-size: 14px; color: var(--bgpk-charcoal-soft); margin: 0; }

/* ============================
   TRUST / ABOUT STRIP (homepage)
   ============================ */
.bgpk-trust{
	background: var(--bgpk-charcoal);
	color: #fff;
	padding: 50px 24px;
	text-align: center;
}
.bgpk-trust h2{ color: #fff; font-size: 26px; margin-bottom: 12px; }
.bgpk-trust p{ color: #d8d6d3; max-width: 700px; margin: 0 auto; font-size: 15px; line-height: 1.7; }

/* ============================
   PRICE COMPARISON TABLE  [price_table] shortcode
   ============================ */
.bgpk-table-scroll{
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 28px 0;
}
.bgpk-table-scroll .bgpk-price-table{ margin: 0; min-width: 480px; }
.bgpk-price-table{
	width: 100%;
	border-collapse: collapse;
	margin: 28px 0;
	font-family: 'Inter', sans-serif;
	box-shadow: 0 2px 12px rgba(43,42,40,0.06);
	border-radius: 12px;
	overflow: hidden;
}
.bgpk-price-table th{
	background: var(--bgpk-charcoal);
	color: #fff;
	text-align: left;
	padding: 14px 18px;
	font-size: 14px;
	font-weight: 600;
}
.bgpk-price-table td{
	padding: 14px 18px;
	border-bottom: 1px solid var(--bgpk-border);
	font-size: 15px;
}
.bgpk-price-table tr:last-child td{ border-bottom: none; }
.bgpk-price-table tr:nth-child(even){ background: var(--bgpk-bg-soft); }
.bgpk-price-table .bgpk-price{ font-weight: 700; color: var(--bgpk-rose-dark); }

/* ============================
   CTA BUTTON  [cta_button] shortcode
   ============================ */
.bgpk-cta-btn{
	display: inline-block;
	background: var(--bgpk-gold);
	color: var(--bgpk-charcoal) !important;
	font-weight: 700;
	font-family: 'Inter', sans-serif;
	padding: 14px 32px;
	border-radius: 30px;
	text-decoration: none !important;
	font-size: 15px;
	margin: 12px 0;
	transition: background .15s ease;
}
.bgpk-cta-btn:hover{ background: var(--bgpk-rose); color: #fff !important; }
.bgpk-cta-wrap{ text-align: center; margin: 24px 0; }

/* ============================
   FAQ ACCORDION  [faq] shortcode
   ============================ */
.bgpk-faq{ margin: 32px 0; }
.bgpk-faq-item{
	border: 1px solid var(--bgpk-border);
	border-radius: 10px;
	margin-bottom: 10px;
	overflow: hidden;
}
.bgpk-faq-q{
	padding: 16px 20px;
	font-weight: 600;
	font-family: 'Inter', sans-serif;
	cursor: pointer;
	background: var(--bgpk-bg-soft);
	position: relative;
}
.bgpk-faq-q::after{
	content: "+";
	position: absolute;
	right: 20px;
	top: 14px;
	font-size: 20px;
	color: var(--bgpk-rose-dark);
}
.bgpk-faq-item.bgpk-open .bgpk-faq-q::after{ content: "−"; }
.bgpk-faq-a{
	padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	transition: max-height .2s ease, padding .2s ease;
	font-size: 15px;
	color: var(--bgpk-charcoal-soft);
	line-height: 1.7;
}
.bgpk-faq-item.bgpk-open .bgpk-faq-a{ padding: 16px 20px 18px; max-height: 600px; }

/* ============================
   AUTHENTICITY / TRUST BADGE BOX (used inline in content)
   ============================ */
.bgpk-authnote{
	background: var(--bgpk-bg-soft);
	border-left: 4px solid var(--bgpk-rose);
	padding: 18px 22px;
	border-radius: 8px;
	margin: 24px 0;
	font-size: 15px;
}
.bgpk-authnote strong{ color: var(--bgpk-rose-dark); }

/* ============================
   FOOTER
   ============================ */
#footer, .site-footer{
	background: var(--bgpk-bg-soft) !important;
	border-top: 1px solid var(--bgpk-border);
}
.footer-widget-1, .footer-widget-2, .footer-widget-3{
	color: var(--bgpk-charcoal-soft);
	font-size: 14px;
}
.bgpk-footer-disclosure{
	max-width: 900px;
	margin: 0 auto;
	padding: 18px 24px;
	font-size: 12px;
	color: var(--bgpk-charcoal-soft);
	text-align: center;
	border-top: 1px solid var(--bgpk-border);
}

/* ============================
   MOBILE RESPONSIVENESS
   (GeneratePress core is already mobile-friendly — these fine-tune
   the custom sections added by this child theme)
   ============================ */
@media (max-width: 600px){
	.bgpk-hero{ padding: 40px 18px; }
	.bgpk-hero h1{ font-size: 26px; line-height: 1.35; }
	.bgpk-hero p{ font-size: 15px; }
	.bgpk-hero-search{ flex-direction: column; }
	.bgpk-hero-search input[type="search"]{ width: 100%; }
	.bgpk-hero-search button{ width: 100%; }

	.bgpk-cat-grid{ padding: 36px 18px; gap: 18px; }
	.bgpk-cat-card{ padding: 26px 18px; }

	.bgpk-trust{ padding: 36px 18px; }
	.bgpk-trust h2{ font-size: 21px; }

	.bgpk-price-table th, .bgpk-price-table td{ padding: 10px 12px; font-size: 13px; }
	.bgpk-cta-btn{ display: block; text-align: center; padding: 14px 20px; }

	.bgpk-faq-q{ font-size: 14px; padding: 14px 16px; }
	.bgpk-faq-a{ font-size: 14px; }
}
