/*
 Theme Name:   Divi Child – Dynamic Nail Supply Org
 Theme URI:    https://dynamicnailsupply.org/
 Description:  Pine green & peony pink child theme for Dynamic Nail Supply Org (nail supply).
 Author:       Dynamic Nail Supply Org
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--o-pine: #1F3D36;
	--o-pine-2: #2A4F46;
	--o-peony: #D9487A;
	--o-peony-dk: #C23A6B;
	--o-blush: #FBE9EF;
	--o-ivory: #FAF7F2;
	--o-sage: #E7EFEA;
	--o-text: #4E5753;
	--o-line: rgba(31, 61, 54, .13);
	--o-radius: 14px;
	--o-shadow: 0 22px 40px -28px rgba(31, 61, 54, .55);
	--o-head: 'Libre Baskerville', Georgia, serif;
	--o-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

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

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

/* 4. HELPERS */
.dnso-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.o-kicker { display: inline-block; font-family: var(--o-body); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--o-peony-dk); margin-bottom: 12px; }
.o-kicker:before { content: "\273F"; margin-right: 8px; color: var(--o-peony); }
.o-title { font-size: clamp(28px, 3vw, 40px); line-height: 1.25; margin-bottom: 12px; }
.o-title em { font-style: italic; font-weight: 400; color: var(--o-peony-dk); }
.o-lead { font-size: 17px; line-height: 1.75; max-width: 640px; }
.o-center { text-align: center; }
.o-center .o-lead { margin: 0 auto; }
.o-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.o-btn { display: inline-block; padding: 14px 26px; border-radius: 6px; background: var(--o-pine); color: #fff !important; font-family: var(--o-body); font-weight: 600; font-size: 15px; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.o-btn:hover { background: var(--o-peony-dk); transform: translateY(-2px); }
.o-btn--peony { background: var(--o-peony-dk); }
.o-btn--peony:hover { background: var(--o-pine); }
.o-btn--line { background: transparent; color: var(--o-pine) !important; box-shadow: inset 0 0 0 1.5px var(--o-pine); }
.o-btn--line:hover { background: var(--o-pine); color: #fff !important; }
.o-btn--white { background: #fff; color: var(--o-pine) !important; }
.o-btn--white:hover { background: var(--o-blush); }
.o-link { display: table; margin-top: 6px; font-family: var(--o-body); font-weight: 700; font-size: 14px; color: var(--o-peony-dk); text-decoration: none; }
.o-link:after { content: " \2192"; }
.o-lib, .o-lib li, .o-values, .o-values li, .o-facts, .o-facts li, .dnso-footer ul, .dnso-footer li { list-style: none !important; }
.o-lib br, .o-lib p:empty, .o-coll br, .o-coll p:empty, .o-values br, .o-values p:empty, .o-picks br, .o-pick-body p:empty, .o-facts br, .o-sizes br, .o-sizes p:empty { display: none; }
.o-lib > p, .o-lib li > p, .o-picks > p, .o-pick > p, .o-values > p, .o-values li > p, .o-facts > p, .o-sizes > p { display: contents; }

/* 5. HERO */
.o-hero { background: linear-gradient(180deg, var(--o-ivory) 0%, #fff 100%); padding: 64px 0 70px !important; position: relative; overflow: hidden; }
.o-hero:after { content: ""; position: absolute; width: 380px; height: 380px; left: -140px; bottom: -180px; border-radius: 50%; background: var(--o-blush); z-index: 0; }
.o-hero .et_pb_row { position: relative; z-index: 1; }
.o-hero h1 { font-size: clamp(34px, 3.9vw, 52px); line-height: 1.18; margin-bottom: 16px; }
.o-hero h1 em { font-style: italic; font-weight: 400; color: var(--o-peony-dk); }
.o-facts { display: flex; flex-wrap: wrap; gap: 0; padding: 0 !important; margin: 30px 0 0; border: 1px solid var(--o-line); border-radius: 10px; background: #fff; width: max-content; max-width: 100%; }
.o-facts li { padding: 12px 20px; border-right: 1px solid var(--o-line); font-size: 13.5px; line-height: 1.35; }
.o-facts li:last-child { border-right: 0; }
.o-facts li b { display: block; font-family: var(--o-head); font-size: 22px; color: var(--o-pine); }
.o-hero-img .et_pb_image_wrap { display: block; border-radius: 18px; overflow: hidden; box-shadow: var(--o-shadow); outline: 1.5px solid var(--o-peony); outline-offset: 10px; }
.o-hero-img img { width: 100%; display: block; }

/* 6. RESOURCE LIBRARY */
.o-library { background: #fff; padding: 84px 0 72px !important; }
.o-lib { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0 !important; margin: 38px 0 0; border-top: 2px solid var(--o-pine); counter-reset: lb; }
.o-lib li { counter-increment: lb; position: relative; padding: 26px 26px 24px; border-bottom: 1px solid var(--o-line); border-right: 1px solid var(--o-line); transition: background .25s ease; }
.o-lib li:nth-child(3n) { border-right: 0; }
.o-lib li:hover { background: var(--o-blush); }
.o-lib li:before { content: "No. " counter(lb); display: block; font-family: var(--o-head); font-style: italic; font-size: 14px; color: var(--o-peony-dk); margin-bottom: 8px; }
.o-lib h3 { font-size: 19px; line-height: 1.3; margin-bottom: 6px; padding-bottom: 0; }
.o-lib p { font-size: 15px; line-height: 1.6; margin: 0 0 8px; padding-bottom: 0; }
.o-lib a { display: table; font-weight: 700; font-size: 14px; color: var(--o-pine); text-decoration: none; }
.o-lib a:after { content: " \2192"; color: var(--o-peony); }
.o-lib a:before { content: ""; position: absolute; inset: 0; }

/* 7. COLLECTIONS */
.o-colls { background: var(--o-sage); padding: 84px 0 70px !important; }
.o-coll-col .et_pb_image { margin-bottom: 0 !important; }
.o-coll-col .et_pb_image_wrap { display: block; border-radius: var(--o-radius); overflow: hidden; box-shadow: var(--o-shadow); }
.o-coll-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.o-coll-col:hover .et_pb_image img { transform: scale(1.04); }
.o-coll { padding: 22px 4px 0; border-top: 0; }
.o-coll small { font-family: var(--o-body); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--o-peony-dk); }
.o-coll h3 { font-size: 22px; margin: 4px 0 6px; padding-bottom: 0; }
.o-coll p { font-size: 15px; line-height: 1.6; margin-bottom: 8px; padding-bottom: 0; }

/* 8. FINISH STUDIO */
.o-finish { background: #fff; padding: 86px 0 !important; }
.o-finish-img .et_pb_image_wrap { display: block; border-radius: 18px; overflow: hidden; box-shadow: var(--o-shadow); }
.o-finish-img img { width: 100%; display: block; }
.o-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.o-sizes div { border: 1px solid var(--o-line); border-radius: 12px; padding: 14px 16px; background: var(--o-ivory); }
.o-sizes b { display: block; font-family: var(--o-head); font-size: 16px; color: var(--o-pine); margin-bottom: 2px; }
.o-sizes span { display: block; font-size: 14px; line-height: 1.5; }

/* 9. VALUES (dark) */
.o-mission { background: var(--o-pine); padding: 86px 0 !important; }
.o-mission .o-title { color: #fff; }
.o-mission .o-title em { color: #F6B8CD; }
.o-mission .o-lead { color: rgba(255, 255, 255, .8); }
.o-mission .o-kicker { color: #F6B8CD; }
.o-mission .o-kicker:before { color: #F6B8CD; }
.o-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0 !important; margin: 38px 0 0; }
.o-values li { padding: 24px 22px; border-radius: var(--o-radius); background: var(--o-pine-2); border-top: 3px solid var(--o-peony); }
.o-values h3 { color: #fff; font-size: 19px; margin-bottom: 6px; padding-bottom: 0; }
.o-values p { color: rgba(255, 255, 255, .78); font-size: 15px; margin: 0 0 10px; padding-bottom: 0; }
.o-values a { display: table; color: #F6B8CD; font-weight: 700; font-size: 14px; text-decoration: none; }
.o-values a:after { content: " \2192"; }

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

/* 11. CTA */
.o-cta { background: var(--o-peony-dk); padding: 58px 0 !important; }
.o-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.o-cta-box h2 { color: #fff; font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 6px; }
.o-cta-box p { color: rgba(255, 255, 255, .94); max-width: 620px; }

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

/* 14. RESPONSIVE */
@media (max-width: 1100px) {
	.dnso-footer-grid { grid-template-columns: 1fr 1fr; }
	.o-values { grid-template-columns: 1fr 1fr; }
	#top-menu li { padding-right: 10px; }
	#top-menu a { font-size: 13.5px; }
}
@media (max-width: 980px) {
	.o-hero-img { margin-top: 44px; }
	.o-lib, .o-picks { grid-template-columns: 1fr 1fr; }
	.o-lib li:nth-child(3n) { border-right: 1px solid var(--o-line); }
	.o-lib li:nth-child(2n) { border-right: 0; }
	.o-library, .o-colls, .o-finish, .o-mission, .o-community { padding: 58px 0 !important; }
	.o-coll-col { margin-bottom: 28px !important; }
	.o-finish-text { margin-top: 34px; }
}
@media (max-width: 640px) {
	.o-lib, .o-picks, .o-values { grid-template-columns: 1fr; }
	.o-lib li { border-right: 0 !important; }
	.o-sizes { grid-template-columns: 1fr; }
	.o-facts li { padding: 10px 14px; }
	.o-hero-img .et_pb_image_wrap { outline-offset: 6px; }
	.dnso-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
