/*
 Theme Name:   Divi Child – 68 Logistic
 Theme URI:    https://68logistic.com/
 Description:  Teal & amber child theme for 68 Logistic (nail supply).
 Author:       68 Logistic
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--g-teal: #0F5257;
	--g-teal-2: #1B7A7F;
	--g-mint: #E6F2F1;
	--g-amber: #E3A33B;
	--g-amber-dk: #C9862A;
	--g-cream: #FBF8F2;
	--g-ink: #12302F;
	--g-text: #3F4F51;
	--g-line: rgba(15, 82, 87, .14);
	--g-radius: 14px;
	--g-shadow: 0 22px 44px -28px rgba(15, 82, 87, .55);
	--g-head: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
	--g-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

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

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

/* 4. HELPERS */
.b68g-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.g-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--g-head); font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--g-teal-2); margin-bottom: 12px; }
.g-tag:before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--g-amber); box-shadow: 0 0 0 4px rgba(227, 163, 59, .25); }
.g-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.18; margin-bottom: 10px; }
.g-lead { font-size: 17px; line-height: 1.75; max-width: 640px; }
.g-center { text-align: center; }
.g-center .g-lead { margin: 0 auto; }
.g-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.g-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 8px; background: var(--g-teal); color: #fff !important; font-family: var(--g-head); font-weight: 700; font-size: 14.5px; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.g-btn:hover { background: var(--g-amber-dk); transform: translateY(-2px); }
.g-btn--amber { background: var(--g-amber); color: var(--g-ink) !important; }
.g-btn--amber:hover { background: #fff; }
.g-btn--line { background: transparent; color: var(--g-teal) !important; box-shadow: inset 0 0 0 2px var(--g-teal); }
.g-btn--line:hover { background: var(--g-teal); color: #fff !important; }
.g-go { font-family: var(--g-head); font-weight: 700; font-size: 14px; color: var(--g-teal-2); text-decoration: none; }
.g-go:after { content: " \00BB"; }
.b68g-footer ul, .b68g-footer li { list-style: none !important; }

/* 5. HERO */
.g-hero { background: linear-gradient(180deg, var(--g-mint) 0%, #fff 100%); padding: 60px 0 50px !important; }
.g-hero h1 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; margin-bottom: 16px; }
.g-hero h1 span { color: var(--g-teal-2); box-shadow: inset 0 -12px 0 rgba(227, 163, 59, .35); }
.g-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 30px; background: #fff; border: 1px solid var(--g-line); border-radius: 12px; overflow: hidden; }
.g-track div { padding: 14px 16px; border-right: 1px dashed var(--g-line); }
.g-track div:last-child { border-right: 0; }
.g-track b { display: block; font-family: var(--g-head); font-size: 24px; font-weight: 800; color: var(--g-teal); line-height: 1.1; }
.g-track span { font-size: 13px; color: var(--g-text); }
.g-hero-banner .et_pb_image_wrap { display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--g-shadow); outline: 2px dashed rgba(15, 82, 87, .25); outline-offset: 10px; }
.g-hero-banner img { width: 100%; }

/* 6. EXPRESS PICKS (shipping label cards) */
.g-picks { background: #fff; padding: 76px 0 70px !important; }
.g-pick-col { background: var(--g-cream); border: 1px solid var(--g-line); border-radius: var(--g-radius); padding: 12px !important; transition: transform .3s ease, box-shadow .3s ease; }
.g-pick-col:hover { transform: translateY(-6px); box-shadow: var(--g-shadow); }
.g-pick-col .et_pb_image { margin-bottom: 0 !important; }
.g-pick-col .et_pb_image_wrap { display: block; border-radius: 10px; overflow: hidden; }
.g-pick-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.g-label { margin-top: 12px; border-top: 2px dashed var(--g-line); padding: 14px 6px 4px; }
.g-label small { display: flex; justify-content: space-between; font-family: var(--g-head); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--g-amber-dk); }
.g-label h3 { font-size: 18px; margin: 6px 0; padding-bottom: 0; }
.g-label p { font-size: 14.5px; line-height: 1.6; margin-bottom: 10px; padding-bottom: 0; }

/* 7. SUPPLY ROUTES (timeline) */
.g-routes { background: var(--g-teal); padding: 80px 0 !important; }
.g-routes .g-title, .g-routes h3 { color: #fff; }
.g-routes .g-tag { color: var(--g-amber); }
.g-routes .g-lead { color: rgba(255, 255, 255, .8); }
.g-route-line { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 36px; }
.g-route-line:before { content: ""; position: absolute; left: 4%; right: 4%; top: 22px; border-top: 3px dashed rgba(255, 255, 255, .35); }
.g-stop { position: relative; text-align: center; padding: 0 6px; }
.g-stop em { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 18px; border-radius: 50%; background: var(--g-amber); color: var(--g-ink); font-style: normal; font-family: var(--g-head); font-weight: 800; box-shadow: 0 0 0 6px var(--g-teal), 0 0 0 8px rgba(227, 163, 59, .5); }
.g-stop h3 { font-size: 17px; line-height: 1.3; margin-bottom: 6px; padding-bottom: 0; }
.g-stop p { font-size: 14px; color: rgba(255, 255, 255, .78); margin-bottom: 10px; padding-bottom: 0; }
.g-stop a { color: var(--g-amber); font-family: var(--g-head); font-weight: 700; font-size: 13.5px; text-decoration: none; }
.g-stop a:after { content: " \00BB"; }
.g-stop br, .g-stop p:empty, .g-post br, .g-post-body p:empty { display: none; }

/* 8. PROCESS */
.g-process { background: var(--g-cream); padding: 80px 0 !important; }
.g-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 18px; }
.g-step { position: relative; background: #fff; border-radius: var(--g-radius); padding: 26px 22px; border-left: 4px solid var(--g-amber); }
.g-step b { display: block; font-family: var(--g-head); font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--g-amber-dk); margin-bottom: 8px; }
.g-step h3 { font-size: 18px; margin-bottom: 6px; padding-bottom: 0; }
.g-step p { font-size: 15px; padding-bottom: 0; }
.g-step:not(:last-child):after { content: "\2192"; position: absolute; right: -18px; top: 50%; transform: translateY(-50%); color: var(--g-teal-2); font-size: 20px; font-weight: 700; }

/* 9. ARRIVALS */
.g-arrivals { background: #fff; padding: 80px 0 !important; }
.g-post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 16px; }
.g-post { position: relative; display: flex; flex-direction: column; border: 1px solid var(--g-line); border-radius: var(--g-radius); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.g-post:hover { transform: translateY(-6px); box-shadow: var(--g-shadow); }
.g-post > p { display: contents; }
.g-post img { width: 100%; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.g-post-body { flex: 1; display: flex; flex-direction: column; padding: 16px 18px 20px; }
.g-post-body span { font-family: var(--g-head); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--g-amber-dk); margin-bottom: 4px; }
.g-post h3 { font-size: 16.5px; line-height: 1.35; margin: 0 0 10px; padding-bottom: 0; flex: 1; }
.g-post .g-go:before { content: ""; position: absolute; inset: 0; }

/* 10. CTA */
.g-cta { background: var(--g-amber); padding: 60px 0 !important; }
.g-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.g-cta-box h2 { font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 6px; }
.g-cta-box p { color: var(--g-ink); max-width: 580px; }

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

/* 12. BLOG */
.et_pb_post .entry-title a:hover { color: var(--g-amber-dk); }
.post-meta a { color: var(--g-teal-2); }

/* 13. RESPONSIVE */
@media (max-width: 1100px) {
	.g-post-grid { grid-template-columns: repeat(2, 1fr); }
	.b68g-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
	.g-route-line { grid-template-columns: 1fr 1fr; row-gap: 30px; }
	.g-route-line:before { display: none; }
	.g-steps { grid-template-columns: 1fr 1fr; }
	.g-step:after { display: none; }
	.g-picks, .g-routes, .g-process, .g-arrivals { padding: 56px 0 !important; }
}
@media (max-width: 640px) {
	.g-steps, .g-post-grid { grid-template-columns: 1fr; }
	.g-route-line { grid-template-columns: 1fr; }
	.b68g-footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.g-track b { font-size: 20px; }
}
