/*
 Theme Name:   Divi Child – 68 Pos
 Theme URI:    https://68pos.com/
 Description:  Espresso & caramel child theme for 68 Pos (nail supply).
 Author:       68 Pos
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--s-esp: #3A2A1E;
	--s-esp-2: #4A3628;
	--s-car: #C4884A;
	--s-car-dk: #A06A32;
	--s-latte: #F7F0E8;
	--s-sand: #EADBCB;
	--s-text: #5B4E45;
	--s-line: rgba(58, 42, 30, .13);
	--s-radius: 16px;
	--s-shadow: 0 26px 50px -32px rgba(58, 42, 30, .6);
	--s-head: 'Urbanist', 'Helvetica Neue', Arial, sans-serif;
	--s-body: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
}

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

/* 3. HEADER */
#top-header { background: var(--s-esp) !important; }
#main-header { background: #fff; box-shadow: 0 1px 0 var(--s-line); }
#main-header .container { width: 90%; max-width: 1240px; }
#logo { max-height: 60%; }
#top-menu li { padding-right: 20px; }
#top-menu a, .et_mobile_menu a { font-family: var(--s-head); font-size: 15.5px; font-weight: 700; color: var(--s-esp); }
#top-menu li.current-menu-item > a, #top-menu a:hover { color: var(--s-car-dk) !important; opacity: 1; }
.et_mobile_menu { border-top-color: var(--s-car); }
.mobile_menu_bar:before, #et_search_icon:before { color: var(--s-esp); }

/* 4. HELPERS */
.b68s-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.s-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--s-head); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--s-car-dk); margin-bottom: 12px; }
.s-eyebrow:before { content: ""; width: 26px; height: 2px; background: var(--s-car); }
.s-title { font-size: clamp(28px, 3.3vw, 42px); line-height: 1.12; margin-bottom: 10px; }
.s-lead { font-size: 17px; line-height: 1.75; max-width: 640px; }
.s-center { text-align: center; }
.s-center .s-lead { margin: 0 auto; }
.s-center .s-eyebrow:after { content: ""; width: 26px; height: 2px; background: var(--s-car); }
.s-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.s-btn { display: inline-block; padding: 14px 26px; border-radius: 8px; background: var(--s-esp); color: #fff !important; font-family: var(--s-head); font-weight: 800; font-size: 15.5px; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.s-btn:hover { background: var(--s-car-dk); transform: translateY(-2px); }
.s-btn--car { background: var(--s-car); color: #fff !important; }
.s-btn--car:hover { background: #fff; color: var(--s-esp) !important; }
.s-btn--ghost { background: transparent; color: var(--s-esp) !important; box-shadow: inset 0 0 0 2px var(--s-esp); }
.s-btn--ghost:hover { background: var(--s-esp); color: #fff !important; }
.s-more { font-family: var(--s-head); font-weight: 800; font-size: 15px; color: var(--s-car-dk); text-decoration: none; }
.s-more:after { content: " \2192"; }
.s-trust, .s-trust li, .s-kit ul, .s-kit li, .b68s-footer ul, .b68s-footer li { list-style: none !important; }
.s-station br, .s-station p:empty, .s-look br, .s-look p:empty, .s-kit br, .s-kit p:empty, .s-tip br, .s-tip p:empty, .s-post br, .s-post-body p:empty { display: none; }

/* 5. HERO */
.s-hero { background: var(--s-latte); padding: 64px 0 60px !important; position: relative; overflow: hidden; }
.s-hero:after { content: ""; position: absolute; left: -140px; bottom: -180px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid var(--s-sand); opacity: .7; }
.s-hero .et_pb_row { position: relative; z-index: 1; }
.s-hero h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.05; margin-bottom: 16px; }
.s-hero h1 b { color: var(--s-car); font-weight: 800; }
.s-hero-banner .et_pb_image_wrap { display: block; border-radius: 18px; overflow: hidden; box-shadow: var(--s-shadow); outline: 1px solid var(--s-sand); outline-offset: 10px; }
.s-hero-banner img { width: 100%; }
.s-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0 !important; margin-top: 24px; }
.s-trust li { font-family: var(--s-head); font-weight: 700; font-size: 14.5px; color: var(--s-esp); }
.s-trust li:before { content: "\2713"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--s-car); color: #fff; font-size: 12px; }

/* 6. STATIONS */
.s-stations { background: #fff; padding: 80px 0 70px !important; }
.s-station-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-top: 30px; }
.s-station { position: relative; display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: #fff; transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.s-station:hover { background: var(--s-latte); border-color: var(--s-car); transform: translateY(-3px); }
.s-station:last-child { grid-column: 1 / -1; }
.s-station b { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--s-esp); color: var(--s-car); font-family: var(--s-head); font-size: 22px; font-weight: 800; }
.s-station h3 { font-size: 19px; margin-bottom: 2px; padding-bottom: 0; }
.s-station p { font-size: 14.5px; line-height: 1.55; margin: 0; padding-bottom: 0; }
.s-station a { font-family: var(--s-head); font-weight: 800; font-size: 14px; color: var(--s-car-dk); text-decoration: none; white-space: nowrap; }
.s-station a:after { content: " \2192"; }
.s-station a:before { content: ""; position: absolute; inset: 0; }

/* 7. LOOKBOOK */
.s-lookbook { background: var(--s-latte); padding: 80px 0 64px !important; }
.s-look-img .et_pb_image { margin-bottom: 0 !important; }
.s-look-img .et_pb_image_wrap { display: block; border-radius: var(--s-radius); overflow: hidden; box-shadow: var(--s-shadow); }
.s-look-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.s-look-img:hover img { transform: scale(1.04); }
.s-look-row { margin-bottom: 26px; }
.s-look { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 4px 6px; }
.s-look small { font-family: var(--s-head); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--s-car-dk); }
.s-look h3 { font-size: 22px; line-height: 1.2; margin: 6px 0 8px; padding-bottom: 0; }
.s-look p { font-size: 15px; line-height: 1.6; margin-bottom: 12px; padding-bottom: 0; }

/* 8. STARTER KITS */
.s-starter { background: var(--s-esp); padding: 84px 0 !important; }
.s-starter .s-title { color: #fff; }
.s-starter .s-lead { color: rgba(255, 255, 255, .78); }
.s-starter .s-eyebrow { color: var(--s-car); }
.s-kit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.s-kit { background: var(--s-esp-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: 28px 26px; }
.s-kit em { font-style: normal; display: inline-block; font-family: var(--s-head); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--s-esp); background: var(--s-car); padding: 4px 11px; border-radius: 6px; margin-bottom: 14px; }
.s-kit h3 { color: #fff; font-size: 22px; margin-bottom: 6px; padding-bottom: 0; }
.s-kit > p, .s-kit p { color: rgba(255, 255, 255, .78); font-size: 15px; }
.s-kit ul { padding: 0 !important; margin: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.s-kit li { padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.s-kit li a { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; display: flex; justify-content: space-between; gap: 12px; }
.s-kit li a:after { content: "\2192"; color: var(--s-car); }
.s-kit li a:hover { color: var(--s-car); }

/* 9. TIPS */
.s-tips { background: #fff; padding: 80px 0 !important; }
.s-tip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; counter-reset: tp; }
.s-tip { counter-increment: tp; background: var(--s-latte); border-radius: var(--s-radius); padding: 26px 22px; border-bottom: 4px solid var(--s-car); }
.s-tip:before { content: "Tip 0" counter(tp); font-family: var(--s-head); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--s-car-dk); }
.s-tip h3 { font-size: 18.5px; line-height: 1.3; margin: 8px 0 8px; padding-bottom: 0; }
.s-tip p { font-size: 15px; line-height: 1.6; margin: 0; padding-bottom: 0; }

/* 10. LATEST */
.s-latest { background: var(--s-latte); padding: 80px 0 !important; }
.s-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 24px; }
.s-post { position: relative; display: flex; flex-direction: column; }
.s-post > p { display: contents; }
.s-post img { width: 100%; height: auto !important; aspect-ratio: 3 / 2; object-fit: cover; display: block; border-radius: var(--s-radius); transition: transform .3s ease; }
.s-post:hover img { transform: translateY(-4px); }
.s-post-body { padding: 14px 2px 0; }
.s-post-body span { font-family: var(--s-head); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--s-car-dk); }
.s-post h3 { font-size: 19px; line-height: 1.32; margin: 4px 0 8px; padding-bottom: 0; }
.s-post .s-more:before { content: ""; position: absolute; inset: 0; }

/* 11. CTA */
.s-cta { background: var(--s-car); 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.8vw, 38px); margin-bottom: 6px; }
.s-cta-box p { color: rgba(255, 255, 255, .92); max-width: 600px; }
.s-cta .s-btn:hover { background: #fff; color: var(--s-esp) !important; }

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

/* 14. RESPONSIVE */
@media (max-width: 1100px) {
	.s-tip-grid { grid-template-columns: 1fr 1fr; }
	.b68s-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
	.s-hero-text { margin-top: 34px; }
	.s-kit-grid { grid-template-columns: 1fr; }
	.s-post-grid { grid-template-columns: 1fr 1fr; }
	.s-stations, .s-lookbook, .s-starter, .s-tips, .s-latest { padding: 56px 0 !important; }
	.s-look-img { margin-bottom: 14px !important; }
	.s-look-text { margin-bottom: 26px !important; }
}
@media (max-width: 640px) {
	.s-station-list, .s-post-grid, .s-tip-grid { grid-template-columns: 1fr; }
	.s-station { grid-template-columns: 48px 1fr; }
	.s-station b { width: 48px; height: 48px; font-size: 18px; }
	.s-station a { grid-column: 2; }
	.b68s-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
