/*
 Theme Name:   Divi Child – Dynamic Beauty Supplies
 Theme URI:    https://dynamicbeautysupplies.com/
 Description:  Powder pink & cocoa child theme for Dynamic Beauty Supplies (nail supply).
 Author:       Dynamic Beauty Supplies
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--u-pink: #F2B8C3;
	--u-pink-lt: #FDF0F2;
	--u-pink-2: #FBE2E7;
	--u-rose: #C9707F;
	--u-rose-dk: #A9566A;
	--u-cocoa: #5A3540;
	--u-cocoa-dk: #3F242C;
	--u-cream: #FFFAF8;
	--u-text: #6B5A5F;
	--u-line: rgba(90, 53, 64, .12);
	--u-radius: 24px;
	--u-shadow: 0 26px 48px -30px rgba(90, 53, 64, .55);
	--u-head: 'Prata', Georgia, serif;
	--u-body: 'Be Vietnam Pro', 'Helvetica Neue', Arial, sans-serif;
}

/* 2. BASE */
body, body p, #main-content, .et_pb_text { font-family: var(--u-body); color: var(--u-text); }
body { font-size: 16.5px; line-height: 1.75; background: #fff; }
h1, h2, h3, h4, h5, h6, .entry-title { font-family: var(--u-head); color: var(--u-cocoa); font-weight: 400; letter-spacing: 0; }
a { color: var(--u-rose-dk); }
a:hover { color: var(--u-cocoa); }
::selection { background: var(--u-rose); color: #fff; }

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

/* 4. HELPERS */
.dbsu-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.u-eyebrow { display: inline-block; font-family: var(--u-body); font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--u-rose); margin-bottom: 12px; }
.u-eyebrow:before, .u-eyebrow:after { content: "\2661"; margin: 0 8px; color: var(--u-pink); }
.u-title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.15; margin-bottom: 10px; }
.u-title i { color: var(--u-rose); }
.u-lead { font-size: 17px; line-height: 1.75; max-width: 640px; }
.u-center { text-align: center; }
.u-center .u-lead { margin: 0 auto; }
.u-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.u-btn { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--u-rose); color: #fff !important; font-family: var(--u-body); font-weight: 600; font-size: 15px; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.u-btn:hover { background: var(--u-cocoa); transform: translateY(-2px); }
.u-btn--line { background: #fff; color: var(--u-cocoa) !important; box-shadow: inset 0 0 0 1.5px var(--u-pink); }
.u-btn--line:hover { background: var(--u-pink-2); }
.u-btn--white { background: #fff; color: var(--u-cocoa) !important; }
.u-btn--white:hover { background: var(--u-pink-2); }
.u-more { font-family: var(--u-body); font-weight: 600; font-size: 14.5px; color: var(--u-rose-dk); text-decoration: none; }
.u-more:after { content: " \2192"; }
.u-badges, .u-badges li, .u-steps, .u-steps li, .dbsu-footer ul, .dbsu-footer li { list-style: none !important; }
.u-cat br, .u-cat p:empty, .u-edit br, .u-edit p:empty, .u-steps br, .u-steps p:empty, .u-post br, .u-post-body p:empty, .u-badges br, .u-note br, .u-note p:empty { display: none; }

/* 5. HERO */
.u-hero { background: radial-gradient(circle at 85% 20%, var(--u-pink-2) 0, transparent 45%), linear-gradient(180deg, var(--u-pink-lt), #fff); padding: 64px 0 60px !important; position: relative; overflow: hidden; }
.u-hero .et_pb_row { position: relative; z-index: 1; }
.u-hero h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.1; margin-bottom: 16px; }
.u-hero h1 i { color: var(--u-rose); }
.u-badges { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 !important; margin: 26px 0 0; }
.u-badges li { background: #fff; border: 1px solid var(--u-pink); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--u-cocoa); }
.u-badges li b { color: var(--u-rose); margin-right: 4px; }
.u-hero-banner { position: relative; }
.u-hero-banner:before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border-radius: 34px; background: var(--u-pink); z-index: 0; }
.u-hero-banner .et_pb_image_wrap { position: relative; z-index: 1; display: block; border-radius: 30px; overflow: hidden; box-shadow: var(--u-shadow); }
.u-hero-banner img { width: 100%; display: block; }

/* 6. CATEGORIES */
.u-cats { background: #fff; padding: 80px 0 70px !important; }
.u-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.u-cat { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--u-radius); background: var(--u-pink-lt); transition: background .25s ease, transform .25s ease; }
.u-cat:hover { background: var(--u-pink-2); transform: translateY(-4px); }
.u-cat i { flex: none; font-style: normal; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--u-rose); font-size: 22px; box-shadow: 0 8px 16px -10px rgba(90, 53, 64, .5); }
.u-cat h3 { font-size: 19px; line-height: 1.3; margin-bottom: 4px; padding-bottom: 0; }
.u-cat p { font-size: 14.5px; line-height: 1.55; margin-bottom: 8px; padding-bottom: 0; }
.u-cat a { font-family: var(--u-body); font-weight: 700; font-size: 13.5px; color: var(--u-rose-dk); text-decoration: none; }
.u-cat a:after { content: " \2192"; }
.u-cat a:before { content: ""; position: absolute; inset: 0; }

/* 7. PINK EDIT */
.u-pinkedit { background: var(--u-pink-lt); padding: 80px 0 66px !important; }
.u-edit-col .et_pb_image { margin-bottom: 0 !important; }
.u-edit-col .et_pb_image_wrap { display: block; border-radius: var(--u-radius); overflow: hidden; box-shadow: var(--u-shadow); }
.u-edit-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.u-edit-col:hover .et_pb_image img { transform: scale(1.04); }
.u-edit { text-align: center; padding: 20px 10px 0; }
.u-edit small { font-family: var(--u-body); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--u-rose); }
.u-edit h3 { font-size: 22px; margin: 6px 0 6px; padding-bottom: 0; }
.u-edit p { font-size: 15px; line-height: 1.6; margin-bottom: 10px; padding-bottom: 0; }

/* 8. GLAZZ STRIP */
.u-glazz { background: #fff; padding: 76px 0 !important; }
.u-glazz-banner .et_pb_image_wrap { display: block; border-radius: var(--u-radius); overflow: hidden; box-shadow: var(--u-shadow); }
.u-glazz-banner img { width: 100%; display: block; }
.u-note { background: var(--u-cream); border: 1px dashed var(--u-pink); border-radius: var(--u-radius); padding: 30px 28px; }
.u-note h3 { font-size: 26px; margin-bottom: 8px; padding-bottom: 0; }

/* 9. SEASON SHELF */
.u-season { background: var(--u-cocoa); padding: 84px 0 !important; position: relative; overflow: hidden; }
.u-season .u-title { color: #fff; }
.u-season .u-lead { color: rgba(255, 255, 255, .8); }
.u-season .u-eyebrow { color: var(--u-pink); }
.u-season-banner .et_pb_image_wrap { display: block; border-radius: var(--u-radius); overflow: hidden; border: 1px solid rgba(242, 184, 195, .4); }
.u-season-banner img { width: 100%; display: block; }
.u-steps { padding: 0 !important; margin: 24px 0 0; counter-reset: st; }
.u-steps li { counter-increment: st; position: relative; padding: 16px 0 16px 56px; border-top: 1px solid rgba(255, 255, 255, .14); }
.u-steps li:before { content: counter(st); position: absolute; left: 0; top: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--u-pink); color: var(--u-cocoa); display: grid; place-items: center; font-family: var(--u-head); font-size: 17px; }
.u-steps h3 { color: #fff; font-size: 19px; margin-bottom: 2px; padding-bottom: 0; }
.u-steps p { color: rgba(255, 255, 255, .78); font-size: 15px; margin: 0 0 4px; padding-bottom: 0; }
.u-steps a { color: var(--u-pink); font-weight: 600; font-size: 14px; text-decoration: none; }
.u-steps a:after { content: " \2192"; }

/* 10. JOURNAL */
.u-journal { background: var(--u-pink-lt); padding: 80px 0 !important; }
.u-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.u-post { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--u-radius); overflow: hidden; padding: 10px; box-shadow: 0 16px 30px -26px rgba(90, 53, 64, .7); transition: transform .3s ease; }
.u-post:hover { transform: translateY(-4px); }
.u-post > p { display: contents; }
.u-post img { width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 18px; }
.u-post-body { padding: 14px 10px 10px; }
.u-post-body span { font-family: var(--u-body); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--u-rose); }
.u-post h3 { font-size: 18px; line-height: 1.4; margin: 4px 0 8px; padding-bottom: 0; }
.u-post .u-more:before { content: ""; position: absolute; inset: 0; }

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

/* 12. FOOTER */
#main-footer { display: none !important; }
.dbsu-footer { background: var(--u-pink-lt); border-top: 3px solid var(--u-pink); padding: 64px 0 0; font-size: 15.5px; }
.dbsu-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr .9fr; gap: 40px; padding-bottom: 46px; }
.dbsu-footer-logo img { width: 230px; height: auto; display: block; margin-bottom: 16px; }
.dbsu-footer p { color: var(--u-text); }
.dbsu-footer h4 { font-family: var(--u-head); font-size: 19px; color: var(--u-cocoa); margin-bottom: 14px; padding-bottom: 0; }
.dbsu-footer ul { padding: 0 !important; margin: 0; }
.dbsu-footer li { margin-bottom: 9px; line-height: 1.45; }
.dbsu-footer a { color: var(--u-cocoa); text-decoration: none; }
.dbsu-footer a:hover { color: var(--u-rose); }
.dbsu-footer-bottom { background: var(--u-cocoa); 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(--u-rose); }
.post-meta a { color: var(--u-rose-dk); }

/* 14. RESPONSIVE */
@media (max-width: 1100px) {
	.dbsu-footer-grid { grid-template-columns: 1fr 1fr; }
	#top-menu li { padding-right: 11px; }
	#top-menu a { font-size: 13.5px; }
}
@media (max-width: 980px) {
	.u-hero-banner { margin-top: 40px; }
	.u-cat-grid, .u-post-grid { grid-template-columns: 1fr 1fr; }
	.u-cats, .u-pinkedit, .u-glazz, .u-season, .u-journal { padding: 56px 0 !important; }
	.u-edit-col { margin-bottom: 26px !important; }
	.u-note-col, .u-season-banner { margin-top: 24px; }
}
@media (max-width: 640px) {
	.u-cat-grid, .u-post-grid { grid-template-columns: 1fr; }
	.u-hero-banner:before { inset: -8px 8px 8px -8px; }
	.dbsu-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
