/* Boston Shoe Valet theme */
:root {
	--ink: #1F1B16;
	--bone: #F5F1EA;
	--sand: #ECE4D8;
	--ox: #6B1E28;
	--ox-dark: #521620;
	--gold: #7A5C22;
	--gold-soft: #D8B877;
	--muted: #5E574D;
	--line: #D8CEBF;
	--line-strong: #B9AC98;
	--white: #FFFFFF;
	--serif: 'Fraunces', Georgia, serif;
	--sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 24px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bone); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--ox); }
a:hover { color: var(--ox-dark); }
:focus-visible { outline: 3px solid rgba(107, 30, 40, .4); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.bsvt-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bone); padding: 10px 16px; border-radius: 8px; }
.bsvt-skip:focus { left: 8px; }

.bsvt-wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.bsvt-wrap--narrow { max-width: 880px; }
.bsvt-center { text-align: center; }
.bsvt-mx-auto { margin-left: auto !important; margin-right: auto !important; }
.bsvt-measure { max-width: 680px; }
.bsvt-muted { color: var(--muted); }

/* Type */
.bsvt-display { font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 20px; }
.bsvt-h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 12px; }
.bsvt-h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 0 0 8px; }
.bsvt-lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); margin: 0 0 32px; }
.bsvt-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.bsvt-eyebrow--gold { color: var(--gold-soft); }

/* Buttons */
.bsvt-btn, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
	background: var(--ox); color: var(--bone) !important; font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s;
}
.bsvt-btn:hover, .woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--ox-dark); color: var(--bone); }
.bsvt-btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.bsvt-btn--square { border-radius: 12px; min-height: 56px; }
.bsvt-btn--ink { background: var(--ink); }
.bsvt-btn--light { background: var(--bone); color: var(--ox) !important; }
.bsvt-btn--light:hover { background: var(--white); color: var(--ox) !important; }
.bsvt-btn--line { background: transparent; color: var(--ink) !important; border: 1.5px solid var(--ink); }
.bsvt-btn--line:hover { background: var(--sand); color: var(--ink) !important; }
.bsvt-btn--block { width: 100%; }
.bsvt-link { font-weight: 600; font-size: 17px; }
.bsvt-link--light { color: var(--bone); }
.bsvt-link--light:hover { color: var(--white); }
.bsvt-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; }

/* Header */
.bsvt-header { border-bottom: 1px solid var(--line); background: var(--bone); position: relative; z-index: 20; }
.bsvt-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.bsvt-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.bsvt-brand:hover { color: var(--ink); }
.bsvt-brand__mark { flex: 0 0 auto; }
.bsvt-brand__text { display: flex; flex-direction: column; gap: 3px; }
.bsvt-brand__name { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.bsvt-brand__by { font-size: 10.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); line-height: 1.2; }
.bsvt-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.bsvt-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.bsvt-menu a, .bsvt-nav__account { color: var(--ink); text-decoration: none; }
.bsvt-menu a:hover, .bsvt-nav__account:hover { color: var(--ox); }
.bsvt-menu .current-menu-item > a { color: var(--ox); font-weight: 600; }
.bsvt-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1040px) {
	.bsvt-menu-toggle { display: inline-flex; }
	.bsvt-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--bone); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(31, 27, 22, .08); }
	.bsvt-nav-open .bsvt-nav { display: flex; }
	.bsvt-menu { flex-direction: column; gap: 0; }
	.bsvt-menu a, .bsvt-nav__account { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
	.bsvt-nav .bsvt-btn { margin-top: 16px; }
	.bsvt-brand__name { font-size: 18px; }
	.bsvt-brand__by { font-size: 9.5px; }
	.bsvt-brand__mark { width: 38px; height: 38px; }
}

/* Main sections */
.bsvt-main { min-height: 50vh; }
.bsvt-section { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.bsvt-section--sand { background: var(--sand); }
.bsvt-section--ink { background: var(--ink); color: var(--bone); }
.bsvt-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 36px; }
.bsvt-section__head .bsvt-lead { margin: 0; }

/* Hero */
.bsvt-hero { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 64px); align-items: center; padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(56px, 8vw, 96px); }
.bsvt-hero__copy { flex: 1 1 520px; min-width: 0; }
.bsvt-hero__art { flex: 1 1 380px; min-width: 0; max-width: 440px; margin: 0 auto; position: relative; }
.bsvt-hero__art > img { display: block; width: 100%; height: 400px; object-fit: cover; object-position: 50% 45%; border-radius: 20px; }
.bsvt-zipform { max-width: 520px; display: flex; flex-direction: column; gap: 10px; }
.bsvt-zipform label { font-size: 15px; font-weight: 600; }
.bsvt-zipform__row { display: flex; flex-wrap: wrap; gap: 10px; }
.bsvt-zipform input { flex: 1 1 200px; min-width: 0; height: 56px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--white); font: inherit; font-size: 18px; color: var(--ink); }
.bsvt-zipform__offer { margin: 6px 0 0; font-size: 15px; color: var(--muted); }

/* Claim tag card */
.bsvt-tagcard { position: relative; margin: -56px 0 0 auto; width: 280px; background: var(--white); border: 1.5px solid var(--ink); border-radius: 14px; padding: 24px 24px 20px; }
.bsvt-tagcard__hole { position: absolute; top: 14px; right: 18px; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--bone); }
.bsvt-tagcard .bsvt-eyebrow { font-size: 12px; margin: 0; }
.bsvt-tagcard__no { margin: 2px 0 14px; font-family: var(--serif); font-size: 34px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bsvt-tagcard dl { margin: 0; border-top: 1.5px dashed var(--line-strong); padding-top: 14px; display: grid; gap: 6px; font-size: 14px; }
.bsvt-tagcard dl > div { display: flex; justify-content: space-between; gap: 12px; }
.bsvt-tagcard dt { color: var(--muted); }
.bsvt-tagcard dd { margin: 0; font-weight: 600; }
.bsvt-tagcard .is-accent { color: var(--ox); }

/* How it works */
.bsvt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.bsvt-steps li { background: var(--bone); border-radius: 16px; padding: 28px; }
.bsvt-steps span { display: block; margin-bottom: 16px; font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--ox); line-height: 1; }
.bsvt-steps h3 { margin: 0 0 8px; font-size: 20px; }
.bsvt-steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* Prices */
.bsvt-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.bsvt-price { background: var(--bone); padding: 24px; display: flex; justify-content: space-between; gap: 16px; }
.bsvt-price h3 { margin: 0 0 4px; font-size: 18px; }
.bsvt-price p { margin: 0; font-size: 15px; color: var(--muted); }
.bsvt-price .bsvt-price__amount { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.bsvt-price .bsvt-price__amount.is-quote { font-family: var(--sans); font-size: 16px; color: var(--ox); }

/* Offer band */
.bsvt-band { background: var(--ox); color: var(--bone); }
.bsvt-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.bsvt-band h2 { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(26px, 3vw, 32px); font-weight: 600; }
.bsvt-band p { margin: 0; color: #EADCD8; }

/* Map */
.bsvt-map { margin: 0 auto 28px; max-width: 820px; }
.bsvt-map img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line); }

/* Story */
.bsvt-split { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 56px); align-items: center; }
.bsvt-split > * { flex: 1 1 420px; min-width: 0; }
.bsvt-ba { margin: 0; position: relative; }
.bsvt-ba img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; }
.bsvt-ba__before, .bsvt-ba__after { position: absolute; left: 16px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.bsvt-ba__before { top: 16px; background: var(--bone); color: var(--ink); }
.bsvt-ba__after { top: calc(50% - 10px); background: var(--ox); color: var(--bone); }
.bsvt-ba figcaption { margin-top: 14px; font-size: 14px; color: #C9BFB0; }
.bsvt-section--ink .bsvt-h1 { color: var(--bone); }
.bsvt-story { margin: 0 0 16px; font-size: 18px; color: #C9BFB0; }
.bsvt-rounded { border-radius: 20px; object-fit: cover; height: 300px; width: 100%; }

/* Trust */
.bsvt-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: 36px; }
.bsvt-trust h3 { margin: 12px 0 6px; font-size: 19px; }
.bsvt-trust p { margin: 0; color: var(--muted); font-size: 16px; }

/* FAQ */
.bsvt-faq { padding-top: 0; }
.bsvt-faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.bsvt-faq details:first-of-type { border-top: 1px solid var(--line); margin-top: 24px; }
.bsvt-faq summary { font-size: 19px; font-weight: 600; cursor: pointer; }
.bsvt-faq details p { margin: 12px 0 0; color: var(--muted); font-size: 16px; }

/* Mobile sticky booking button on the homepage */
.bsvt-mobile-cta { display: none; }
@media (max-width: 640px) {
	.home .bsvt-mobile-cta { display: block; position: sticky; bottom: 0; z-index: 15; padding: 12px var(--gutter); background: var(--bone); border-top: 1px solid var(--line); }
	.bsvt-hero__art > img { height: 280px; }
	.bsvt-tagcard { width: 250px; margin-top: -48px; }
}

/* Footer */
.bsvt-footer { background: var(--ink); color: #C9BFB0; font-size: 15px; }
.bsvt-footer a { color: var(--bone); text-decoration: none; }
.bsvt-footer a:hover { color: var(--white); text-decoration: underline; }
.bsvt-footer__top { display: flex; flex-wrap: wrap; gap: 40px 48px; justify-content: space-between; padding-top: 64px; padding-bottom: 40px; }
.bsvt-footer__about { flex: 1 1 280px; max-width: 380px; }
.bsvt-footer__about p { margin: 0; }
.bsvt-footer .bsvt-footer__name { margin: 0 0 12px; font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--bone); }
.bsvt-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bsvt-footer__contact { display: flex; flex-direction: column; gap: 10px; }
.bsvt-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-bottom: 32px; font-size: 14px; }
.bsvt-footer__bottom a { color: #C9BFB0; }
.bsvt-footer__credit { margin-left: auto; }

/* Pages */
.bsvt-page { padding-top: clamp(32px, 6vw, 56px); padding-bottom: clamp(56px, 8vw, 88px); }
.bsvt-page--app { padding-top: clamp(28px, 5vw, 48px); }
.bsvt-legal-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.bsvt-toc { flex: 1 1 240px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; font-size: 15px; }
.bsvt-toc__title { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.bsvt-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.bsvt-prose { flex: 999 1 640px; min-width: 0; max-width: 760px; line-height: 1.65; }
.bsvt-prose--wide { max-width: none; }
.bsvt-prose h2 { font-family: var(--serif); font-size: 28px; font-weight: 600; margin: 40px 0 10px; scroll-margin-top: 24px; }
.bsvt-prose h2:first-child, .bsvt-prose .bsv-lead + h2 { margin-top: 0; }
.bsvt-prose ul, .bsvt-prose ol { padding-left: 22px; }
.bsvt-prose li { margin-bottom: 8px; }
.bsvt-prose .bsv-lead { font-size: 19px; color: var(--muted); margin: 0 0 40px; }
.bsvt-prose .bsv-callout { background: var(--white); border: 1.5px solid var(--ox); border-radius: 14px; padding: 18px 20px; }

/* 404 */
.bsvt-404 { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; justify-content: center; padding-top: 72px; padding-bottom: 96px; }
.bsvt-404__copy { flex: 1 1 420px; max-width: 540px; }
.bsvt-tagcard--404 { margin: 0; width: 300px; transform: rotate(-4deg); }
.bsvt-tagcard--404 .bsvt-tagcard__no { font-size: 60px; line-height: 1; }

/* Posts */
.bsvt-post { padding: 24px 0; border-bottom: 1px solid var(--line); }

/* ---------- WooCommerce ---------- */
.woocommerce form .form-row label { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text, .select2-container .select2-selection--single {
	min-height: 50px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--white); font: inherit; color: var(--ink);
}
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 28px; padding-left: 0; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; }
.woocommerce form .form-row textarea { min-height: 110px; }
.woocommerce form .form-row input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--ox); vertical-align: -4px; margin-right: 8px; }
.woocommerce-error, .woocommerce-info, .woocommerce-message { border-top: 0; border-radius: 12px; background: var(--white); border-left: 4px solid var(--ox); padding: 16px 20px 16px 52px; }
.woocommerce-info::before, .woocommerce-message::before { color: var(--ox); }

/* Checkout */
.woocommerce-checkout .bsvt-page__title { display: none; }
.woocommerce-checkout form.checkout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { flex: 1 1 100%; }
.woocommerce-checkout #customer_details { flex: 999 1 560px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 36px); }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; }
.woocommerce-checkout #order_review_heading { display: none; }
.woocommerce-checkout #order_review { flex: 1 1 340px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.woocommerce-checkout h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 0 0 16px; }
.woocommerce-checkout .woocommerce-additional-fields h3 { margin-top: 24px; }
.woocommerce-checkout-review-order-table { border: 0 !important; font-size: 15px; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { border-color: var(--line) !important; padding: 10px 0 !important; }
.woocommerce-checkout-review-order-table .order-total { font-size: 18px; }
.woocommerce-checkout #payment { background: var(--bone); border-radius: 14px; }
.woocommerce-checkout #payment div.payment_box { background: var(--white); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--white); }
.woocommerce-checkout #place_order { width: 100%; min-height: 56px; font-size: 17px; float: none; }
.woocommerce-checkout .woocommerce-form-coupon-toggle { display: none; }

/* Order received */
.woocommerce-order-received .bsvt-page__title { display: none; }
.woocommerce-order .woocommerce-thankyou-order-received { font-size: 18px; color: var(--muted); }
.woocommerce ul.order_details { display: none; }

/* My account */
.woocommerce-account .woocommerce { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.woocommerce-account .woocommerce-MyAccount-navigation { flex: 1 1 220px; float: none; width: auto; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 12px 16px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--white); border: 1px solid var(--line); font-weight: 600; }
.woocommerce-account .woocommerce-MyAccount-content { flex: 999 1 640px; min-width: 0; float: none; width: auto; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 32px); }
.woocommerce-account table.shop_table { border-radius: 12px; border-color: var(--line); }
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button { min-height: 40px; padding: 0 16px; font-size: 14px; margin: 2px; }
.bsvt-account-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }

/* Sign in / register */
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.bsvt-login-intro { margin-bottom: 28px; max-width: 640px; }
.woocommerce-account #customer_login { display: flex; flex-wrap: wrap; gap: 32px; }
.woocommerce-account #customer_login .u-column1, .woocommerce-account #customer_login .u-column2 { flex: 1 1 380px; float: none; width: auto; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); }
.woocommerce-account #customer_login h2 { font-family: var(--serif); font-size: 28px; font-weight: 600; margin: 0 0 16px; }
.woocommerce-account form.login, .woocommerce-account form.register { border: 0 !important; padding: 0 !important; margin: 0 !important; }
.woocommerce-account .woocommerce-form-login__submit, .woocommerce-account .woocommerce-form-register__submit { width: 100%; margin-top: 8px; }
.woocommerce-account .lost_password { margin-top: 12px; }
