/*
 Theme Name:   Divi Child – 68 Tracking
 Theme URI:    https://68tracking.com/
 Description:  Rose gold & onyx child theme for 68 Tracking (nail supply).
 Author:       68 Tracking
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--x-rose: #B76E79;
	--x-rose-dk: #985561;
	--x-rose-lt: #F8EDEE;
	--x-blush: #FDF6F4;
	--x-onyx: #1E1A1D;
	--x-onyx-2: #2C2629;
	--x-text: #5C5357;
	--x-sand: #E9D8CF;
	--x-line: rgba(30, 26, 29, .12);
	--x-radius: 14px;
	--x-shadow: 0 26px 48px -30px rgba(30, 26, 29, .6);
	--x-head: 'Marcellus', Georgia, serif;
	--x-body: 'Mulish', 'Helvetica Neue', Arial, sans-serif;
}

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

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

/* 4. HELPERS */
.b68x-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.x-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--x-body); font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--x-rose-dk); margin-bottom: 12px; }
.x-eyebrow:before { content: "\2726"; color: var(--x-rose); font-size: 13px; }
.x-title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; margin-bottom: 10px; }
.x-lead { font-size: 17px; line-height: 1.75; max-width: 640px; }
.x-center { text-align: center; }
.x-center .x-lead { margin: 0 auto; }
.x-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.x-btn { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--x-onyx); color: #fff !important; font-family: var(--x-body); font-weight: 700; font-size: 14.5px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.x-btn:hover { background: var(--x-rose); transform: translateY(-2px); }
.x-btn--rose { background: var(--x-rose); }
.x-btn--rose:hover { background: #fff; color: var(--x-onyx) !important; }
.x-btn--line { background: transparent; color: var(--x-onyx) !important; box-shadow: inset 0 0 0 1.5px var(--x-onyx); }
.x-btn--line:hover { background: var(--x-onyx); color: #fff !important; }
.x-more { font-family: var(--x-body); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--x-rose-dk); text-decoration: none; }
.x-more:after { content: " \2192"; }
.x-facts, .x-facts li, .x-steps, .x-steps li, .b68x-footer ul, .b68x-footer li { list-style: none !important; }
.x-dept br, .x-dept p:empty, .x-edit br, .x-edit p:empty, .x-steps br, .x-steps p:empty, .x-card br, .x-card-body p:empty, .x-facts br { display: none; }

/* 5. HERO */
.x-hero { background: var(--x-blush); padding: 64px 0 64px !important; position: relative; overflow: hidden; }
.x-hero:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--x-onyx), var(--x-rose), var(--x-sand)); }
.x-hero .et_pb_row { position: relative; z-index: 1; }
.x-hero h1 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.06; margin-bottom: 16px; }
.x-hero h1 i { color: var(--x-rose); }
.x-facts { display: flex; flex-wrap: wrap; gap: 0; padding: 0 !important; margin: 30px 0 0; border-top: 1px solid var(--x-line); }
.x-facts li { flex: 1; min-width: 110px; padding: 16px 12px 0 0; font-size: 13.5px; line-height: 1.3; }
.x-facts li b { display: block; font-family: var(--x-head); font-weight: 400; font-size: 28px; color: var(--x-onyx); }
.x-hero-banner { position: relative; }
.x-hero-banner .et_pb_image_wrap { display: block; border-radius: 200px 200px 16px 16px; overflow: hidden; box-shadow: var(--x-shadow); }
.x-hero-banner img { width: 100%; display: block; }

/* 6. DEPARTMENTS */
.x-depts { background: #fff; padding: 80px 0 70px !important; }
.x-dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.x-dept { position: relative; background: #fff; border: 1px solid var(--x-line); border-radius: var(--x-radius); padding: 26px 24px 22px; overflow: hidden; transition: border-color .25s ease, transform .25s ease; }
.x-dept:before { content: ""; position: absolute; right: -40px; top: -40px; width: 110px; height: 110px; border-radius: 50%; background: var(--x-rose-lt); transition: transform .4s ease; }
.x-dept:hover { border-color: var(--x-rose); transform: translateY(-4px); }
.x-dept:hover:before { transform: scale(1.6); }
.x-dept small { position: relative; font-family: var(--x-body); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--x-rose-dk); }
.x-dept h3 { position: relative; font-size: 22px; line-height: 1.25; margin: 8px 0 6px; padding-bottom: 0; }
.x-dept p { position: relative; font-size: 15px; line-height: 1.6; margin-bottom: 12px; padding-bottom: 0; }
.x-dept a { position: static; font-family: var(--x-body); font-weight: 700; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--x-onyx); text-decoration: none; }
.x-dept a:after { content: " \2192"; color: var(--x-rose); }
.x-dept a:before { content: ""; position: absolute; inset: 0; }

/* 7. GLITTER STRIP */
.x-glitter { background: var(--x-onyx); padding: 70px 0 !important; }
.x-glitter .x-title { color: #fff; }
.x-glitter .x-lead { color: rgba(255, 255, 255, .75); }
.x-glitter .x-eyebrow { color: #E7B9BF; }
.x-glitter-banner .et_pb_image_wrap { display: block; border-radius: var(--x-radius); overflow: hidden; border: 1px solid rgba(183, 110, 121, .5); }
.x-glitter-banner img { width: 100%; display: block; }

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

/* 9. SALON RITUAL */
.x-ritual { background: #fff; padding: 80px 0 !important; }
.x-steps { padding: 0 !important; margin: 0; counter-reset: rs; }
.x-steps li { counter-increment: rs; position: relative; padding: 0 0 26px 74px; }
.x-steps li:before { content: counter(rs, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--x-onyx); color: #fff; font-family: var(--x-head); font-size: 18px; }
.x-steps li:after { content: ""; position: absolute; left: 25px; top: 58px; bottom: 6px; width: 2px; background: var(--x-sand); }
.x-steps li:last-child:after { display: none; }
.x-steps h3 { font-size: 21px; margin: 4px 0 4px; padding-bottom: 0; }
.x-steps p { font-size: 15.5px; line-height: 1.6; margin-bottom: 6px; padding-bottom: 0; }
.x-steps a { font-family: var(--x-body); font-weight: 700; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--x-rose-dk); text-decoration: none; }
.x-steps a:after { content: " \2192"; }
.x-ritual-banner .et_pb_image_wrap { display: block; border-radius: var(--x-radius); overflow: hidden; box-shadow: var(--x-shadow); }
.x-ritual-banner img { width: 100%; display: block; }

/* 10. RECENTLY TRACKED */
.x-tracked { background: var(--x-blush); padding: 80px 0 !important; }
.x-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.x-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--x-radius); overflow: hidden; box-shadow: 0 16px 30px -26px rgba(30, 26, 29, .7); transition: transform .3s ease; }
.x-card:hover { transform: translateY(-4px); }
.x-card > p { display: contents; }
.x-card img { width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.x-card-body { padding: 16px 20px 20px; }
.x-card-body span { font-family: var(--x-body); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--x-rose-dk); }
.x-card h3 { font-size: 19px; line-height: 1.35; margin: 6px 0 10px; padding-bottom: 0; }
.x-card .x-more:before { content: ""; position: absolute; inset: 0; }

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

/* 12. FOOTER */
#main-footer { display: none !important; }
.b68x-footer { background: var(--x-blush); border-top: 3px solid var(--x-rose); padding: 64px 0 0; font-size: 15.5px; }
.b68x-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr .9fr; gap: 40px; padding-bottom: 46px; }
.b68x-footer-logo img { width: 210px; height: auto; display: block; margin-bottom: 16px; }
.b68x-footer p { color: var(--x-text); }
.b68x-footer h4 { font-family: var(--x-head); font-size: 19px; color: var(--x-onyx); margin-bottom: 14px; padding-bottom: 0; }
.b68x-footer ul { padding: 0 !important; margin: 0; }
.b68x-footer li { margin-bottom: 9px; line-height: 1.45; }
.b68x-footer a { color: var(--x-onyx); text-decoration: none; }
.b68x-footer a:hover { color: var(--x-rose); }
.b68x-footer-bottom { background: var(--x-onyx); color: rgba(255, 255, 255, .8); padding: 16px 0; text-align: center; font-size: 13.5px; }

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

/* 14. RESPONSIVE */
@media (max-width: 1100px) {
	.b68x-footer-grid { grid-template-columns: 1fr 1fr; }
	#top-menu li { padding-right: 12px; }
	#top-menu a { font-size: 13.5px; }
}
@media (max-width: 980px) {
	.x-hero-banner { margin-top: 34px; }
	.x-dept-grid, .x-card-grid { grid-template-columns: 1fr 1fr; }
	.x-depts, .x-edits, .x-ritual, .x-tracked { padding: 56px 0 !important; }
	.x-edit-col { margin-bottom: 26px !important; }
	.x-ritual-banner { margin-top: 20px; }
}
@media (max-width: 640px) {
	.x-dept-grid, .x-card-grid { grid-template-columns: 1fr; }
	.x-hero-banner .et_pb_image_wrap { border-radius: 120px 120px 14px 14px; }
	.b68x-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
