/*
 Theme Name:   Divi Child – Dynamic Beauty Store
 Theme URI:    https://dynamicbeautystore.com/
 Description:  Lilac & rose gold child theme for Dynamic Beauty Store (nail supply).
 Author:       Dynamic Beauty Store
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--d-lilac: #8A6BBE;
	--d-lilac-dk: #6E52A2;
	--d-lilac-lt: #F3EEFA;
	--d-rose: #C98B7A;
	--d-rose-lt: #FBF1EC;
	--d-ink: #2F2A36;
	--d-ink-2: #3D3646;
	--d-text: #5A5463;
	--d-pearl: #FBFAFD;
	--d-line: rgba(47, 42, 54, .12);
	--d-radius: 20px;
	--d-shadow: 0 26px 48px -30px rgba(47, 42, 54, .55);
	--d-head: 'Playfair Display', Georgia, serif;
	--d-body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
}

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

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

/* 4. HELPERS */
.dbs-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.d-eyebrow { display: inline-block; font-family: var(--d-body); font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--d-rose); margin-bottom: 12px; }
.d-title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; margin-bottom: 10px; }
.d-title em { color: var(--d-lilac); }
.d-lead { font-size: 17.5px; line-height: 1.75; max-width: 640px; }
.d-center { text-align: center; }
.d-center .d-lead { margin: 0 auto; }
.d-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.d-btn { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--d-lilac); color: #fff !important; font-family: var(--d-body); font-weight: 700; font-size: 15px; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.d-btn:hover { background: var(--d-ink); transform: translateY(-2px); }
.d-btn--rose { background: var(--d-rose); }
.d-btn--rose:hover { background: #fff; color: var(--d-ink) !important; }
.d-btn--soft { background: #fff; color: var(--d-ink) !important; box-shadow: 0 10px 22px -16px rgba(47, 42, 54, .6); }
.d-btn--soft:hover { background: var(--d-lilac-lt); }
.d-more { font-family: var(--d-body); font-weight: 700; font-size: 15px; color: var(--d-lilac-dk); text-decoration: none; }
.d-more:after { content: " \2192"; }
.d-perks, .d-perks li, .d-routine, .d-routine li, .dbs-footer ul, .dbs-footer li { list-style: none !important; }
.d-cat br, .d-cat p:empty, .d-shade br, .d-shade p:empty, .d-routine br, .d-routine p:empty, .d-new br, .d-new-body p:empty, .d-perks br, .d-tile br, .d-tile p:empty { display: none; }

/* 5. HERO */
.d-hero { background: linear-gradient(135deg, var(--d-lilac-lt) 0%, var(--d-rose-lt) 100%); padding: 60px 0 60px !important; position: relative; overflow: hidden; }
.d-hero:before { content: ""; position: absolute; width: 300px; height: 300px; left: -100px; bottom: -120px; border-radius: 50%; background: rgba(138, 107, 190, .12); }
.d-hero .et_pb_row { position: relative; z-index: 1; }
.d-hero h1 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.06; margin-bottom: 16px; }
.d-hero h1 em { color: var(--d-lilac); }
.d-hero-banner .et_pb_image_wrap { display: block; border-radius: 26px; overflow: hidden; box-shadow: var(--d-shadow); border: 8px solid #fff; }
.d-hero-banner img { width: 100%; display: block; }
.d-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 !important; margin: 28px 0 0; }
.d-perks li { background: rgba(255, 255, 255, .75); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; line-height: 1.35; }
.d-perks li b { display: block; font-family: var(--d-head); font-size: 24px; color: var(--d-lilac-dk); }

/* 6. CATEGORIES */
.d-cats { background: #fff; padding: 80px 0 70px !important; }
.d-cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 32px; }
.d-cat { position: relative; text-align: center; padding: 24px 14px 20px; border-radius: var(--d-radius); background: var(--d-pearl); border: 1px solid var(--d-line); transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.d-cat:hover { transform: translateY(-5px); background: var(--d-lilac-lt); border-color: var(--d-lilac); }
.d-cat i { font-style: normal; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(135deg, var(--d-lilac), var(--d-rose)); color: #fff; font-family: var(--d-head); font-size: 22px; }
.d-cat h3 { font-size: 16.5px; line-height: 1.3; margin-bottom: 6px; padding-bottom: 0; }
.d-cat p { font-size: 13.5px; line-height: 1.45; margin-bottom: 8px; padding-bottom: 0; }
.d-cat a { font-family: var(--d-body); font-weight: 700; font-size: 13px; color: var(--d-rose); text-decoration: none; }
.d-cat a:before { content: ""; position: absolute; inset: 0; }

/* 7. PREP BANNER */
.d-prep { background: var(--d-ink); padding: 70px 0 !important; }
.d-prep .d-title { color: #fff; }
.d-prep .d-lead { color: rgba(255, 255, 255, .78); }
.d-prep .d-eyebrow { color: #E7C2B8; }
.d-prep-banner .et_pb_image_wrap { display: block; border-radius: var(--d-radius); overflow: hidden; }
.d-prep-banner img { width: 100%; display: block; }

/* 8. COLOR BAR */
.d-colorbar { background: var(--d-lilac-lt); padding: 80px 0 66px !important; }
.d-shade-col .et_pb_image { margin-bottom: 0 !important; }
.d-shade-col .et_pb_image_wrap { display: block; border-radius: var(--d-radius); overflow: hidden; box-shadow: var(--d-shadow); }
.d-shade-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.d-shade-col:hover .et_pb_image img { transform: scale(1.04); }
.d-shade { padding: 18px 6px 0; }
.d-shade span { display: flex; gap: 6px; margin-bottom: 10px; }
.d-shade span i { width: 18px; height: 18px; border-radius: 50%; display: block; box-shadow: 0 0 0 2px #fff; }
.d-shade h3 { font-size: 22px; margin: 0 0 6px; padding-bottom: 0; }
.d-shade p { font-size: 15.5px; line-height: 1.6; margin-bottom: 10px; padding-bottom: 0; }

/* 9. BEAUTY ROUTINE */
.d-routine-sec { background: #fff; padding: 80px 0 !important; }
.d-routine { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0 !important; margin: 32px 0 0; counter-reset: rt; }
.d-routine li { counter-increment: rt; position: relative; background: var(--d-rose-lt); border-radius: var(--d-radius); padding: 26px 22px 22px; }
.d-routine li:before { content: "Step " counter(rt); display: inline-block; font-family: var(--d-body); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--d-lilac); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }
.d-routine h3 { font-size: 20px; margin-bottom: 6px; padding-bottom: 0; }
.d-routine p { font-size: 15px; line-height: 1.6; margin-bottom: 10px; padding-bottom: 0; }
.d-routine a { font-family: var(--d-body); font-weight: 700; font-size: 14px; color: var(--d-lilac-dk); text-decoration: none; }
.d-routine a:after { content: " \2192"; }
.d-tips-banner .et_pb_image_wrap { display: block; border-radius: var(--d-radius); overflow: hidden; box-shadow: var(--d-shadow); }
.d-tips-banner img { width: 100%; display: block; }
.d-tile { background: var(--d-lilac-lt); border-radius: var(--d-radius); padding: 30px 28px; }
.d-tile h3 { font-size: 26px; margin-bottom: 8px; padding-bottom: 0; }

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

/* 11. CTA */
.d-cta { background: linear-gradient(120deg, var(--d-lilac) 0%, var(--d-rose) 100%); padding: 60px 0 !important; }
.d-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.d-cta-box h2 { color: #fff; font-size: clamp(28px, 2.8vw, 38px); margin-bottom: 6px; }
.d-cta-box p { color: rgba(255, 255, 255, .92); max-width: 600px; }

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

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

/* 14. RESPONSIVE */
@media (max-width: 1100px) {
	.d-cat-grid { grid-template-columns: repeat(3, 1fr); }
	.d-routine, .d-new-grid { grid-template-columns: 1fr 1fr; }
	.dbs-footer-grid { grid-template-columns: 1fr 1fr; }
	#top-menu li { padding-right: 12px; }
	#top-menu a { font-size: 14px; }
}
@media (max-width: 980px) {
	.d-hero-banner { margin-top: 30px; }
	.d-cats, .d-colorbar, .d-routine-sec, .d-newin { padding: 56px 0 !important; }
	.d-shade-col { margin-bottom: 26px !important; }
	.d-prep-banner, .d-tips-banner { margin-top: 24px; }
}
@media (max-width: 640px) {
	.d-cat-grid { grid-template-columns: 1fr 1fr; }
	.d-routine, .d-new-grid, .d-perks { grid-template-columns: 1fr; }
	.dbs-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
