/*
 Theme Name:   Divi Child – 68 Booking
 Theme URI:    https://68booking.com/
 Description:  Sage & champagne child theme for 68 Booking (nail supply).
 Author:       68 Booking
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* ## 1. TOKENS ## */
:root {
	--b68-sage: #8FA89A;
	--b68-sage-dark: #5F7E70;
	--b68-sage-light: #E7EFEA;
	--b68-forest: #2F4A43;
	--b68-champagne: #F3E9DD;
	--b68-cream: #FAF6F0;
	--b68-gold: #B88C66;
	--b68-text: #4F5B57;
	--b68-line: rgba(47, 74, 67, .12);
	--b68-radius: 16px;
	--b68-shadow: 0 24px 48px -30px rgba(47, 74, 67, .5);
	--b68-head: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
	--b68-body: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

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

/* ## 3. HEADER ## */
#top-header { background: var(--b68-forest) !important; }
#main-header { background: #fff; box-shadow: 0 1px 0 var(--b68-line); }
#main-header .container { width: 90%; max-width: 1240px; }
#logo { max-height: 78%; }
#top-menu li { padding-right: 22px; }
#top-menu a, .et_mobile_menu a { font-family: var(--b68-head); font-size: 14px; font-weight: 600; color: var(--b68-forest); letter-spacing: .01em; }
#top-menu li.current-menu-item > a, #top-menu a:hover { color: var(--b68-gold) !important; opacity: 1; }
.et_mobile_menu { border-top-color: var(--b68-sage); }
.mobile_menu_bar:before, #et_search_icon:before { color: var(--b68-forest); }

/* ## 4. HELPERS ## */
.b68-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.b68-tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--b68-head); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--b68-gold); margin-bottom: 14px; }
.b68-tag:before { content: ""; width: 28px; height: 2px; background: currentColor; }
.b68-center .b68-tag:after { content: ""; width: 28px; height: 2px; background: currentColor; }
.b68-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; margin-bottom: 12px; }
.b68-lead { font-size: 16.5px; line-height: 1.8; max-width: 640px; }
.b68-center { text-align: center; }
.b68-center .b68-lead { margin: 0 auto; }
.b68-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.b68-btn { display: inline-block; padding: 14px 26px; border-radius: 8px; background: var(--b68-gold); color: #fff !important; font-family: var(--b68-head); font-weight: 600; font-size: 14px; letter-spacing: .03em; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.b68-btn:hover { background: var(--b68-forest); transform: translateY(-2px); }
.b68-btn--line { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.b68-btn--line:hover { background: #fff; color: var(--b68-forest) !important; }
.b68-btn--sage { background: var(--b68-sage-dark); }
.b68-go { font-family: var(--b68-head); font-weight: 600; font-size: 13.5px; color: var(--b68-sage-dark); text-decoration: none; letter-spacing: .02em; }
.b68-go:after { content: " \279D"; }
.b68-points, .b68-points li, .b68-footer ul, .b68-footer li { list-style: none !important; }

/* ## 5. HERO ## */
.b68-hero { background: var(--b68-cream); padding: 56px 0 !important; }
.b68-hero-panel { background: var(--b68-forest); border-radius: 22px; padding: 46px 42px; color: #fff; }
.b68-hero-panel .b68-tag { color: var(--b68-champagne); }
.b68-hero-panel h1 { color: #fff; font-size: clamp(32px, 3.8vw, 50px); line-height: 1.12; margin-bottom: 16px; }
.b68-hero-panel h1 span { color: var(--b68-sage); }
.b68-hero-panel p { color: rgba(255, 255, 255, .82); font-size: 16px; }
.b68-points { padding: 0 !important; margin-top: 22px; display: grid; gap: 8px; font-size: 14.5px; color: #fff; }
.b68-points li:before { content: "\2713"; color: var(--b68-sage); font-weight: 700; margin-right: 10px; }
.b68-hero-banner .et_pb_image_wrap { display: block; border-radius: 22px; overflow: hidden; box-shadow: var(--b68-shadow); }
.b68-hero-banner img { width: 100%; }

/* ## 6. LOOKBOOK ## */
.b68-lookbook { background: #fff; padding: 84px 0 60px !important; }
.b68-look-col .et_pb_image_wrap { display: block; border-radius: var(--b68-radius); overflow: hidden; box-shadow: var(--b68-shadow); }
.b68-look-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.b68-look-col:hover .et_pb_image img { transform: scale(1.04); }
.b68-look-col:nth-child(even) { margin-top: 46px !important; }
.b68-look-cap { margin-top: 16px; padding-left: 14px; border-left: 3px solid var(--b68-sage); }
.b68-look-cap h3 { font-size: 18px; margin-bottom: 4px; padding-bottom: 0; }
.b68-look-cap p { font-size: 14px; line-height: 1.6; margin-bottom: 8px; padding-bottom: 0; }

/* ## 7. CATEGORIES ## */
.b68-cats { background: var(--b68-sage-light); padding: 80px 0 !important; }
.b68-cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 14px; }
.b68-cat { position: relative; background: #fff; border-radius: var(--b68-radius); padding: 28px 22px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .3s ease, box-shadow .3s ease; }
.b68-cat:hover { transform: translateY(-6px); box-shadow: var(--b68-shadow); }
.b68-cat em { font-style: normal; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--b68-sage); color: #fff; font-family: var(--b68-head); font-weight: 700; font-size: 18px; margin-bottom: 16px; box-shadow: 0 0 0 6px var(--b68-sage-light); }
.b68-cat h3 { font-size: 17px; line-height: 1.3; margin-bottom: 8px; padding-bottom: 0; }
.b68-cat p { flex: 1; font-size: 13.5px; line-height: 1.6; margin-bottom: 12px; padding-bottom: 0; }
.b68-cat .b68-go:before { content: ""; position: absolute; inset: 0; }
.b68-cat br, .b68-cat p:empty, .b68-post br, .b68-post-body p:empty { display: none; }

/* ## 8. WHY ## */
.b68-why { background: #fff; padding: 84px 0 !important; }
.b68-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
.b68-why-card { background: var(--b68-cream); border-radius: var(--b68-radius); padding: 32px 28px; border-top: 4px solid var(--b68-gold); }
.b68-why-card b { display: block; font-family: var(--b68-head); font-size: 34px; color: var(--b68-sage-dark); line-height: 1; margin-bottom: 12px; }
.b68-why-card h3 { font-size: 19px; margin-bottom: 8px; padding-bottom: 0; }
.b68-why-card p { font-size: 15px; padding-bottom: 0; }

/* ## 9. JOURNAL ## */
.b68-journal { background: var(--b68-champagne); padding: 84px 0 !important; }
.b68-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 16px; }
.b68-post { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--b68-radius); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.b68-post:hover { transform: translateY(-6px); box-shadow: var(--b68-shadow); }
.b68-post > p { display: contents; }
.b68-post img { width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.b68-post-body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 24px; }
.b68-post-body span { font-family: var(--b68-head); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--b68-gold); margin-bottom: 6px; }
.b68-post h3 { font-size: 18px; line-height: 1.35; margin-bottom: 8px; padding-bottom: 0; }
.b68-post-body p { flex: 1; font-size: 14.5px; line-height: 1.6; margin-bottom: 12px; padding-bottom: 0; }
.b68-post .b68-go:before { content: ""; position: absolute; inset: 0; }

/* ## 10. CTA ## */
.b68-cta { background: var(--b68-sage-dark); padding: 64px 0 !important; }
.b68-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.b68-cta h2 { color: #fff; font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 6px; }
.b68-cta p { color: rgba(255, 255, 255, .85); max-width: 600px; }

/* ## 11. FOOTER ## */
#main-footer { display: none !important; }
.b68-footer { background: var(--b68-forest); color: rgba(255, 255, 255, .75); padding: 66px 0 0; font-size: 14.5px; }
.b68-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr .9fr; gap: 40px; padding-bottom: 46px; }
.b68-footer-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 14px; margin-bottom: 16px; }
.b68-footer-logo img { width: 220px; height: auto; display: block; }
.b68-footer p { color: rgba(255, 255, 255, .75); }
.b68-footer h4 { font-family: var(--b68-head); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--b68-champagne); margin-bottom: 16px; padding-bottom: 0; }
.b68-footer ul { padding: 0 !important; margin: 0; }
.b68-footer li { margin-bottom: 9px; line-height: 1.45; }
.b68-footer a { color: #fff; text-decoration: none; }
.b68-footer a:hover { color: var(--b68-sage); }
.b68-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; text-align: center; font-size: 13px; }

/* ## 12. BLOG ## */
.et_pb_post .entry-title a:hover { color: var(--b68-sage-dark); }
.post-meta a { color: var(--b68-gold); }

/* ## 13. RESPONSIVE ## */
@media (max-width: 1100px) {
	.b68-cat-grid { grid-template-columns: repeat(3, 1fr); }
	.b68-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
	.b68-look-col:nth-child(even) { margin-top: 0 !important; }
	.b68-post-grid, .b68-why-grid { grid-template-columns: 1fr 1fr; }
	.b68-lookbook, .b68-cats, .b68-why, .b68-journal { padding: 56px 0 !important; }
	.b68-hero-panel { padding: 34px 26px; }
}
@media (max-width: 640px) {
	.b68-cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.b68-post-grid, .b68-why-grid { grid-template-columns: 1fr; }
	.b68-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
