/*
 Theme Name:   Divi Child – Dynamic Fashion Supply
 Theme URI:    https://dynamicfashionsupply.com/
 Description:  Lipstick red & ink black editorial child theme for Dynamic Fashion Supply (nail supply).
 Author:       Dynamic Fashion Supply
 Template:     Divi
 Version:      1.0.1
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--f-red: #C2233F;
	--f-red-dk: #9E1A31;
	--f-ink: #1B1B1F;
	--f-ink-2: #2A2A30;
	--f-cream: #FBF4F1;
	--f-petal: #F6DCD9;
	--f-champ: #E9D8C8;
	--f-text: #55525A;
	--f-line: rgba(27, 27, 31, .14);
	--f-head: 'DM Serif Display', Georgia, serif;
	--f-body: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
}

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

/* 3. HEADER */
#top-header { background: var(--f-ink) !important; }
#main-header { background: #fff; box-shadow: 0 1px 0 var(--f-line); }
#main-header .container { width: 92%; max-width: 1280px; }
#logo { max-height: 60%; }
#top-menu li { padding-right: 16px; }
#top-menu a, .et_mobile_menu a { font-family: var(--f-body); font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--f-ink); }
#top-menu li.current-menu-item > a, #top-menu a:hover { color: var(--f-red) !important; opacity: 1; }
.et_mobile_menu { border-top-color: var(--f-red); }
.mobile_menu_bar:before, #et_search_icon:before { color: var(--f-ink); }

/* 4. HELPERS */
.dfsu-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.f-label { display: inline-block; font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--f-red); margin-bottom: 14px; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.f-title { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.1; margin-bottom: 12px; }
.f-title em { font-style: italic; font-weight: 400; color: var(--f-red); }
.f-lead { font-size: 17px; line-height: 1.75; max-width: 640px; }
.f-center { text-align: center; }
.f-center .f-lead { margin: 0 auto; }
.f-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.f-btn { display: inline-block; padding: 15px 30px; border-radius: 0; background: var(--f-ink); color: #fff !important; font-family: var(--f-body); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background .25s ease; }
.f-btn:hover { background: var(--f-red); }
.f-btn--red { background: var(--f-red); }
.f-btn--red:hover { background: var(--f-ink); }
.f-btn--line { background: transparent; color: var(--f-ink) !important; box-shadow: inset 0 0 0 1.5px var(--f-ink); }
.f-btn--line:hover { background: var(--f-ink); color: #fff !important; }
.f-btn--white { background: #fff; color: var(--f-ink) !important; }
.f-btn--white:hover { background: var(--f-ink); color: #fff !important; }
.f-link { display: table; margin-top: 6px; font-family: var(--f-body); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--f-red); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.f-index, .f-index li, .f-rules, .f-rules li, .f-stats, .f-stats li, .dfsu-footer ul, .dfsu-footer li { list-style: none !important; }
.f-index br, .f-index p:empty, .f-look br, .f-look p:empty, .f-rules br, .f-rules p:empty, .f-journal br, .f-story-body p:empty, .f-stats br, .f-notes br, .f-notes p:empty { display: none; }
.f-index > p, .f-index li > p, .f-journal > p, .f-story > p, .f-rules > p, .f-stats > p, .f-notes > p { display: contents; }

/* 5. HERO */
.f-hero { background: var(--f-cream); padding: 70px 0 74px !important; position: relative; overflow: hidden; }
.f-hero:after { content: "FASHION"; position: absolute; right: -2%; bottom: -40px; font-family: var(--f-head); font-size: 220px; font-style: italic; line-height: 1; color: rgba(194, 35, 63, .06); pointer-events: none; }
.f-hero .et_pb_row { position: relative; z-index: 1; }
.f-hero h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.08; margin-bottom: 18px; }
.f-hero h1 em { font-style: italic; font-weight: 400; color: var(--f-red); }
.f-stats { display: flex; flex-wrap: wrap; gap: 0; padding: 0 !important; margin: 34px 0 0; border-top: 1px solid var(--f-line); }
.f-stats li { padding: 14px 26px 0 0; margin-right: 26px; border-right: 1px solid var(--f-line); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.f-stats li:last-child { border-right: 0; }
.f-stats li b { display: block; font-family: var(--f-head); font-size: 30px; letter-spacing: 0; text-transform: none; color: var(--f-ink); line-height: 1.1; }
.f-hero-img { position: relative; }
.f-hero-img:before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--f-red); z-index: 0; }
.f-hero-img .et_pb_image_wrap { position: relative; z-index: 1; display: block; overflow: hidden; }
.f-hero-img img { width: 100%; display: block; }

/* 6. DEPARTMENTS (editorial index) */
.f-dept { background: #fff; padding: 88px 0 76px !important; }
.f-index { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; padding: 0 !important; margin: 40px 0 0; counter-reset: dp; }
.f-index li { counter-increment: dp; position: relative; display: block; padding: 24px 0 24px 64px; border-top: 1px solid var(--f-line); transition: padding-left .25s ease; }
.f-index li:hover { padding-left: 74px; }
.f-index li:before { content: "0" counter(dp); position: absolute; left: 0; top: 24px; font-family: var(--f-head); font-style: italic; font-size: 30px; line-height: 1; color: var(--f-red); }
.f-index h3 { font-size: 23px; line-height: 1.2; margin-bottom: 4px; padding-bottom: 0; }
.f-index p { font-size: 15px; line-height: 1.6; margin: 0; padding-bottom: 0; }
.f-index a { display: table; margin-top: 8px; font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--f-ink); text-decoration: none; }
.f-index a:after { content: " \2192"; color: var(--f-red); }
.f-index a:before { content: ""; position: absolute; inset: 0; }

/* 7. LOOKBOOK */
.f-lookbook { background: var(--f-petal); padding: 88px 0 74px !important; }
.f-look-col .et_pb_image { margin-bottom: 0 !important; }
.f-look-col .et_pb_image_wrap { display: block; overflow: hidden; outline: 1px solid rgba(27, 27, 31, .1); }
.f-look-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s ease; }
.f-look-col:hover .et_pb_image img { transform: scale(1.05); }
.f-look { background: #fff; padding: 22px 22px 24px; margin: -40px 18px 0; position: relative; z-index: 2; }
.f-look small { font-family: var(--f-body); font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--f-red); }
.f-look h3 { font-size: 24px; margin: 4px 0 6px; padding-bottom: 0; }
.f-look p { font-size: 14.5px; line-height: 1.6; margin-bottom: 8px; padding-bottom: 0; }

/* 8. TIP ATELIER */
.f-atelier { background: #fff; padding: 88px 0 !important; }
.f-atelier-img .et_pb_image_wrap { display: block; overflow: hidden; box-shadow: 22px 22px 0 var(--f-champ); }
.f-atelier-img img { width: 100%; display: block; }
.f-notes { margin-top: 24px; border-top: 1px solid var(--f-line); }
.f-notes div { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--f-line); }
.f-notes b { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--f-ink); padding-top: 2px; }
.f-notes span { font-size: 15px; line-height: 1.6; }

/* 9. STYLE RULES (dark) */
.f-rules-sec { background: var(--f-ink); padding: 90px 0 !important; }
.f-rules-sec .f-title { color: #fff; }
.f-rules-sec .f-title em { color: var(--f-petal); }
.f-rules-sec .f-lead { color: rgba(255, 255, 255, .78); }
.f-rules-sec .f-label { color: var(--f-petal); }
.f-rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0 !important; margin: 42px 0 0; counter-reset: rl; border-top: 1px solid rgba(255, 255, 255, .18); }
.f-rules li { counter-increment: rl; padding: 28px 24px 10px 0; margin-right: 24px; border-right: 1px solid rgba(255, 255, 255, .12); }
.f-rules li:last-child { border-right: 0; margin-right: 0; }
.f-rules li:before { content: "Rule " counter(rl); display: block; font-family: var(--f-head); font-style: italic; font-size: 22px; color: var(--f-red); margin-bottom: 10px; }
.f-rules h3 { color: #fff; font-size: 21px; margin-bottom: 6px; padding-bottom: 0; }
.f-rules p { color: rgba(255, 255, 255, .74); font-size: 15px; margin: 0 0 10px; padding-bottom: 0; }
.f-rules a { display: table; color: var(--f-petal); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; }

/* 10. JOURNAL */
.f-journal-sec { background: var(--f-cream); padding: 88px 0 !important; }
.f-journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; margin-top: 30px; }
.f-story { position: relative; display: flex; flex-direction: column; }
.f-story img { width: 100%; height: auto !important; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: filter .3s ease; }
.f-story:hover img { filter: brightness(.92); }
.f-story-body { padding: 16px 2px 0; }
.f-story-body span { font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--f-red); }
.f-story h3 { font-size: 21px; line-height: 1.3; margin: 6px 0 8px; padding-bottom: 0; }
.f-story .f-link:before { content: ""; position: absolute; inset: 0; }

/* 11. CTA */
.f-cta { background: var(--f-red); padding: 64px 0 !important; }
.f-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.f-cta-box h2 { color: #fff; font-size: clamp(30px, 3vw, 42px); font-style: italic; font-weight: 400; margin-bottom: 6px; }
.f-cta-box p { color: rgba(255, 255, 255, .92); max-width: 620px; }

/* 12. FOOTER */
#main-footer { display: none !important; }
.dfsu-footer { background: #fff; border-top: 1px solid var(--f-line); padding: 64px 0 0; font-size: 15.5px; }
.dfsu-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr .9fr; gap: 40px; padding-bottom: 46px; }
.dfsu-footer-logo img { width: 216px; height: auto; display: block; margin-bottom: 16px; }
.dfsu-footer p { color: var(--f-text); }
.dfsu-footer h4 { font-family: var(--f-body); font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--f-ink); margin-bottom: 16px; padding-bottom: 0; }
.dfsu-footer ul { padding: 0 !important; margin: 0; }
.dfsu-footer li { margin-bottom: 9px; line-height: 1.45; }
.dfsu-footer a { color: var(--f-ink); text-decoration: none; }
.dfsu-footer a:hover { color: var(--f-red); }
.dfsu-footer-bottom { background: var(--f-ink); color: rgba(255, 255, 255, .8); padding: 16px 0; text-align: center; font-size: 13px; letter-spacing: .04em; }

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

/* 14. RESPONSIVE */
@media (max-width: 1100px) {
	.dfsu-footer-grid { grid-template-columns: 1fr 1fr; }
	.f-rules { grid-template-columns: 1fr 1fr; }
	.f-rules li:nth-child(2) { border-right: 0; margin-right: 0; }
	#top-menu li { padding-right: 11px; }
	#top-menu a { font-size: 12.5px; }
}
@media (max-width: 980px) {
	.f-hero-img { margin-top: 44px; }
	.f-hero:after { font-size: 130px; }
	.f-index { grid-template-columns: 1fr; }
	.f-journal { grid-template-columns: 1fr 1fr; }
	.f-dept, .f-lookbook, .f-atelier, .f-rules-sec, .f-journal-sec { padding: 60px 0 !important; }
	.f-look-col { margin-bottom: 30px !important; }
	.f-atelier-text { margin-top: 40px; }
}
@media (max-width: 640px) {
	.f-journal, .f-rules { grid-template-columns: 1fr; }
	.f-rules li { border-right: 0; margin-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.f-hero-img:before { inset: 10px -8px -10px 8px; }
	.f-hero:after { display: none; }
	.f-notes div { grid-template-columns: 1fr; gap: 2px; }
	.f-stats li { padding-right: 16px; margin-right: 16px; }
	.f-atelier-img .et_pb_image_wrap { box-shadow: 10px 10px 0 var(--f-champ); }
	.dfsu-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
