/* Sauna Expert Builders — storefront styles.
   Design tokens come from the theme (:root); fallbacks keep the shop presentable if
   the plugin ever runs under a different theme. */

.se-shop-wrap { background: var(--se-cream, #f5f3ed); padding: 48px 0 80px; }
.se-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.se-container-narrow { max-width: 860px; }

.se-shop-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.se-shop-title { font-family: var(--se-font-head, Montserrat, sans-serif); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: var(--se-navy, #1f3a5f); margin: 0; }
.se-shop-sub { color: #6b6b6b; margin: 6px 0 0; max-width: 640px; }
.se-toolbar { display: flex; align-items: center; gap: 14px; }
.se-count { color: #8a8a8a; font-size: .9rem; white-space: nowrap; }
.se-sort { border: 1px solid #d8d3c6; border-radius: 8px; padding: 9px 12px; background: #fff; font: inherit; color: var(--se-ink, #333); }

/* Grid + cards */
.se-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px; }
.se-grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.se-card { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; border: 1px solid #e7e2d6; transition: transform .25s ease, box-shadow .25s ease; }
.se-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(31, 58, 95, .14); }
.se-card-media { position: relative; aspect-ratio: 1; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.se-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .35s ease; }
.se-card:hover .se-card-media img { transform: scale(1.045); }
.se-card-noimg { color: #c9c2b2; font-family: var(--se-font-head, Montserrat, sans-serif); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.se-badge { position: absolute; top: 12px; left: 12px; padding: 4px 11px; border-radius: 99px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.se-badge-sale { background: var(--se-flame, #f04f36); }
.se-badge-out { background: #8a8a8a; }
.se-card-body { display: flex; flex-direction: column; gap: 7px; padding: 16px 18px 20px; flex: 1; }
.se-card-vendor { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--se-bronze, #b08d57); }
.se-card-title { font-family: var(--se-font-head, Montserrat, sans-serif); font-size: .98rem; font-weight: 700; color: var(--se-navy, #1f3a5f); margin: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.se-card-price { display: flex; gap: 9px; align-items: baseline; margin-top: auto; font-size: 1.08rem; color: var(--se-navy, #1f3a5f); }
.se-card-price s { color: #a9a9a9; font-size: .88rem; }

/* Buttons */
.se-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--se-bronze, #b08d57); color: #fff; border: 0; border-radius: 10px; padding: 12px 26px; font-family: var(--se-font-head, Montserrat, sans-serif); font-weight: 700; font-size: .92rem; cursor: pointer; text-decoration: none; transition: background .2s ease, transform .15s ease; }
.se-btn:hover { background: #9a7a49; transform: translateY(-1px); color: #fff; }
.se-btn-lg { padding: 16px 36px; font-size: 1rem; }
.se-btn-card { margin-top: 10px; padding: 10px 14px; font-size: .84rem; }
.se-btn-ghost { background: transparent; color: var(--se-navy, #1f3a5f); border: 1.5px solid #c9d3dc; }
.se-btn-ghost:hover { background: #eef1f4; color: var(--se-navy, #1f3a5f); transform: none; }

/* Pagination */
.se-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.se-pagination a, .se-page-current { padding: 9px 15px; border-radius: 8px; text-decoration: none; font-weight: 600; color: var(--se-navy, #1f3a5f); background: #fff; border: 1px solid #e0dacc; }
.se-pagination a:hover { border-color: var(--se-bronze, #b08d57); }
.se-page-current { background: var(--se-navy, #1f3a5f); color: #fff; border-color: var(--se-navy, #1f3a5f); }

.se-empty { background: #fff; border: 1px dashed #d8d3c6; border-radius: 12px; padding: 40px; text-align: center; color: #6b6b6b; }
.se-empty a { color: var(--se-bronze, #b08d57); font-weight: 700; }

/* Collection cards */
.se-collection-strip { margin-top: 64px; }
.se-collection-strip h2, .se-related h2 { font-family: var(--se-font-head, Montserrat, sans-serif); font-weight: 800; color: var(--se-navy, #1f3a5f); font-size: 1.5rem; margin: 0 0 18px; }
.se-collection-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.se-collection-cards-lg { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-bottom: 36px; }
.se-collection-card { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--se-navy, #1f3a5f); text-decoration: none; }
.se-collection-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .35s ease; }
.se-collection-card:hover img { transform: scale(1.06); }
.se-collection-card span { position: relative; width: 100%; padding: 30px 14px 12px; color: #fff; font-family: var(--se-font-head, Montserrat, sans-serif); font-weight: 700; font-size: .92rem; background: linear-gradient(transparent, rgba(15, 26, 42, .88)); }
.se-collection-card span small { opacity: .75; font-weight: 400; margin-left: 5px; }
.se-collection-index { columns: 3 240px; gap: 32px; margin-top: 8px; }
.se-collection-index a { display: block; padding: 7px 0; color: var(--se-ink, #333); text-decoration: none; border-bottom: 1px solid #e7e2d6; }
.se-collection-index a:hover { color: var(--se-bronze, #b08d57); }
.se-collection-index em { color: #a9a9a9; font-style: normal; font-size: .84rem; }

/* Breadcrumb */
.se-breadcrumb { display: flex; gap: 8px; font-size: .86rem; color: #8a8a8a; margin-bottom: 22px; }
.se-breadcrumb a { color: var(--se-bronze, #b08d57); text-decoration: none; font-weight: 600; }

/* Product page */
.se-product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .se-product { grid-template-columns: 1fr; gap: 28px; } }
.se-product-main-img { position: relative; background: #fff; border: 1px solid #e7e2d6; border-radius: 16px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.se-product-main-img img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.se-product-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.se-thumb { width: 74px; height: 74px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #fff; cursor: pointer; padding: 0; }
.se-thumb img { width: 100%; height: 100%; object-fit: contain; }
.se-thumb.is-active { border-color: var(--se-bronze, #b08d57); }
.se-product-title { font-family: var(--se-font-head, Montserrat, sans-serif); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--se-navy, #1f3a5f); margin: 6px 0 14px; line-height: 1.2; }
.se-product-price { font-size: 1.55rem; color: var(--se-navy, #1f3a5f); display: flex; gap: 12px; align-items: baseline; margin-bottom: 22px; }
.se-product-price s { color: #a9a9a9; font-size: 1.05rem; }
.se-field { display: block; margin-bottom: 18px; }
.se-field span { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 7px; color: var(--se-navy, #1f3a5f); }
.se-field select { width: 100%; max-width: 420px; padding: 12px 14px; border: 1px solid #d8d3c6; border-radius: 10px; background: #fff; font: inherit; }
.se-buy-row { display: flex; gap: 12px; align-items: stretch; margin: 8px 0 22px; }
.se-buy-row input { width: 84px; text-align: center; border: 1px solid #d8d3c6; border-radius: 10px; font: inherit; font-weight: 700; }
.se-assurance { list-style: none; margin: 0 0 26px; padding: 18px 20px; background: #fff; border-radius: 12px; border: 1px solid #e7e2d6; display: grid; gap: 9px; }
.se-assurance li { padding-left: 26px; position: relative; font-size: .93rem; }
.se-assurance li::before { content: "✓"; position: absolute; left: 0; color: var(--se-pine, #2e7d32); font-weight: 800; }
.se-assurance a { color: var(--se-navy, #1f3a5f); font-weight: 700; }
.se-product-desc { color: #444; line-height: 1.7; }
.se-product-desc img { max-width: 100%; height: auto; border-radius: 10px; }
.se-product-desc table { width: 100%; border-collapse: collapse; }
.se-product-desc td, .se-product-desc th { border: 1px solid #e0dacc; padding: 8px 10px; text-align: left; }
.se-related { margin-top: 72px; }

/* Search */
.se-search-form { display: flex; gap: 12px; margin-bottom: 40px; }
.se-search-form input { flex: 1; padding: 15px 18px; border: 1px solid #d8d3c6; border-radius: 12px; font: inherit; font-size: 1.05rem; background: #fff; }

/* Cart */
.se-cart-lines { display: grid; gap: 14px; }
.se-cart-line { display: grid; grid-template-columns: 76px 1fr auto auto auto; gap: 16px; align-items: center; background: #fff; border: 1px solid #e7e2d6; border-radius: 14px; padding: 14px 18px; }
@media (max-width: 640px) { .se-cart-line { grid-template-columns: 60px 1fr auto; } .se-cart-total { display: none; } }
.se-cart-img { width: 76px; height: 76px; border-radius: 10px; overflow: hidden; background: #faf9f5; display: flex; align-items: center; justify-content: center; }
.se-cart-img img { width: 100%; height: 100%; object-fit: contain; }
.se-cart-meta { display: grid; gap: 3px; }
.se-cart-meta a { color: var(--se-navy, #1f3a5f); font-weight: 700; text-decoration: none; line-height: 1.3; }
.se-cart-meta small { color: #8a8a8a; }
.se-cart-meta span { color: var(--se-bronze, #b08d57); font-weight: 700; font-size: .92rem; }
.se-cart-qty { display: flex; align-items: center; gap: 10px; }
.se-cart-qty button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid #d8d3c6; background: #fff; font-size: 1.05rem; cursor: pointer; line-height: 1; }
.se-cart-qty button:hover { border-color: var(--se-bronze, #b08d57); }
.se-cart-total { color: var(--se-navy, #1f3a5f); }
.se-cart-remove { border: 0; background: none; color: #b9b3a4; font-size: 1.35rem; cursor: pointer; line-height: 1; }
.se-cart-remove:hover { color: var(--se-flame, #f04f36); }
.se-cart-subtotal { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding: 18px 20px; background: var(--se-navy, #1f3a5f); color: #fff; border-radius: 14px; font-size: 1.15rem; font-family: var(--se-font-head, Montserrat, sans-serif); }
.se-cart-shipnote { color: #8a8a8a; font-size: .88rem; margin-top: 10px; }
.se-cart-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.se-cart-note { margin-top: 26px; text-align: center; color: #8a8a8a; font-size: .9rem; }
.se-cart-note a { color: var(--se-navy, #1f3a5f); font-weight: 700; }

/* ============ Collections department page ============ */
.se-cat-page { padding-top: 0; }
.se-cat-hero { position: relative; background-size: cover; background-position: center; padding: 110px 0 90px; margin-bottom: 56px; }
.se-cat-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13, 24, 39, .88) 0%, rgba(13, 24, 39, .55) 55%, rgba(13, 24, 39, .3) 100%); }
.se-cat-hero .se-container { position: relative; z-index: 2; }
.se-cat-hero h1 { color: #fff; font-family: var(--se-font-head, Montserrat, sans-serif); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 8px 0 12px; }
.se-cat-hero-sub { color: #d7dee8; font-size: 1.08rem; max-width: 560px; margin: 0 0 26px; }
.se-cat-hero-search { display: flex; gap: 10px; max-width: 560px; }
.se-cat-hero-search input { flex: 1; padding: 15px 18px; border: 0; border-radius: 12px; font: inherit; font-size: 1rem; }

.se-departments { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 72px; }
@media (max-width: 900px) { .se-departments { grid-template-columns: 1fr; } }
.se-dept { background: #fff; border: 1px solid #e7e2d6; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.se-dept:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(31, 58, 95, .16); }
.se-dept-media { position: relative; display: block; aspect-ratio: 16/8.5; overflow: hidden; }
.se-dept-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.se-dept:hover .se-dept-media img { transform: scale(1.05); }
.se-dept-count { position: absolute; bottom: 14px; right: 14px; background: rgba(13, 24, 39, .82); color: var(--se-gold, #e8c98e); padding: 6px 14px; border-radius: 99px; font-family: var(--se-font-head, Montserrat, sans-serif); font-weight: 700; font-size: .8rem; }
.se-dept-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.se-dept-body h2 { margin: 0; font-size: 1.4rem; }
.se-dept-body h2 a { color: var(--se-navy, #1f3a5f); text-decoration: none; }
.se-dept-body h2 a:hover { color: var(--se-bronze, #b08d57); }
.se-dept-body > p { margin: 0; color: #6b6b6b; font-size: .95rem; }

.se-chiprow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.se-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--se-cream, #f5f3ed); border: 1px solid #e0dacc; border-radius: 99px; padding: 7px 14px; font-size: .84rem; font-weight: 700; color: var(--se-navy, #1f3a5f); text-decoration: none; transition: all .18s ease; }
.se-chip:hover { background: var(--se-navy, #1f3a5f); color: #fff; border-color: var(--se-navy, #1f3a5f); }
.se-chip em { font-style: normal; font-weight: 400; opacity: .6; font-size: .78rem; }

.se-budget { margin-bottom: 72px; }
.se-budget-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 26px; }
.se-budget-card { display: flex; flex-direction: column; gap: 8px; background: var(--se-navy, #1f3a5f); border-radius: 16px; padding: 30px 28px; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.se-budget-card:hover { transform: translateY(-3px); background: var(--se-navy-deep, #142942); }
.se-budget-card strong { color: #fff; font-family: var(--se-font-head, Montserrat, sans-serif); font-size: 1.18rem; }
.se-budget-card span { color: var(--se-gold, #e8c98e); font-weight: 700; font-size: .9rem; }

.se-brandband { margin-bottom: 72px; }
.se-brand-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.se-brand-chips-center { justify-content: center; margin-top: 18px; }
.se-brand-chip { display: inline-flex; align-items: baseline; gap: 8px; background: #fff; border: 1px solid #e0dacc; border-radius: 12px; padding: 13px 22px; text-decoration: none; font-family: var(--se-font-head, Montserrat, sans-serif); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .88rem; color: var(--se-navy, #1f3a5f); transition: all .2s ease; }
.se-brand-chip:hover { border-color: var(--se-bronze, #b08d57); color: var(--se-bronze, #b08d57); transform: translateY(-2px); }
.se-brand-chip em { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; color: #a9a9a9; font-size: .78rem; }

.se-brandstrip { padding: 40px 0 56px; }
.se-cat-index { padding-bottom: 80px; }
.se-cat-index .se-h2 { margin-bottom: 18px; }

/* Bigger homepage category tiles */
.se-collection-cards-lg { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.se-collection-cards-lg .se-collection-card { aspect-ratio: 4/3.2; }
.se-collection-cards-lg .se-collection-card span { font-size: 1.05rem; padding: 40px 18px 16px; }

/* Toast */
.se-toast { position: fixed; bottom: 26px; right: 26px; z-index: 9999; background: var(--se-navy, #1f3a5f); color: #fff; padding: 15px 22px; border-radius: 12px; box-shadow: 0 14px 40px rgba(0, 0, 0, .28); opacity: 0; transform: translateY(12px); transition: all .3s ease; max-width: 340px; font-size: .95rem; }
.se-toast.is-in { opacity: 1; transform: translateY(0); }
.se-toast a { color: var(--se-gold, #e8c98e); font-weight: 700; text-decoration: none; margin-left: 4px; }

/* ============ Heater size calculator ============ */

.se-calc-hero { max-width: 760px; margin-bottom: 34px; }
.se-calc-hero h1 { font-family: var(--se-font-head, Montserrat, sans-serif); font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--se-navy, #1f3a5f); margin: 6px 0 14px; line-height: 1.14; }
.se-calc-hero .se-kicker { font-family: var(--se-font-head, Montserrat, sans-serif); font-weight: 800; font-size: .68rem; letter-spacing: .19em; text-transform: uppercase; color: var(--se-bronze, #b08d57); margin: 0; }
.se-calc-hero .se-lead { font-size: 1.02rem; line-height: 1.7; color: #5b5b5b; margin: 0; }

.se-calc-grid { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; }

.se-calc-step { background: #fff; border: 1px solid #e7e2d6; border-radius: 16px; padding: 22px 24px; margin-bottom: 16px; }
.se-calc-step h2 { display: flex; align-items: center; gap: 11px; font-family: var(--se-font-head, Montserrat, sans-serif); font-size: 1.02rem; color: var(--se-navy, #1f3a5f); margin: 0 0 14px; }
.se-calc-num { display: flex; align-items: center; justify-content: center; width: 27px; height: 27px; border-radius: 8px; background: var(--se-navy, #1f3a5f); color: var(--se-gold, #e8c98e); font-size: .85rem; font-weight: 800; flex: none; }
.se-calc-sub { margin: -6px 0 14px; font-size: .87rem; line-height: 1.55; color: #6b6b6b; }
.se-calc-hint { margin: 12px 0 0; font-size: .82rem; color: #8a8a8a; }

.se-calc-modes { display: inline-flex; gap: 4px; padding: 4px; background: #f2efe7; border-radius: 10px; margin-bottom: 16px; }
.se-calc-mode { border: 0; background: none; border-radius: 7px; padding: 7px 14px; cursor: pointer; font-family: var(--se-font-body, 'Nunito Sans', sans-serif); font-weight: 700; font-size: .83rem; color: #6b6b6b; transition: background .18s, color .18s; }
.se-calc-mode.is-on { background: #fff; color: var(--se-navy, #1f3a5f); box-shadow: 0 1px 4px rgba(20, 41, 66, .1); }

.se-calc-fields { display: flex; flex-wrap: wrap; gap: 14px; }
.se-calc-fields label { display: flex; flex-direction: column; gap: 6px; font-family: var(--se-font-head, Montserrat, sans-serif); font-weight: 700; font-size: .8rem; color: var(--se-navy, #1f3a5f); }
.se-calc-fields label span { font-family: var(--se-font-body, 'Nunito Sans', sans-serif); font-weight: 400; font-size: .74rem; color: #9a9a9a; text-transform: uppercase; letter-spacing: .08em; }
.se-calc-fields input { width: 130px; padding: 11px 13px; border: 1.5px solid #ddd6c6; border-radius: 9px; font-family: var(--se-font-body, 'Nunito Sans', sans-serif); font-size: 1rem; color: var(--se-navy, #1f3a5f); background: #fff; }
.se-calc-fields input:focus { outline: 2px solid var(--se-bronze, #b08d57); outline-offset: 1px; border-color: var(--se-bronze, #b08d57); }

.se-calc-choices { display: grid; gap: 10px; }
.se-calc-choice { display: flex; align-items: flex-start; gap: 11px; padding: 13px 15px; border: 1.5px solid #e7e2d6; border-radius: 11px; cursor: pointer; transition: border-color .18s, background .18s; }
.se-calc-choice:hover { border-color: #cfc4ab; }
.se-calc-choice input { margin-top: 3px; accent-color: var(--se-bronze, #b08d57); }
.se-calc-choice b { display: block; font-family: var(--se-font-head, Montserrat, sans-serif); font-size: .89rem; color: var(--se-navy, #1f3a5f); }
.se-calc-choice small { display: block; margin-top: 2px; font-size: .8rem; color: #7b7b7b; }
.se-calc-choice:has(input:checked) { border-color: var(--se-bronze, #b08d57); background: #fdfbf6; }
.se-calc-choice:focus-within { outline: 2px solid var(--se-bronze, #b08d57); outline-offset: 2px; }

.se-calc-result { position: sticky; top: 96px; background: var(--se-navy-deep, #142942); border-radius: 18px; padding: 24px; color: #cfd8e3; }
.se-calc-result-kicker { margin: 0; font-family: var(--se-font-head, Montserrat, sans-serif); font-weight: 800; font-size: .64rem; letter-spacing: .19em; text-transform: uppercase; color: var(--se-gold, #e8c98e); }
.se-calc-kw { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.se-calc-kw strong { font-family: var(--se-font-head, Montserrat, sans-serif); font-size: 3.4rem; font-weight: 800; line-height: 1; color: #fff; }
.se-calc-kw span { font-family: var(--se-font-head, Montserrat, sans-serif); font-size: 1.15rem; font-weight: 700; color: var(--se-gold, #e8c98e); }
.se-calc-kw-note { margin: 0 0 18px; font-size: .82rem; line-height: 1.5; color: rgba(255, 255, 255, .62); }

.se-calc-breakdown { margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.se-calc-breakdown > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .85rem; }
.se-calc-breakdown dt { color: rgba(255, 255, 255, .6); margin: 0; }
.se-calc-breakdown dd { margin: 0; color: #fff; font-weight: 700; }
.se-calc-total { margin-top: 6px; padding-top: 10px !important; border-top: 1px solid rgba(255, 255, 255, .12); }
.se-calc-total dt { color: var(--se-gold, #e8c98e) !important; font-weight: 700; }

.se-calc-formula { margin: 14px 0 18px; font-size: .74rem; line-height: 1.6; color: rgba(255, 255, 255, .45); }
.se-calc-cta { width: 100%; }
.se-calc-disclaimer { margin: 12px 0 0; font-size: .74rem; line-height: 1.55; color: rgba(255, 255, 255, .45); }

.se-calc-matches { margin-top: 44px; }
.se-calc-matches-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.se-calc-matches-head h2 { font-family: var(--se-font-head, Montserrat, sans-serif); font-size: 1.35rem; color: var(--se-navy, #1f3a5f); margin: 0; }
.se-calc-matches-head a { color: var(--se-bronze, #b08d57); font-weight: 700; font-size: .88rem; text-decoration: none; }
.se-calc-nomatch { background: #fff; border: 1px dashed #ddd6c6; border-radius: 14px; padding: 22px; color: #6b6b6b; font-size: .92rem; line-height: 1.6; }
.se-calc-nomatch a { color: var(--se-bronze, #b08d57); font-weight: 700; }

.se-calc-explain { margin-top: 52px; }
.se-calc-explain h2 { font-family: var(--se-font-head, Montserrat, sans-serif); font-size: 1.35rem; color: var(--se-navy, #1f3a5f); margin: 0 0 20px; }
.se-calc-explain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.se-calc-explain-grid article { background: #fff; border: 1px solid #e7e2d6; border-radius: 14px; padding: 20px 22px; }
.se-calc-explain-grid h3 { font-family: var(--se-font-head, Montserrat, sans-serif); font-size: .98rem; color: var(--se-navy, #1f3a5f); margin: 0 0 8px; }
.se-calc-explain-grid p { margin: 0; font-size: .88rem; line-height: 1.65; color: #6b6b6b; }

@media (max-width: 900px) {
	.se-calc-grid { grid-template-columns: 1fr; }
	.se-calc-result { position: static; }
}
@media (max-width: 560px) {
	.se-calc-fields input { width: 100%; }
	.se-calc-fields label { flex: 1 1 100%; }
	.se-calc-modes { width: 100%; }
	.se-calc-mode { flex: 1; }
}

/* `display: flex` on the group would otherwise beat the [hidden] attribute, leaving
   both entry modes on screen at once. */
.se-calc-fields[hidden] { display: none; }

/* ============ Glass buttons ============
   The controls were flat fills. These rebuild them as glass: a light-catching top
   edge, a body that deepens toward the base, a dark contact edge and a cast shadow.
   Most of these sit on flat cream where a backdrop blur would do nothing visible, so
   the glass is constructed from layered gradients; blur is still declared for the
   ones that do sit over photography (hero, mega menu).

   The bronze also deepens down the button on purpose: white on flat #b08d57 was only
   about 3:1, under the 4.5:1 minimum for text this size. */

.se-btn,
.se-nav a.se-nav-cta {
	background-image:
		linear-gradient(180deg, rgba(255, 255, 255, .38) 0%, rgba(255, 255, 255, .07) 22%, rgba(255, 255, 255, 0) 38%),
		linear-gradient(180deg, #a5834e 0%, #866a3f 46%, #745c36 100%);
	border: 1px solid rgba(255, 255, 255, .2);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .5),
		inset 0 -1px 0 rgba(0, 0, 0, .22),
		0 6px 16px rgba(88, 66, 33, .26);
	-webkit-backdrop-filter: blur(6px) saturate(140%);
	backdrop-filter: blur(6px) saturate(140%);
	text-shadow: 0 1px 1px rgba(60, 44, 20, .35);
	transition: background-image .2s ease, box-shadow .2s ease, transform .15s ease;
}

.se-btn:hover,
.se-nav a.se-nav-cta:hover {
	background-image:
		linear-gradient(180deg, rgba(255, 255, 255, .48) 0%, rgba(255, 255, 255, .1) 24%, rgba(255, 255, 255, 0) 40%),
		linear-gradient(180deg, #b08c55 0%, #8f7245 46%, #7b6239 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .62),
		inset 0 -1px 0 rgba(0, 0, 0, .24),
		0 10px 24px rgba(88, 66, 33, .32);
	transform: translateY(-1px);
}

.se-btn:active,
.se-nav a.se-nav-cta:active {
	transform: translateY(0);
	box-shadow: inset 0 2px 5px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .2);
}

/* Frosted, for controls that sit on light ground */
.se-btn-ghost,
.se-sort,
.se-pagination a {
	background-image:
		linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .58) 100%);
	background-color: rgba(255, 255, 255, .55);
	border: 1px solid rgba(31, 58, 95, .16);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .95),
		0 3px 12px rgba(20, 41, 66, .08);
	-webkit-backdrop-filter: blur(10px) saturate(150%);
	backdrop-filter: blur(10px) saturate(150%);
	text-shadow: none;
	color: var(--se-navy, #1f3a5f);
}

.se-btn-ghost:hover,
.se-pagination a:hover {
	background-image: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .78) 100%);
	border-color: rgba(176, 141, 87, .55);
	box-shadow: inset 0 1px 0 #fff, 0 6px 18px rgba(20, 41, 66, .12);
	color: var(--se-navy, #1f3a5f);
}

.se-sort:focus-visible,
.se-btn:focus-visible,
.se-btn-ghost:focus-visible,
.se-pagination a:focus-visible { outline: 2px solid var(--se-gold, #e8c98e); outline-offset: 2px; }

/* Current page marker: the same glass, in navy */
.se-page-current {
	background-image:
		linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .03) 48%, rgba(255, 255, 255, 0) 64%),
		linear-gradient(180deg, #24446e 0%, #142942 100%);
	border: 1px solid rgba(255, 255, 255, .16);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 4px 14px rgba(20, 41, 66, .3);
	color: #fff;
}

/* Over photography the blur is real, so lean on it */
.se-btn-outline {
	background-image: linear-gradient(180deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .08) 100%);
	background-color: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .5);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 8px 26px rgba(0, 0, 0, .28);
	-webkit-backdrop-filter: blur(14px) saturate(150%);
	backdrop-filter: blur(14px) saturate(150%);
	text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.se-btn-outline:hover {
	background-image: linear-gradient(180deg, rgba(255, 255, 255, .38) 0%, rgba(255, 255, 255, .14) 100%);
	border-color: rgba(255, 255, 255, .72);
}

@media (prefers-reduced-motion: reduce) {
	.se-btn, .se-nav a.se-nav-cta, .se-btn-ghost, .se-pagination a { transition: none; }
	.se-btn:hover, .se-nav a.se-nav-cta:hover { transform: none; }
}
