/* =========================================================
   MD EVERYTHING
   Corporate Premium Marketplace
========================================================= */

:root {
    --black: #101010; --dark: #171717; --dark-soft: #222222;
    --gold: #c89b3c; --gold-light: #e2bd68; --cream: #f7f5ef;
    --white: #ffffff; --grey: #777777; --border: #e5e2da; --success: #167a45;
    --radius: 18px; --shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", sans-serif; color: var(--black); background: var(--cream); line-height: 1.5; }
button, input, select { font: inherit; } button { border: 0; cursor: pointer; } a { color: inherit; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(15px); border-bottom: 1px solid var(--border); }
.header-inner { width: min(1200px,calc(100% - 40px)); height: 78px; margin:auto; display:flex; align-items:center; justify-content:space-between; }
.brand { display:flex; align-items:center; gap:11px; } .brand-mark { width:40px;height:40px;display:grid;place-items:center;background:var(--black);color:var(--gold);font-family:"Manrope",sans-serif;font-weight:800;font-size:14px;border-radius:8px; }
.brand-name { font-family:"Manrope",sans-serif;font-size:15px;letter-spacing:-.5px; } .brand-name strong{font-weight:800}
.desktop-nav{display:flex;gap:34px;margin-left:auto;margin-right:40px}.desktop-nav a{font-size:13px;font-weight:600;color:#555;transition:.2s}.desktop-nav a:hover{color:var(--black)}
.header-actions{display:flex;align-items:center;gap:10px}.search-toggle,.cart-button,.menu-button{width:42px;height:42px;border-radius:50%;background:#f2f1ed;display:grid;place-items:center;position:relative}.cart-count{position:absolute;top:-4px;right:-3px;width:18px;height:18px;border-radius:50%;background:var(--gold);color:var(--black);font-size:10px;font-weight:800;display:grid;place-items:center}.menu-button{display:none}
.mobile-nav{display:none}.search-panel{display:none;border-top:1px solid var(--border);padding:14px 20px;background:white}.search-panel.active{display:block}.search-wrapper{max-width:700px;margin:auto;display:flex;align-items:center;gap:10px;background:#f4f3ef;padding:13px 16px;border-radius:12px}.search-wrapper input{border:0;outline:0;background:transparent;width:100%}
.hero{min-height:590px;padding:90px max(20px,calc((100% - 1200px)/2));background:radial-gradient(circle at 85% 25%,rgba(200,155,60,.22),transparent 30%),linear-gradient(115deg,#101010 0%,#1c1c1c 60%,#27231b 100%);color:white;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:70px}
.hero-content{max-width:680px}.hero-label,.eyebrow{display:block;font-size:10px;letter-spacing:2px;font-weight:800;color:var(--gold);margin-bottom:18px}.hero h1{font-family:"Manrope",sans-serif;font-size:clamp(45px,6vw,78px);line-height:.98;letter-spacing:-4px;max-width:700px}.hero h1 span{color:var(--gold)}.hero p{margin-top:26px;max-width:540px;color:#c7c7c7;font-size:16px}.hero-buttons{margin-top:35px;display:flex;flex-wrap:wrap;gap:12px}
.primary-button,.secondary-button,.white-button{padding:15px 23px;border-radius:8px;font-size:13px;font-weight:800;display:inline-flex;align-items:center;justify-content:center}.primary-button{background:var(--gold);color:var(--black)}.secondary-button{border:1px solid #555;color:white}.white-button{background:white;color:var(--black)}
.hero-card{min-height:390px;padding:28px;border:1px solid rgba(255,255,255,.16);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.02));box-shadow:0 30px 80px rgba(0,0,0,.3);display:flex;flex-direction:column;justify-content:space-between}.hero-card-top,.hero-card-bottom{display:flex;justify-content:space-between;font-size:10px;font-weight:800;letter-spacing:2px;color:#aaa}.hero-card-middle{display:flex;flex-direction:column;font-family:"Manrope",sans-serif;font-size:clamp(45px,7vw,90px);line-height:.8;letter-spacing:-5px}.hero-card-middle strong:nth-child(2){color:var(--gold);font-size:40px;margin:15px 0}
.benefits{width:min(1200px,calc(100% - 40px));margin:-35px auto 0;position:relative;z-index:5;background:white;border-radius:16px;box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(3,1fr)}.benefit{padding:25px;display:flex;align-items:center;gap:15px;border-right:1px solid var(--border)}.benefit:last-child{border:0}.benefit-icon{width:45px;height:45px;display:grid;place-items:center;background:#f3efe5;border-radius:12px}.benefit strong,.benefit small{display:block}.benefit strong{font-size:13px}.benefit small{color:var(--grey);font-size:11px;margin-top:3px}
.section{width:min(1200px,calc(100% - 40px));margin:auto;padding:100px 0}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:35px}.section-heading h2{font-family:"Manrope",sans-serif;font-size:clamp(28px,4vw,42px);line-height:1;letter-spacing:-1.5px}
.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.category-card{min-height:125px;padding:20px;border:1px solid var(--border);border-radius:15px;background:white;text-align:left;transition:.25s}.category-card span{display:block;font-family:"Manrope",sans-serif;font-weight:800;font-size:14px}.category-card small{display:block;color:var(--grey);font-size:10px;margin-top:6px}.category-card:hover,.category-card.active{background:var(--black);color:white;transform:translateY(-4px)}.category-card:hover small,.category-card.active small{color:#aaa}
.deal-banner{width:min(1200px,calc(100% - 40px));margin:auto;padding:55px 60px;border-radius:22px;background:radial-gradient(circle at 85% 20%,rgba(200,155,60,.2),transparent 35%),#161616;color:white;display:flex;align-items:center;justify-content:space-between;gap:30px}.deal-banner h2{font-family:"Manrope",sans-serif;font-size:clamp(30px,4vw,48px);line-height:1}.deal-banner h2 span{color:var(--gold)}.deal-banner p{color:#aaa;margin-top:12px}
.shop-section{padding-bottom:100px}.sort-wrapper select{padding:12px 15px;border:1px solid var(--border);border-radius:8px;background:white;font-size:12px;outline:0}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-card{background:white;border:1px solid var(--border);border-radius:17px;overflow:hidden;transition:.25s}.product-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.product-image{height:210px;background:linear-gradient(145deg,#eeeeeb,#deddd7);display:grid;place-items:center;font-size:65px;position:relative}.product-category{position:absolute;top:12px;left:12px;padding:6px 9px;background:rgba(255,255,255,.9);border-radius:6px;font-size:9px;font-weight:800;letter-spacing:.8px}.product-info{padding:18px}.product-info h3{font-size:14px;margin-bottom:6px}.product-info p{font-size:11px;color:var(--grey);min-height:34px}.product-bottom{margin-top:15px;display:flex;align-items:center;justify-content:space-between}.product-price{font-family:"Manrope",sans-serif;font-weight:800;font-size:17px}.add-button{width:36px;height:36px;border-radius:9px;background:var(--black);color:white;font-size:18px}
.service-area{padding:100px max(20px,calc((100% - 1200px)/2));background:#eae7df}.service-content{max-width:720px}.service-content h2{font-family:"Manrope",sans-serif;font-size:clamp(34px,5vw,60px);line-height:1;letter-spacing:-2px}.service-content h2 span{color:#777}.service-content p{margin-top:20px;color:#666}.service-points{display:flex;flex-wrap:wrap;gap:25px;margin-top:35px}.service-points div{font-size:12px;font-weight:700}.service-points span{color:var(--gold);margin-right:8px}
.cart-drawer{position:fixed;top:0;right:-450px;width:min(450px,100%);height:100vh;background:white;z-index:2000;display:flex;flex-direction:column;transition:.35s ease;box-shadow:-20px 0 60px rgba(0,0,0,.15)}.cart-drawer.open{right:0}.cart-header{padding:25px;display:flex;justify-content:space-between;border-bottom:1px solid var(--border)}.cart-header h2{font-family:"Manrope",sans-serif}.cart-header button{background:#f2f2f2;width:35px;height:35px;border-radius:50%;font-size:22px}.cart-items{flex:1;overflow-y:auto;padding:20px}.empty-cart{text-align:center;color:var(--grey);padding:80px 20px}.cart-item{display:grid;grid-template-columns:65px 1fr auto;gap:12px;padding:15px 0;border-bottom:1px solid var(--border)}.cart-item-image{width:65px;height:65px;background:#f0efeb;border-radius:10px;display:grid;place-items:center;font-size:25px}.cart-item h4{font-size:12px}.cart-item p{font-size:11px;color:var(--grey);margin-top:3px}.quantity-controls{display:flex;align-items:center;gap:8px;margin-top:8px}.quantity-controls button{width:23px;height:23px;border-radius:5px;background:#eee}.quantity-controls span{font-size:11px;font-weight:700}.cart-item-price{font-size:12px;font-weight:800}.cart-footer{padding:22px;border-top:1px solid var(--border)}.cart-total{display:flex;justify-content:space-between;margin-bottom:17px}.cart-total span{color:var(--grey);font-size:12px}.cart-total strong{font-size:20px}.checkout-button{width:100%;padding:16px;background:var(--black);color:white;border-radius:9px;font-size:13px;font-weight:800}.checkout-note{display:block;text-align:center;color:var(--grey);font-size:9px;margin-top:10px}.overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:1500;opacity:0;pointer-events:none;transition:.3s}.overlay.active{opacity:1;pointer-events:auto}
footer{background:var(--black);color:white}.footer-main{width:min(1200px,calc(100% - 40px));margin:auto;padding:70px 0;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:50px}.footer-brand p{max-width:300px;color:#888;font-size:12px;margin-top:18px}.footer-column{display:flex;flex-direction:column;gap:10px}.footer-column h4{color:var(--gold);font-size:11px;letter-spacing:1px;margin-bottom:8px}.footer-column a,.footer-column span{color:#999;font-size:11px}.footer-bottom{width:min(1200px,calc(100% - 40px));margin:auto;padding:20px 0;border-top:1px solid #292929;display:flex;justify-content:space-between;color:#666;font-size:9px;letter-spacing:.5px}
@media(max-width:950px){.desktop-nav{display:none}.menu-button{display:grid}.hero{grid-template-columns:1fr;padding-top:70px;padding-bottom:80px}.hero-card{display:none}.category-grid{grid-template-columns:repeat(3,1fr)}.product-grid{grid-template-columns:repeat(3,1fr)}.footer-main{grid-template-columns:2fr 1fr 1fr}}
@media(max-width:700px){.header-inner{width:calc(100% - 28px);height:68px}.brand-name{font-size:13px}.brand-mark{width:36px;height:36px}.mobile-nav{padding:15px 20px 20px;background:white;border-top:1px solid var(--border);flex-direction:column;gap:14px}.mobile-nav.active{display:flex}.mobile-nav a{font-size:13px;font-weight:700}.hero{padding-left:22px;padding-right:22px}.hero h1{font-size:48px;letter-spacing:-2.5px}.benefits{width:calc(100% - 28px);grid-template-columns:1fr}.benefit{border-right:0;border-bottom:1px solid var(--border)}.section{width:calc(100% - 28px);padding:70px 0}.category-grid{grid-template-columns:repeat(2,1fr)}.deal-banner{width:calc(100% - 28px);padding:35px 25px;flex-direction:column;align-items:flex-start}.shop-heading{align-items:flex-start;flex-direction:column;gap:20px}.product-grid{grid-template-columns:repeat(2,1fr);gap:10px}.product-image{height:160px}.product-info{padding:13px}.product-info h3{font-size:12px}.product-price{font-size:14px}.service-area{padding:70px 22px}.footer-main{grid-template-columns:1fr 1fr;gap:35px}.footer-brand{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:8px}}
@media(max-width:400px){.product-grid{grid-template-columns:1fr 1fr}.product-image{height:135px;font-size:45px}.hero h1{font-size:42px}}
.product-image{font-size:0!important;overflow:hidden;padding:0!important;background:#eeeeeb;position:relative}.product-image img{width:100%;height:100%;object-fit:cover;display:block}.product-category{font-size:9px!important;z-index:2}.cart-item-image{overflow:hidden;font-size:0!important}.cart-item-image img{width:100%;height:100%;object-fit:cover;display:block}
.product-card{display:flex;flex-direction:column}.product-image{height:170px!important}.product-info{padding:10px 12px!important;flex:1;display:flex;flex-direction:column}.product-info h3{font-size:12px!important;margin-bottom:2px!important;line-height:1.2}.product-info p{font-size:10px!important;min-height:auto!important;line-height:1.3;margin-top:2px;flex:1}.product-bottom{margin-top:8px!important}
.app-modal{position:fixed;inset:0;z-index:3000;display:none;align-items:center;justify-content:center;padding:20px}.app-modal.open{display:flex}.app-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.65);backdrop-filter:blur(4px)}.app-modal-content{position:relative;background:#fff;width:min(520px,100%);border-radius:18px;padding:28px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px rgba(0,0,0,.3);animation:modalPop .25s ease}@keyframes modalPop{from{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}.app-modal-close{position:absolute;top:14px;right:14px;width:34px;height:34px;border-radius:50%;background:#f2f1ed;font-size:20px}.image-modal-content{padding:0;overflow:hidden;width:min(700px,100%)}.image-modal-content img{width:100%;max-height:65vh;object-fit:cover;display:block}.image-modal-info{padding:20px 24px}.image-modal-info h3{font-family:Manrope;font-size:18px}.image-modal-info p{color:#777;font-size:12px;margin-top:6px}.image-modal-info strong{display:block;margin-top:10px;font-size:18px}
#optionsContainer{margin-top:18px;display:grid;gap:18px}.option-group label{font-size:11px;font-weight:800;letter-spacing:1px;text-transform:uppercase;display:block;margin-bottom:8px}.option-group.option-pills{display:flex;flex-wrap:wrap;gap:8px}.option-pill{padding:9px 14px;border:1px solid #e5e2da;border-radius:100px;font-size:12px;font-weight:600;background:#fff;transition:.2s}.option-pill.active{background:#101010;color:#fff;border-color:#101010}.option-pill:hover{border-color:#101010}.options-actions{display:flex;gap:10px;margin-top:24px}.secondary-button-dark{flex:1;padding:15px;border-radius:9px;border:1px solid #e5e2da;background:#fff;font-weight:800;font-size:13px}.options-actions.primary-button{flex:1}
.delivery-form{margin-top:18px;display:grid;gap:12px}.delivery-form label{font-size:11px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;margin-top:4px}.delivery-form textarea,.delivery-form input{width:100%;padding:13px 14px;border:1px solid #e5e2da;border-radius:10px;outline:0;font-size:13px;background:#f7f5ef}.delivery-form textarea{min-height:80px;resize:vertical}.delivery-form textarea:focus,.delivery-form input:focus{border-color:#101010;background:#fff}.delivery-total{margin-top:10px;padding:14px;background:#f7f5ef;border-radius:10px;font-size:13px;display:flex;justify-content:space-between}.full-width{width:100%}.product-image{cursor:zoom-in}.cart-item-options{font-size:10px;color:#c89b3c;margin-top:4px;font-weight:600}.cart-delivery-fee{color:#c89b3c;font-weight:600}.cart-delivery-fee strong{color:#c89b3c}.cart-grand-total{border-top:1px dashed #e5e2da;padding-top:10px;margin-top:6px;font-weight:800}.options-price-row{margin-top:12px;padding:12px;background:#f7f5ef;border-radius:10px;font-size:13px;display:flex;justify-content:space-between}#optionsLivePrice{color:#167a45;font-size:16px}


/* AGINCOURT WHOLESALE first-visit install welcome */
.welcome-modal{display:flex;opacity:1;visibility:visible}
.welcome-modal.dismissed{display:none}
.welcome-content{text-align:center;padding:34px 28px}
.welcome-mark{width:64px;height:64px;margin:0 auto 22px;display:grid;place-items:center;background:var(--black);color:var(--gold-light);font-family:Manrope,sans-serif;font-size:20px;font-weight:800;border-radius:15px;letter-spacing:-1px}
.welcome-content h2{font-family:Manrope,sans-serif;font-size:clamp(25px,6vw,34px);line-height:1.08;letter-spacing:-1px;margin-bottom:12px}
.welcome-content h2 span{color:var(--gold)}
.welcome-content>p:not(.eyebrow){font-size:13px;color:#666;margin:0 auto 22px;max-width:340px}
.welcome-content #installAppButton,.welcome-content #continueWebsiteButton{margin-top:10px;min-height:50px}
.welcome-content #continueWebsiteButton{width:100%;flex:unset}
.install-footnote{font-size:10px!important;margin-top:17px!important;margin-bottom:0!important;color:#888!important}
.install-help{font-size:12px!important;line-height:1.5;color:#333!important;background:#f7f5ef;padding:12px;border-radius:10px;text-align:left;margin-top:12px!important;margin-bottom:0!important}
body.welcome-open{overflow:hidden}
