/*
 Theme Name:   Divi Child – 68 Ship
 Theme URI:    https://68ship.com/
 Description:  Emerald & coral child theme for 68 Ship (nail supply).
 Author:       68 Ship
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--h-em: #0B6E4F;
	--h-em-dk: #07513A;
	--h-ink: #12302A;
	--h-coral: #E8604F;
	--h-coral-dk: #C94A3A;
	--h-mint: #EAF5EF;
	--h-cream: #FFF6F1;
	--h-text: #4B5D57;
	--h-line: rgba(18, 48, 42, .12);
	--h-radius: 18px;
	--h-shadow: 0 26px 48px -32px rgba(18, 48, 42, .6);
	--h-head: 'Rubik', 'Helvetica Neue', Arial, sans-serif;
	--h-body: 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
}

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

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

/* 4. HELPERS */
.b68h-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.h-eyebrow { display: inline-block; font-family: var(--h-head); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--h-coral-dk); margin-bottom: 12px; }
.h-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; margin-bottom: 10px; }
.h-lead { font-size: 17px; line-height: 1.75; max-width: 640px; }
.h-center { text-align: center; }
.h-center .h-lead { margin: 0 auto; }
.h-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.h-btn { display: inline-block; padding: 14px 26px; border-radius: 999px; background: var(--h-em); color: #fff !important; font-family: var(--h-head); font-weight: 600; font-size: 15.5px; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.h-btn:hover { background: var(--h-ink); transform: translateY(-2px); }
.h-btn--coral { background: var(--h-coral); }
.h-btn--coral:hover { background: var(--h-coral-dk); }
.h-btn--ghost { background: transparent; color: var(--h-em) !important; box-shadow: inset 0 0 0 2px var(--h-em); }
.h-btn--ghost:hover { background: var(--h-em); color: #fff !important; }
.h-btn--white { background: #fff; color: var(--h-ink) !important; }
.h-btn--white:hover { background: var(--h-cream); color: var(--h-coral-dk) !important; }
.h-more { font-family: var(--h-head); font-weight: 600; font-size: 15px; color: var(--h-em); text-decoration: none; }
.h-more:after { content: " \2192"; }
.h-track, .h-track li, .h-route, .h-route li, .b68h-footer ul, .b68h-footer li { list-style: none !important; }
.h-dock br, .h-dock p:empty, .h-cargo br, .h-cargo p:empty, .h-route br, .h-route p:empty, .h-pick br, .h-pick p:empty, .h-arr br, .h-arr-body p:empty, .h-track br { display: none; }

/* 5. HERO */
.h-hero { background: var(--h-mint); padding: 64px 0 64px !important; position: relative; overflow: hidden; }
.h-hero:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: radial-gradient(circle at 13px -6px, transparent 16px, #fff 17px) repeat-x; background-size: 26px 26px; }
.h-hero .et_pb_row { position: relative; z-index: 1; }
.h-hero h1 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; margin-bottom: 16px; font-weight: 700; }
.h-hero h1 span { color: var(--h-coral); }
.h-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0 !important; margin: 26px 0 0; background: #fff; border-radius: 14px; box-shadow: 0 14px 30px -24px rgba(18, 48, 42, .7); overflow: hidden; }
.h-track li { padding: 14px 16px; border-right: 1px dashed var(--h-line); font-size: 13.5px; line-height: 1.35; }
.h-track li:last-child { border-right: 0; }
.h-track li b { display: block; font-family: var(--h-head); font-size: 22px; color: var(--h-em); }
.h-hero-banner .et_pb_image_wrap { display: block; border-radius: 24px; overflow: hidden; box-shadow: var(--h-shadow); transform: rotate(-1.5deg); }
.h-hero-banner img { width: 100%; display: block; }

/* 6. DOCKS */
.h-docks { background: #fff; padding: 72px 0 70px !important; }
.h-dock-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 30px; }
.h-dock { position: relative; background: var(--h-cream); border-radius: var(--h-radius); padding: 22px 18px 20px; display: flex; flex-direction: column; border: 2px dashed rgba(232, 96, 79, .35); transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.h-dock:hover { background: #fff; border-color: var(--h-coral); transform: translateY(-4px); }
.h-dock small { font-family: var(--h-head); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--h-coral-dk); }
.h-dock h3 { font-size: 18px; line-height: 1.3; margin: 6px 0 6px; padding-bottom: 0; }
.h-dock p { flex: 1; font-size: 14.5px; line-height: 1.55; margin-bottom: 12px; padding-bottom: 0; }
.h-dock a { font-family: var(--h-head); font-weight: 600; font-size: 14px; color: var(--h-em); text-decoration: none; }
.h-dock a:after { content: " \2192"; }
.h-dock a:before { content: ""; position: absolute; inset: 0; }

/* 7. CARGO */
.h-cargo-sec { background: var(--h-ink); padding: 80px 0 60px !important; }
.h-cargo-sec .h-title { color: #fff; }
.h-cargo-sec .h-lead { color: rgba(255, 255, 255, .78); }
.h-cargo-sec .h-eyebrow { color: #FF9A8C; }
.h-cargo-row { margin-bottom: 22px; }
.h-cargo-img .et_pb_image { margin-bottom: 0 !important; }
.h-cargo-img .et_pb_image_wrap { display: block; border-radius: var(--h-radius); overflow: hidden; }
.h-cargo-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.h-cargo-img:hover img { transform: scale(1.04); }
.h-cargo { padding: 6px 4px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.h-cargo small { display: inline-block; align-self: flex-start; font-family: var(--h-head); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--h-ink); background: #9FE0C3; padding: 4px 10px; border-radius: 6px; }
.h-cargo h3 { color: #fff; font-size: 22px; margin: 10px 0 6px; padding-bottom: 0; }
.h-cargo p { color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.6; margin-bottom: 12px; padding-bottom: 0; }
.h-cargo .h-more { color: #FF9A8C; }

/* 8. ROUTE */
.h-route-sec { background: var(--h-cream); padding: 80px 0 !important; }
.h-route { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 0 !important; margin: 36px 0 0; position: relative; counter-reset: rt; }
.h-route:before { content: ""; position: absolute; top: 22px; left: 6%; right: 6%; border-top: 3px dotted var(--h-coral); }
.h-route li { counter-increment: rt; position: relative; text-align: center; }
.h-route li:before { content: counter(rt); position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; background: var(--h-em); color: #fff; font-family: var(--h-head); font-weight: 700; font-size: 18px; box-shadow: 0 0 0 6px var(--h-cream); }
.h-route h3 { font-size: 18.5px; margin-bottom: 6px; padding-bottom: 0; }
.h-route p { font-size: 15px; line-height: 1.6; margin-bottom: 8px; padding-bottom: 0; }
.h-route a { font-family: var(--h-head); font-weight: 600; font-size: 14px; color: var(--h-coral-dk); text-decoration: none; }
.h-route a:after { content: " \2192"; }

/* 9. EXPRESS PICKS */
.h-express { background: #fff; padding: 80px 0 !important; }
.h-pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.h-pick { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; background: var(--h-mint); transition: background .25s ease, transform .25s ease; }
.h-pick:hover { background: #DDEFE5; transform: translateY(-3px); }
.h-pick > p { display: contents; }
.h-pick img { width: 82px !important; height: 82px !important; flex: none; object-fit: cover; border-radius: 12px; display: block; }
.h-pick span { font-family: var(--h-head); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--h-coral-dk); }
.h-pick h3 { font-size: 15.5px; line-height: 1.35; margin: 2px 0 0; padding-bottom: 0; }
.h-pick a { color: inherit; text-decoration: none; }
.h-pick a:before { content: ""; position: absolute; inset: 0; }
.h-badge { background: var(--h-coral); color: #fff; border-radius: 22px; padding: 34px 30px; }
.h-badge .h-eyebrow { color: #fff; opacity: .85; }
.h-badge h2 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; }
.h-badge p { color: rgba(255, 255, 255, .92); }

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

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

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

/* 14. RESPONSIVE */
@media (max-width: 1100px) {
	.h-dock-list { grid-template-columns: repeat(3, 1fr); }
	.b68h-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
	.h-hero-banner { margin-top: 30px; }
	.h-route { grid-template-columns: 1fr 1fr; row-gap: 34px; }
	.h-route:before { display: none; }
	.h-arr-grid { grid-template-columns: 1fr 1fr; }
	.h-docks, .h-cargo-sec, .h-route-sec, .h-express, .h-arrivals { padding: 56px 0 !important; }
	.h-cargo-img { margin-bottom: 12px !important; }
	.h-cargo-text { margin-bottom: 26px !important; }
	.h-badge-col { margin-bottom: 24px; }
}
@media (max-width: 640px) {
	.h-dock-list, .h-arr-grid, .h-pick-grid, .h-route { grid-template-columns: 1fr; }
	.h-track li b { font-size: 18px; }
	.b68h-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
