/* Hay Devices — single device page (mirrors the legacy WPBakery device layout) */

.hd-device-page { max-width: 1170px; margin: 0 auto; padding: 0 15px 40px; }

/* 1. Header band */
.hd-band { background: #72797e; margin: 0 calc(50% - 50vw); }
.hd-band-inner { max-width: 1170px; margin: 0 auto; padding: 18px 15px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hd-title { color: #fff; font-size: 48px; line-height: 1.15; margin: 0; font-weight: 400; }
.hd-band-img { max-height: 90px; width: auto; }

/* 2. Back link */
.hd-back { padding: 12px 0 4px; }
.hd-back a { color: #333; text-decoration: none; }
.hd-back a:hover { text-decoration: underline; }

/* 3. Main columns */
.hd-main { display: flex; gap: 30px; align-items: flex-start; margin-top: 10px; }
.hd-col-gallery { flex: 0 0 32%; max-width: 32%; }
.hd-col-details { flex: 1 1 auto; min-width: 0; }

/* Carousel */
.hd-carousel { position: relative; }
.hd-car-frame { position: relative; text-align: center; }
.hd-car-img { display: none; max-width: 100%; height: auto; margin: 0 auto; }
.hd-car-img.active { display: inline-block; }
.hd-car-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(255,255,255,.85); border: 1px solid #ccc; border-radius: 50%; width: 34px; height: 34px; cursor: pointer; font-size: 14px; line-height: 1; }
.hd-car-prev { left: 0; }
.hd-car-next { right: 0; }
.hd-car-dots { text-align: center; margin-top: 8px; }
.hd-car-dot { width: 24px; height: 24px; border: 0; background: transparent; margin: 0 1px; padding: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }  /* 24px tap target (WCAG 2.2) */
.hd-car-dot::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1px solid #5d6469; background: #fff; box-sizing: border-box; }
.hd-car-dot.active::before { background: #5d6469; }

.hd-colors { text-align: center; margin: 14px 0 6px; }
.hd-colors span { font-size: 14px; }

/* Buttons */
.hd-btn-wrap { text-align: center; margin: 14px 0; }
.hd-btn { display: inline-block; padding: 9px 22px; border-radius: 3px; text-decoration: none; font-size: 14px; line-height: 1.4; transition: opacity .15s; }
.hd-btn:hover { opacity: .85; text-decoration: none; }
.hd-btn-grey { background: #ebebeb; color: #5a5a5a; }
.hd-btn-red { background: #b11616; color: #fff; }
.hd-btn-red:hover, .hd-btn-grey:hover { color: inherit; }
.hd-btn-red:hover { color: #fff; }

/* Features */
.hd-features { margin-bottom: 22px; }
.hd-features-head { font-size: 21px; margin-bottom: 10px; }
.hd-features p { margin: 0 0 8px; }

/* Pricing box */
.hd-pricebox { border: 1px solid #deb408; border-top-width: 6px; padding: 18px 22px 22px; }
.hd-pay-title { text-align: center; font-size: 28px; color: #000; margin: 0 0 6px; }
.hd-pay-note { text-align: center; margin: 0 0 14px; }

.hd-storage-tabs { display: flex; justify-content: center; gap: 5px; margin-bottom: 4px; flex-wrap: wrap; }
.hd-tab { background: #ebebeb; color: #333; border: 0; padding: 9px 20px; cursor: pointer; font-size: 14px; }
.hd-tab.active { background: #1a1a1a; color: #fff; }
.hd-storage-panel { display: none; }
.hd-storage-panel.active { display: block; }
.hd-storage-single { text-align: center; font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.hd-sep { border: 0; border-top: 1px solid #ddd; box-shadow: 0 1px 2px rgba(0,0,0,.08); margin: 10px 0 16px; }

.hd-tier { margin-bottom: 14px; }
.hd-tier-save { text-align: center; margin: 0 0 2px; font-size: 24px; color: #000; }
.hd-tier-choose { font-size: 16px; color: #a6083a; }
.hd-star { color: #deb408; font-size: 18px; }
.hd-save-amt { font-size: 24px; color: #000; }
.hd-tier-mo { text-align: center; margin: 0; }
.hd-mo-amt { color: #00713d; font-size: 32px; }
.hd-mo-suffix { font-size: 16px; color: #333; }

.hd-fine { text-align: center; color: #808080; font-size: 14px; margin: 12px 0 4px; }
.hd-retail { text-align: center; font-size: 12px; margin: 0; }
.hd-retail-amt { font-family: orkney, inherit; }
.hd-dro { margin-top: 10px; }

.hd-upfront { text-align: center; color: #808080; font-size: 14px; margin: 14px 0 4px; }

/* 4. Accordion */
.hd-accordion { margin-top: 30px; }
.hd-acc-item { border: 1px solid #e5e5e5; margin-bottom: 5px; }
.hd-acc-head { display: block; width: 100%; text-align: left; background: #f7f7f7; border: 0; padding: 12px 16px; font-size: 15px; cursor: pointer; }
.hd-acc-head:hover { background: #efefef; }
.hd-acc-plus { display: inline-block; width: 1em; font-weight: 700; }
.hd-acc-body { display: none; padding: 14px 18px; }
.hd-acc-item.open .hd-acc-body { display: block; }

/* Responsive */
@media (max-width: 800px) {
	.hd-main { flex-direction: column; }
	.hd-col-gallery, .hd-col-details { flex: 1 1 auto; max-width: 100%; width: 100%; }
	.hd-title { font-size: 32px; }
	.hd-band-img { max-height: 60px; }
}

/* 2026-11-27: match the legacy page look inside the rebuild theme (theme button styles were overriding ours) */
#container .hd-device-page { background: #fff; }
body.single-hay_device #main { background: #fff; }
.hd-device-page button { font-family: inherit; text-transform: none; letter-spacing: normal; box-shadow: none; min-height: 0; }
.hd-back { padding: 20px 0 10px; }
.hd-back a { color: #333; text-decoration: underline; }
.hd-main { margin-top: 30px; }
.hd-car-nav { background: transparent; border: 0; border-radius: 0; color: #72797e; font-size: 20px; width: 28px; height: 44px; padding: 0; }
.hd-car-nav:hover, .hd-car-nav:focus-visible { color: #333; background: transparent; }
.hd-car-dot { width: 24px; height: 24px; min-width: 0; background: transparent !important; box-shadow: none !important; }
.hd-features p { margin: 0 0 12px; }
.hd-pricebox { padding: 22px 16px 16px; }
.hd-pricebox .hd-storage-panel { background: #f7f7f7; border: 1px solid #ececec; padding: 16px 18px 18px; }
.hd-storage-single { display: inline-block; font-size: 14px; font-weight: 400; background: #f7f7f7; border: 1px solid #ececec; border-bottom: 0; padding: 9px 20px; margin: -17px 0 0; position: relative; top: -1px; }
.hd-pricebox .hd-storage-panel:has(.hd-storage-single) { text-align: center; }
.hd-tier { margin-bottom: 26px; }
.hd-tab { color: #333; }
.hd-tab.active { background: #1a1a1a; color: #fff; }
.hd-fine, .hd-upfront { color: #666; }
.hd-acc-item { margin-bottom: 0; border-bottom-width: 0; }
.hd-acc-item:last-child { border-bottom-width: 1px; }
.hd-acc-head { color: #333; background: #f7f7f7; font-size: 14px; font-weight: 400; padding: 12px 18px; border-radius: 0; }
.hd-acc-head:hover, .hd-acc-head:focus-visible { color: #000; background: #efefef; }
.hd-acc-body { color: #333; background: #fff; }
.hd-device-page { max-width: 1070px; }
.hd-band-inner { max-width: 1070px; padding: 40px 15px; }
.hd-device-page .hd-back a { color: #333; text-decoration: underline; text-underline-offset: 2px; }
.hd-device-page .hd-features p { margin: 0 0 10px; line-height: 1.6; }
.hd-device-page .hd-colors { line-height: 1.8; }
.hd-device-page .hd-btn-wrap { margin: 22px 0; }
.hd-pricebox { padding-top: 26px; }
.hd-pay-note { margin-bottom: 22px; }
.hd-tier-save { margin-bottom: 6px; }
@media (max-width: 800px) { .hd-band-inner { padding: 22px 15px; } .hd-title { font-size: 30px; } }
/* 0.4.0: return option (live wording), extra section */
.hd-dro { margin: 4px 0 22px; padding-bottom: 18px; border-bottom: 2px solid #007d47; }
.hd-dro-intro { font-size: 14px; margin: 0 0 8px; text-align: left; }
.hd-dro-row { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 8px 20px; margin: 0; font-weight: 600; }
.hd-dro-mo { color: #00713d; font-size: 20px; }
.hd-extra { margin-top: 30px; scroll-margin-top: 90px; }   /* clears the sticky header when "Device Details" jumps here */
