@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #18171d;
  color: #e0d7c7;
}

/***** HEADER *****/
.kq-header {
  background: #1b1b1c;
  border-bottom: 1px solid #222;
  padding: 0 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.kq-header-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}
.kq-logo a {
  color: #ffd600;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1.5px;
  text-decoration: none;
}
.kq-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}
.kq-nav a {
  color: #e0d7c7;
  text-decoration: none;
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: 3px;
  transition: background 0.16s;
}
.kq-nav a:hover { background: #232329; color: #ffd600; }
.kq-dropdown { position: relative; }

/* Dropdown accessibility and visibility logic */
.kq-dropdown-menu {
  display: none !important;
  position: absolute;
  background: #222225;
  top: 2.2rem;
  left: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  flex-direction: column;
  min-width: 150px;
  border-radius: 3px;
  z-index: 6;
}
.kq-dropdown:hover .kq-dropdown-menu,
.kq-dropdown:focus-within .kq-dropdown-menu,
.kq-dropdown-btn:focus + .kq-dropdown-menu,
.kq-dropdown:active .kq-dropdown-menu {
  display: flex !important;
}
.kq-dropdown-btn {
  cursor: pointer;
  font: inherit;
  color: #e0d7c7;
  background: none;
  border: none;
  font-weight: 500;
  border-radius: 3px;
  transition: background 0.16s;
}
.kq-dropdown-btn:focus { outline: 2px solid #ffd600; background: #232329; color: #ffd600; }

.kq-dropdown-menu li a {
  padding: 0.7rem 1.2rem;
  display: block;
  color: #ffd600;
}

/***** HOMEPAGE & COMMON *****/
.kq-hero {
  background: linear-gradient(to bottom right, #23242b 70%, #18171d 100%);
  padding: 4.5rem 1.5rem 2.5rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid #222;
}
.kq-hero-content {
  max-width: 680px;
  margin: 0 auto;
}
.kq-hero h1 {
  color: #ffd600;
  font-size: 2.25rem;
  letter-spacing: 2px;
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 800;
}
.kq-hero p {
  font-size: 1.17rem;
  margin: 0 0 1.5rem 0;
  color: #e0d7c7;
}
.kq-btn-main {
  background: #ffd600;
  color: #1b1b1c;
  border: none;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.9rem 2.2rem;
  margin: 1rem 0 0 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 1px;
  transition: background 0.15s, color 0.15s;
  touch-action: manipulation;
}
.kq-btn-main:hover { background: #fbe94f; color: #0d0d10; }

.kq-stats {
  background: #23232a;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding: 2.5rem 0 2rem 0;
  border-bottom: 1px solid #242224;
}
.kq-stat-block { text-align: center; min-width: 140px; }
.kq-stat-title { color: #cdb163; font-size: 1.25rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.kq-stat-value { color: #ffd600; font-size: 2rem; font-weight: 700; }
.kq-stat-desc { color: #cdb163; font-size: 1rem; margin-top: 0.1rem; }

.kq-supported { background: linear-gradient(90deg,#23232a 60%,#373022 100%); text-align: center; padding: 2rem 1.5rem; }
.kq-supported h2 span { color: #ffd600; font-weight: 800; font-size: 2rem; }
.kq-btn-alt { display: inline-block; margin-top: 1rem; border: 1.5px solid #ffd600; background: transparent; color: #ffd600; min-width: 160px; padding: 0.65rem 1.1rem; border-radius: 999px; font-weight: 700; text-decoration: none; transition: background 0.14s, color 0.14s; touch-action: manipulation; }
.kq-btn-alt:hover { color: #23242b; background: #ffd600; }

/***** PRODUCT CARDS *****/
.kq-products { background: #18171d; padding: 2.5rem 1.5rem 3.5rem 1.5rem; text-align: center; }
.kq-product-cards { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.kq-product-card { background: #23232a; border-radius: 20px; padding: 2.1rem 1.4rem 2.1rem 1.4rem; max-width: 320px; box-shadow: 0 4px 32px rgba(30,30,37,0.09); color: #e0d7c7; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
.kq-product-card h3 { color: #ffd600; font-size: 1.35rem; margin-bottom: 0.2rem; }
.kq-product-type { color: #babada; margin-bottom: 1rem; font-size: 1.03rem; }
.kq-product-card ul { margin-top: 0.85rem; margin-bottom: 1.1rem; padding-left: 1.1rem; }
.kq-product-card a.kq-btn-main { margin-top: auto; }

/***** NEWSLETTER *****/
.kq-newsletter { background: #222125; text-align: center; padding: 2.2rem 1rem 2.2rem 1rem; border-radius: 0; margin: 0 auto 3rem auto; }
.kq-newsletter h2 { color: #ffd600; margin-bottom: 1rem; }
.kq-newsletter-form { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; margin-top: 1rem; }
.kq-newsletter-form input[type=email] { border: none; border-radius: 8px; background: #2a2a2e; color: #e0d7c7; padding: 0.73rem 1.1rem; font-size: 1.05em; min-width: 220px; }
.kq-newsletter-form button { background: #ffd600; color: #222; border: none; padding: 0.72rem 1.7rem; border-radius: 6px; font-weight: bold; letter-spacing: 1px; font-size: 1rem; }
.kq-newsletter-form button:hover { background: #fbe94f; }

/***** FAQ + APP PLACEHOLDERS *****/
.kq-app-faq { background: #18171d; padding: 3rem 1.2rem 1.8rem 1.2rem; max-width: 960px; margin: 3rem auto 3.5rem auto; border-radius: 12px; }
.kq-app-faq h2 { color: #ffd600; margin-bottom: 0.8rem; }
.kq-faq-block { margin-bottom: 2rem; }
.kq-faq-q { color: #cdb163; font-size: 1.2rem; font-weight: 600; margin-top: 2rem; }
.kq-faq-a { color: #e0d7c7; font-size: 1.04rem; margin: 0.15rem 0 1.17rem 0.5rem; }
.kq-quote-placeholder { background: #23232a; color: #ffd600; font-weight: 600; padding: 1.25rem; border-radius: 9px; text-align: center; margin-top: 1.2rem; }

/***** PRODUCT PAGE *****/
.kq-product-main { max-width: 780px; margin: 2.5rem auto; padding: 1.5rem; background: #222225; border-radius: 16px; }
.kq-prod-hero h1 { color: #ffd600; margin-bottom: 0.4rem; }
.kq-prod-type { color: #babada; font-size: 1.09rem; margin-bottom: 0.3rem; }
.kq-prod-desc { color: #e0d7c7; margin-bottom: 1rem; }
.kq-prod-features { margin-bottom: 1.7rem; }
.kq-prod-features li { color: #ffd600; margin-bottom: 0.25rem; }
.kq-link-alt { color: #ffd600; font-size: 1rem; margin-top: 1.3rem; display: inline-block; text-decoration: underline; }
.kq-link-alt:hover { color: #cdb163; }
.kq-prod-specs { margin: 2.2rem 0 2.2rem 0; }
.kq-prod-table {
  width: 100%;
  background: #23232a;
  border-radius: 12px;
  padding: 0.8rem 0.7rem;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}
.kq-prod-table th, .kq-prod-table td {
  padding: 0.67rem 0.5rem;
  border-bottom: 1px solid #353536;
  word-break: break-word;
}
.kq-prod-table th { color: #ffd600; text-align: left; min-width: 120px; }
.kq-prod-table td { color: #e0d7c7; }
.kq-prod-table tr:last-child td, .kq-prod-table tr:last-child th { border-bottom: none; }
.kq-prod-highlights { margin: 2rem 0 0.5rem 0; }
.kq-prod-highlights ul { margin-left: 1.2rem; }
.kq-prod-highlights li { color: #ffd600; font-weight: 500; margin-bottom: 0.2rem; }

/***** CART & CHECKOUT *****/
.kq-cart-main { max-width: 700px; margin: 2.5rem auto; padding: 1.5rem; background: #222225; border-radius: 16px; }
.kq-cart-table {
  width: 100%;
  margin-bottom: 1.8rem;
  border-collapse: collapse;
  background: #23232a;
  overflow-x: auto;
  display: block;
}
.kq-cart-table th, .kq-cart-table td { padding: 0.9rem 0.5rem; border-bottom: 1px solid #353536; font-size: 1rem; }
.kq-cart-table th { background: #272729; color: #ffd600; }
.kq-cart-table input[type=number] {
  max-width: 56px; text-align: center; padding: 0.34rem 0.3rem; border-radius: 6px; border: 1px solid #363636; background: #282830; color: #f7efa8; font-size: 1.1em;
}
.kq-btn-remove {
  background: transparent;
  color: #cf3d42;
  border: 1px solid #cf3d42;
  padding: 0.39rem 1rem;
  border-radius: 7px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.14s;
  touch-action: manipulation;
}
.kq-btn-remove:hover { background: #cf3d42; color: #fff; }
.kq-cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.kq-cart-subtotal { color: #ffd600; font-size: 1.16rem; margin-right: 1.55rem; }

.kq-checkout-main { max-width: 900px; margin: 2.7rem auto; background: #222225; border-radius: 17px; padding: 2.3rem 1.5rem; }
.kq-checkout-flex { display: flex; gap: 2.5rem; }
.kq-checkout-form { flex: 2; display: flex; flex-direction: column; gap: 1.1rem; background: #23232a; border-radius: 9px; padding: 1.7rem 1.2rem; }
.kq-checkout-form label { color: #ffd600; font-size: 1.01rem; margin-bottom: 0.3rem; }
.kq-checkout-form input[type=text], .kq-checkout-form input[type=email] {
  display: block; width: 100%; border-radius: 6px; border: 1px solid #363636; background: #292929; color: #f4eada; margin-top: 0.17rem; padding: 0.73rem 1.1rem; font-size: 1.05em; margin-bottom: 1rem;
}
.kq-payment-group label { margin-right: 1.7rem; color: #e7c259; }
.kq-payment-group input[type=radio] { accent-color: #ffd600; }
.kq-checkout-summary { flex: 1; background: #1b1b1c; color: #e0d7c7; border-radius: 12px; padding: 1.45rem 1.1rem; margin-top: 1.1rem; }
.kq-checkout-summary h2 { color: #ffd600; font-size: 1.25rem; margin-bottom: 1.15rem; }
.kq-checkout-summary table { width: 100%; font-size: 0.97rem; min-width: 210px; }
.kq-checkout-summary td, .kq-checkout-summary th { padding: 0.38rem 0.2rem; }

/***** PRIVACY POLICY *****/
.kq-privacy-policy { background: #222225; max-width: 780px; margin: 2.5rem auto; padding: 2rem 1.4rem; border-radius: 17px; }
.kq-privacy-policy h1 { color: #ffd600; }
.kq-privacy-policy h2 { color: #cdb163; margin-top: 2rem; }

/***** FOOTER *****/
.kq-footer {
  background: #18171d;
  border-top: 1px solid #222;
  color: #8d8d90;
  margin-top: 2.5rem;
  font-size: 1rem;
}
.kq-footer-main {
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.kq-footer-nav {
  margin-bottom: 1.15rem;
}
.kq-footer-nav a {
  color: #cdb163;
  margin: 0 0.45rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}
.kq-footer-nav a:hover { color: #ffd600; }
.kq-footer-copy { color: #6f6f76; font-size: 0.99rem; }

/***** ENHANCED FORMS & TABLES FOR MOBILE *****/
.kq-cart-main .kq-cart-summary, .kq-checkout-summary {
  flex-direction: column;
  align-items: flex-end;
}
.kq-cart-summary a.kq-btn-main, .kq-cart-summary .kq-btn-main {
  width: 100%; margin-top: 1rem; font-size: 1.12em;
}
.kq-cart-main .kq-btn-main, .kq-checkout-form .kq-btn-main {
  width: 100%; box-sizing: border-box; margin-top: 1.2rem;
}
.kq-checkout-form input, .kq-newsletter-form input[type=email] {
  font-size: 1.05em; padding: 0.73rem 1.1rem;
}

/***** RESPONSIVE *****/
@media (max-width: 980px) {
  .kq-product-cards { flex-direction: column; align-items: center; gap: 1.2rem; }
  .kq-checkout-flex { flex-direction: column; gap: 1.2rem; }
}
@media (max-width: 800px) {
  .kq-header-inner, .kq-footer-main {
    max-width: 98vw; padding: 0.5rem;
  }
  .kq-nav ul { gap: 0.5rem; flex-direction: column; }
  .kq-header-inner { flex-direction: column; align-items: flex-start; }
  .kq-dropdown-menu {
    position: static;
    box-shadow: none;
  }
  .kq-dropdown:hover .kq-dropdown-menu,
  .kq-dropdown:focus-within .kq-dropdown-menu,
  .kq-dropdown-btn:focus + .kq-dropdown-menu,
  .kq-dropdown:active .kq-dropdown-menu {
    display: flex !important;
  }
}
@media (max-width: 700px) {
  .kq-cart-main, .kq-checkout-main, .kq-product-main, .kq-privacy-policy { max-width: 98vw; padding: 0.7rem; }
  .kq-product-card { max-width: 98vw; }
  .kq-cart-table, .kq-checkout-summary table, .kq-prod-table { font-size: 0.98em; }
  .kq-cart-table th, .kq-cart-table td { padding: 0.5rem 0.3rem; }
  .kq-cart-table input[type=number] { font-size: 1em; max-width: 38px; }
  .kq-cart-summary, .kq-checkout-summary { width: 100%; align-items: center; }
  .kq-cart-summary a.kq-btn-main, .kq-cart-summary .kq-btn-main{
    font-size: 1em;
  }
  .kq-product-main { padding: 0.5rem; }
  .kq-btn-main, .kq-btn-alt, .kq-btn-remove {
    font-size: 1.13em;
    padding-top: 1.1em;
    padding-bottom: 1.1em;
    min-width: 44px;
    min-height: 44px;
  }
  .kq-btn-main, .kq-btn-alt {
    width: 100%;
    box-sizing: border-box;
    margin-top: 1.1rem;
  }
}

/* Ensure all buttons are touch-friendly on all screens */
.kq-btn-main, .kq-btn-remove, .kq-btn-alt {
  touch-action: manipulation;
}
