/*
 Theme Name:   Divi Child – Shop 52 Beauty
 Theme URI:    https://shop52beauty.com/
 Description:  Cotton candy pink & periwinkle child theme for Shop 52 Beauty (nail supply).
 Author:       Shop 52 Beauty
 Template:     Divi
 Version:      1.0.1
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--p-pink: #F08DB4;
	--p-pink-dk: #CC5A8E;
	--p-pink-lt: #FFEFF5;
	--p-peri: #6F86D6;
	--p-peri-dk: #4E64B5;
	--p-peri-lt: #EBEFFC;
	--p-ink: #1F2546;
	--p-cream: #FFFAF7;
	--p-text: #4B4F63;
	--p-line: rgba(31, 37, 70, .12);
	--p-radius: 24px;
	--p-shadow: 0 22px 40px -28px rgba(31, 37, 70, .5);
	--p-head: 'Domine', Georgia, serif;
	--p-body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
}

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

/* 3. HEADER */
#top-header { background: var(--p-ink) !important; }
#main-header { background: #fff; box-shadow: 0 1px 0 var(--p-line); }
#main-header .container { width: 92%; max-width: 1280px; }
#logo { max-height: 80%; }
.et-fixed-header #logo { max-height: 80%; }
#top-menu li { padding-right: 15px; }
#top-menu a, .et_mobile_menu a { font-family: var(--p-body); font-size: 15px; font-weight: 600; color: var(--p-ink); }
#top-menu li.current-menu-item > a, #top-menu a:hover { color: var(--p-pink-dk) !important; opacity: 1; }
.et_mobile_menu { border-top-color: var(--p-pink); }
.mobile_menu_bar:before, #et_search_icon:before { color: var(--p-ink); }

/* 4. HELPERS */
.s52-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.p-tag { display: inline-block; font-family: var(--p-body); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--p-peri-dk); background: var(--p-peri-lt); border-radius: 999px; padding: 6px 14px; margin-bottom: 14px; }
.p-title { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.2; margin-bottom: 12px; }
.p-title em { font-style: normal; color: var(--p-pink-dk); }
.p-lead { font-size: 17.5px; line-height: 1.72; 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-pink-dk); color: #fff !important; font-family: var(--p-body); font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 10px 20px -12px rgba(204, 90, 142, .9); transition: background .25s ease, transform .25s ease; }
.p-btn:hover { background: var(--p-ink); transform: translateY(-2px); }
.p-btn--peri { background: var(--p-peri); box-shadow: 0 10px 20px -12px rgba(78, 100, 181, .9); }
.p-btn--peri:hover { background: var(--p-ink); }
.p-link { display: table; margin-top: 6px; font-family: var(--p-body); font-weight: 700; font-size: 15px; color: var(--p-pink-dk); text-decoration: none; }
.p-link:after { content: " \2192"; }
.p-aisles, .p-aisles li, .p-badges, .p-badges li, .p-cart, .p-cart li, .p-shapes, .p-shapes li, .s52-footer ul, .s52-footer li { list-style: none !important; }
.p-aisles br, .p-aisles p:empty, .p-badges br, .p-cart br, .p-cart p:empty, .p-shapes br, .p-shapes p:empty, .p-finds br, .p-card-body p:empty, .p-shelf br, .p-shelf p:empty { display: none; }
.p-aisles > p, .p-aisles li > p, .p-badges > p, .p-cart > p, .p-cart li > p, .p-shapes > p, .p-shapes li > p, .p-finds > p, .p-card > p { display: contents; }

/* 5. HERO */
.p-hero { background: linear-gradient(135deg, var(--p-pink-lt) 0%, #fff 55%, var(--p-peri-lt) 100%); padding: 64px 0 70px !important; }
.p-hero h1 { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.12; margin-bottom: 16px; }
.p-hero h1 em { font-style: normal; color: var(--p-pink-dk); }
.p-badges { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 !important; margin: 28px 0 0; }
.p-badges li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 8px 18px -14px rgba(31, 37, 70, .6); font-size: 14px; font-weight: 600; color: var(--p-ink); }
.p-badges li b { font-family: var(--p-head); font-size: 20px; color: var(--p-pink-dk); }
.p-hero-img .et_pb_image_wrap { display: block; border-radius: var(--p-radius); overflow: hidden; box-shadow: var(--p-shadow); outline: 3px dashed var(--p-pink); outline-offset: 10px; }
.p-hero-img img { width: 100%; display: block; }

/* 6. SHOP THE AISLES */
.p-aisles-sec { background: #fff; padding: 84px 0 72px !important; }
.p-aisles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 !important; margin: 40px 0 0; }
.p-aisles li { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--p-radius); background: var(--p-cream); border: 1px solid var(--p-line); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.p-aisles li:nth-child(even) { background: #F9FAFF; }
.p-aisles li:hover { transform: translateY(-4px); box-shadow: var(--p-shadow); background: var(--p-pink-lt); }
.p-aisles i { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-style: normal; font-family: var(--p-head); font-weight: 700; font-size: 18px; color: #fff; background: var(--p-pink); }
.p-aisles li:nth-child(even) i { background: var(--p-peri); }
.p-aisles h3 { font-size: 19px; line-height: 1.3; margin: 0 0 4px; padding-bottom: 0; }
.p-aisles p { font-size: 15px; line-height: 1.55; margin: 0 0 6px; padding-bottom: 0; }
.p-aisles a { font-weight: 700; font-size: 14.5px; color: var(--p-pink-dk); text-decoration: none; }
.p-aisles a:after { content: " \2192"; }
.p-aisles a:before { content: ""; position: absolute; inset: 0; }

/* 7. PASTEL SHELF */
.p-shelf-sec { background: var(--p-peri-lt); padding: 84px 0 70px !important; }
.p-shelf-col .et_pb_image { margin-bottom: 0 !important; }
.p-shelf-col .et_pb_image_wrap { display: block; border-radius: var(--p-radius) var(--p-radius) 0 0; overflow: hidden; }
.p-shelf-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.p-shelf-col:hover .et_pb_image img { transform: scale(1.04); }
.p-shelf { background: #fff; border-radius: 0 0 var(--p-radius) var(--p-radius); padding: 20px 22px 24px; box-shadow: var(--p-shadow); }
.p-shelf small { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--p-pink-dk); background: var(--p-pink-lt); border-radius: 999px; padding: 3px 10px; }
.p-shelf h3 { font-size: 22px; margin: 10px 0 6px; padding-bottom: 0; }
.p-shelf p { font-size: 15.5px; line-height: 1.6; margin-bottom: 8px; padding-bottom: 0; }

/* 8. TIP BAR */
.p-tipbar { background: #fff; padding: 84px 0 76px !important; }
.p-tip-img .et_pb_image_wrap { display: block; border-radius: var(--p-radius); overflow: hidden; box-shadow: var(--p-shadow); }
.p-tip-img img { width: 100%; display: block; }
.p-shapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 !important; margin: 30px 0 0; }
.p-shapes li { background: var(--p-cream); border: 1px solid var(--p-line); border-radius: 18px; padding: 20px; }
.p-shapes li span { display: block; width: 26px; height: 40px; margin-bottom: 12px; background: var(--p-pink); }
.p-shapes li:nth-child(1) span { border-radius: 4px 4px 2px 2px; }
.p-shapes li:nth-child(2) span { border-radius: 50% 50% 4px 4px / 70% 70% 4px 4px; background: var(--p-peri); }
.p-shapes li:nth-child(3) span { clip-path: polygon(28% 0, 72% 0, 100% 100%, 0 100%); border-radius: 2px; }
.p-shapes li:nth-child(4) span { clip-path: polygon(50% 0, 100% 100%, 0 100%); background: var(--p-peri); }
.p-shapes h3 { font-size: 18px; margin: 0 0 4px; padding-bottom: 0; }
.p-shapes p { font-size: 14.5px; line-height: 1.55; margin: 0; padding-bottom: 0; }

/* 9. CART CHECKLIST */
.p-cart-sec { background: var(--p-ink); padding: 84px 0 !important; }
.p-cart-sec .p-title { color: #fff; }
.p-cart-sec .p-title em { color: var(--p-pink); }
.p-cart-sec .p-lead, .p-cart-sec p { color: rgba(255, 255, 255, .82); }
.p-cart-sec .p-tag { background: rgba(255, 255, 255, .1); color: #C9D3FA; }
.p-cart { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 0 !important; margin: 32px 0 0; }
.p-cart li { position: relative; padding: 22px 22px 22px 66px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.p-cart li:before { content: "\2713"; position: absolute; left: 20px; top: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--p-pink); color: var(--p-ink); font-weight: 700; line-height: 30px; text-align: center; }
.p-cart h3 { color: #fff; font-size: 19px; margin: 0 0 4px; padding-bottom: 0; }
.p-cart p { font-size: 15.5px; line-height: 1.6; margin: 0; padding-bottom: 0; }
.p-cart a { color: var(--p-pink); font-weight: 700; text-decoration: none; }

/* 10. FRESH FINDS */
.p-finds-sec { background: var(--p-pink-lt); padding: 84px 0 !important; }
.p-finds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.p-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--p-radius); overflow: hidden; box-shadow: 0 16px 30px -26px rgba(31, 37, 70, .7); transition: transform .25s ease; }
.p-card:hover { transform: translateY(-4px); }
.p-card img { width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.p-card-body { padding: 18px 20px 20px; }
.p-card-body span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--p-peri-dk); }
.p-card h3 { font-size: 18.5px; line-height: 1.4; margin: 6px 0 8px; padding-bottom: 0; }
.p-card .p-link:before { content: ""; position: absolute; inset: 0; }

/* 11. CTA */
.p-cta { background: linear-gradient(110deg, var(--p-pink-dk) 0%, var(--p-pink) 55%, var(--p-peri) 100%); padding: 60px 0 !important; }
.p-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.p-cta-box h2 { color: #fff; font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 6px; }
.p-cta-box p { color: rgba(255, 255, 255, .95); max-width: 620px; }
.p-cta .p-btn { background: #fff; color: var(--p-ink) !important; box-shadow: none; }
.p-cta .p-btn:hover { background: var(--p-ink); color: #fff !important; }

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

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

/* 14. RESPONSIVE */
@media (max-width: 1100px) {
	.s52-footer-grid { grid-template-columns: 1fr 1fr; }
	#top-menu li { padding-right: 10px; }
	#top-menu a { font-size: 14px; }
}
@media (max-width: 980px) {
	.p-hero-img { margin-top: 40px; }
	.p-aisles, .p-finds { grid-template-columns: 1fr 1fr; }
	.p-shapes { grid-template-columns: 1fr 1fr; }
	.p-aisles-sec, .p-shelf-sec, .p-tipbar, .p-cart-sec, .p-finds-sec { padding: 58px 0 !important; }
	.p-shelf-col { margin-bottom: 28px !important; }
}
@media (max-width: 640px) {
	.p-aisles, .p-finds, .p-cart { grid-template-columns: 1fr; }
	.s52-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
