/*
 Theme Name:   Divi Child – Dynamic Nail Supply USA
 Theme URI:    https://dynamicnailsupply.us/
 Description:  Midnight indigo & cherry blossom child theme for Dynamic Nail Supply USA (nail supply).
 Author:       Dynamic Nail Supply USA
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--u-ind: #232A5C;
	--u-ind-2: #2F3770;
	--u-ind-lt: #ECEEF7;
	--u-cherry: #E7A1B0;
	--u-cherry-dk: #C9637B;
	--u-cherry-lt: #FCEFF2;
	--u-cream: #FBF8F4;
	--u-text: #50546A;
	--u-line: rgba(35, 42, 92, .13);
	--u-radius: 16px;
	--u-shadow: 0 22px 40px -28px rgba(35, 42, 92, .55);
	--u-head: 'Noto Serif', Georgia, serif;
	--u-body: 'Lato', '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: 17px; line-height: 1.72; background: #fff; }
h1, h2, h3, h4, h5, h6, .entry-title { font-family: var(--u-head); color: var(--u-ind); font-weight: 700; letter-spacing: -.01em; }
a { color: var(--u-cherry-dk); }
a:hover { color: var(--u-ind); }
::selection { background: var(--u-cherry-dk); color: #fff; }

/* 3. HEADER */
#top-header { background: var(--u-ind) !important; }
#main-header { background: #fff; box-shadow: 0 1px 0 var(--u-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(--u-body); font-size: 15px; font-weight: 700; color: var(--u-ind); }
#top-menu li.current-menu-item > a, #top-menu a:hover { color: var(--u-cherry-dk) !important; opacity: 1; }
.et_mobile_menu { border-top-color: var(--u-cherry-dk); }
.mobile_menu_bar:before, #et_search_icon:before { color: var(--u-ind); }

/* 4. HELPERS */
.dnsu-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.s-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--u-body); font-size: 12.5px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--u-cherry-dk); margin-bottom: 12px; }
.s-tag:before { content: "\2605"; font-size: 13px; color: var(--u-cherry); }
.s-title { font-size: clamp(28px, 3.1vw, 42px); line-height: 1.22; margin-bottom: 12px; }
.s-title em { font-style: italic; font-weight: 600; color: var(--u-cherry-dk); }
.s-lead { font-size: 17.5px; line-height: 1.72; max-width: 640px; }
.s-center { text-align: center; }
.s-center .s-lead { margin: 0 auto; }
.s-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.s-btn { display: inline-block; padding: 14px 28px; border-radius: 8px; background: var(--u-ind); color: #fff !important; font-family: var(--u-body); font-weight: 700; font-size: 15px; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.s-btn:hover { background: var(--u-cherry-dk); transform: translateY(-2px); }
.s-btn--cherry { background: var(--u-cherry-dk); }
.s-btn--cherry:hover { background: var(--u-ind); }
.s-btn--line { background: transparent; color: var(--u-ind) !important; box-shadow: inset 0 0 0 2px var(--u-ind); }
.s-btn--line:hover { background: var(--u-ind); color: #fff !important; }
.s-btn--white { background: #fff; color: var(--u-ind) !important; }
.s-btn--white:hover { background: var(--u-cherry-lt); }
.s-link { display: table; margin-top: 6px; font-family: var(--u-body); font-weight: 900; font-size: 14px; color: var(--u-cherry-dk); text-decoration: none; }
.s-link:after { content: " \2192"; }
.s-aisles, .s-aisles li, .s-check, .s-check li, .s-badges, .s-badges li, .dnsu-footer ul, .dnsu-footer li { list-style: none !important; }
.s-aisles br, .s-aisles p:empty, .s-swatch br, .s-swatch p:empty, .s-check br, .s-check p:empty, .s-reads br, .s-read-body p:empty, .s-badges br, .s-glit br, .s-glit p:empty { display: none; }
.s-aisles > p, .s-aisles li > p, .s-reads > p, .s-read > p, .s-check > p, .s-check li > p, .s-badges > p, .s-glit > p, .s-glit div > p { display: contents; }

/* 5. HERO */
.s-hero { background: linear-gradient(180deg, var(--u-cream) 0%, #fff 100%); padding: 64px 0 72px !important; position: relative; overflow: hidden; }
.s-hero:before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--u-ind) 0 40px, var(--u-cherry) 40px 80px); opacity: .9; }
.s-hero h1 { font-size: clamp(34px, 4vw, 54px); line-height: 1.14; margin-bottom: 16px; }
.s-hero h1 em { font-style: italic; color: var(--u-cherry-dk); }
.s-badges { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 !important; margin: 28px 0 0; }
.s-badges li { display: flex; align-items: center; gap: 8px; border: 1px solid var(--u-line); border-radius: 8px; background: #fff; padding: 9px 14px; font-size: 14px; font-weight: 700; color: var(--u-ind); }
.s-badges li b { color: var(--u-cherry-dk); font-size: 16px; }
.s-hero-img .et_pb_image_wrap { display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--u-shadow); border-bottom: 6px solid var(--u-cherry); }
.s-hero-img img { width: 100%; display: block; }

/* 6. AISLES */
.s-aisles-sec { background: #fff; padding: 84px 0 72px !important; }
.s-aisles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 !important; margin: 38px 0 0; counter-reset: ai; }
.s-aisles li { counter-increment: ai; position: relative; padding: 24px 24px 22px 24px; border-radius: var(--u-radius); background: var(--u-ind-lt); overflow: hidden; transition: transform .25s ease, background .25s ease; }
.s-aisles li:hover { transform: translateY(-4px); background: var(--u-cherry-lt); }
.s-aisles li:before { content: "Aisle " counter(ai); display: inline-block; font-size: 11.5px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--u-ind); border-radius: 4px; padding: 4px 10px; margin-bottom: 12px; }
.s-aisles h3 { font-size: 19px; line-height: 1.3; margin-bottom: 6px; padding-bottom: 0; }
.s-aisles p { font-size: 15.5px; line-height: 1.6; margin: 0 0 8px; padding-bottom: 0; }
.s-aisles a { display: table; font-weight: 900; font-size: 14px; color: var(--u-cherry-dk); text-decoration: none; }
.s-aisles a:after { content: " \2192"; }
.s-aisles a:before { content: ""; position: absolute; inset: 0; }

/* 7. GLITTER WARDROBE (dark) */
.s-glitter { background: var(--u-ind); padding: 86px 0 !important; }
.s-glitter .s-title { color: #fff; }
.s-glitter .s-title em { color: var(--u-cherry); }
.s-glitter .s-lead { color: rgba(255, 255, 255, .8); }
.s-glitter .s-tag { color: var(--u-cherry); }
.s-glit-img .et_pb_image_wrap { display: block; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .15); }
.s-glit-img img { width: 100%; display: block; }
.s-glit { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 24px; }
.s-glit div { background: var(--u-ind-2); border-radius: 12px; padding: 16px 14px; }
.s-glit b { display: block; font-family: var(--u-head); font-size: 16px; color: #fff; margin-bottom: 4px; }
.s-glit span { display: block; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .75); }
.s-glit i { display: block; height: 6px; border-radius: 3px; margin-bottom: 10px; }
.s-glitter .s-btn { background: var(--u-cherry); color: var(--u-ind) !important; }
.s-glitter .s-btn:hover { background: #fff; }

/* 8. COLOR COUNTER */
.s-counter { background: var(--u-cherry-lt); padding: 84px 0 70px !important; }
.s-sw-col .et_pb_image { margin-bottom: 0 !important; }
.s-sw-col .et_pb_image_wrap { display: block; border-radius: var(--u-radius); overflow: hidden; box-shadow: var(--u-shadow); }
.s-sw-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.s-sw-col:hover .et_pb_image img { transform: scale(1.04); }
.s-swatch { background: #fff; border-radius: var(--u-radius); padding: 20px 22px 22px; margin: -34px 16px 0; position: relative; z-index: 2; box-shadow: 0 14px 28px -24px rgba(35, 42, 92, .7); }
.s-swatch small { font-family: var(--u-body); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--u-cherry-dk); }
.s-swatch h3 { font-size: 22px; margin: 4px 0 6px; padding-bottom: 0; }
.s-swatch p { font-size: 15.5px; line-height: 1.6; margin-bottom: 8px; padding-bottom: 0; }

/* 9. TIPS + BRUSH CHECKLIST */
.s-tips { background: #fff; padding: 86px 0 !important; }
.s-tip-img .et_pb_image_wrap { display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--u-shadow); }
.s-tip-img img { width: 100%; display: block; }
.s-check { padding: 0 !important; margin: 22px 0 0; }
.s-check li { position: relative; padding: 12px 0 12px 40px; border-bottom: 1px solid var(--u-line); font-size: 15.5px; line-height: 1.55; }
.s-check li:before { content: "\2713"; position: absolute; left: 0; top: 12px; width: 26px; height: 26px; border-radius: 6px; background: var(--u-ind); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 900; }
.s-check li b { color: var(--u-ind); }

/* 10. SALON READS */
.s-reads-sec { background: var(--u-cream); padding: 84px 0 !important; }
.s-reads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.s-read { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--u-radius); overflow: hidden; border: 1px solid var(--u-line); transition: transform .25s ease, box-shadow .25s ease; }
.s-read:hover { transform: translateY(-4px); box-shadow: var(--u-shadow); }
.s-read img { width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.s-read-body { padding: 16px 20px 20px; border-top: 4px solid var(--u-cherry); }
.s-read-body span { font-family: var(--u-body); font-size: 11.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--u-cherry-dk); }
.s-read h3 { font-size: 17px; line-height: 1.45; margin: 6px 0 8px; padding-bottom: 0; }
.s-read .s-link:before { content: ""; position: absolute; inset: 0; }

/* 11. CTA */
.s-cta { background: linear-gradient(110deg, var(--u-ind) 0%, var(--u-ind-2) 60%, var(--u-cherry-dk) 140%); padding: 60px 0 !important; }
.s-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.s-cta-box h2 { color: #fff; font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 6px; }
.s-cta-box p { color: rgba(255, 255, 255, .88); max-width: 620px; }

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

/* 14. RESPONSIVE */
@media (max-width: 1100px) {
	.dnsu-footer-grid { grid-template-columns: 1fr 1fr; }
	#top-menu li { padding-right: 10px; }
	#top-menu a { font-size: 14px; }
}
@media (max-width: 980px) {
	.s-hero-img { margin-top: 40px; }
	.s-aisles, .s-reads { grid-template-columns: 1fr 1fr; }
	.s-aisles-sec, .s-glitter, .s-counter, .s-tips, .s-reads-sec { padding: 58px 0 !important; }
	.s-sw-col { margin-bottom: 28px !important; }
	.s-glit-text, .s-tip-text { margin-top: 34px; }
}
@media (max-width: 640px) {
	.s-aisles, .s-reads, .s-glit { grid-template-columns: 1fr; }
	.s-swatch { margin: -24px 10px 0; }
	.dnsu-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
