/* QA polish: responsive hero controls, gallery navigation and checkout rhythm. */
@media (max-width: 900px) {
  .hero-slider .hero-slide { padding: 32px 48px 76px; }
  .hero-slider .slider-controls { position: absolute; inset: 0; display: block; transform: none; pointer-events: none; }
  .hero-slider .slider-controls > button { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: auto; }
  .hero-slider .slider-controls > button[data-slide="prev"] { left: 12px; }
  .hero-slider .slider-controls > button[data-slide="next"] { right: 12px; }
  .hero-slider .slider-dots { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); pointer-events: auto; }
}

.hero-slider .hero-slide:not(.is-active) { visibility: hidden; pointer-events: none; }
.checkout-panel > label[hidden], .product-gallery-arrow[hidden] { display: none; }
.announcement-slider { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; height: auto; padding: 6px 12px; }
.announcement-slider .announcement-messages { flex: 0 1 420px; min-width: 0; }
.announcement-slider .announcement-messages span { line-height: 1.4; }
.announcement-slider > button { position: static; flex: 0 0 28px; width: 28px; height: 32px; transform: none; }
.announcement-slider > .shipping-icon, .announcement-slider > a { position: static; flex: 0 0 22px; transform: none; }
.checkout-main, .checkout-panel, .checkout-fields label { min-width: 0; }
.checkout-panel input:not([type="checkbox"]):not([type="radio"]), .checkout-panel textarea { box-sizing: border-box; width: 100%; min-width: 0; margin-top: 0; padding: 11px 13px; border: 1px solid #d4d7dd; border-radius: 6px; background: #fff; color: #263951; font: 400 16px/1.5 Arial, sans-serif; letter-spacing: normal; }
.checkout-panel input:not([type="checkbox"]):not([type="radio"]) { height: 46px; }
.checkout-panel input:focus-visible, .checkout-panel textarea:focus-visible { outline: 2px solid #10213e; outline-offset: 2px; }
.payment-options .payment-unavailable { background: #f8fafc; color: #586575; cursor: not-allowed; }
.coupon-entry { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.coupon-entry input { flex: 1 1 150px; }
.coupon-entry button { min-height: 46px; padding: 10px 16px; border: 1px solid #10213e; border-radius: 6px; background: #10213e; color: white; cursor: pointer; }
.coupon-entry button:disabled { opacity: .6; cursor: wait; }
[data-coupon-message] { font-size: 13px; line-height: 1.5; color: #23643d; }
[data-coupon-message].coupon-error { color: #a12d3b; }
.cart-summary [data-discount-row] { color: #23643d; }
.cart-summary [data-discount-row][hidden], [data-coupon-remove][hidden] { display: none; }
.checkout-panel input[type="checkbox"], .checkout-panel input[type="radio"] { flex: 0 0 18px; width: 18px; height: 18px; }
.checkout-panel textarea { min-height: 88px; resize: vertical; }
.saved-addresses { flex-wrap: wrap; }
.payment-options span { min-width: 0; line-height: 1.5; }
@media (max-width: 900px) { .checkout-layout { grid-template-columns: minmax(0, 1fr); } .checkout-summary { position: static; } }
@media (max-width: 620px) {
  .hero-slider .hero-brand-logo { width: 100%; max-width: 300px; height: 220px; }
  .hero-slider .hero-tagline { font-size: 24px; }
  .announcement-slider { gap: 2px; padding-inline: 6px; }
  .announcement-slider .announcement-messages span { font-size: 11px !important; }
  body:has(.checkout-page) .social-float { position: static; display: flex; justify-content: center; margin: 20px; }
}

.product-gallery-arrow { position: absolute; z-index: 4; top: 50%; display: grid; place-items: center; width: 39px; height: 39px; border: 0; border-radius: 50%; transform: translateY(-50%); background: #fff; color: #10213e; box-shadow: 0 4px 16px #071d4240; font: 28px/1 Arial,sans-serif; cursor: pointer; }
.product-gallery-arrow:hover { background: #10213e; color: #fff; }
.product-gallery-prev { left: 12px; }
.product-gallery-next { right: 12px; }

.checkout-panel { border: 1px solid #e1e6ed; border-radius: 10px; box-shadow: 0 8px 24px rgba(7,29,66,.04); }
.checkout-panel h2 { padding-bottom: 14px; border-bottom: 1px solid #edf0f4; }
.checkout-panel > label { margin-top: 18px; color: #263951; }
.checkout-panel .check-row { margin: 4px 0 18px; padding: 13px 14px; border-radius: 6px; background: #f8fafc; color: #34445b; font-size: 12px; letter-spacing: 0; text-transform: none; }
.payment-options label { align-items: flex-start; border-radius: 7px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.payment-options label:has(input:checked) { border-color: #10213e; box-shadow: 0 0 0 2px #10213e14; }
.payment-options input { margin-top: 3px; accent-color: #10213e; }

@media (max-width: 620px) { .product-gallery-arrow { width: 34px; height: 34px; font-size: 25px; } .product-gallery-prev { left: 9px; } .product-gallery-next { right: 9px; } .checkout-panel { padding: 22px 18px; } }
