/*
 Theme Name:   Divi Child – 68 Pod
 Theme URI:    https://68pod.com/
 Description:  Burgundy & champagne child theme for 68 Pod (nail supply).
 Author:       68 Pod
 Template:     Divi
 Version:      1.0.1
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--p-wine: #7A1B3A;
	--p-wine-dk: #5A1229;
	--p-plum: #2A0E19;
	--p-gold: #C8A660;
	--p-gold-dk: #A9873F;
	--p-cream: #FBF6F0;
	--p-blush: #F3E6DF;
	--p-text: #5A4A50;
	--p-ink: #2A0E19;
	--p-line: rgba(42, 14, 25, .12);
	--p-radius: 20px;
	--p-shadow: 0 26px 50px -32px rgba(42, 14, 25, .6);
	--p-head: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
	--p-body: 'Karla', 'Helvetica Neue', Arial, sans-serif;
}

/* 2. BASE */
body, body p, #main-content, .et_pb_text { font-family: var(--p-body); color: var(--p-text); }
body { font-size: 17.5px; line-height: 1.72; background: #fff; }
h1, h2, h3, h4, h5, h6, .entry-title { font-family: var(--p-head); color: var(--p-ink); font-weight: 700; letter-spacing: -.02em; }
a { color: var(--p-wine); }
a:hover { color: var(--p-wine-dk); }
::selection { background: var(--p-wine); color: #fff; }

/* 3. HEADER */
#top-header { background: var(--p-plum) !important; }
#main-header { background: #fff; box-shadow: 0 1px 0 var(--p-line); }
#main-header .container { width: 90%; max-width: 1240px; }
#logo { max-height: 58%; }
#top-menu li { padding-right: 20px; }
#top-menu a, .et_mobile_menu a { font-family: var(--p-head); font-size: 15px; font-weight: 600; color: var(--p-ink); }
#top-menu li.current-menu-item > a, #top-menu a:hover { color: var(--p-wine) !important; opacity: 1; }
#top-menu li.current-menu-item > a { font-weight: 700; }
.et_mobile_menu { border-top-color: var(--p-wine); }
.mobile_menu_bar:before, #et_search_icon:before { color: var(--p-ink); }

/* 4. HELPERS */
.b68p-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.p-eyebrow { display: inline-block; font-family: var(--p-head); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--p-gold-dk); margin-bottom: 12px; padding: 5px 12px; border: 1px solid rgba(200, 166, 96, .55); border-radius: 999px; }
.p-title { font-size: clamp(28px, 3.3vw, 42px); line-height: 1.15; margin-bottom: 10px; }
.p-lead { font-size: 17.5px; line-height: 1.75; max-width: 640px; }
.p-center { text-align: center; }
.p-center .p-lead { margin: 0 auto; }
.p-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.p-btn { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--p-wine); color: #fff !important; font-family: var(--p-head); font-weight: 700; font-size: 15px; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.p-btn:hover { background: var(--p-plum); transform: translateY(-2px); }
.p-btn--gold { background: var(--p-gold); color: var(--p-plum) !important; }
.p-btn--gold:hover { background: #fff; }
.p-btn--line { background: transparent; color: var(--p-wine) !important; box-shadow: inset 0 0 0 2px var(--p-wine); }
.p-btn--line:hover { background: var(--p-wine); color: #fff !important; }
.p-more { font-family: var(--p-head); font-weight: 700; font-size: 14.5px; color: var(--p-wine); text-decoration: none; }
.p-more:after { content: " \2192"; }
.p-stats, .p-stats li, .b68p-footer ul, .b68p-footer li { list-style: none !important; }
.p-pod br, .p-pod p:empty, .p-coll br, .p-coll p:empty, .p-pick br, .p-pick p:empty, .p-read br, .p-read-body p:empty, .p-faq br, .p-faq p:empty { display: none; }

/* 5. HERO */
.p-hero { background: var(--p-cream); padding: 70px 0 64px !important; position: relative; overflow: hidden; }
.p-hero:before { content: ""; position: absolute; right: -160px; top: -120px; width: 520px; height: 520px; border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%; background: var(--p-blush); }
.p-hero .et_pb_row { position: relative; z-index: 1; }
.p-hero h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.07; margin-bottom: 16px; }
.p-hero h1 span { color: var(--p-wine); font-style: italic; }
.p-stats { display: flex; flex-wrap: wrap; gap: 26px; padding: 22px 0 0 !important; margin-top: 26px; border-top: 1px solid var(--p-line); }
.p-stats li { font-size: 14px; line-height: 1.3; color: var(--p-text); }
.p-stats li b { display: block; font-family: var(--p-head); font-size: 26px; color: var(--p-wine); }
.p-hero-banner { position: relative; }
.p-hero-banner .et_pb_image_wrap { display: block; border-radius: 28px; overflow: hidden; box-shadow: var(--p-shadow); }
.p-hero-banner img { width: 100%; }

/* 6. PODS */
.p-pods { background: var(--p-wine); padding: 80px 0 72px !important; }
.p-pods .p-title { color: #fff; }
.p-pods .p-lead { color: rgba(255, 255, 255, .8); }
.p-pods .p-eyebrow { color: var(--p-gold); }
.p-pod-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 30px; }
.p-pod { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 26px; padding: 26px 20px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: background .25s ease, transform .25s ease; }
.p-pod:hover { background: var(--p-gold); transform: translateY(-5px); }
.p-pod i { font-style: normal; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--p-gold); color: var(--p-plum); font-family: var(--p-head); font-weight: 700; font-size: 20px; margin-bottom: 14px; }
.p-pod:hover i { background: var(--p-plum); color: var(--p-gold); }
.p-pod h3 { color: #fff; font-size: 17.5px; line-height: 1.3; margin-bottom: 6px; padding-bottom: 0; }
.p-pod p { flex: 1; color: rgba(255, 255, 255, .78); font-size: 14.5px; line-height: 1.5; margin-bottom: 12px; padding-bottom: 0; }
.p-pod:hover h3, .p-pod:hover p, .p-pod:hover a { color: var(--p-plum); }
.p-pod a { color: var(--p-gold); font-family: var(--p-head); font-weight: 700; font-size: 14px; text-decoration: none; }
.p-pod a:before { content: ""; position: absolute; inset: 0; }

/* 7. COLLECTIONS */
.p-collections { background: #fff; padding: 80px 0 70px !important; }
.p-coll-col { position: relative; }
.p-coll-col .et_pb_image { margin-bottom: 0 !important; }
.p-coll-col .et_pb_image_wrap { display: block; border-radius: 24px; overflow: hidden; }
.p-coll-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.p-coll-col:hover .et_pb_image img { transform: scale(1.04); }
.p-coll { padding: 16px 6px 0; }
.p-coll small { display: inline-block; font-family: var(--p-head); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--p-wine); padding: 4px 11px; border-radius: 999px; margin-bottom: 8px; }
.p-coll h3 { font-size: 19px; margin-bottom: 6px; padding-bottom: 0; }
.p-coll p { font-size: 15px; line-height: 1.55; margin-bottom: 10px; padding-bottom: 0; }

/* 8. PICKS */
.p-picks { background: var(--p-cream); padding: 80px 0 !important; }
.p-pick-list { counter-reset: pk; display: grid; gap: 14px; }
.p-pick { counter-increment: pk; position: relative; display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 18px; background: #fff; border-radius: 18px; padding: 12px 22px 12px 12px; box-shadow: 0 14px 30px -26px rgba(42, 14, 25, .7); transition: transform .25s ease; }
.p-pick:hover { transform: translateX(6px); }
.p-pick > p { display: contents; }
.p-pick img { width: 96px !important; height: 96px !important; object-fit: cover; border-radius: 14px; display: block; }
.p-pick span { font-family: var(--p-head); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--p-gold-dk); }
.p-pick h3 { font-size: 17.5px; line-height: 1.35; margin: 2px 0 0; padding-bottom: 0; }
.p-pick:after { content: "0" counter(pk); font-family: var(--p-head); font-size: 30px; font-weight: 700; color: var(--p-blush); }
.p-pick a { color: inherit; text-decoration: none; }
.p-pick a:before { content: ""; position: absolute; inset: 0; }
.p-picks-side .et_pb_image_wrap { display: block; border-radius: 26px; overflow: hidden; box-shadow: var(--p-shadow); }
.p-picks-side img { width: 100%; }

/* 9. FAQ */
.p-faqs { background: #fff; padding: 80px 0 !important; }
.p-faq { border-top: 1px solid var(--p-line); }
.p-faq details { border-bottom: 1px solid var(--p-line); padding: 18px 4px; }
.p-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-family: var(--p-head); font-weight: 700; font-size: 18px; color: var(--p-ink); }
.p-faq summary::-webkit-details-marker { display: none; }
.p-faq summary:after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--p-blush); color: var(--p-wine); display: grid; place-items: center; font-size: 20px; line-height: 1; }
.p-faq details[open] summary:after { content: "\2212"; background: var(--p-wine); color: #fff; }
.p-faq details div { padding-top: 10px; font-size: 16px; }
.p-faq-card { background: var(--p-plum); border-radius: 26px; padding: 34px 30px; }
.p-faq-card h3 { color: #fff; font-size: 24px; margin-bottom: 8px; padding-bottom: 0; }
.p-faq-card p { color: rgba(255, 255, 255, .8); margin-bottom: 20px; }

/* 10. LATEST */
.p-latest { background: var(--p-blush); padding: 80px 0 !important; }
.p-read-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.p-read { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 22px; padding: 10px; transition: transform .3s ease, box-shadow .3s ease; }
.p-read:hover { transform: translateY(-4px); box-shadow: var(--p-shadow); }
.p-read > p { display: contents; }
.p-read img { width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 16px; }
.p-read-body { padding: 14px 10px 10px; }
.p-read-body span { font-family: var(--p-head); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--p-gold-dk); }
.p-read h3 { font-size: 18px; line-height: 1.35; margin: 4px 0 8px; padding-bottom: 0; }
.p-read .p-more:before { content: ""; position: absolute; inset: 0; }

/* 11. CTA */
.p-cta { background: var(--p-plum); padding: 64px 0 !important; }
.p-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border: 1px solid rgba(200, 166, 96, .45); border-radius: 28px; padding: 34px 36px; }
.p-cta-box h2 { color: #fff; font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 6px; }
.p-cta-box p { color: rgba(255, 255, 255, .82); max-width: 600px; }

/* 12. FOOTER */
#main-footer { display: none !important; }
.b68p-footer { background: var(--p-cream); border-top: 4px solid var(--p-gold); padding: 64px 0 0; font-size: 15.5px; }
.b68p-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr .9fr; gap: 40px; padding-bottom: 46px; }
.b68p-footer-logo img { width: 210px; height: auto; display: block; margin-bottom: 16px; }
.b68p-footer p { color: var(--p-text); }
.b68p-footer h4 { font-family: var(--p-head); font-size: 16px; color: var(--p-ink); margin-bottom: 14px; padding-bottom: 0; }
.b68p-footer ul { padding: 0 !important; margin: 0; }
.b68p-footer li { margin-bottom: 9px; line-height: 1.45; }
.b68p-footer a { color: var(--p-ink); text-decoration: none; }
.b68p-footer a:hover { color: var(--p-wine); }
.b68p-footer-bottom { background: var(--p-wine); color: rgba(255, 255, 255, .82); padding: 16px 0; text-align: center; font-size: 13.5px; }

/* 13. BLOG */
.et_pb_post .entry-title a:hover { color: var(--p-wine); }
.post-meta a { color: var(--p-wine); }

/* 14. RESPONSIVE */
@media (max-width: 1100px) {
	.p-pod-grid { grid-template-columns: repeat(3, 1fr); }
	.b68p-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
	.p-hero-banner { margin-top: 30px; }
	.p-read-grid { grid-template-columns: 1fr 1fr; }
	.p-pods, .p-collections, .p-picks, .p-faqs, .p-latest { padding: 56px 0 !important; }
	.p-coll-col { margin-bottom: 26px !important; }
	.p-picks-side, .p-faq-col { margin-top: 26px; }
}
@media (max-width: 640px) {
	.p-pod-grid, .p-read-grid { grid-template-columns: 1fr; }
	.p-pick { grid-template-columns: 72px 1fr; padding-right: 14px; }
	.p-pick img { width: 72px !important; height: 72px !important; }
	.p-pick:after { display: none; }
	.b68p-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
