/*
Theme Name: MILVETH Outerwear
Version: 2.0.3
Description: Wholesale outerwear catalog and inquiry workflow.
Requires PHP: 8.0
*/
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--paper:#f5f3ed;--ink:#1c211c;--muted:#555951;--line:#d8d9ce;--olive:#272e24;--acid:#d8e590;--white:#fff;--pad:clamp(20px,4.35vw,78px);font-family:"DM Sans",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button{color:inherit}img{display:block;width:100%;object-fit:cover}h1,h2,h3,p,figure{margin:0}p{line-height:1.6}h1,h2,h3,.wordmark{font-family:Archivo,Arial,sans-serif}h1,h2,h3{font-weight:800;letter-spacing:-.045em}h2{font-size:clamp(31px,4vw,60px);line-height:.99}h3{font-size:23px;line-height:1.13}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #66873a;outline-offset:3px}.skip{position:fixed;top:-60px;left:16px;z-index:9;background:white;padding:10px}.skip:focus{top:10px}
.announcement{height:34px;background:var(--olive);color:#f7f7ed;display:flex;align-items:center;justify-content:center;gap:10px;font-size:11px;text-transform:uppercase;letter-spacing:.15em;font-weight:700}.dot{width:4px;height:4px;background:var(--acid);border-radius:50%}
.header{height:76px;padding:0 var(--pad);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;background:var(--paper);border-bottom:1px solid var(--line);position:relative;z-index:2}.wordmark{font-size:30px;font-weight:900;letter-spacing:-.085em;justify-self:start}.wordmark span{color:#6b7548;margin-left:2px}.header nav{display:flex;gap:clamp(17px,3vw,46px);font-size:13px;font-weight:700}.header nav a:hover,.header nav a[aria-current=page]{text-decoration:underline;text-underline-offset:6px}.rfq-link{display:flex;justify-self:end;align-items:center;gap:10px;font-size:13px;font-weight:700;border:1px solid var(--ink);padding:8px 11px 8px 14px}.rfq-link span{display:grid;place-items:center;background:var(--olive);color:white;min-width:23px;height:23px;font-size:11px;border-radius:50%}.menu{display:none}
.hero{display:grid;grid-template-columns:43% 57%;min-height:clamp(490px,42vw,710px);background:var(--olive);color:var(--paper)}.hero-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:50px 24px 50px var(--pad)}.eyebrow{font-size:11px;letter-spacing:.18em;text-transform:uppercase;font-weight:800;display:block}.hero .eyebrow{color:var(--acid);margin-bottom:24px}.hero h1{font-size:clamp(52px,6.4vw,116px);font-weight:900;letter-spacing:-.075em;line-height:.89}.hero p{margin:25px 0 28px;color:#e0e2d7;max-width:330px;font-size:15px}.hero-gallery{display:grid;grid-template-columns:1fr 1fr;min-width:0;gap:1px}.hero-gallery a{display:block;min-width:0;position:relative;overflow:hidden;background:#e5e8e7}.hero-gallery img{height:100%;position:absolute;inset:0;object-position:50% 30%;transition:transform .45s}.hero-gallery a:hover img{transform:scale(1.035)}.hero-gallery span{position:absolute;bottom:15px;left:15px;color:var(--ink);background:var(--paper);padding:6px 9px;font-size:10px;font-weight:800;letter-spacing:.12em}
.btn{display:inline-flex;min-height:45px;align-items:center;justify-content:center;gap:19px;background:var(--olive);color:white;border:1px solid var(--olive);padding:10px 16px;font-size:13px;font-weight:700;line-height:1.35;transition:background .18s,color .18s}.btn:hover{background:#44503e}.btn.light{background:var(--acid);border-color:var(--acid);color:var(--ink)}.btn.light:hover{background:#e8f0b7}.btn.outline{background:transparent;color:var(--ink);border-color:var(--ink)}.btn.outline:hover{background:#e5e7d8}.text-link{font-weight:700;border-bottom:1px solid;padding-bottom:4px;font-size:13px;display:inline-block}.text-link:hover{color:#586735}
.facts{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line);padding:0 var(--pad)}.facts div{padding:19px 10px;display:flex;justify-content:center;align-items:center;gap:10px;text-align:center}.facts div+div{border-left:1px solid var(--line)}.facts strong{font:800 20px Archivo,Arial,sans-serif;letter-spacing:-.05em}.facts span{font-size:12px;color:var(--muted)}
.section{padding:clamp(42px,6vw,92px) var(--pad)}.section+.section{border-top:1px solid var(--line)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:24px}.section-head .eyebrow,.page-head .eyebrow,.split-copy .eyebrow{margin-bottom:12px;color:#58643d}.categories,.products,.production-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.category{display:block}.category figure,.product-image{overflow:hidden;background:#e5e8e7}.category img{aspect-ratio:1.18;object-position:50% 30%;transition:transform .35s}.category:hover img,.product-image:hover img{transform:scale(1.04)}.category figcaption{display:grid;grid-template-columns:1fr auto;gap:5px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.category figcaption small{grid-column:1;color:var(--muted)}.category figcaption b{grid-column:2;grid-row:1/3;font-size:21px}
.split{display:grid;grid-template-columns:1fr 1fr;min-height:390px;background:#e8e9dc}.split.dark{background:var(--olive);color:white}.split.dark .eyebrow{color:var(--acid)}.split>img{height:100%;min-height:340px;max-height:600px}.split-copy{padding:clamp(30px,6vw,96px) var(--pad);align-self:center}.split-copy p{margin:18px 0 23px;max-width:470px}.buttons{display:flex;gap:10px;flex-wrap:wrap}
.page-head{padding:40px var(--pad) 36px;border-bottom:1px solid var(--line)}.page-head h1,.detail h1{font-size:clamp(46px,7vw,102px);line-height:.91}.page-head p{margin-top:16px;max-width:640px;color:var(--muted)}.crumb{font-size:12px;color:var(--muted);margin-bottom:23px;display:block}.filterbar{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:20px}.filters{display:flex;gap:7px;flex-wrap:wrap}.filter{border:1px solid var(--line);padding:9px 12px;font-size:13px;font-weight:700}.filter.active{background:var(--olive);color:white;border-color:var(--olive)}.products{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:27px}.product-image{display:block}.product-image img{aspect-ratio:.78;transition:transform .3s;object-position:50% 25%}.product h3{font-size:19px;margin:9px 0 3px}.product p{font-size:12px;color:var(--muted)}.product-bottom{display:flex;justify-content:space-between;gap:5px;align-items:center}.small-button{border:1px solid var(--line);background:transparent;min-width:34px;min-height:34px;font-size:16px}.small-button:hover,.small-button[aria-pressed=true]{background:var(--acid)}
.detail{display:grid;grid-template-columns:1.15fr 1fr;gap:clamp(25px,5vw,75px)}.detail h1{margin:10px 0 14px;font-size:clamp(46px,5.5vw,82px)}.detail p{color:var(--muted)}.detail .main-photo{height:auto;aspect-ratio:.91;object-position:50% 25%;background:#e5e8e7}.thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-top:8px}.thumbs button{background:transparent;border:2px solid transparent;padding:0}.thumbs button[aria-pressed=true]{border-color:var(--ink)}.thumbs img{aspect-ratio:.84;object-position:50% 23%}.qty{margin:20px 0 8px;display:flex;gap:10px;align-items:end}.qty label{max-width:140px}.warning{min-height:24px;font-size:12px;color:#854116!important}.specs{margin:20px 0}.specs div{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-bottom:1px solid var(--line);padding:10px 0;font-size:13px}.specs dt{font-weight:700}.specs dd{margin:0;color:var(--muted)}
.prose{max-width:820px}.prose p{margin:12px 0 20px}.prose h2{font-size:32px;margin-top:24px}.production-grid img{aspect-ratio:1.55}.production-grid h3{margin:12px 0 5px}.production-grid p{font-size:14px;color:var(--muted)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th,td{padding:16px 13px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:12px;text-transform:uppercase;letter-spacing:.08em;background:#e8e9dc}td{font-size:14px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:24px 0}.steps article{border-top:2px solid var(--olive);padding:14px 0}.steps h3{font-size:20px;margin-bottom:7px}.steps p{font-size:14px;color:var(--muted)}details{border-bottom:1px solid var(--line);padding:15px 0}summary{cursor:pointer;font-weight:700}details p{margin:9px 0 0!important}
.rfq-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(25px,5vw,75px);align-items:start}.rfq-grid h2{font-size:34px;margin-bottom:14px}.panel{border:1px solid var(--line);padding:clamp(14px,2vw,28px);background:#eeeee5}.panel p{font-size:14px;color:var(--muted)}.list-item{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.list-item img{height:65px}.list-item strong{display:block}.list-item label{display:flex;align-items:center;gap:7px;margin-top:5px}.list-item input{width:80px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.wide{grid-column:1/-1}label{display:grid;gap:6px;font-weight:700;font-size:13px}input,textarea,select{width:100%;min-height:43px;background:white;border:1px solid #c9ccbf;border-radius:0;padding:9px 10px;color:var(--ink);font-size:14px}input[type=file]{padding:8px}textarea{min-height:96px;resize:vertical}.form-note{font-size:13px;color:var(--muted)}.form-result{padding:14px;background:#e4ebcc;margin-top:14px}.empty{padding:30px 0}.footer{background:#212720;color:#f4f3e8;padding:48px var(--pad) 22px}.footer .wordmark span{color:var(--acid)}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px;padding-bottom:38px}.footer h2{font:700 12px "DM Sans",sans-serif;text-transform:uppercase;letter-spacing:.12em;margin-bottom:12px}.footer p,.footer-grid div:not(:first-child) a{font-size:13px;color:#d1d6c8;display:block;margin:6px 0}.footer a:hover{text-decoration:underline}.footer-bottom{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid #4d5449;padding-top:18px;font-size:12px;color:#d1d6c8}.footer-bottom div{display:flex;gap:18px}.floating{position:fixed;bottom:17px;right:17px;z-index:4;border:1px solid var(--olive);background:var(--acid);color:var(--ink);padding:9px 12px;font-size:12px;font-weight:800;box-shadow:0 2px 10px #17201524}.floating span{margin-left:4px}#toast{position:fixed;bottom:63px;right:17px;z-index:4;background:var(--olive);color:white;padding:11px 15px;font-size:13px;max-width:calc(100% - 34px)}#toast:empty{display:none}
@media(max-width:900px){.hero h1{font-size:clamp(48px,7vw,72px)}.header{gap:10px}.header nav{gap:16px}.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.announcement{font-size:9px;height:30px}.header{height:62px;grid-template-columns:1fr auto auto}.wordmark{font-size:26px}.menu{display:block;border:0;background:transparent;padding:9px 5px;font-size:13px;font-weight:700}.header nav{display:none;position:absolute;inset:100% 0 auto;padding:15px var(--pad);background:var(--paper);border-bottom:1px solid var(--line);flex-direction:column;gap:0}.header nav.open{display:flex}.header nav a{padding:10px 0}.rfq-link{padding:5px 7px;gap:5px}.hero{grid-template-columns:1fr}.hero-copy{padding:37px var(--pad)}.hero h1{font-size:clamp(55px,13vw,75px)}.hero .eyebrow{margin-bottom:17px}.hero p{margin:17px 0}.hero-gallery a{aspect-ratio:.94}.hero-gallery span{left:8px;bottom:8px}.facts{padding:0}.facts div{flex-direction:column;gap:3px;padding:10px 3px}.facts span{font-size:10px}.facts strong{font-size:18px}.section-head{align-items:start;flex-direction:column;gap:9px}.categories{gap:8px}.category img{aspect-ratio:.8}.category h3{font-size:15px}.category figcaption{gap:3px;padding:8px 0}.category figcaption b{display:none}.category figcaption small{font-size:10px}.split,.detail,.rfq-grid{grid-template-columns:1fr}.split>img{min-height:220px;max-height:320px}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 9px}.production-grid,.steps{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{padding-right:65px}.fields{gap:9px}.qty .btn{padding:9px}.page-head{padding-top:30px}.floating{bottom:10px;right:10px}}

.header .wordmark img { width: 82px; height: auto; object-fit: contain; }
.footer .wordmark img { width: 106px; height: auto; object-fit: contain; }
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.35fr; }
.footer-grid a { overflow-wrap: anywhere; }
.about-hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--olive); color: var(--paper); }
.about-hero-copy { align-self: center; padding: clamp(42px, 6vw, 100px) var(--pad); }
.about-hero .eyebrow { color: var(--acid); margin-bottom: 19px; }
.about-hero h1 { font-size: clamp(50px, 7vw, 102px); line-height: .92; letter-spacing: -.065em; }
.about-hero p { max-width: 370px; margin-top: 22px; color: #e0e2d7; }
.about-hero img { height: 100%; max-height: 620px; }
.about-story, .about-order { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 7vw, 100px); }
.about-story p, .about-order p { margin-top: 15px; max-width: 62ch; }
.about-order ol { padding-left: 20px; line-height: 1.65; }
.about-order li + li { margin-top: 7px; }
.about-cta { background: var(--olive); color: var(--paper); }
.about-cta .buttons { margin-top: 24px; }
.about-cta .btn:not(.light) { border-color: #bfc6b6; }
.contact-links { list-style: none; padding: 0; margin: 10px 0 0; }
.contact-links li { display: grid; gap: 3px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.contact-links li:last-child { border-bottom: 0; }
.contact-links span { font-weight: 700; font-size: 12px; }
.contact-links a { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .header .wordmark img { width: 68px; }
  .about-hero, .about-story, .about-order { grid-template-columns: 1fr; }
  .about-hero img { height: auto; max-height: 270px; }
}

/* Preserve the entire garment in collection and detail photography. */
.product-image img, .detail .main-photo, .thumbs img, .category img {
  object-fit: contain;
  object-position: center;
}
.category img { aspect-ratio: .86; }
.product-image:hover img, .category:hover img { transform: none; }
.detail .main-photo { aspect-ratio: 866 / 1300; max-height: 850px; }
#tier-pricing { margin: 24px 0; padding-top: 20px; border-top: 1px solid var(--line); }
.tier-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 14px 0; }
.tier-grid > button { background: transparent; text-align: left; color: var(--ink); padding: 10px 7px; border: 1px solid var(--line); font-size: 12px; }
.tier-grid strong, .tier-grid span { display: block; }
.tier-grid span { margin-top: 5px; color: var(--muted); }
.tier-grid > button.selected { background: #e7edce; border-color: var(--olive); }
.email-preview { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 12px; padding: 14px; background: var(--paper); }
.panel .buttons, .panel .btn { margin-top: 14px; }
.footer-cookie { padding: 0; color: inherit; font: inherit; background: none; border: 0; text-decoration: underline; }
dialog { width: min(540px, calc(100% - 32px)); padding: 28px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); }
dialog::backdrop { background: #1c211c85; }
dialog h2 { font-size: 30px; }
dialog p { margin: 15px 0; font-size: 14px; }
dialog .buttons { margin: 18px 0; gap: 8px; }
dialog .btn { font-size: 12px; }
.check-label { display: flex; align-items: center; gap: 9px; margin: 12px 0; }
.check-label input { width: 17px; min-height: 17px; height: 17px; margin: 0; }
@media(max-width:650px) {
  .tier-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-bottom div { flex-wrap: wrap; }
  dialog { padding: 20px; }
}

.footer-bottom { padding-right: 130px; }
@media(max-width:650px) {
  .footer-bottom { padding-right: 100px; }
}

/* Keep the hero within narrow phone viewports. */
@media(max-width:360px){.hero{grid-template-columns:minmax(0,1fr)}.hero-copy{min-width:0}.hero h1{font-size:clamp(44px,13vw,50px)}}

.mv-shop{max-width:1440px;margin:auto;padding:42px 5%}.mv-shop h1{font-size:clamp(36px,5vw,64px)}.mv-shop .woocommerce-result-count{font-size:14px}.mv-shop ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;clear:both}.mv-shop ul.products::before,.mv-shop ul.products::after{display:none!important}.mv-shop ul.products li.product{width:auto!important;float:none!important;margin:0!important;min-width:0}.mv-shop ul.products li.product img{aspect-ratio:2/3;object-fit:contain;background:#f4f5f0}.mv-shop .woocommerce-loop-product__title{font-size:20px!important}.mv-shop .price{color:inherit!important;font-size:14px!important}.mv-shop .mv-inquire{margin:12px 0}.mv-shop .woocommerce-product-gallery img{max-width:100%;height:auto}.mv-shop .summary .product_title{font-size:44px}.mv-shop .woocommerce-product-gallery__wrapper{margin:0}.mv-shop .woocommerce-tabs{clear:both;padding-top:32px}.mv-tiers{width:100%;border-collapse:collapse;margin:24px 0}.mv-tiers caption{text-align:left;font-weight:600;margin-bottom:12px}.mv-tiers td,.mv-tiers th{text-align:left;padding:12px;border-bottom:1px solid #d0d4ca}.mv-price-locked{font-size:14px}.mv-category-nav{display:flex;gap:12px;flex-wrap:wrap;padding:16px 0 30px}.mv-category-nav a{border:1px solid #bac0b0;padding:8px 14px;text-decoration:none}.mv-media-track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:16px}.mv-media-track figure{flex:0 0 65%;margin:0;scroll-snap-align:start}.mv-media-track img,.mv-media-track video{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#e8eae2}.mv-media-track figcaption,.mv-logo-grid figcaption{padding-top:12px}.mv-logo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.mv-logo-grid figure{margin:0}.mv-logo-grid img{width:100%;height:100px;object-fit:contain}.mv-production .section-head{flex-wrap:wrap;gap:18px}@media(max-width:700px){.mv-shop{padding:28px 5%}.mv-shop ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mv-shop .woocommerce-loop-product__title{font-size:18px!important}.mv-shop .btn{font-size:14px;padding:12px}.mv-shop div.product div.images,.mv-shop div.product div.summary{float:none!important;width:100%!important}.mv-shop .summary .product_title{font-size:32px}.mv-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mv-media-track figure{flex-basis:90%}}@media(max-width:360px){.mv-shop ul.products{grid-template-columns:minmax(0,1fr)}}

label,.form-note{font-size:14px}.mv-account-link{margin-top:14px}
