/*
 Theme Name:   Divi Child – 52 Beauty Supply
 Theme URI:    https://52beautysupply.com/
 Description:  Rose-pink (#F4ABB4) child theme for 52 Beauty Supply (nail supply).
 Author:       52 Beauty Supply
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* == 1. TOKENS == */
:root {
	--b52y-pink: #F4ABB4;
	--b52y-pink-dark: #D9808D;
	--b52y-pink-light: #FDEEF0;
	--b52y-cream: #FFF8F6;
	--b52y-berry: #4B2A33;
	--b52y-text: #6A5A5E;
	--b52y-line: rgba(75, 42, 51, .12);
	--b52y-radius: 18px;
	--b52y-shadow: 0 24px 48px -30px rgba(75, 42, 51, .5);
	--b52y-serif: 'Lora', Georgia, serif;
	--b52y-sans: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

/* == 2. BASE == */
body, body p, #main-content, .et_pb_text { font-family: var(--b52y-sans); color: var(--b52y-text); font-weight: 400; }
body { font-size: 15.5px; line-height: 1.75; background: #fff; }
h1, h2, h3, h4, h5, h6, .entry-title { font-family: var(--b52y-serif); color: var(--b52y-berry); font-weight: 600; }
a { color: var(--b52y-pink-dark); }
a:hover { color: var(--b52y-berry); }
::selection { background: var(--b52y-pink); color: var(--b52y-berry); }

/* == 3. HEADER == */
#top-header { background: var(--b52y-pink) !important; }
#main-header { background: #fff; box-shadow: 0 1px 0 var(--b52y-line); }
#main-header .container { width: 90%; max-width: 1240px; }
#logo { max-height: 80%; }
#top-menu li { padding-right: 22px; }
#top-menu a, .et_mobile_menu a { font-family: var(--b52y-sans); font-size: 14.5px; font-weight: 500; color: var(--b52y-berry); }
#top-menu li.current-menu-item > a, #top-menu a:hover { color: var(--b52y-pink-dark) !important; opacity: 1; }
#top-menu li.current-menu-item > a { border-bottom: 2px solid var(--b52y-pink); padding-bottom: 6px !important; }
.et_mobile_menu { border-top-color: var(--b52y-pink); }
.mobile_menu_bar:before, #et_search_icon:before { color: var(--b52y-berry); }

/* == 4. HELPERS == */
.b52y-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.b52y-label { display: inline-block; font-family: var(--b52y-sans); font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--b52y-pink-dark); margin-bottom: 12px; }
.b52y-title { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.2; margin-bottom: 12px; }
.b52y-lead { font-size: 16.5px; line-height: 1.8; max-width: 640px; }
.b52y-center { text-align: center; }
.b52y-center .b52y-lead { margin: 0 auto; }
.b52y-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.b52y-center .b52y-btns { justify-content: center; }
.b52y-btn { display: inline-block; padding: 13px 28px; border-radius: 999px; background: var(--b52y-pink); color: var(--b52y-berry) !important; font-family: var(--b52y-sans); font-weight: 600; font-size: 14.5px; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.b52y-btn:hover { background: var(--b52y-pink-dark); color: #fff !important; transform: translateY(-2px); }
.b52y-btn--dark { background: var(--b52y-berry); color: #fff !important; }
.b52y-btn--dark:hover { background: var(--b52y-pink-dark); }
.b52y-arrow { font-family: var(--b52y-sans); font-weight: 600; font-size: 14px; color: var(--b52y-pink-dark); text-decoration: none; }
.b52y-arrow:after { content: " \2192"; }
.b52y-ticks, .b52y-ticks li, .b52y-footer ul, .b52y-footer li, .b52y-drop-list, .b52y-drop-list li { list-style: none !important; }

/* == 5. HERO == */
.b52y-hero { background: linear-gradient(180deg, var(--b52y-pink-light) 0%, #fff 100%); padding: 40px 0 70px !important; }
.b52y-hero-banner .et_pb_image_wrap { display: block; border-radius: 26px; overflow: hidden; box-shadow: var(--b52y-shadow); }
.b52y-hero-banner img { width: 100%; }
.b52y-hero-card { position: relative; z-index: 2; background: #fff; border-radius: 26px; padding: 40px 46px; margin: -70px auto 0; max-width: 960px; box-shadow: 0 30px 60px -36px rgba(75, 42, 51, .5); text-align: center; }
.b52y-hero-card h1 { font-size: clamp(32px, 4vw, 50px); line-height: 1.12; margin-bottom: 14px; }
.b52y-hero-card h1 em { color: var(--b52y-pink-dark); }
.b52y-ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 0 !important; margin-top: 22px; font-size: 14px; color: var(--b52y-berry); }
.b52y-ticks li:before { content: "\2665"; color: var(--b52y-pink); margin-right: 7px; }

/* == 6. NEW SEASON DROPS (bento) == */
.b52y-drops { background: #fff; padding: 70px 0 !important; }
.b52y-drop-img .et_pb_image_wrap { display: block; border-radius: var(--b52y-radius); overflow: hidden; box-shadow: var(--b52y-shadow); }
.b52y-drop-img .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.b52y-drop-img:hover .et_pb_image img { transform: scale(1.04); }
.b52y-drop-intro { background: var(--b52y-pink-light); border-radius: 26px; padding: 40px 38px; }
.b52y-drop-list { padding: 0 !important; margin-top: 18px; }
.b52y-drop-list li { border-top: 1px solid var(--b52y-line); padding: 14px 0; }
.b52y-drop-list li strong { display: block; font-family: var(--b52y-serif); font-size: 19px; color: var(--b52y-berry); }
.b52y-drop-cap { margin-top: 14px; }
.b52y-drop-cap span { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--b52y-pink-dark); }
.b52y-drop-cap h3 { font-size: 21px; margin: 2px 0 6px; padding-bottom: 0; }
.b52y-drop-cap p { font-size: 14.5px; line-height: 1.65; margin-bottom: 8px; padding-bottom: 0; }

/* == 7. CATEGORIES (list) == */
.b52y-cats { background: var(--b52y-cream); padding: 80px 0 !important; }
.b52y-cat-list { border-top: 1px solid var(--b52y-line); margin-top: 20px; }
.b52y-cat-row { position: relative; display: grid; grid-template-columns: 70px 1fr 1.4fr 40px; align-items: center; gap: 20px; padding: 24px 10px; border-bottom: 1px solid var(--b52y-line); transition: background .25s ease, padding .25s ease; }
.b52y-cat-row:hover { background: #fff; padding-left: 22px; }
.b52y-cat-row b { font-family: var(--b52y-serif); font-size: 30px; font-style: italic; color: var(--b52y-pink); font-weight: 500; }
.b52y-cat-row h3 { font-size: 22px; padding-bottom: 0; margin: 0; }
.b52y-cat-row p { font-size: 14.5px; margin: 0; padding-bottom: 0; }
.b52y-cat-row a { position: absolute; inset: 0; font-size: 0; }
.b52y-cat-row i { font-style: normal; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--b52y-pink); color: var(--b52y-berry); font-weight: 600; }
.b52y-cat-row br, .b52y-cat-row p:empty, .b52y-guide br, .b52y-guide p:empty { display: none; }

/* == 8. GUIDES == */
.b52y-guides { background: #fff; padding: 80px 0 !important; }
.b52y-guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 16px; }
.b52y-guide { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--b52y-line); border-radius: var(--b52y-radius); padding: 14px; transition: box-shadow .3s ease, transform .3s ease; }
.b52y-guide:hover { box-shadow: var(--b52y-shadow); transform: translateY(-4px); }
.b52y-guide > p { display: contents; }
.b52y-guide img { width: 170px; height: 170px !important; object-fit: cover; border-radius: 14px; display: block; }
.b52y-guide span { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--b52y-pink-dark); }
.b52y-guide h3 { font-size: 19px; line-height: 1.3; margin: 4px 0 6px; padding-bottom: 0; }
.b52y-guide-body p { font-size: 14px; line-height: 1.6; margin-bottom: 8px; padding-bottom: 0; }
.b52y-guide .b52y-arrow:before { content: ""; position: absolute; inset: 0; }

/* == 9. FAQ == */
.b52y-faq { background: var(--b52y-pink-light); padding: 80px 0 !important; }
.b52y-faq details { background: #fff; border-radius: 16px; margin-bottom: 12px; padding: 0 24px; box-shadow: 0 10px 30px -26px rgba(75, 42, 51, .6); }
.b52y-faq summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; position: relative; font-family: var(--b52y-serif); font-size: 19px; font-weight: 600; color: var(--b52y-berry); }
.b52y-faq summary::-webkit-details-marker { display: none; }
.b52y-faq summary:after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--b52y-pink); color: var(--b52y-berry); font-family: var(--b52y-sans); }
.b52y-faq details[open] summary:after { content: "\2013"; }
.b52y-faq details p { padding: 0 0 20px !important; margin: 0; font-size: 15px; }

/* == 10. CTA == */
.b52y-cta { background: var(--b52y-berry); padding: 70px 0 !important; }
.b52y-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.b52y-cta h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); margin-bottom: 6px; }
.b52y-cta p { color: rgba(255, 255, 255, .78); max-width: 600px; }

/* == 11. FOOTER == */
#main-footer { display: none !important; }
.b52y-footer { background: var(--b52y-cream); border-top: 4px solid var(--b52y-pink); padding: 64px 0 0; font-size: 14.5px; }
.b52y-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr .9fr; gap: 40px; padding-bottom: 46px; }
.b52y-footer-logo { display: inline-block; background: #fff; border-radius: 16px; padding: 10px 14px; margin-bottom: 16px; box-shadow: 0 10px 24px -18px rgba(75, 42, 51, .5); }
.b52y-footer-logo img { width: 230px; height: auto; display: block; }
.b52y-footer p { color: var(--b52y-text); }
.b52y-footer h4 { font-family: var(--b52y-serif); font-size: 19px; color: var(--b52y-berry); margin-bottom: 14px; padding-bottom: 0; }
.b52y-footer ul { padding: 0 !important; margin: 0; }
.b52y-footer li { margin-bottom: 9px; line-height: 1.45; }
.b52y-footer a { color: var(--b52y-berry); text-decoration: none; }
.b52y-footer a:hover { color: var(--b52y-pink-dark); }
.b52y-footer-bottom { background: var(--b52y-pink); padding: 16px 0; text-align: center; font-size: 13px; color: var(--b52y-berry); }

/* == 12. BLOG TOUCHES == */
.et_pb_post .entry-title a:hover { color: var(--b52y-pink-dark); }
.post-meta a { color: var(--b52y-pink-dark); }

/* == 13. RESPONSIVE == */
@media (max-width: 1100px) {
	.b52y-footer-grid { grid-template-columns: 1fr 1fr; }
	.b52y-cat-row { grid-template-columns: 56px 1fr 40px; }
	.b52y-cat-row p { grid-column: 2 / 3; }
}
@media (max-width: 980px) {
	.b52y-guide-grid { grid-template-columns: 1fr; }
	.b52y-drops, .b52y-cats, .b52y-guides, .b52y-faq { padding: 56px 0 !important; }
	.b52y-hero-card { margin-top: -30px; padding: 30px 24px; }
}
@media (max-width: 640px) {
	.b52y-guide { grid-template-columns: 110px 1fr; gap: 14px; }
	.b52y-guide img { width: 110px; height: 110px !important; }
	.b52y-cat-row { grid-template-columns: 44px 1fr; }
	.b52y-cat-row i { display: none; }
	.b52y-footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.b52y-drop-intro { padding: 30px 24px; }
}
