/*! NYBD Holiday Gifts — NY Bakery & Desserts
 * Every rule is scoped to .nybd-hg so WoodMart / Elementor styles are not affected.
 * Tokens mirror nybakeryanddesserts.com (WoodMart): Manrope, #ECA81F, #222, #FAF8F5.
 */
.nybd-hg{
	--nybd-primary:#ECA81F;
	--nybd-primary-dark:#C98A0C;
	--nybd-dark:#222;
	--nybd-title:#242424;
	--nybd-link:#333;
	--nybd-text:#777;
	--nybd-cream:#FAF8F5;
	--nybd-line:#EAE4D8;
	--nybd-field:#E3DED4;
	--nybd-holiday:#A61C24;
	--nybd-radius:10px;
	--nybd-btn-radius:5px;
	--nybd-pill:35px;
	--nybd-shadow:0 6px 24px rgba(34,34,34,.07);
	font-family:inherit;
	color:var(--nybd-text);
	line-height:1.6;
}
.nybd-hg *,.nybd-hg *::before,.nybd-hg *::after{box-sizing:border-box}
.nybd-hg img{max-width:100%;height:auto;display:block}
.nybd-hg h1,.nybd-hg h2,.nybd-hg h3{font-family:inherit;color:var(--nybd-title);margin:0;line-height:1.15}
.nybd-hg p{margin:0}
.nybd-hg ul,.nybd-hg ol{margin:0!important;padding:0!important;list-style:none!important}
.nybd-hg li{margin:0!important;padding:0;list-style:none!important}
.nybd-hg li::marker{content:none}
.nybd-hg svg{flex:0 0 auto}

/* Sticky-header-aware anchor jumps (#collection, #quote) */
html:has(.nybd-hg){scroll-padding-top:110px}
@media (prefers-reduced-motion:no-preference){html:has(.nybd-hg){scroll-behavior:smooth}}

/* Containers that hold NYBD widgets fill the content width (no extra side padding) */
.e-con:has(.nybd-hg){--padding-left:0px;--padding-right:0px}
.elementor-section:has(.nybd-hg)>.elementor-container>.elementor-column>.elementor-widget-wrap{padding-left:0;padding-right:0}

/* ---------- Eyebrow ---------- */
.nybd-hg .nybd-eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--nybd-holiday);font-weight:800;letter-spacing:.14em;font-size:12px;line-height:1.3;text-transform:uppercase}
.nybd-hg .nybd-eyebrow::before{content:"";width:26px;height:2px;background:currentColor;flex:0 0 auto}
.nybd-hg .nybd-eyebrow--gold{color:var(--nybd-primary)}

/* ---------- Buttons ---------- */
.nybd-hg .nybd-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:12px 24px;border-radius:var(--nybd-btn-radius);border:2px solid transparent;font-family:inherit;font-weight:600;font-size:14px;line-height:1.2;text-decoration:none;text-align:center;cursor:pointer;transition:background-color .2s,color .2s,border-color .2s,transform .2s;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.nybd-hg .nybd-btn:focus-visible{outline:3px solid rgba(236,168,31,.45);outline-offset:2px}
.nybd-hg .nybd-btn--dark{background:var(--nybd-dark);color:#fff}
.nybd-hg .nybd-btn--dark:hover{background:#000;color:#fff}
.nybd-hg .nybd-btn--gold{background:var(--nybd-primary);color:#fff}
.nybd-hg .nybd-btn--gold:hover{background:var(--nybd-primary-dark);color:#fff}
.nybd-hg .nybd-btn--outline{background:#fff;color:var(--nybd-dark);border-color:var(--nybd-dark)}
.nybd-hg .nybd-btn--outline:hover{background:var(--nybd-dark);color:#fff}
.nybd-hg .nybd-btn--chip{background:#fff;color:var(--nybd-link);border:1px solid #E9D9B8;border-radius:var(--nybd-radius);font-size:14px;padding:10px 14px;min-height:48px}
.nybd-hg .nybd-btn--chip:hover{border-color:var(--nybd-primary);color:var(--nybd-title)}
.nybd-hg .nybd-btn--block{width:100%}
.nybd-hg .nybd-btn[disabled]{opacity:.65;cursor:wait}

/* ---------- Hero ---------- */
.nybd-hg .nybd-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);min-height:460px;background:var(--nybd-cream);border-radius:var(--nybd-radius);overflow:hidden}
.nybd-hg .nybd-hero--pattern::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(#E9D9B8 1.2px,transparent 1.6px);background-size:26px 26px;opacity:.55;-webkit-mask-image:linear-gradient(90deg,#000,transparent 55%);mask-image:linear-gradient(90deg,#000,transparent 55%)}
.nybd-hg .nybd-hero__copy{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:left;padding:48px 40px 48px 0}
.nybd-hg .nybd-hero__title{font-size:clamp(34px,4.2vw,54px);font-weight:800;letter-spacing:-.025em;margin:16px 0 10px}
.nybd-hg .nybd-hero__title em{font-style:normal;color:var(--nybd-primary);display:inline-block}
.nybd-hg .nybd-hero__sub{color:var(--nybd-title);font-weight:700;font-size:13px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:14px}
.nybd-hg .nybd-hero__text{max-width:470px;font-size:15px;margin-bottom:22px}
.nybd-hg .nybd-locs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px!important}
.nybd-hg .nybd-loc{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;line-height:1.2;background:#fff;border:1px solid var(--nybd-line);border-radius:var(--nybd-pill);padding:6px 14px;font-size:12.5px;font-weight:700;color:var(--nybd-link);text-decoration:none}
.nybd-hg a.nybd-loc:hover{border-color:var(--nybd-primary)}
.nybd-hg .nybd-loc svg{width:13px;height:13px;color:var(--nybd-primary)}
.nybd-hg .nybd-hero__ctas{display:flex;flex-wrap:wrap;gap:12px}
.nybd-hg .nybd-hero__media{position:relative;min-height:300px;background:#EFE7DA}
.nybd-hg .nybd-hero__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.nybd-hg .nybd-hero__badge{position:absolute;left:20px;bottom:20px;right:auto;max-width:calc(100% - 40px);background:rgba(255,255,255,.96);border-radius:var(--nybd-radius);padding:12px 16px;box-shadow:var(--nybd-shadow);font-size:12.5px;color:var(--nybd-text);text-decoration:none;line-height:1.35}
.nybd-hg .nybd-hero__badge b{display:block;color:var(--nybd-title);font-size:14px;margin-bottom:2px}
.nybd-hg .nybd-hero__badge strong{color:var(--nybd-primary);font-weight:800}

/* ---------- Quick links ---------- */
.nybd-hg .nybd-chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}

/* ---------- Section heading ---------- */
.nybd-hg .nybd-head{max-width:640px;margin:0 auto;text-align:center}
.nybd-hg .nybd-head--left{margin-left:0}
.nybd-hg .nybd-head__title{font-size:clamp(28px,3.2vw,40px);font-weight:700;letter-spacing:-.02em;margin-top:10px}
.nybd-hg .nybd-head__text{margin-top:10px;font-size:15px}

/* ---------- Custom gift / corporate ---------- */
.nybd-hg .nybd-custom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--nybd-dark);border-radius:var(--nybd-radius);overflow:hidden;color:rgba(255,255,255,.78)}
.nybd-hg .nybd-custom--img-left .nybd-custom__media{order:-1}
.nybd-hg .nybd-custom__copy{padding:56px clamp(28px,4.5vw,60px)}
.nybd-hg .nybd-custom__title{color:#fff;font-size:clamp(28px,3vw,40px);font-weight:800;letter-spacing:-.02em;margin-top:12px}
.nybd-hg .nybd-custom__text{margin-top:14px;font-size:15px}
.nybd-hg .nybd-tags{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 30px!important}
.nybd-hg .nybd-tags li{display:inline-flex;align-items:center;justify-content:center;height:34px;padding:0 14px!important;border:1px solid rgba(255,255,255,.2);border-radius:var(--nybd-pill);font-size:12.5px;font-weight:500;color:#fff;line-height:1;white-space:nowrap}
.nybd-hg .nybd-custom__sub{color:var(--nybd-primary);font-size:14px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:14px}
.nybd-hg .nybd-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin-bottom:32px!important}
.nybd-hg .nybd-checklist li{display:flex;align-items:center;gap:10px;color:#fff;font-size:14.5px;line-height:1.35}
.nybd-hg .nybd-checklist svg{width:18px;height:18px;color:var(--nybd-primary)}
.nybd-hg .nybd-custom__cta{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px}
.nybd-hg .nybd-custom__mail{display:inline-flex;align-items:center;gap:8px;color:#fff;font-weight:600;font-size:14px;text-decoration:none;word-break:break-all}
.nybd-hg .nybd-custom__mail:hover{color:var(--nybd-primary)}
.nybd-hg .nybd-custom__mail svg{width:18px;height:18px;color:var(--nybd-primary)}
.nybd-hg .nybd-custom__media{position:relative;min-height:380px}
.nybd-hg .nybd-custom__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* ---------- Quote ---------- */
.nybd-hg .nybd-quote{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:32px;align-items:start}
.nybd-hg .nybd-quote--solo{grid-template-columns:minmax(0,1fr);max-width:760px;margin:0 auto}
.nybd-hg .nybd-quote__aside{background:var(--nybd-cream);border-radius:var(--nybd-radius);padding:34px;position:sticky;top:110px}
.nybd-hg .nybd-quote__aside h3{font-size:22px;font-weight:800;margin-bottom:20px}
.nybd-hg .nybd-steps{counter-reset:nybd}
.nybd-hg .nybd-steps{display:grid;gap:18px;margin-bottom:22px!important}
.nybd-hg .nybd-steps li{counter-increment:nybd;display:flex;gap:14px;font-size:14px;line-height:1.5}
.nybd-hg .nybd-steps li::before{content:counter(nybd);flex:0 0 30px;height:30px;border-radius:50%;background:var(--nybd-primary);color:#fff;font-weight:800;font-size:14px;display:grid;place-items:center}
.nybd-hg .nybd-steps b{display:block;color:var(--nybd-title);font-size:14.5px}
.nybd-hg .nybd-quote__contact{border-top:1px solid var(--nybd-line);padding-top:18px;margin-top:6px;display:grid;gap:10px}
.nybd-hg .nybd-quote__contact a{display:inline-flex;align-items:center;gap:10px;color:var(--nybd-title);font-weight:700;font-size:14px;text-decoration:none;word-break:break-all}
.nybd-hg .nybd-quote__contact a:hover{color:var(--nybd-primary)}
.nybd-hg .nybd-quote__contact svg{width:18px;height:18px;color:var(--nybd-primary)}

/* Form */
.nybd-hg .nybd-qform{background:#fff;border:1px solid #F0EBE1;border-radius:var(--nybd-radius);padding:32px;box-shadow:var(--nybd-shadow);margin:0}
.nybd-hg .nybd-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.nybd-hg .nybd-field{margin:0 0 16px;min-width:0;border:0;padding:0}
.nybd-hg .nybd-label{display:block;font-weight:700;color:var(--nybd-title);font-size:13px;line-height:1.3;margin:0 0 7px;padding:0}
.nybd-hg .nybd-req{color:var(--nybd-holiday)}
.nybd-hg .nybd-qform input:not([type=checkbox]),
.nybd-hg .nybd-qform select,
.nybd-hg .nybd-qform textarea{
	display:block;width:100%;max-width:100%;height:48px;min-height:48px;margin:0;
	padding:0 18px;border:1px solid var(--nybd-field);border-radius:var(--nybd-pill);
	background:#fff;color:var(--nybd-title);font-family:inherit;font-size:15px;line-height:1.3;
	box-shadow:none;outline:none;-webkit-appearance:none;appearance:none;transition:border-color .2s,box-shadow .2s
}
.nybd-hg .nybd-qform textarea{height:auto;min-height:120px;padding:14px 18px;border-radius:var(--nybd-radius);resize:vertical}
.nybd-hg .nybd-qform input::placeholder,.nybd-hg .nybd-qform textarea::placeholder{color:#aaa;opacity:1}
.nybd-hg .nybd-qform input:focus,.nybd-hg .nybd-qform select:focus,.nybd-hg .nybd-qform textarea:focus{border-color:var(--nybd-primary);box-shadow:0 0 0 3px rgba(236,168,31,.18)}
.nybd-hg .nybd-qform .is-invalid{border-color:var(--nybd-holiday)!important;box-shadow:0 0 0 3px rgba(166,28,36,.1)!important}
.nybd-hg .nybd-field__err{display:block;color:var(--nybd-holiday);font-size:12.5px;margin-top:6px}
/* number: no spinners */
.nybd-hg .nybd-qform input[type=number]{-moz-appearance:textfield}
.nybd-hg .nybd-qform input[type=number]::-webkit-inner-spin-button,.nybd-hg .nybd-qform input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
/* date: iOS/Safari alignment */
.nybd-hg .nybd-qform input[type=date]{text-align:left;line-height:46px}
.nybd-hg .nybd-qform input[type=date]::-webkit-date-and-time-value{text-align:left;margin:0}
.nybd-hg .nybd-qform input[type=date]::-webkit-calendar-picker-indicator{opacity:.6;cursor:pointer}
/* select arrow */
.nybd-hg .nybd-select{position:relative}
.nybd-hg .nybd-select::after{content:"";position:absolute;right:20px;top:50%;width:8px;height:8px;border-right:2px solid #555;border-bottom:2px solid #555;transform:translateY(-70%) rotate(45deg);pointer-events:none}
.nybd-hg .nybd-qform select{padding-right:44px;cursor:pointer;text-overflow:ellipsis}
/* checkbox chips */
.nybd-hg .nybd-checks{display:flex;flex-wrap:wrap;gap:8px}
.nybd-hg .nybd-check{position:relative;display:inline-flex;margin:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.nybd-hg .nybd-check input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.nybd-hg .nybd-check span{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 15px;border:1px solid var(--nybd-field);border-radius:var(--nybd-pill);font-size:13px;font-weight:600;color:var(--nybd-link);line-height:1.2;transition:.15s;user-select:none}
.nybd-hg .nybd-check span::before{content:"";width:16px;height:16px;border:1.5px solid #bbb;border-radius:4px;background:#fff center/11px no-repeat;transition:.15s}
.nybd-hg .nybd-check input:checked+span{border-color:var(--nybd-primary);background:#FFF8E9;color:var(--nybd-title)}
.nybd-hg .nybd-check input:checked+span::before{background-color:var(--nybd-primary);border-color:var(--nybd-primary);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E")}
.nybd-hg .nybd-check input:focus-visible+span{box-shadow:0 0 0 3px rgba(236,168,31,.3)}
.nybd-hg .nybd-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.nybd-hg .nybd-qform__msg:empty{display:none}
.nybd-hg .nybd-qform__msg{background:#FBEFEF;color:var(--nybd-holiday);border-radius:var(--nybd-btn-radius);padding:10px 14px;font-size:13.5px;font-weight:600;margin:0 0 14px}
.nybd-hg .nybd-qform__note{font-size:12.5px;text-align:center;margin-top:12px}
.nybd-hg .nybd-qform__success{text-align:center;padding:40px 10px}
.nybd-hg .nybd-qform__success[hidden]{display:none}
.nybd-hg .nybd-qform__success svg{width:58px;height:58px;color:var(--nybd-primary);margin:0 auto 14px;display:block}
.nybd-hg .nybd-qform__success h3{font-size:22px;margin-bottom:6px}
.nybd-hg .nybd-spin{width:16px;height:16px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:nybdspin .7s linear infinite}
@keyframes nybdspin{to{transform:rotate(360deg)}}

/* ---------- Mobile bar ---------- */
.nybd-hg .nybd-mbar{display:none}

/* ================= Responsive ================= */
@media (max-width:1024px){
	.nybd-hg .nybd-hero{grid-template-columns:minmax(0,1fr) minmax(0,.9fr)}
	.nybd-hg .nybd-quote{grid-template-columns:minmax(0,1fr)}
	.nybd-hg .nybd-quote__aside{position:static}
	/* iOS zooms inputs < 16px: keep 16px on touch sizes */
	.nybd-hg .nybd-qform input:not([type=checkbox]),.nybd-hg .nybd-qform select,.nybd-hg .nybd-qform textarea{font-size:16px}
}
@media (max-width:768px){
	html:has(.nybd-hg){scroll-padding-top:80px}
	.nybd-hg .nybd-hero{grid-template-columns:minmax(0,1fr);min-height:0!important}
	.nybd-hg .nybd-hero__media{order:-1;min-height:0;aspect-ratio:4/3}
	.nybd-hg .nybd-hero__badge{left:12px;bottom:12px;max-width:calc(100% - 24px);padding:9px 12px}
	.nybd-hg .nybd-hero__badge b{font-size:13px}
	.nybd-hg .nybd-hero__copy{padding:24px 0 28px}
	.nybd-hg .nybd-hero__title{margin:12px 0 8px}
	.nybd-hg .nybd-hero__text{font-size:14.5px;margin-bottom:18px}
	.nybd-hg .nybd-locs{flex-wrap:nowrap;gap:6px;margin-bottom:22px!important}
	.nybd-hg .nybd-locs li{min-width:0;flex:0 1 auto}
	.nybd-hg .nybd-loc{padding:6px 10px;font-size:12px;gap:4px}
	.nybd-hg .nybd-loc svg{width:12px;height:12px}
	.nybd-hg .nybd-hero__ctas{width:100%;display:grid;grid-template-columns:minmax(0,1fr)}
	.nybd-hg .nybd-hero__ctas .nybd-btn{width:100%}

	.nybd-hg .nybd-chips{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
	.nybd-hg .nybd-btn--chip{font-size:13px;padding:8px 10px;line-height:1.25}

	.nybd-hg .nybd-head__text{font-size:14.5px}

	.nybd-hg .nybd-custom{grid-template-columns:minmax(0,1fr)}
	.nybd-hg .nybd-custom__media{order:-1;min-height:0;aspect-ratio:16/10}
	.nybd-hg .nybd-custom__copy{padding:28px 20px 30px}
	.nybd-hg .nybd-tags{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:18px 0 26px!important}
	.nybd-hg .nybd-tags li{width:100%;height:38px;padding:0 10px!important;font-size:12.5px}
	.nybd-hg .nybd-checklist{grid-template-columns:minmax(0,1fr);margin-bottom:26px}
	.nybd-hg .nybd-custom__cta .nybd-btn{width:100%}

	.nybd-hg .nybd-quote{gap:18px}
	.nybd-hg .nybd-quote__aside{padding:24px 20px}
	.nybd-hg .nybd-quote__aside h3{font-size:19px;margin-bottom:16px}
	.nybd-hg .nybd-qform{padding:22px 18px;box-shadow:none}
	.nybd-hg .nybd-row{grid-template-columns:minmax(0,1fr)}
	.nybd-hg .nybd-check span{min-height:42px}

	.nybd-hg .nybd-mbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:390;background:#fff;padding:10px 12px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -4px 18px rgba(0,0,0,.08);transform:translateY(120%);transition:transform .3s ease}
	.nybd-hg .nybd-mbar.is-visible{transform:none}
	.nybd-hg .nybd-mbar .nybd-btn{min-height:46px;padding:10px 12px}
	.nybd-hg .nybd-mbar--editor{position:static;transform:none}
	html.nybd-mbar-on body{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
}
@media (max-width:380px){
	.nybd-hg .nybd-locs{gap:5px}
	.nybd-hg .nybd-loc{padding:6px 8px;font-size:11.5px;gap:3px}
	.nybd-hg .nybd-loc svg{width:11px;height:11px}
}
@media (max-width:340px){
	.nybd-hg .nybd-locs{flex-wrap:wrap}
}
@media (prefers-reduced-motion:reduce){
	.nybd-hg *{transition:none!important;animation:none!important}
}
