/* ==========================================================================
   Coastal Storefront - base tokens & typography
   ========================================================================== */

:root {
	--sc-primary: rgb(0, 0, 0);
	--sc-title-color: #113d60;
	--sc-entities-color: #333;
	--sc-entities-hover: rgb(51 51 51 / 65%);
	--sc-text-color: rgb(118, 118, 118);
	--sc-link-color: #333;
	--sc-link-hover: #242424;
	--sc-alt-color: #fbbc34;
	--sc-brd-color: #e6e6e6;
	--sc-footer-bg: #d9edf2;
	--sc-container: 1222px;
	--sc-gap-lg: 30px;
	--sc-gap-md: 20px;
	--sc-gap-sm: 10px;
	--sc-radius: 0px;
	--sc-form-height: 46px;
	--sc-font-body: "Lato", Arial, Helvetica, sans-serif;
	--sc-font-title: "Glaciall", "Hedvig Letters Serif", Georgia, serif;
	--sc-font-script: "Arizonia", cursive;
	--sc-header-h: 116px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body,
.site {
	font-family: var(--sc-font-body);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	color: var(--sc-text-color);
	background-color: #fff;
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.widget-title {
	font-family: var(--sc-font-title);
	font-weight: 400;
	color: var(--sc-title-color);
	letter-spacing: 0.01em;
	line-height: 1.25;
	margin: 0 0 0.6em;
}

a {
	color: var(--sc-link-color);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover { color: var(--sc-link-hover); }

img { max-width: 100%; height: auto; display: block; }

button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* Container */
.sc-container,
.site-content .col-full,
.storefront-breadcrumb .col-full {
	max-width: var(--sc-container);
	margin: 0 auto;
	padding: 0 15px;
	width: 100%;
}

/* Buttons */
.btn,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button {
	display: inline-block;
	font-family: var(--sc-font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background-color: #000;
	border: 0;
	border-radius: var(--sc-radius);
	padding: 14px 30px;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background-color: #333;
	color: #fff;
}

/* Outline button variant used across the reference design */
.btn-outline,
.woocommerce a.button.btn-outline {
	background: transparent;
	color: #000;
	border: 1px solid #000;
}

.btn-outline:hover {
	background: #000;
	color: #fff;
}

/* Utility */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px; width: 1px;
	margin: -1px; overflow: hidden;
	padding: 0; position: absolute;
	word-wrap: normal !important;
}

.sc-section { padding: 46px 0; }
.sc-section--tight { padding: 28px 0; }
.sc-text-center { text-align: center; }
.sc-hidden { display: none !important; }

/* Section heading (serif, centred) */
.sc-section-title {
	font-family: var(--sc-font-title);
	font-size: 55px;
	font-weight: 400;
	line-height: 1.05;
	color: var(--sc-title-color);
	text-align: center;
	margin: 0 0 8px;
}

.sc-section-sub {
	font-family: var(--sc-font-body);
	font-size: 14px;
	color: var(--sc-text-color);
	text-align: center;
	max-width: 780px;
	margin: 0 auto 26px;
	line-height: 1.8;
}

/* Decorative script accent */
.sc-script {
	font-family: var(--sc-font-script);
	color: var(--sc-primary);
}

/* ---------------------------------------------------------------
   Full-width page template (no sidebar) — pages & policies
   --------------------------------------------------------------- */
.sc-page-wrap {
	padding: 48px 0 72px;
	background: #fff;
}

.sc-page__header {
	margin: 0 0 28px;
}

.sc-page__title {
	font-family: "Hedvig Letters Serif", Georgia, serif;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.15;
	font-weight: 400;
	margin: 0;
	color: #123a5c;
}

.sc-page__content {
	font-size: 16px;
	line-height: 1.75;
	color: #333;
	max-width: 900px;
}

.sc-page__content h2,
.sc-page__content h3 {
	font-family: "Hedvig Letters Serif", Georgia, serif;
	color: #123a5c;
	line-height: 1.25;
	margin: 32px 0 12px;
}

.sc-page__content h2 { font-size: 26px; }
.sc-page__content h3 { font-size: 21px; }

.sc-page__content p { margin: 0 0 18px; }

.sc-page__content ul,
.sc-page__content ol { margin: 0 0 18px 22px; }
.sc-page__content li { margin-bottom: 8px; }

.sc-page__content a { color: #123a5c; text-decoration: underline; }

.sc-page__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 22px;
}

.sc-page__content th,
.sc-page__content td {
	border: 1px solid #e2e8ee;
	padding: 10px 14px;
	text-align: left;
	vertical-align: top;
}

.sc-page__content th { background: #f5f9fc; font-weight: 700; }

.sc-page__content img {
	max-width: 100%;
	height: auto;
}

@media (max-width: 782px) {
	.sc-page-wrap { padding: 32px 0 56px; }
}

/* ==========================================================================
   Contact form polish (Elementor form widget)
   ========================================================================== */

.elementor-form-fields-wrapper { margin: 0; }

.elementor-form-fields-wrapper .elementor-field-group { margin-bottom: 18px; }

/* Labels: kill pasted <br> residue, tighten spacing */
.elementor-form-fields-wrapper .elementor-field-label { padding-bottom: 8px; }
.elementor-form-fields-wrapper .elementor-field-label br { display: none; }

.elementor-form-fields-wrapper .elementor-field-textual {
	width: 100%;
	height: 48px;
	border: 1px solid #e2e2e2;
	background: #fff;
	padding: 0 14px;
	font-size: 14px;
	color: #111;
	border-radius: 0;
	box-shadow: none;
	outline: none;
	transition: border-color 0.15s ease;
}

.elementor-form-fields-wrapper textarea.elementor-field-textual {
	height: auto;
	min-height: 140px;
	padding: 12px 14px;
	line-height: 1.6;
	resize: vertical;
}

.elementor-form-fields-wrapper .elementor-field-textual:focus {
	border-color: #111;
	box-shadow: none;
}

/* Submit button */
.elementor-form-fields-wrapper .e-form__buttons .elementor-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	height: 40px;
	background: #111;
	color: #fff;
	border: 0;
	border-radius: 0;
	padding: 0 32px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s ease;
}

/* Pasted content left stray <br> tags inside the button markup; in flex layout
   they occupy space and push the label off-center. Nuke them. */
.elementor-form-fields-wrapper .e-form__buttons .elementor-button > br,
.elementor-form-fields-wrapper .e-form__buttons .elementor-button .elementor-button-content-wrapper > br {
	display: none;
}

.elementor-form-fields-wrapper .e-form__buttons .elementor-button:hover {
	background: #333;
	color: #fff;
}

.elementor-form-fields-wrapper .e-form__buttons .elementor-button .elementor-button-text { padding: 0; }
