/* GCI site enhancements: accessibility, Buy Now, AEO blocks, cookie consent.
   Loaded after style.css so these rules win. */

/* Link contrast: #D67200 on white is 3.3:1; #B35F00 passes 4.5:1 */
a { color: #B35F00; }
a:hover { color: #000000; }

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #0F4229 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 5px #FFFFFF !important;
}

.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10000; background: #0F4229; color: #FFFFFF !important;
  padding: 12px 18px; border-radius: 4px; font-weight: 700; text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 12px; }

/* Dropdown toggles converted from <a href="#"> to <button> */
button.nav-link { background: transparent; border: 0; font: inherit; color: inherit; cursor: pointer; }

/* Buy Now / Shop Online */
.buy-now-btn, .shop-online-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  background: #F69323; color: #181818 !important; font-weight: 700; border-radius: 4px; text-decoration: none;
  border: 2px solid #F69323; transition: background .2s, border-color .2s;
}
.buy-now-btn:hover, .shop-online-btn:hover { background: #E07F10; border-color: #E07F10; color: #181818 !important; }
.service-download a.buy-now-btn { display: flex; justify-content: center; text-align: center; margin-top: 16px; width: 100%; font-size: 17px; }
@media (max-width: 600px) { .gci-cc-actions .gci-cc-btn { flex: 1 1 40%; min-width: 0; } .gci-cc-actions .gci-cc-link { flex: 1 1 100%; } }
.header-nav-right .shop-online-btn { margin-right: 12px; min-height: 44px; padding: 0 18px; }
.shop-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.shop-cta-row .secondary { background: #FFFFFF; border-color: #0F4229; color: #0F4229 !important; }

/* AEO blocks */
.gci-quick-answer { background: #F5FAF2; border-left: 5px solid #5B8C51; border-radius: 4px; padding: 18px 22px; margin: 18px 0 6px; color: #2B3539; }
.gci-quick-answer h2 { font-size: 20px; margin: 0 0 6px; }
.gci-aeo { padding: 40px 0 60px; }
.gci-aeo h2 { font-size: 30px; margin: 0 0 16px; }
.gci-compare-wrap { overflow-x: auto; border: 1px solid #DCE5D8; border-radius: 6px; margin-bottom: 36px; }
.gci-compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.gci-compare caption { caption-side: top; text-align: left; padding: 10px 14px; color: #4E5358; font-size: 14px; }
.gci-compare th, .gci-compare td { padding: 12px 14px; text-align: left; border-top: 1px solid #E3E7E2; color: #2B3539; }
.gci-compare thead th { background: #0F4229; color: #FFFFFF; border-top: 0; }
.gci-compare tbody tr:nth-child(even) { background: #F9FBF8; }
.gci-faq details { border-bottom: 1px solid #E3E7E2; }
.gci-faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 18px; color: #181818; list-style-position: outside; }
.gci-faq details p { margin: 0 0 16px; color: #2B3539; }

/* Cookie consent */
.gci-cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; background: #FFFFFF; color: #2B3539;
  border-top: 5px solid #5B8C51; border-radius: 8px; box-shadow: 0 16px 48px rgba(15,30,20,.28);
  padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; font-size: 16px; line-height: 1.55;
}
.gci-cc-text { flex: 1 1 520px; min-width: 0; }
.gci-cc-title { font-size: 20px; margin: 0 0 4px; color: #181818; }
.gci-cc-text p { margin: 0; }
.gci-cc-actions, .gci-cc-dactions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.gci-cc-btn {
  min-height: 48px; min-width: 140px; padding: 0 20px; border: 2px solid #0F4229; background: #0F4229; color: #FFFFFF;
  font: inherit; font-weight: 700; border-radius: 4px; cursor: pointer;
}
.gci-cc-btn.gci-cc-outline { background: #FFFFFF; color: #0F4229; }
.gci-cc-link { min-height: 48px; padding: 0 12px; border: 0; background: transparent; color: #B35F00; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.gci-cc-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(20,28,24,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.gci-cc-dialog { background: #FFFFFF; color: #2B3539; border-radius: 8px; width: 600px; max-width: 100%; max-height: 90vh; overflow-y: auto; padding: 0 24px 20px; }
.gci-cc-dhead { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid #E3E7E2; }
.gci-cc-dhead h2 { font-size: 22px; margin: 0; color: #181818; }
.gci-cc-close { width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: #2B3539; }
.gci-cc-row { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid #EEF2EC; }
.gci-cc-name { display: block; font-weight: 700; color: #181818; }
.gci-cc-desc { display: block; font-size: 15px; }
.gci-cc-switch { flex: none; position: relative; width: 56px; height: 32px; border-radius: 16px; border: 0; background: #8A9390; cursor: pointer; margin-top: 4px; }
.gci-cc-switch span { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #FFFFFF; transition: left .15s; }
.gci-cc-switch[aria-checked="true"] { background: #0F4229; }
.gci-cc-switch[aria-checked="true"] span { left: 28px; }
.gci-cc-switch[aria-disabled="true"] { background: #5B8C51; cursor: not-allowed; }
.gci-cc-note { font-size: 14px; margin: 12px 0 16px; }
.cookie-pref-link { background: none; border: 0; padding: 0; font: inherit; color: #FFFFFF; text-decoration: underline; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
