/*
Theme Name: Wave Dancer Charters (Flatsome)
Description: Wave Dancer Charters child theme for Flatsome. One font (Manrope), navy and white, one orange accent for buttons.
Author: Brian Faulk, Brand Digital Connect
Template: flatsome
Version: 1.0.20
Text Domain: wave-dancer-flatsome
*/

:root {
	--wdf-navy: #0A1B2E;
	--wdf-off: #F5F4F0;
	--wdf-text: #0F1A26;
	--wdf-muted: #5B6774;
	--wdf-line: rgba(15, 26, 38, .1);
	--wdf-orange: #FF7A1A;
	--fs-color-primary: #0A1B2E;
	--fs-color-secondary: #FF7A1A;
	--primary-color: #0A1B2E;
}

/* One font everywhere. */
html, body, button, input, select, textarea,
h1, h2, h3, h4, h5, h6, .heading-font, .alt-font, .nav > li > a, .button, .nav-dropdown {
	font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif !important;
}
body { color: var(--wdf-text); font-size: 17px; line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { color: var(--wdf-navy); font-weight: 800; letter-spacing: -.02em; text-transform: none !important; font-style: normal; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); margin-bottom: .4em; }
h3 { font-size: 1.2rem; margin-bottom: .35em; }
p { color: var(--wdf-text); }
a { color: var(--wdf-navy); }
.dark h1, .dark h2, .dark h3, .dark p, .dark li, .dark a { color: #fff; }
em, i { font-style: normal; }

/* Buttons: never uppercase, orange with navy text, 44px tap targets. */
.button, button, input[type="submit"], .header-button .button {
	text-transform: none !important; letter-spacing: 0 !important; font-weight: 700 !important;
	border-radius: 8px !important; min-height: 44px; line-height: 2.4em; padding: 0 1.3em;
}
.button.secondary:not(.is-outline), .header-button .button.secondary {
	background-color: var(--wdf-orange) !important; border-color: var(--wdf-orange) !important; color: var(--wdf-navy) !important;
}
.button.secondary:not(.is-outline):hover { filter: brightness(1.05); box-shadow: 0 6px 18px -8px rgba(255, 122, 26, .7); }
.button.primary.is-outline, .button.is-outline { border-width: 2px; }
.button.white.is-outline { color: #fff !important; border-color: rgba(255, 255, 255, .8) !important; }
.button.white.is-outline:hover { background: #fff !important; color: var(--wdf-navy) !important; }
.wdf-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.wdf-btns .button { margin: 0; }
.wdf-center { text-align: center; justify-content: center; }

/* Header. */
.header-main { box-shadow: 0 1px 0 var(--wdf-line); }
.header-main .nav > li > a { color: var(--wdf-navy); font-weight: 600; font-size: 15.5px; }
.header-main .nav > li.active > a, .header-main .nav > li > a:hover { color: var(--wdf-navy); box-shadow: inset 0 -2px 0 var(--wdf-orange); }
.nav-dropdown { border-radius: 12px; border: 1px solid var(--wdf-line); box-shadow: 0 20px 40px -20px rgba(10, 27, 46, .35); }
.nav-dropdown > li > a { font-weight: 500; text-transform: none; }
.transparent .header-main { box-shadow: none; }
.transparent .header-main .nav > li > a { color: #fff; }
#logo img { max-height: 70px !important; width: auto; }
.mobile-sidebar .nav > li > a { text-transform: none; font-weight: 600; }

/* Banners / heroes. */
.wdf-banner .text-box-content, .wdf-banner .text-inner { text-align: left; }
.wdf-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .85) !important; margin-bottom: 8px; }
.wdf-hero-title { color: #fff !important; margin-bottom: 12px; }
.wdf-lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); line-height: 1.5; color: rgba(255, 255, 255, .92) !important; max-width: 40em; }
.wdf-hero-meta { font-weight: 600; color: rgba(255, 255, 255, .85) !important; margin-bottom: 0; }
.banner .text-box { max-width: 760px; }

/* Section heads. */
.wdf-head { max-width: 720px; margin-bottom: 28px; }
.wdf-head.wdf-center { margin-left: auto; margin-right: auto; }
.wdf-sub { color: var(--wdf-muted); font-size: 1.1rem; margin-bottom: 0; }
.wdf-more { margin-top: 8px; font-weight: 700; }
.wdf-more a { text-decoration: none; border-bottom: 2px solid var(--wdf-orange); }

/* Cards. */
.wdf-card { background: #fff; border: 1px solid var(--wdf-line); border-radius: 12px; overflow: hidden; height: 100%; transition: box-shadow .2s, transform .2s; }
.wdf-card:hover { box-shadow: 0 18px 40px -24px rgba(10, 27, 46, .45); transform: translateY(-2px); }
.wdf-card .box-image img { object-fit: cover; }
.wdf-card .box-text { padding: 16px 18px 20px; text-align: left; }
.wdf-card h3 { margin: 0 0 4px; font-size: 1.15rem; }
.wdf-meta { color: var(--wdf-muted) !important; font-size: .95rem; margin: 0; }
.wdf-price-line { font-weight: 800; font-size: 1.2rem; color: var(--wdf-navy) !important; margin: 10px 0 8px; }
.wdf-cards .col { padding-bottom: 24px; }
.wdf-cards .col-inner { height: 100%; }
.wdf-cards .box { height: 100%; }
.wdf-rounded img, .wdf-rounded { border-radius: 12px; }

/* Facts. */
.wdf-facts .col { padding-bottom: 12px; }
.wdf-label { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wdf-muted) !important; margin: 0 0 2px; }
.wdf-value { font-size: 1.15rem; font-weight: 700; color: var(--wdf-navy) !important; margin: 0; }
.wdf-facts { border-top: 1px solid var(--wdf-line); padding-top: 18px; }

/* Price table. */
.wdf-table-wrap { background: #fff; border: 1px solid var(--wdf-line); border-radius: 12px; overflow: hidden; }
.wdf-table { width: 100%; margin: 0; border-collapse: collapse; }
.wdf-table th { background: var(--wdf-navy); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 14px 16px; text-align: left; border: 0; }
.wdf-table td { padding: 16px; border-bottom: 1px solid var(--wdf-line); vertical-align: middle; }
.wdf-table tr:last-child td { border-bottom: 0; }
.wdf-table td span { display: block; color: var(--wdf-muted); font-size: .9rem; }
.wdf-table td a strong { color: var(--wdf-navy); }
.wdf-price { font-weight: 800; font-size: 1.15rem; color: var(--wdf-navy); white-space: nowrap; }
.wdf-book { margin: 0 !important; white-space: nowrap; }
.wdf-note { color: var(--wdf-muted) !important; font-size: .95rem; margin: 12px 0 0; }
@media (max-width: 640px) {
	.wdf-table thead { display: none; }
	.wdf-table, .wdf-table tbody, .wdf-table tr, .wdf-table td { display: block; width: 100%; }
	.wdf-table tr { padding: 14px 16px; border-bottom: 1px solid var(--wdf-line); }
	.wdf-table td { padding: 2px 0; border: 0; }
	.wdf-table td[data-label]::before { content: attr(data-label) ": "; color: var(--wdf-muted); font-size: .85rem; font-weight: 600; }
	.wdf-table td[data-label="Boat"]::before, .wdf-table td[data-label="Trip"]::before { content: none; }
	.wdf-table td:last-child { padding-top: 10px; }
	.wdf-book { width: 100%; text-align: center; }
}

/* Lists. */
.wdf-list, .wdf-checks { margin: 0 0 1em; padding: 0; list-style: none; }
.wdf-checks li { position: relative; padding-left: 30px; margin-bottom: 10px; list-style: none; }
.wdf-checks li::before {
	content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
	background: var(--wdf-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
@media (min-width: 850px) { .wdf-2col { columns: 2; column-gap: 40px; } .wdf-2col li { break-inside: avoid; } }
.wdf-line { margin-bottom: .6em; }

/* Panels (gift, contact, attractions, captains). */
.wdf-panel, .wdf-capt { background: #fff; border: 1px solid var(--wdf-line); border-radius: 12px; padding: 28px; height: 100%; }
.wdf-panels .col { padding-bottom: 24px; }
.wdf-contact { margin-bottom: 14px; }
.wdf-contact .wdf-label { display: block; }
.wdf-contact a { font-weight: 700; }

/* Featured boxes: no icons, plain text. */
.wdf-why .featured-box .icon-box-text, .wdf-steps .featured-box .icon-box-text { padding-left: 0 !important; }
.featured-box .icon-box-img { display: none; }
.featured-box h5, .featured-box h3 { text-transform: none; font-size: 1.15rem; letter-spacing: -.01em; color: var(--wdf-navy); }

/* Accordion. */
.accordion-title { font-weight: 700; color: var(--wdf-navy); text-transform: none; border-top: 1px solid var(--wdf-line); padding-top: 16px; padding-bottom: 16px; font-size: 1.05rem; }
.accordion-title.active { color: var(--wdf-navy); background: transparent; border-color: var(--wdf-line); }
.accordion-inner { padding: 4px 0 18px; }
.wdf-faq-title { margin-top: 36px; }

/* Video. */
.wdf-video { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; }
.wdf-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* CTA band + footer. */
.wdf-cta { text-align: center; max-width: 720px; margin: 0 auto; }
.wdf-cta p { color: rgba(255, 255, 255, .85) !important; font-size: 1.1rem; }
.wdf-cta .wdf-btns { justify-content: center; }
.wdf-footer p, .wdf-footer li, .wdf-footer a { color: rgba(255, 255, 255, .82) !important; font-size: 15px; }
.wdf-footer a:hover { color: #fff !important; }
.wdf-foot-brand { font-weight: 800; font-size: 1.3rem !important; color: #fff !important; }
.wdf-foot-h { font-size: 12.5px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff !important; margin-bottom: 8px; }
.wdf-foot-links { list-style: none; margin: 0 0 16px; padding: 0; }
.wdf-foot-links li { margin: 0 0 6px; list-style: none; }
.absolute-footer { font-size: 13.5px; }

/* Gallery + products. */
.gallery .box-image, .gallery img { border-radius: 10px; }
.product-small .box-image { border-radius: 12px; overflow: hidden; }

/* No horizontal scroll on phones. */
html, body { overflow-x: clip; }
@media (max-width: 549px) {
	.wdf-banner .text-box { width: 92% !important; }
	.wdf-panel, .wdf-capt { padding: 20px; }
}

/* Shop. */
.wdf-sample { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--wdf-muted); }
.wdf-shop-intro { font-size: 1.1rem; color: var(--wdf-muted); margin: 8px 0 20px; }

/* Phones and tablets: anchor banner text to the bottom of the photo so it never sits under the header. */
@media (max-width: 849px) {
	.wdf-banner .text-box { top: auto !important; bottom: 28px !important; transform: none !important; left: 4% !important; }
	.wdf-banner .text-box .wdf-lead { font-size: 1.02rem; }
}

/* Store (1.0.6): high-end product cards, banner, category tiles, cart. */
.shop-page-title.category-page-title { display: none; }
.custom-page-title { padding: 0 !important; margin: 0 0 8px; }
.wdf-shop-banner { margin-bottom: 0; }
.wdf-shop-cats { padding-top: 32px; padding-bottom: 8px; }
.wdf-shop-cats .box-category { border-radius: 12px; overflow: hidden; }
.wdf-shop-cats .box-category .box-text h5 { font-size: 1.35rem !important; font-weight: 800; text-transform: none !important; letter-spacing: -.01em; color: #fff; }
.wdf-shop-cats .box-category .count { display: none; }
.product-small.box { background: #fff; border: 1px solid var(--wdf-line); border-radius: 12px; overflow: hidden; height: 100%; }
.product-small .box-image { aspect-ratio: 1 / 1; background: #F5F4F0; }
.product-small .box-image img { width: 100%; height: 100%; object-fit: cover; }
.product-small .box-text { padding: 14px 16px 18px; text-align: left; }
.product-small .category { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--wdf-muted); text-transform: uppercase; }
.product-small .name, .product-small .product-title { font-weight: 700; font-size: 1rem; color: var(--wdf-navy); }
.product-small .price { font-weight: 800; color: var(--wdf-navy); font-size: 1.05rem; }
.product-small .add-to-cart-button .button, .product-small .add_to_cart_button, .single_add_to_cart_button, .checkout-button, #place_order, .wc-block-components-button:not(.is-link) {
	background: var(--wdf-orange) !important; border-color: var(--wdf-orange) !important; color: var(--wdf-navy) !important; font-weight: 700 !important; text-transform: none !important; border-radius: 8px !important;
}
.product-small .add-to-cart-button { margin-top: 10px; }
.product-small .add-to-cart-button .button { width: 100%; }
.product-main .product-title { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); text-transform: none; }
.product-main .price { font-size: 1.6rem; font-weight: 800; color: var(--wdf-navy); }
.product-main .variations select { min-height: 44px; border-radius: 8px; }
.cart-icon strong, .header-cart-link .cart-icon strong { border-color: var(--wdf-navy); color: var(--wdf-navy); }
.wdf-store-band .product-small.box { border-color: transparent; }
.wdf-store-band .wdf-head h2, .wdf-store-band .wdf-sub { color: #fff !important; }
.badge-container .onsale { display: none; }

/* 1.0.7: tighter phone banners and buttons (no tiny text, no edge-to-edge bars). */
.wdf-banner .text-box-content, .wdf-banner .text-inner { font-size: 100% !important; }
@media (max-width: 549px) {
	.wdf-banner .text-box { left: 20px !important; right: 20px !important; width: auto !important; max-width: none !important; }
	.wdf-banner .wdf-hero-title { font-size: 35px !important; line-height: 1.15 !important; margin-bottom: 10px; }
	.wdf-banner .wdf-lead { font-size: 17px !important; line-height: 1.45; }
	.wdf-banner .wdf-eyebrow { font-size: 12px !important; }
	.wdf-banner .wdf-hero-meta { font-size: 15px !important; }
	.wdf-btns { gap: 10px; }
	.wdf-btns .button { flex: 0 0 auto !important; width: auto !important; font-size: 16px !important; font-weight: 700 !important;
		min-height: 48px; line-height: 1.2 !important; padding: 14px 22px !important; display: inline-flex; align-items: center; justify-content: center; }
	.wdf-cta .wdf-btns { justify-content: center; }
	.wdf-cta h2 { font-size: 28px; }
	.wdf-cta p { font-size: 17px; }
}

/* 1.0.8: social icons. */
.header-main .social-icons a, .mobile-sidebar .social-icons a { color: var(--wdf-navy) !important; }
.transparent .header-main .social-icons a { color: #fff !important; }
.header-main .social-icons .icon-facebook, .header-main .social-icons .icon-instagram, .header-main .social-icons .icon-youtube { font-size: 15px; }
.wdf-foot-social { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; margin-top: 8px; }
.wdf-foot-social .social-icons a { color: #fff !important; opacity: .85; }
.wdf-foot-social .social-icons a:hover { opacity: 1; }

/* 1.0.9: gear band, and the header Book Now button never wraps on phones. */
.wdf-gear-band .product-small.box { border-color: var(--wdf-line); }
.header-button .button { white-space: nowrap; }
@media (max-width: 549px) {
	.header-main .header-button .button { font-size: 13px !important; padding: 0 12px !important; min-height: 36px; line-height: 36px !important; }
	.header-main .flex-right .header-button { margin-left: 4px; }
}

/* 1.0.10: product cards inside the dark store band keep navy text. */
.wdf-store-band .product-small .box-text, .wdf-store-band .product-small .box-text a,
.wdf-store-band .product-small .name, .wdf-store-band .product-small .product-title a,
.wdf-store-band .product-small .price, .wdf-store-band .product-small .price .amount { color: var(--wdf-navy) !important; }
.wdf-store-band .product-small .category { color: var(--wdf-muted) !important; opacity: 1; }

/* 1.0.17: footer watermark on a light plate so it reads on navy. */
.wdf-foot-watermark { margin: 4px 0 14px; }
.wdf-foot-watermark img { display: block; width: 100%; max-width: 320px; height: auto; background: #fff; border-radius: 10px; padding: 10px 14px; box-sizing: border-box; }
@media (max-width: 549px) { .wdf-foot-watermark img { max-width: 280px; } }
