/* ==========================================================================
   Quantity Selector Component
   Used on product pages and cart drawer
   ========================================================================== */
/* line 6, app/assets/stylesheets/components/_quantity_selector.scss */
.simple-quantity-selector {
  display: inline-flex;
  align-items: center;
}

/* line 11, app/assets/stylesheets/components/_quantity_selector.scss */
.quantity-controls {
  display: inline-flex;
  align-items: center;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
}

/* line 20, app/assets/stylesheets/components/_quantity_selector.scss */
.qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.15s ease;
}

/* line 32, app/assets/stylesheets/components/_quantity_selector.scss */
.qty-btn svg {
  width: 18px;
  height: 18px;
}

/* line 37, app/assets/stylesheets/components/_quantity_selector.scss */
.qty-btn:hover:not(:disabled) {
  background: #F3F4F6;
  color: #111827;
}

/* line 42, app/assets/stylesheets/components/_quantity_selector.scss */
.qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* line 47, app/assets/stylesheets/components/_quantity_selector.scss */
.qty-btn.minus {
  border-right: 1px solid #E5E7EB;
}

/* line 51, app/assets/stylesheets/components/_quantity_selector.scss */
.qty-btn.plus {
  border-left: 1px solid #E5E7EB;
}

/* line 56, app/assets/stylesheets/components/_quantity_selector.scss */
.qty-input {
  width: 52px;
  height: 44px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  background: #fff;
  border: none;
  outline: none;
  -moz-appearance: textfield;
}

/* line 68, app/assets/stylesheets/components/_quantity_selector.scss */
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* line 74, app/assets/stylesheets/components/_quantity_selector.scss */
.qty-input:focus {
  background: #F0F9FF;
}

/* line 78, app/assets/stylesheets/components/_quantity_selector.scss */
.qty-input:disabled {
  background: #F9FAFB;
  color: #9CA3AF;
}

/* line 2, app/assets/stylesheets/components/_accordion.scss */
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* line 8, app/assets/stylesheets/components/_accordion.scss */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

/* line 11, app/assets/stylesheets/components/_accordion.scss */
.faq-item:last-child {
  border-bottom: none;
}

/* line 16, app/assets/stylesheets/components/_accordion.scss */
.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 0;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  transition: color 0.15s ease;
  outline: none;
}

/* line 32, app/assets/stylesheets/components/_accordion.scss */
.faq-item__trigger:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
  border-radius: 4px;
}

/* line 39, app/assets/stylesheets/components/_accordion.scss */
.faq-item__icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-left: 0.75rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

/* line 48, app/assets/stylesheets/components/_accordion.scss */
.faq-item[data-accordion-expanded="true"] .faq-item__icon {
  transform: rotate(180deg);
}

/* line 54, app/assets/stylesheets/components/_accordion.scss */
.faq-item__content {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* line 60, app/assets/stylesheets/components/_accordion.scss */
[data-accordion-connected] .faq-item__content {
  max-height: 0;
}

/* line 64, app/assets/stylesheets/components/_accordion.scss */
[data-accordion-connected] .faq-item[data-accordion-expanded="true"] .faq-item__content {
  max-height: 2000px;
}

/* line 68, app/assets/stylesheets/components/_accordion.scss */
.faq-item__answer {
  padding: 0 0 0.75rem;
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Express checkout (Apple Pay / Google Pay / PayPal via Stripe)
   Shared by cart and product buy-now surfaces. The element itself is rendered
   by Stripe; we style the wrapper, terms row, messages, and divider.
   -------------------------------------------------------------------------- */
/* line 6, app/assets/stylesheets/components/express_checkout.scss */
.express-checkout {
  margin: 1rem 0 0;
}

/* line 11, app/assets/stylesheets/components/express_checkout.scss */
.express-checkout[hidden] {
  display: none;
}

/* line 18, app/assets/stylesheets/components/express_checkout.scss */
.express-checkout.is-loading .express-checkout__element {
  border-radius: 6px;
  background: linear-gradient(90deg, #f3f4f6 25%, #e9ebee 37%, #f3f4f6 63%);
  background-size: 400% 100%;
  animation: express-checkout-skeleton 1.4s ease infinite;
}

@media (prefers-reduced-motion: reduce) {
  /* line 26, app/assets/stylesheets/components/express_checkout.scss */
  .express-checkout.is-loading .express-checkout__element {
    animation: none;
    background: #f3f4f6;
  }
}

/* line 32, app/assets/stylesheets/components/express_checkout.scss */
.express-checkout__element {
  min-height: 55px;
}

/* line 41, app/assets/stylesheets/components/express_checkout.scss */
.express-checkout__consent {
  margin-top: 0.625rem;
  color: var(--cart-text-muted, #6B7280);
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
}

/* line 49, app/assets/stylesheets/components/express_checkout.scss */
.express-checkout__consent-link {
  color: var(--cart-accent, #06B6D4);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 55, app/assets/stylesheets/components/express_checkout.scss */
.express-checkout__message {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--cart-danger, #DC2626);
}

/* line 60, app/assets/stylesheets/components/express_checkout.scss */
.express-checkout__message.hidden {
  display: none;
}

/* line 69, app/assets/stylesheets/components/express_checkout.scss */
.express-checkout__divider {
  display: flex;
  align-items: center;
  margin: 1rem 0;
  color: var(--cart-text-muted, #6B7280);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* line 78, app/assets/stylesheets/components/express_checkout.scss */
.express-checkout__divider::before, .express-checkout__divider::after {
  content: "";
  flex: 1 1 auto;
  border-top: 1px solid var(--cart-border, #E5E7EB);
}

/* line 85, app/assets/stylesheets/components/express_checkout.scss */
.express-checkout__divider span {
  padding: 0 0.75rem;
}

@keyframes express-checkout-skeleton {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
