/* Haizum Marine: inner pages, shop, product, cart, checkout. Builds on main.css tokens. */

.skip-link:focus { position: fixed !important; left: 12px; top: 12px; width: auto; height: auto; clip: auto; z-index: 100; padding: 12px 18px; background: #fff; color: var(--aqua-ink); border-radius: 12px; font-weight: 700; }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(90px, 10vw, 140px); background: radial-gradient(120% 90% at 80% 0%, #1f7cff 0%, var(--abyss) 55%, var(--deep) 100%); }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media + .rays { z-index: -1; }
.page-hero:has(.page-hero-media)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 52, 190, .92), rgba(10, 70, 210, .6) 55%, rgba(10, 80, 220, .25)); }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(40px, 6vw, 80px); max-width: 16ch; margin-bottom: 18px; animation: pop-in 1s cubic-bezier(.2, 1.5, .4, 1) both; }
.page-hero .lead { max-width: 60ch; font-weight: 600; animation: pop-in 1s .12s cubic-bezier(.2, 1.4, .4, 1) both; }
.page-hero .hero-ctas { margin-top: 28px; }
.page-hero .waves svg { fill: var(--abyss); }
.page-hero--compact { padding-bottom: clamp(80px, 8vw, 110px); }
.page-hero--compact h1 { font-size: clamp(38px, 5vw, 64px); }
.page-hero--post h1 { font-size: clamp(32px, 4.4vw, 58px); max-width: 24ch; text-transform: none; }
.page-hero .fish-pair { --size: 160px !important; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 600 14px var(--font-display); color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: #fff; opacity: .85; }
.crumbs a:hover { opacity: 1; color: var(--aqua); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Prose (posts, generic pages, product description) ---------- */
.prose-wrap { max-width: 860px; }
.prose { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); text-transform: none; color: #fff; margin-top: 1.8em; text-shadow: none; }
.prose h3 { font-size: 22px; color: #fff; margin-top: 1.5em; }
.prose a { color: var(--aqua); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: #fff; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--aqua); }
.prose img { border-radius: var(--radius-sm); }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 5px solid var(--aqua); background: rgba(255, 255, 255, .08); border-radius: 0 16px 16px 0; color: #fff; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--navy); border-radius: 20px; overflow: hidden; font-size: 15px; border: 2px solid rgba(255, 255, 255, .12); }
.prose th, .prose td { padding: 12px 18px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .1); vertical-align: top; }
.prose tr:last-child th, .prose tr:last-child td { border-bottom: 0; }
.prose th { width: 38%; color: var(--aqua); font: 600 15px var(--font-display); }
.prose td { color: #fff; }
.prose figure { margin: 0; }
.prose figcaption, .prose .wp-caption-text { font-size: 13px; color: var(--muted); margin-top: 6px; }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); border: 3px solid rgba(255, 255, 255, .16); }
.post-updated { font-size: 14px; color: var(--muted); }

.post-grid, .product-details-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.product-aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.aside-card { position: relative; padding: 28px; border-radius: var(--radius); background: var(--navy); border: 2px solid rgba(255, 255, 255, .14); }
.aside-card h3 { font-size: 22px; margin-bottom: 8px; }
.aside-card p { color: var(--ink-2); font-size: 15px; }
.aside-card .btn { width: 100%; }
.aside-card--alt { background: rgba(255, 255, 255, .08); }
.aside-card .sticker { position: absolute; }

/* ---------- Search form ---------- */
.search-form { display: flex; gap: 10px; }
.search-form input[type=search] { flex: 1; min-width: 0; }

/* ---------- Form fields (contact, checkout, account) ---------- */
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], select, textarea, .select2-container .select2-selection--single {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 2px solid transparent; background: #fff; color: #0a2a6b;
  font: 600 16px var(--font-body); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
textarea { min-height: 120px; resize: vertical; }
select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2a6b' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(63, 216, 255, .35); }
label { display: block; font: 600 15px var(--font-display); color: #fff; }
label > input, label > select, label > textarea { margin-top: 8px; }
::placeholder { color: #7c8fb8; font-weight: 500; }

/* ---------- Shop ---------- */
.page-hero--shop h1 { font-size: clamp(38px, 5.4vw, 72px); }
.section--shop { padding-top: 24px; }
.shop-chips { margin: 0 0 22px; }
.chip.is-active { background: var(--aqua); color: var(--aqua-ink); border-color: var(--aqua); }
button.chip { cursor: pointer; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 26px; border-radius: 999px; background: var(--navy); border: 2px solid rgba(255, 255, 255, .12); }
.shop-toolbar .woocommerce-result-count { margin: 0 0 0 8px; font: 600 15px var(--font-display); color: var(--ink-2); }
.shop-toolbar-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { min-height: 44px; border-radius: 999px; padding: 8px 44px 8px 18px; font-size: 15px; width: auto; }
.toggle { display: inline-flex; align-items: center; gap: 10px; font: 600 15px var(--font-display); color: #fff; }
.toggle-dot { position: relative; width: 46px; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, .2); transition: background .2s; }
.toggle-dot::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle.is-on .toggle-dot { background: var(--wa); }
.toggle.is-on .toggle-dot::after { transform: translateX(20px); }
.toggle:hover { color: var(--aqua); }
.p-card .added_to_cart { display: none; }
.p-add.loading { opacity: .6; pointer-events: none; }
.p-add.added { background: var(--wa); color: #fff; }
.p-add--wa { background: var(--wa); color: #fff; box-shadow: 0 4px 0 #149a48; }
.p-noimg { display: grid; place-items: center; width: 100%; height: 100%; padding: 22%; background: radial-gradient(circle, #3a8bff, #1f6ef0); }
.p-noimg .cf { width: 100%; }
.p-badge--out { background: #fff; color: #0a2a6b; }
.price .woocommerce-Price-currencySymbol { margin-right: 1px; }
.price del { opacity: .7; }

.woocommerce-pagination, .pagination { margin-top: 44px; display: flex; justify-content: center; }
.woocommerce-pagination ul, .pagination { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.woocommerce-pagination .page-numbers, .pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 999px; background: var(--navy); border: 2px solid rgba(255, 255, 255, .14); font: 600 16px var(--font-display); color: #fff; }
.woocommerce-pagination .page-numbers.current, .pagination .page-numbers.current, .page-numbers:hover { background: var(--aqua); color: var(--aqua-ink); border-color: var(--aqua); }
.woocommerce-pagination li { list-style: none; }
.woocommerce-pagination ul.page-numbers { display: flex; height: auto; min-width: 0; padding: 0; border: 0; background: none; border-radius: 0; }

.empty-state { max-width: 560px; margin: 20px auto; text-align: center; padding: 40px 28px; border-radius: var(--radius); background: var(--navy); border: 2px solid rgba(255, 255, 255, .14); }
.empty-state .cf { width: 140px; margin: 0 auto 18px; animation: fish-bob 3s ease-in-out infinite; }
.empty-state h2 { font-size: clamp(28px, 4vw, 40px); }
.empty-state p { color: var(--ink-2); }

/* ---------- Single product ---------- */
.product-top { position: relative; isolation: isolate; overflow: hidden; padding: 34px 0 110px; background: radial-gradient(110% 90% at 85% 0%, #1f7cff 0%, var(--abyss) 60%); }
.product-top .waves svg { fill: var(--abyss); }
.product-top > .wrap { position: relative; z-index: 2; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.pg-main { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #1f6ef0; border: 3px solid rgba(255, 255, 255, .2); box-shadow: var(--shadow); }
.pg-main img { width: 100%; height: 100%; object-fit: cover; }
.pg-main .p-badge { top: 18px; left: 18px; font-size: 13px; padding: 7px 14px; }
.pg-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pg-thumb { width: 78px; height: 78px; padding: 0; border-radius: 16px; overflow: hidden; border: 3px solid transparent; background: var(--navy); cursor: pointer; }
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pg-thumb.is-active { border-color: var(--aqua); }
.summary .product_title { font-size: clamp(32px, 4vw, 52px); text-transform: none; margin-bottom: 14px; }
.summary > .price { display: block; font-size: 34px; margin-bottom: 18px; }
.summary .woocommerce-product-details__short-description { color: var(--ink-2); font-size: 17px; margin-bottom: 22px; }
.summary .woocommerce-product-details__short-description p { margin: 0 0 .6em; }
.summary .stock { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font: 600 14px var(--font-display); background: rgba(37, 211, 102, .18); color: #b9ffd4; margin: 0 0 16px; }
.summary .stock.out-of-stock { background: rgba(255, 255, 255, .14); color: #fff; }
form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 0 0 16px; }
form.cart .quantity input.qty { width: 92px; min-height: 54px; text-align: center; border-radius: 999px; font: 700 18px var(--font-display); }
.single_add_to_cart_button, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, a.checkout-button, #place_order, .woocommerce-Button, .wc-backward, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--aqua); color: var(--aqua-ink); font: 600 16px/1 var(--font-display); text-transform: uppercase; letter-spacing: .04em; box-shadow: 0 6px 0 #0b86c9; transition: transform .15s, box-shadow .15s;
}
.single_add_to_cart_button:hover, .button:hover, #place_order:hover { color: var(--aqua-ink); transform: translateY(-2px); box-shadow: 0 8px 0 #0b86c9; }
.button:disabled, .button.disabled { opacity: .55; cursor: not-allowed; }
form.cart .single_add_to_cart_button { flex: 1; min-width: 200px; }
.variations { width: 100%; margin-bottom: 14px; border-collapse: collapse; }
.variations th, .variations td { padding: 6px 0; text-align: left; display: block; }
.variations label { margin: 0; }
.reset_variations { display: inline-block; margin-top: 8px; color: var(--aqua); font-size: 14px; }
.single_variation_wrap { width: 100%; }
.woocommerce-variation-price .price { font-size: 26px; }
.woocommerce-variation-add-to-cart { display: flex; gap: 12px; flex-wrap: wrap; width: 100%; }
.hzwa-ask { margin: 0 0 18px; }
.hzwa-ask a { width: 100%; justify-content: center; min-height: 54px; border-radius: 999px !important; padding: 0 24px !important; font: 600 16px/1.2 var(--font-display) !important; text-transform: uppercase; letter-spacing: .04em; box-shadow: 0 6px 0 #149a48; text-align: center; }
.hzwa-ask a:hover { color: #fff !important; transform: translateY(-2px); }
.buy-points { list-style: none; padding: 18px 20px; margin: 4px 0 20px; display: grid; gap: 12px; border-radius: 22px; background: var(--navy); border: 2px solid rgba(255, 255, 255, .12); }
.buy-points li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.buy-points .ico { width: 22px; height: 22px; color: var(--aqua); margin-top: 1px; }
.buy-points strong { color: #fff; }
.product_meta { font-size: 14px; color: var(--muted); display: grid; gap: 4px; }
.product_meta a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.product-details { padding-top: 40px; }
.product-desc h2:first-child { margin-top: 0; }
.related-wrap .related > h2 { display: none; }

/* ---------- Notices ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, .wc-block-components-notice-banner {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 22px; padding: 16px 22px; border-radius: 20px;
  background: #fff; color: #0a2a6b; font-weight: 700; border-left: 8px solid var(--aqua);
}
.woocommerce-error { border-left-color: #ff5a5a; }
.woocommerce-error li { list-style: none; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 42px; font-size: 14px; order: 2; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button) { color: #0b5ce6; text-decoration: underline; }

/* ---------- Cart & checkout ---------- */
.wc-page { max-width: 1160px; }
.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--navy); border: 2px solid rgba(255, 255, 255, .12); border-radius: 24px; overflow: hidden; }
.shop_table th, .shop_table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .1); vertical-align: middle; }
.shop_table thead th { font: 600 14px var(--font-display); text-transform: uppercase; letter-spacing: .08em; color: var(--aqua); background: rgba(0, 0, 0, .12); }
.shop_table tr:last-child td, .shop_table tr:last-child th { border-bottom: 0; }
.shop_table .product-thumbnail img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; }
.shop_table .product-name a { font: 600 17px var(--font-display); color: #fff; }
.shop_table .product-remove a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; line-height: 1; }
.shop_table .product-remove a:hover { background: #ff5a5a; }
.shop_table .quantity .qty { width: 84px; min-height: 44px; text-align: center; border-radius: 999px; }
.shop_table .amount { font: 700 17px var(--font-display); color: var(--coral); }
.shop_table td.actions { background: rgba(0, 0, 0, .1); }
.shop_table td.actions .coupon { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.shop_table td.actions .coupon input { width: 200px; min-height: 48px; }
.shop_table td.actions > .button { float: right; }
.cart-collaterals { display: flex; justify-content: flex-end; margin-top: 28px; }
.cart_totals { width: min(460px, 100%); }
.cart_totals h2 { font-size: 28px; }
.cart_totals .shop_table th { width: 40%; color: var(--ink-2); }
.cart_totals .order-total .amount { font-size: 24px; }
.wc-proceed-to-checkout { margin-top: 18px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 60px; font-size: 18px; }
.woocommerce-shipping-methods { list-style: none; padding: 0; margin: 0; }
.cart-empty.woocommerce-info { justify-content: center; }
.return-to-shop { text-align: center; }
.screen-reader-text + .button { margin: 0; }

form.checkout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: start; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
form.checkout #customer_details, form.checkout .col2-set { display: grid; gap: 24px; }
#customer_details .col-1, #customer_details .col-2 { padding: 28px; border-radius: 24px; background: var(--navy); border: 2px solid rgba(255, 255, 255, .12); }
#customer_details h3, #order_review_heading { font-size: 26px; margin-bottom: 18px; }
#order_review_heading { grid-column: 2; grid-row: 1; margin: 0; align-self: end; }
#order_review { grid-column: 2; padding: 24px; border-radius: 24px; background: var(--navy); border: 2px solid rgba(255, 255, 255, .12); position: sticky; top: 100px; }
form.checkout #customer_details { grid-row: 1 / span 2; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper { display: flex; flex-wrap: wrap; gap: 0 16px; }
.form-row { flex: 1 1 100%; margin: 0 0 16px; padding: 0; }
.form-row-first, .form-row-last { flex: 1 1 calc(50% - 8px); }
.form-row label { margin-bottom: 8px; font-size: 14px; }
.form-row .required { color: var(--coral); text-decoration: none; border: 0; }
.form-row .optional { color: var(--muted); font-weight: 500; }
.form-row.woocommerce-invalid input { border-color: #ff5a5a; }
.woocommerce-input-wrapper { display: block; }
#order_review .shop_table { background: transparent; border: 0; border-radius: 0; }
#order_review .shop_table th, #order_review .shop_table td { padding: 12px 6px; }
#order_review .shop_table thead th { background: transparent; }
#payment { margin-top: 16px; }
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
#payment li.wc_payment_method { padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 2px solid rgba(37, 211, 102, .5); }
#payment li.wc_payment_method > label { display: inline; font-size: 17px; }
#payment .payment_box { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
#payment .payment_box p { margin: 0; }
#payment input[type=radio] { accent-color: var(--wa); }
.woocommerce-privacy-policy-text { font-size: 13px; color: var(--muted); }
.woocommerce-privacy-policy-text a { color: var(--ink-2); text-decoration: underline; }
#place_order { width: 100%; min-height: 62px; font-size: 17px; background: var(--wa); color: #04210f; box-shadow: 0 6px 0 #149a48; margin-top: 12px; }
#place_order:hover { color: #04210f; box-shadow: 0 8px 0 #149a48; }
.woocommerce-form-coupon-toggle .woocommerce-info { justify-content: flex-start; }
.checkout_coupon { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; padding: 18px; border-radius: 20px; background: var(--navy); }
.checkout_coupon p { margin: 0; }
.woocommerce-terms-and-conditions-wrapper { margin: 12px 0; }
.blockUI.blockOverlay { background: rgba(8, 35, 110, .5) !important; border-radius: 24px; }

/* Thank-you page */
.woocommerce-order { display: grid; gap: 22px; }
.woocommerce-thankyou-order-received { font: 600 22px var(--font-display); color: #fff; }
ul.woocommerce-order-overview { list-style: none; padding: 20px; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; border-radius: 22px; background: var(--navy); }
ul.woocommerce-order-overview li { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
ul.woocommerce-order-overview strong { display: block; margin-top: 4px; color: #fff; font: 600 17px var(--font-display); text-transform: none; letter-spacing: 0; }
.hzwa-thanks { background: var(--navy) !important; border-radius: 24px !important; border-width: 3px !important; }
.hzwa-thanks .button { background: var(--wa) !important; color: #04210f !important; box-shadow: 0 6px 0 #149a48; border-radius: 999px !important; }
.woocommerce-customer-details address { font-style: normal; padding: 20px; border-radius: 20px; background: var(--navy); color: var(--ink-2); }
.woocommerce-order-details h2, .woocommerce-customer-details h2 { font-size: 26px; }

/* My account */
.woocommerce-account .wc-content > .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 10px; margin: 0; border-radius: 22px; background: var(--navy); display: grid; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 12px 16px; border-radius: 14px; font: 600 16px var(--font-display); }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--aqua); color: var(--aqua-ink); }
.woocommerce-form-login, .woocommerce-form-register, .woocommerce-EditAccountForm, .woocommerce-address-fields { padding: 28px; border-radius: 24px; background: var(--navy); }
#customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.lost_password a { color: var(--aqua); }

/* select2 (state dropdown on checkout) */
.select2-container { width: 100% !important; }
.select2-container .select2-selection--single { display: flex; align-items: center; height: auto; }
.select2-container .select2-selection__rendered { padding: 0 !important; color: #0a2a6b !important; line-height: 1.4 !important; }
.select2-container .select2-selection__arrow { top: 12px !important; right: 12px !important; }
.select2-dropdown { border: 0 !important; border-radius: 14px !important; overflow: hidden; box-shadow: var(--shadow); }
.select2-results__option { color: #0a2a6b; padding: 8px 14px; }
.select2-results__option--highlighted { background: var(--aqua) !important; color: var(--aqua-ink) !important; }
.select2-search__field { min-height: 40px !important; }

/* ---------- Services page ---------- */
.services-detail .wrap { display: grid; gap: clamp(56px, 8vw, 110px); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; scroll-margin-top: 110px; }
.svc-row--flip .svc-media { order: 2; }
.svc-media { position: relative; }
.svc-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 3px solid rgba(255, 255, 255, .18); box-shadow: var(--shadow); }
.svc-num { position: absolute; left: -14px; top: -18px; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--aqua); color: var(--aqua-ink); font: 700 28px var(--font-display); box-shadow: 0 6px 0 #0b86c9; transform: rotate(-6deg); }
.svc-body h2 { font-size: clamp(32px, 4vw, 50px); }
.faq-wrap { max-width: 900px; }
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: 22px; background: var(--navy); border: 2px solid rgba(255, 255, 255, .12); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font: 600 19px var(--font-display); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--aqua); color: var(--aqua-ink); transition: transform .25s; }
.faq-item[open] summary .ico { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; margin: 0; color: var(--ink-2); }

/* ---------- Projects page ---------- */
.project-filters { margin: 0 0 28px; }
.masonry { columns: 3 300px; column-gap: 16px; }
.m-item { position: relative; margin: 0 0 16px; break-inside: avoid; border-radius: var(--radius-sm); overflow: hidden; border: 3px solid rgba(255, 255, 255, .16); background: var(--navy); }
.m-item img { width: 100%; transition: transform .6s; }
.m-item:hover img { transform: scale(1.05); }
.m-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(0deg, rgba(8, 35, 110, .92), transparent); font: 600 15px var(--font-display); display: flex; align-items: center; gap: 10px; }
.m-tag { padding: 4px 10px; border-radius: 999px; background: var(--aqua); color: var(--aqua-ink); font-size: 12px; text-transform: uppercase; }
.m-item.is-hidden { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(4, 20, 80, .92); backdrop-filter: blur(8px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 80vh; border-radius: 20px; box-shadow: var(--shadow); }
.lightbox p { margin: 14px 0 0; text-align: center; font: 600 17px var(--font-display); }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--aqua); color: var(--aqua-ink); cursor: pointer; font-size: 26px; font-weight: 700; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; }
.lb-next { right: 18px; top: 50%; }
.lb-close .ico { width: 24px; height: 24px; }

/* ---------- About page ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 28px 24px; border-radius: var(--radius); background: var(--navy); border: 2px solid rgba(255, 255, 255, .12); }
.value-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--aqua); color: var(--aqua-ink); margin-bottom: 16px; }
.value-icon .ico { width: 28px; height: 28px; }
.value h3 { font-size: 21px; }
.value p { color: var(--ink-2); font-size: 15px; margin: 0; }
.facts--inline { margin: 0 0 20px; padding: 30px 0; }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.strip-item { aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; border: 3px solid rgba(255, 255, 255, .16); }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.strip-item:hover img { transform: scale(1.06); }

/* ---------- Contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 36px; }
.contact-card { padding: 28px; border-radius: var(--radius); background: var(--navy); border: 2px solid rgba(255, 255, 255, .12); transition: transform .3s, border-color .3s; }
.contact-card:hover { color: #fff; transform: translateY(-6px) rotate(-.6deg); border-color: var(--aqua); }
.contact-card h3 { font-size: 24px; margin: 16px 0 6px; }
.contact-card p { color: var(--ink-2); margin-bottom: 14px; }
.cc-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--aqua); color: var(--aqua-ink); }
.cc-icon--wa { background: var(--wa); color: #fff; }
.cc-icon .ico { width: 30px; height: 30px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.wa-form { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--navy); border: 2px solid rgba(255, 255, 255, .12); display: grid; gap: 16px; }
.wa-form h2 { font-size: clamp(30px, 3.6vw, 42px); margin: 0; }
.wa-form > p { color: var(--ink-2); margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.map-card { border-radius: var(--radius); overflow: hidden; border: 3px solid rgba(255, 255, 255, .18); min-height: 420px; background: var(--navy); }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Toast ---------- */
.hzm-toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 20px; border-radius: 999px; background: #fff; color: #0a2a6b; font: 600 16px var(--font-display); box-shadow: 0 20px 40px -12px rgba(4, 20, 80, .6); animation: pop-in .5s cubic-bezier(.2, 1.5, .4, 1) both; max-width: calc(100% - 32px); }
.hzm-toast a { padding: 8px 16px; border-radius: 999px; background: var(--aqua); color: var(--aqua-ink); white-space: nowrap; }
.hzm-toast[hidden], [hidden] { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .post-grid, .product-details-grid, .product-layout, .svc-row, .contact-grid, form.checkout { grid-template-columns: 1fr; }
  .svc-row--flip .svc-media { order: 0; }
  .product-aside, #order_review { position: static; }
  #order_review_heading, #order_review, form.checkout #customer_details { grid-column: auto; grid-row: auto; }
  .contact-cards { grid-template-columns: 1fr; }
  .woocommerce-account .wc-content > .woocommerce, #customer_login { grid-template-columns: 1fr; }
  .shop-toolbar { border-radius: 24px; }
}
@media (max-width: 680px) {
  .shop_table.cart thead { display: none; }
  .shop_table.cart tr.cart_item { display: grid; grid-template-columns: 72px 1fr auto; gap: 4px 14px; padding: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .shop_table.cart tr.cart_item td { border: 0; padding: 2px 0; }
  .shop_table.cart td.product-thumbnail { grid-row: span 3; }
  .shop_table.cart td.product-remove { grid-column: 3; grid-row: 1; }
  .shop_table.cart td.product-price { display: none; }
  .shop_table.cart td::before { display: none; }
  .shop_table td.actions > .button { float: none; width: 100%; margin-top: 10px; }
  .shop_table td.actions .coupon input { width: 100%; }
  .form-row-first, .form-row-last { flex-basis: 100%; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .values, .strip { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 38px; }
  .svc-num { width: 56px; height: 56px; font-size: 22px; left: 8px; }
  .search-form { flex-direction: column; }
  .shop-toolbar { padding: 14px; }
  .shop-toolbar .woocommerce-result-count { margin: 0; }
}
.footer-bottom { padding-bottom: 96px; }
/* Inner-page heroes: fish swim beside the text, not through it. */
@media (min-width: 900px) { .page-hero .school { left: 48%; } }
@media (max-width: 899px) { .page-hero .school { opacity: .45; } }
/* Checkout grid: row 1 = error notices (empty unless an error), row 2 = order heading, row 3 = order review. */
@media (min-width: 961px) {
  form.checkout { grid-template-rows: auto auto 1fr; row-gap: 0; column-gap: 36px; }
  form.checkout > .woocommerce-NoticeGroup { grid-row: 1; margin-bottom: 24px; }
  form.checkout #customer_details { grid-row: 2 / span 2; }
  #order_review_heading { grid-row: 2; align-self: start; margin: 0 0 16px; }
  #order_review { grid-row: 3; }
}
/* Phones: shop category chips scroll sideways in one row. */
@media (max-width: 700px) {
  .shop-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 4px 16px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .shop-chips::-webkit-scrollbar { display: none; }
  .shop-chips .chip { flex: none; white-space: nowrap; }
}
.p-add { flex: none; }
@media (max-width: 560px) {
  .p-foot { align-items: flex-end; gap: 6px; }
  .p-foot .price { font-size: 15px; line-height: 1.25; min-width: 0; }
  .p-foot .price del { display: block; margin: 0 0 2px; font-size: 12px; }
}
