/*
 Theme Name:   Divi Child – Dynamic Nail Supply Official
 Theme URI:    https://dynamicnailsupplyofficial.com/
 Description:  Raspberry rose & chocolate child theme for Dynamic Nail Supply Official (nail supply).
 Author:       Dynamic Nail Supply Official
 Template:     Divi
 Version:      1.0.1
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--r-rasp: #B8325E;
	--r-rasp-dk: #962248;
	--r-blush: #F9E6EC;
	--r-nude: #F6EDE6;
	--r-latte: #E7D3C4;
	--r-choc: #2B1D1F;
	--r-choc-2: #3B2a2D;
	--r-text: #5B4E50;
	--r-line: rgba(43, 29, 31, .13);
	--r-radius: 14px;
	--r-shadow: 0 22px 40px -28px rgba(43, 29, 31, .55);
	--r-head: 'EB Garamond', Georgia, serif;
	--r-body: 'Nunito Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* 2. BASE */
body, body p, #main-content, .et_pb_text { font-family: var(--r-body); color: var(--r-text); }
body { font-size: 17px; line-height: 1.72; background: #fff; }
h1, h2, h3, h4, h5, h6, .entry-title { font-family: var(--r-head); color: var(--r-choc); font-weight: 600; letter-spacing: 0; }
a { color: var(--r-rasp); }
a:hover { color: var(--r-choc); }
::selection { background: var(--r-rasp); color: #fff; }

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

/* 4. HELPERS */
.dnof-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.r-seal { display: inline-flex; align-items: center; gap: 10px; font-family: var(--r-body); font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--r-rasp); margin-bottom: 12px; }
.r-seal:before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--r-rasp); box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 6px var(--r-rasp); }
.r-title { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.12; margin-bottom: 12px; }
.r-title em { font-style: italic; font-weight: 500; color: var(--r-rasp); }
.r-lead { font-size: 17.5px; line-height: 1.72; max-width: 640px; }
.r-center { text-align: center; }
.r-center .r-lead { margin: 0 auto; }
.r-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.r-btn { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--r-rasp); color: #fff !important; font-family: var(--r-body); font-weight: 800; font-size: 14.5px; letter-spacing: .04em; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.r-btn:hover { background: var(--r-choc); transform: translateY(-2px); }
.r-btn--line { background: transparent; color: var(--r-choc) !important; box-shadow: inset 0 0 0 1.5px var(--r-choc); }
.r-btn--line:hover { background: var(--r-choc); color: #fff !important; }
.r-btn--white { background: #fff; color: var(--r-choc) !important; }
.r-btn--white:hover { background: var(--r-blush); }
.r-link { display: table; margin-top: 6px; font-family: var(--r-body); font-weight: 800; font-size: 14px; color: var(--r-rasp); text-decoration: none; }
.r-link:after { content: " \2192"; }
.r-colls, .r-colls li, .r-glow-list, .r-glow-list li, .r-trust, .r-trust li, .dnof-footer ul, .dnof-footer li { list-style: none !important; }
.r-colls br, .r-colls p:empty, .r-shape br, .r-shape p:empty, .r-glow-list br, .r-glow-list p:empty, .r-journal br, .r-post-body p:empty, .r-trust br, .r-shade br, .r-shade p:empty { display: none; }
.r-colls > p, .r-colls li > p, .r-journal > p, .r-post > p, .r-glow-list > p, .r-trust > p, .r-shade > p, .r-shade div > p { display: contents; }

/* 5. HERO */
.r-hero { background: linear-gradient(135deg, var(--r-nude) 0%, #fff 60%, var(--r-blush) 100%); padding: 66px 0 72px !important; }
.r-hero h1 { font-size: clamp(40px, 4.8vw, 64px); line-height: 1.04; margin-bottom: 16px; }
.r-hero h1 em { font-style: italic; font-weight: 500; color: var(--r-rasp); }
.r-trust { display: flex; flex-wrap: wrap; gap: 22px; padding: 0 !important; margin: 30px 0 0; }
.r-trust li { font-size: 14px; font-weight: 700; color: var(--r-choc); display: flex; align-items: center; gap: 8px; }
.r-trust li:before { content: "\2713"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--r-rasp); color: #fff; font-size: 12px; }
.r-hero-img .et_pb_image_wrap { display: block; border-radius: 22px; overflow: hidden; box-shadow: var(--r-shadow); border: 8px solid #fff; }
.r-hero-img img { width: 100%; display: block; }

/* 6. OFFICIAL COLLECTIONS */
.r-colls-sec { background: #fff; padding: 84px 0 72px !important; }
.r-colls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 0 !important; margin: 38px 0 0; counter-reset: rc; }
.r-colls li { counter-increment: rc; position: relative; padding: 30px 26px 24px; border-radius: var(--r-radius); background: var(--r-nude); text-align: center; transition: transform .25s ease, background .25s ease; }
.r-colls li:hover { transform: translateY(-4px); background: var(--r-blush); }
.r-colls li:before { content: counter(rc, upper-roman); display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; border: 2px solid var(--r-rasp); box-shadow: inset 0 0 0 4px var(--r-nude); background: #fff; color: var(--r-rasp); font-family: var(--r-head); font-size: 20px; font-weight: 600; }
.r-colls h3 { font-size: 23px; line-height: 1.2; margin-bottom: 6px; padding-bottom: 0; }
.r-colls p { font-size: 15.5px; line-height: 1.6; margin: 0 0 8px; padding-bottom: 0; }
.r-colls a { display: table; margin: 6px auto 0; font-weight: 800; font-size: 14px; color: var(--r-rasp); text-decoration: none; }
.r-colls a:after { content: " \2192"; }
.r-colls a:before { content: ""; position: absolute; inset: 0; }

/* 7. SHAPE STUDIO */
.r-shapes { background: var(--r-nude); padding: 84px 0 72px !important; }
.r-shape-col .et_pb_image { margin-bottom: 0 !important; }
.r-shape-col .et_pb_image_wrap { display: block; border-radius: var(--r-radius) var(--r-radius) 0 0; overflow: hidden; }
.r-shape-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.r-shape-col:hover .et_pb_image img { transform: scale(1.04); }
.r-shape { background: #fff; border-radius: 0 0 var(--r-radius) var(--r-radius); padding: 22px 24px 24px; box-shadow: var(--r-shadow); }
.r-shape small { font-family: var(--r-body); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--r-rasp); }
.r-shape h3 { font-size: 27px; margin: 4px 0 6px; padding-bottom: 0; }
.r-shape p { font-size: 15.5px; line-height: 1.6; margin-bottom: 8px; padding-bottom: 0; }

/* 8. SIGNATURE SHADES */
.r-shades { background: #fff; padding: 86px 0 !important; }
.r-shade-img .et_pb_image_wrap { display: block; border-radius: 50% 50% var(--r-radius) var(--r-radius) / 32% 32% var(--r-radius) var(--r-radius); overflow: hidden; box-shadow: var(--r-shadow); }
.r-shade-img img { width: 100%; display: block; }
.r-shade { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.r-shade div { border-radius: 12px; padding: 16px 18px; border: 1px solid var(--r-line); background: var(--r-nude); }
.r-shade div:first-child { background: var(--r-blush); }
.r-shade b { display: block; font-family: var(--r-head); font-size: 20px; color: var(--r-choc); }
.r-shade span { display: block; font-size: 14.5px; line-height: 1.5; }
.r-shade i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -1px; margin-right: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }

/* 9. GLOW LAB (dark) */
.r-glow { background: var(--r-choc); padding: 86px 0 !important; }
.r-glow .r-title { color: #fff; }
.r-glow .r-title em { color: #F3A9C1; }
.r-glow .r-lead { color: rgba(255, 255, 255, .8); }
.r-glow .r-seal { color: #F3A9C1; }
.r-glow .r-seal:before { border-color: #F3A9C1; box-shadow: inset 0 0 0 2px var(--r-choc), inset 0 0 0 6px #F3A9C1; }
.r-glow-img .et_pb_image_wrap { display: block; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .15); }
.r-glow-img img { width: 100%; display: block; }
.r-glow-list { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding: 0 !important; margin: 24px 0 0; }
.r-glow-list li { display: flex; align-items: center; gap: 10px; background: var(--r-choc-2); border-radius: 10px; padding: 12px; color: #fff; font-weight: 700; font-size: 14px; }
.r-glow-list li i { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.r-glow .r-btn { background: #F3A9C1; color: var(--r-choc) !important; }
.r-glow .r-btn:hover { background: #fff; }

/* 10. JOURNAL */
.r-journal-sec { background: var(--r-blush); padding: 84px 0 !important; }
.r-journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.r-post { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-radius); overflow: hidden; box-shadow: 0 16px 30px -26px rgba(43, 29, 31, .7); transition: transform .25s ease; }
.r-post:hover { transform: translateY(-4px); }
.r-post img { width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.r-post-body { padding: 18px 20px 20px; }
.r-post-body span { font-family: var(--r-body); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--r-rasp); }
.r-post h3 { font-size: 20px; line-height: 1.3; margin: 6px 0 8px; padding-bottom: 0; }
.r-post .r-link:before { content: ""; position: absolute; inset: 0; }

/* 11. CTA */
.r-cta { background: var(--r-rasp); padding: 60px 0 !important; }
.r-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.r-cta-box h2 { color: #fff; font-size: clamp(28px, 2.8vw, 40px); margin-bottom: 6px; }
.r-cta-box p { color: rgba(255, 255, 255, .92); max-width: 620px; }

/* 12. FOOTER */
#main-footer { display: none !important; }
.dnof-footer { background: #fff; border-top: 4px solid var(--r-rasp); padding: 64px 0 0; font-size: 15.5px; }
.dnof-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr .9fr; gap: 40px; padding-bottom: 46px; }
.dnof-footer-logo img { width: 245px; max-width: 100%; height: auto; display: block; margin-bottom: 16px; }
.dnof-footer p { color: var(--r-text); }
.dnof-footer h4 { font-family: var(--r-head); font-size: 21px; color: var(--r-choc); margin-bottom: 14px; padding-bottom: 0; }
.dnof-footer ul { padding: 0 !important; margin: 0; }
.dnof-footer li { margin-bottom: 9px; line-height: 1.45; }
.dnof-footer a { color: var(--r-choc); text-decoration: none; }
.dnof-footer a:hover { color: var(--r-rasp); }
.dnof-footer-bottom { background: var(--r-choc); 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(--r-rasp); }
.post-meta a { color: var(--r-rasp); }

/* 14. RESPONSIVE */
@media (max-width: 1100px) {
	.dnof-footer-grid { grid-template-columns: 1fr 1fr; }
	#top-menu li { padding-right: 10px; }
	#top-menu a { font-size: 14px; }
}
@media (max-width: 980px) {
	.r-hero-img { margin-top: 40px; }
	.r-colls, .r-journal { grid-template-columns: 1fr 1fr; }
	.r-colls-sec, .r-shapes, .r-shades, .r-glow, .r-journal-sec { padding: 58px 0 !important; }
	.r-shape-col { margin-bottom: 28px !important; }
	.r-shade-text, .r-glow-text { margin-top: 34px; }
}
@media (max-width: 640px) {
	.r-colls, .r-journal, .r-shade { grid-template-columns: 1fr; }
	.r-glow-list { grid-template-columns: 1fr 1fr; }
	.dnof-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
