/*
Theme Name: SAS International
Theme URI: https://sasiintl.com/
Author: SAS International
Description: A responsive B2B apparel and specialty-product catalogue for SAS International.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sas-international
*/

:root {
  --navy: #102c54;
  --navy-deep: #0a1e3c;
  --red: #b51f32;
  --gold: #b88a3a;
  --ink: #202b38;
  --muted: #66717e;
  --paper: #f7f6f2;
  --white: #fff;
  --line: #e1e4e8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; background: var(--white); }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 1000; padding: 12px 16px; color: #fff; background: var(--navy); }
.skip-link:focus { top: 16px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); border: 0; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(16, 44, 84, .1); background: rgba(255, 255, 255, .97); }
.header-inner { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { display: block; width: 176px; max-height: 67px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 25px; color: #354354; font-size: 13px; font-weight: 600; }
.main-nav > a, .nav-products > summary { padding: 12px 0; }
.main-nav > a:hover, .nav-products > summary:hover, .main-nav > a:focus-visible, .nav-products > summary:focus-visible { color: var(--red); }
.nav-products { position: relative; }
.nav-products > summary { display: flex; align-items: center; gap: 7px; cursor: pointer; list-style: none; }
.nav-products > summary::-webkit-details-marker { display: none; }
.nav-products > summary::after { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; content: ""; transform: rotate(45deg) translateY(-2px); }
.mega-menu { position: absolute; top: calc(100% + 10px); left: -28px; display: grid; width: min(590px, 88vw); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; padding: 22px; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 45px rgba(16, 44, 84, .14); }
.mega-menu a { padding: 11px 6px; border-bottom: 1px solid #edf0f2; color: var(--ink); font-size: 13px; }
.mega-menu a:hover, .mega-menu a:focus-visible { color: var(--red); }
.nav-cta, .button { display: inline-flex; min-height: 47px; align-items: center; justify-content: center; gap: 10px; padding: 0 19px; border: 1px solid var(--navy); border-radius: 2px; color: #fff; background: var(--navy); font-size: 13px; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.nav-cta:hover, .button:hover { color: #fff; background: var(--navy-deep); transform: translateY(-1px); }
.button--light { border-color: #fff; color: var(--navy); background: #fff; }
.button--light:hover { border-color: #f0f0ec; color: var(--navy); background: #f0f0ec; }
.button--outline { border-color: rgba(255,255,255,.65); color: #fff; background: transparent; }
.button--outline:hover { color: var(--navy); background: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); color: var(--navy); background: #fff; cursor: pointer; }

.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(110deg, rgba(9, 29, 57, .97) 0%, rgba(16, 44, 84, .94) 54%, rgba(25, 63, 105, .82) 100%); }
.hero::after { position: absolute; top: -23%; right: -8%; width: min(57vw, 760px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; box-shadow: 0 0 0 38px rgba(255,255,255,.035), 0 0 0 90px rgba(255,255,255,.025); }
.hero-inner { position: relative; z-index: 1; display: grid; min-height: 570px; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 50px; padding-block: 75px; }
.eyebrow { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow { color: #e6c87e; }
.hero h1 { max-width: 680px; margin: 18px 0; color: #fff; font-family: var(--serif); font-size: clamp(44px, 5.5vw, 75px); font-weight: 500; letter-spacing: -.035em; line-height: 1.03; }
.hero-copy { max-width: 590px; margin: 0; color: rgba(255,255,255,.77); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-visual { position: relative; display: grid; min-height: 390px; place-items: center; }
.hero-visual::before { position: absolute; width: 82%; aspect-ratio: 1; border: 1px solid rgba(230,200,126,.55); border-radius: 50%; content: ""; }
.hero-visual::after { position: absolute; width: 70%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; content: ""; }
.hero-visual img, .hero-visual svg { position: relative; z-index: 1; width: 76%; max-height: 370px; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.16)); }
.hero-caption { position: absolute; right: 1%; bottom: 16px; z-index: 2; padding: 13px 16px; border: 1px solid rgba(255,255,255,.2); background: rgba(10,30,60,.86); }
.hero-caption strong, .hero-caption span { display: block; }
.hero-caption strong { font-family: var(--serif); font-size: 17px; font-weight: 500; }
.hero-caption span { margin-top: 4px; color: rgba(255,255,255,.67); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

.section { padding: 88px 0; }
.section--paper { background: var(--paper); }
.section-heading { max-width: 650px; margin-bottom: 34px; }
.section-heading h2 { margin: 13px 0 12px; color: var(--navy-deep); font-family: var(--serif); font-size: clamp(35px, 4vw, 52px); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
.section-heading p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.section-heading--center { margin-inline: auto; text-align: center; }
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.category-card { position: relative; display: flex; min-height: 258px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 19px; border: 1px solid rgba(16,44,84,.12); background: linear-gradient(145deg, #edf1f5, #dfe5eb); }
.category-card:nth-child(5n+2) { background: linear-gradient(145deg, #f4eee6, #e9ded0); }
.category-card:nth-child(5n+3) { background: linear-gradient(145deg, #eef0ea, #dce3d8); }
.category-card:nth-child(5n+4) { background: linear-gradient(145deg, #f1e9eb, #e5d6da); }
.category-card:nth-child(5n+5) { background: linear-gradient(145deg, #e9edf3, #d6dfeb); }
.category-card::before { position: absolute; right: -34px; bottom: 25px; width: 150px; height: 190px; border: 1px solid rgba(16,44,84,.13); border-radius: 48% 48% 12% 12%; content: ""; transform: rotate(-10deg); }
.category-card::after { position: absolute; right: 25px; bottom: -17px; width: 95px; height: 155px; border: 1px solid rgba(16,44,84,.1); border-radius: 44% 44% 8% 8%; content: ""; transform: rotate(10deg); }
.category-card:hover { border-color: var(--gold); }
.category-card__number, .category-card__copy { position: relative; z-index: 1; }
.category-card__number { color: var(--red); font-family: var(--serif); font-size: 16px; }
.category-card__copy { max-width: 170px; }
.category-card h3 { margin: 0 0 7px; color: var(--navy-deep); font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.1; }
.category-card p { margin: 0; color: #586473; font-size: 11px; line-height: 1.55; }
.category-card__link { position: absolute; inset: 0; z-index: 2; }
.category-card:focus-within { outline: 2px solid var(--red); outline-offset: 3px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-size: 13px; font-weight: 700; }
.text-link:hover { color: var(--red); }
.section-foot { margin-top: 27px; text-align: center; }

.division-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.division-card { display: flex; min-height: 132px; flex-direction: column; justify-content: space-between; padding: 18px; border: 1px solid var(--line); background: #fff; transition: border-color .18s ease, transform .18s ease; }
.division-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.division-card span { color: var(--gold); font-family: var(--serif); font-size: 14px; }
.division-card strong { color: var(--navy); font-family: var(--serif); font-size: 21px; font-weight: 500; }

.value-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.value-grid .section-heading { margin-bottom: 0; }
.value-note { color: var(--muted); font-size: 14px; line-height: 1.8; }
.value-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; margin-top: 27px; border-top: 1px solid var(--line); }
.value-item { padding: 17px 0; border-bottom: 1px solid var(--line); }
.value-item h3 { margin: 0 0 6px; color: var(--navy); font-size: 15px; }
.value-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.industry-card { display: block; padding: 21px; border-left: 2px solid var(--gold); background: #fff; transition: border-color .18s ease, transform .18s ease; }
.industry-card:hover { border-color: var(--red); transform: translateY(-2px); }
.industry-card h3 { margin: 0 0 8px; color: var(--navy); font-family: var(--serif); font-size: 20px; font-weight: 500; }
.industry-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.process { color: #fff; background: var(--navy-deep); }
.process .section-heading h2 { color: #fff; }
.process .section-heading p { color: rgba(255,255,255,.66); }
.process .eyebrow { color: #e6c87e; }
.process-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.22); }
.process-step { min-height: 155px; padding: 22px 16px 0 0; }
.process-step + .process-step { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.18); }
.process-step span { color: #e6c87e; font-family: var(--serif); font-size: 15px; }
.process-step h3 { margin: 15px 0 0; color: #fff; font-size: 15px; line-height: 1.45; }
.process-cta { margin-top: 25px; }

.quote-banner { padding: 57px 0; color: #fff; background: var(--red); }
.quote-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.quote-banner h2 { margin: 0 0 8px; color: #fff; font-family: var(--serif); font-size: clamp(30px, 3.5vw, 42px); font-weight: 500; }
.quote-banner p { max-width: 620px; margin: 0; color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.7; }
.quote-banner .button { flex: 0 0 auto; border-color: #fff; color: var(--red); background: #fff; }
.quote-banner .button:hover { background: #f7eff0; }

.page-hero { padding: 62px 0; color: #fff; background: var(--navy); }
.page-hero h1 { margin: 12px 0; color: #fff; font-family: var(--serif); font-size: clamp(38px, 5vw, 58px); font-weight: 500; }
.page-hero p { max-width: 750px; margin: 0; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.75; }
.breadcrumb { margin-bottom: 17px; color: rgba(255,255,255,.7); font-size: 12px; }
.breadcrumb a:hover { color: #fff; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 25px; }
.catalog-filters a { padding: 8px 12px; border: 1px solid var(--line); color: #4e5a67; background: #fff; font-size: 11px; font-weight: 600; }
.catalog-filters a:hover, .catalog-filters a.is-active { border-color: var(--navy); color: #fff; background: var(--navy); }
.catalog-search { display: flex; width: min(400px, 100%); }
.catalog-search input { min-width: 0; flex: 1; min-height: 43px; padding: 0 12px; border: 1px solid var(--line); }
.catalog-search button { min-width: 82px; border: 0; color: #fff; background: var(--navy); cursor: pointer; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { overflow: hidden; border: 1px solid var(--line); background: #fff; }
.product-card__image { display: grid; min-height: 250px; place-items: center; overflow: hidden; background: linear-gradient(145deg, #f0f2f4, #e4e8ed); }
.product-card__image img { width: 100%; height: 270px; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .product-card__image img { transform: scale(1.025); }
.product-card__placeholder { color: rgba(16,44,84,.28); font-family: var(--serif); font-size: 68px; }
.product-card__body { padding: 19px; }
.product-card__category { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-card h2 { margin: 8px 0 9px; color: var(--navy); font-family: var(--serif); font-size: 23px; font-weight: 500; }
.product-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.product-card .text-link { margin-top: 15px; }
.empty-state { padding: 30px; border: 1px solid var(--line); color: var(--muted); background: var(--paper); }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 54px; }
.product-gallery { display: grid; gap: 14px; }
.product-gallery img { width: 100%; max-height: 580px; object-fit: contain; background: #f1f2f3; }
.product-detail h2 { margin: 10px 0 15px; color: var(--navy); font-family: var(--serif); font-size: clamp(36px, 4vw, 50px); font-weight: 500; line-height: 1.1; }
.product-detail__intro { color: var(--muted); font-size: 15px; line-height: 1.75; }
.spec-list { margin: 25px 0; border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: minmax(130px, .7fr) 1.3fr; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; color: var(--ink); font-weight: 600; }
.spec-note { color: var(--muted); font-size: 11px; line-height: 1.6; }

.quote-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 52px; align-items: start; }
.quote-aside { padding: 28px; color: #fff; background: var(--navy); }
.quote-aside h2 { margin: 0 0 11px; color: #fff; font-family: var(--serif); font-size: 29px; font-weight: 500; }
.quote-aside p { color: rgba(255,255,255,.75); font-size: 13px; line-height: 1.75; }
.quote-aside ul { padding-left: 18px; color: rgba(255,255,255,.83); font-size: 12px; line-height: 2; }
.quote-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.form-field--wide { grid-column: 1 / -1; }
.form-field label { color: #364455; font-size: 12px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 44px; padding: 11px 12px; border: 1px solid #d7dce2; border-radius: 0; color: var(--ink); background: #fff; }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--navy); outline: 2px solid rgba(16,44,84,.13); }
.form-field input[type="file"] { min-height: auto; padding: 10px; }
.form-hint { color: var(--muted); font-size: 11px; line-height: 1.5; }
.form-submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 15px; margin-top: 3px; }
.form-submit button { cursor: pointer; }
.form-notice { margin-bottom: 22px; padding: 14px 16px; border-left: 3px solid var(--gold); color: var(--navy); background: #f7f2e8; font-size: 13px; line-height: 1.6; }
.form-notice--error { border-color: var(--red); color: #771524; background: #fbebed; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-privacy { grid-column: 1 / -1; color: var(--muted); font-size: 11px; line-height: 1.6; }

.content-area { max-width: 850px; margin-inline: auto; color: var(--ink); font-size: 15px; line-height: 1.8; }
.content-area h2, .content-area h3 { color: var(--navy); font-family: var(--serif); font-weight: 500; }
.site-footer { padding: 43px 0 22px; color: #fff; background: #091a33; }
.footer-main { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 45px; padding-bottom: 30px; }
.footer-brand img { width: 155px; max-height: 68px; object-fit: contain; padding: 4px; background: #fff; }
.footer-brand p { max-width: 340px; margin: 15px 0 0; color: rgba(255,255,255,.64); font-size: 12px; line-height: 1.7; }
.footer-col h2 { margin: 2px 0 13px; color: #fff; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; color: rgba(255,255,255,.7); font-size: 12px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.55); font-size: 10px; }

@media (max-width: 980px) {
  .main-nav { gap: 17px; }
  .hero-inner { min-height: 520px; gap: 20px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-card { min-height: 230px; }
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-step:nth-child(4) { border-left: 0; padding-left: 0; }
  .process-step:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.18); }
  .quote-layout { grid-template-columns: .85fr 1.15fr; gap: 30px; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 36px, 600px); }
  .header-inner { min-height: 72px; }
  .brand img { width: 145px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 10px 18px 18px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 15px 25px rgba(16,44,84,.1); }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav > a, .nav-products > summary { display: flex; min-height: 46px; align-items: center; padding: 10px 4px; border-bottom: 1px solid #edf0f2; }
  .nav-products > summary { justify-content: space-between; }
  .mega-menu { position: static; display: none; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px 8px 12px; border: 0; box-shadow: none; }
  .nav-products[open] .mega-menu { display: grid; }
  .nav-cta { width: 100%; margin-top: 12px; }
  .hero-inner { min-height: 0; grid-template-columns: 1fr; gap: 7px; padding-block: 64px 50px; }
  .hero h1 { max-width: 560px; font-size: clamp(43px, 12vw, 66px); }
  .hero-copy { font-size: 15px; }
  .hero-visual { min-height: 270px; }
  .hero-visual img, .hero-visual svg { width: 62%; max-height: 250px; }
  .hero-caption { right: 4%; bottom: 0; }
  .section { padding: 66px 0; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card { min-height: 220px; }
  .division-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid { grid-template-columns: 1fr; gap: 25px; }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step:nth-child(3), .process-step:nth-child(5) { border-left: 0; padding-left: 0; }
  .process-step:nth-child(4) { border-left: 1px solid rgba(255,255,255,.18); padding-left: 16px; }
  .process-step:nth-child(3) { border-top: 1px solid rgba(255,255,255,.18); }
  .process-step:nth-child(4) { border-top: 1px solid rgba(255,255,255,.18); }
  .process-step:nth-child(5), .process-step:nth-child(6) { border-top: 1px solid rgba(255,255,255,.18); }
  .quote-banner-inner { align-items: flex-start; flex-direction: column; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .product-card__image { min-height: 185px; }
  .product-card__image img { height: 195px; }
  .product-detail { grid-template-columns: 1fr; gap: 30px; }
  .quote-layout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .category-grid { gap: 9px; }
  .category-card { min-height: 194px; padding: 14px; }
  .category-card h3 { font-size: 20px; }
  .category-card p { font-size: 10px; }
  .division-card { min-height: 115px; padding: 14px; }
  .division-card strong { font-size: 18px; }
  .industry-grid, .value-list { grid-template-columns: 1fr; }
  .process-step { min-height: 140px; padding-right: 8px; }
  .process-step + .process-step { padding-left: 10px; }
  .process-step:nth-child(3), .process-step:nth-child(5) { padding-left: 0; }
  .process-step:nth-child(4) { padding-left: 10px; }
  .product-grid { grid-template-columns: 1fr; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .catalog-search { width: 100%; }
  .quote-form { grid-template-columns: 1fr; }
  .form-field--wide, .form-submit, .form-privacy { grid-column: auto; }
  .form-submit { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
