/*
 * ================================================================
 *  Aanra Theme — global.css
 *  Sitewide shared component styles (header cart drawer, footer,
 *  buttons, notices, WhatsApp FAB, product cards, live search).
 *  Loaded on every page. Page-specific styles live in their own
 *  conditionally-enqueued files (shop.css, pdp.css, checkout.css, etc).
 * ================================================================
 */

/* ================================================================
   SECTION HEADER PATTERN
   Reused above every major section (label + gold line + heading).
   ================================================================ */
.aanra-section-header {
  text-align: center;
  margin-bottom: 32px;
  padding-top: 0;
}

.aanra-section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 10px;
}

.aanra-gold-line {
  width: 40px;
  height: 1px;
  background-color: var(--brand-gold);
  margin: 0 auto 14px;
}

.aanra-section-heading {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--brand-dark);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .aanra-section-heading {
    font-size: 52px;
  }
}


/* ================================================================
   BUTTONS
   ================================================================ */
.aanra-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
  min-height: 44px;
  line-height: 1;
  border: none;
  text-decoration: none;
}

.aanra-btn:hover {
  opacity: 0.85;
}

/* Gold filled — hero CTA */
.aanra-btn--gold {
  background-color: var(--brand-gold);
  color: var(--brand-dark);
  padding: 14px 28px;
}

/* Outline — brand story CTA */
.aanra-btn--outline {
  background-color: transparent;
  border: 1px solid var(--brand-gold-muted);
  color: var(--brand-gold);
  padding: 14px 32px;
  font-size: 11px;
}

/* Add to Cart — product card */
.aanra-btn--add-to-cart {
  display: flex;
  width: 100%;
  background-color: var(--brand-accent);
  color: var(--brand-ivory);
  font-size: 11px;
  letter-spacing: 2px;
  padding: 12px;
  min-height: 44px;
  text-align: center;
  justify-content: center;
  border-radius: 0;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.aanra-btn--add-to-cart:hover {
  opacity: 0.85;
}

/* Subscribe — email signup */
.aanra-btn--subscribe {
  background-color: var(--brand-accent) !important;
  color: var(--brand-ivory) !important;
  font-size: 12px;
  letter-spacing: 2px;
  padding: 0 24px;
  white-space: nowrap;
  min-height: 48px;
  height: 48px;
  border-radius: 0;
  border: none;
  width: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-body);
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.aanra-btn--subscribe:hover {
  opacity: 0.85;
}


/* ================================================================
   STICKY HEADER (MOVED TO header.css)
   ================================================================ */

/* ================================================================
   PRODUCT CARDS
   ================================================================ */
.aanra-product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* NEW badge */
.aanra-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--brand-accent);
  color: var(--brand-ivory);
  font-family: var(--font-body);
  font-size: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 8px;
  line-height: 1;
}

/* Wishlist heart */
.aanra-wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--brand-white);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.aanra-wishlist-btn:hover {
  color: var(--brand-gold);
}

/* Product info area */
.aanra-product-card__info {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.aanra-product-card__name {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--brand-dark);
  line-height: 1.3;
  margin-bottom: 6px;
}

.aanra-product-card__pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.aanra-product-card__price {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--brand-price);
}

.aanra-product-card__orig {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--brand-price-orig);
  text-decoration: line-through;
}


/* ================================================================
   FOOTER
   ================================================================ */
.aanra-footer__logo {
  display: inline-block;
  line-height: 0;
}

/* <img> tag version (allows onerror fallback) */
.aanra-footer__logo-img {
  display: block;
  height: var(--logo-height-mobile);
  width: auto;
  margin: 0 auto;
}

/* Text shown if logo image fails to load */
.aanra-footer__logo-fallback {
  display: none;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--brand-gold);
  line-height: 1;
}

.aanra-footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: rgba(var(--brand-accent-rgb), 0.6);
  margin-top: 6px;
}

.aanra-footer__divider {
  width: 100%;
  border: none;
  border-top: 1px solid var(--brand-gold-border);
  margin: 24px 0;
}

.aanra-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin-bottom: 20px;
}

.aanra-footer__links a {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-gold-muted);
  transition: opacity 0.2s;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.aanra-footer__links a:hover {
  opacity: 0.7;
}

.aanra-footer__bottom {
  text-align: center;
}

.aanra-footer__copy {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(var(--brand-accent-rgb), 0.4);
}

@media (min-width: 768px) {
  .aanra-footer__logo-img {
    height: var(--logo-height-desktop);
  }
}


/* ================================================================
   WHATSAPP FLOATING BUTTON
   ================================================================ */
.aanra-whatsapp {
  border-radius: 50%;
  background-color: var(--brand-whatsapp);
  color: var(--brand-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.aanra-whatsapp:hover {
  transform: scale(1.08);
}

.aanra-whatsapp__tooltip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--brand-accent);
  color: var(--brand-ivory);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 6px 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  border: 1px solid var(--brand-gold-border);
}

.aanra-whatsapp:hover .aanra-whatsapp__tooltip {
  opacity: 1;
}

/* Product name link color fix */
.aanra-product-card__name a,
.aanra-product-card__name a:visited,
.aanra-product-card__name a:hover {
  color: var(--brand-dark);
  text-decoration: none;
}

/* ================================================================
   FOOTER OVERRIDES — must load after Kadence global styles
   ================================================================ */
.aanra-footer,
.aanra-footer * {
  box-sizing: border-box;
}

.aanra-footer h3 {
  color: var(--brand-accent) !important;
  font-family: 'Jost', system-ui, sans-serif !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  font-style: normal !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  margin-bottom: 16px !important;
}

.aanra-footer a,
.aanra-footer a:visited {
  color: var(--brand-accent) !important;
  text-decoration: none !important;
}

.aanra-footer a:hover {
  opacity: 0.7 !important;
}

.aanra-footer__logo-text {
  color: var(--brand-accent) !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-style: italic !important;
  font-size: 28px !important;
}

.aanra-footer__col {
  text-align: left !important;
}

.aanra-footer__links {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.aanra-footer__social-icon {
  color: var(--brand-accent) !important;
}

.aanra-footer__contact-item {
  color: var(--brand-accent) !important;
}

/* Footer col 1 vertical rhythm */
.aanra-footer__col--brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aanra-footer__tagline {
  margin-top: 4px;
}

/* WhatsApp floating button */
.aanra-whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 16px;
  z-index: 1200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
  text-decoration: none;
}

.aanra-whatsapp-fab:hover {
  transform: scale(1.08);
}

@media (max-width: 767px) {
  .aanra-whatsapp-fab {
    bottom: 80px;
    right: 12px;
    width: 48px;
    height: 48px;
  }
}

.aanra-whatsapp-fab svg {
  width: 28px;
  height: 28px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ================================================================
   RESPONSIVE HEADER OFFSET FOR CUSTOM PAGE TEMPLATES
   ================================================================ */
.aanra-shop,
.aanra-product,
.aanra-cart,
.aanra-404,
.aanra-about,
.aanra-new-arrivals-page {
  margin-top: var(--header-offset-desktop);
}
@media (max-width: 767px) {
  .aanra-shop,
  .aanra-product,
  .aanra-cart,
  .aanra-404,
  .aanra-about,
  .aanra-new-arrivals-page {
    margin-top: var(--header-offset-mobile);
  }
}

/* ================================================================
   CART DRAWER
   ================================================================ */
.aanra-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  background: var(--brand-white);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.aanra-cart-drawer.is-open {
  transform: translateX(0);
}
.aanra-cart-drawer__header {
  background: var(--brand-ivory);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  border-bottom: 1px solid var(--brand-gold-border);
}
.aanra-cart-drawer__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--brand-dark) !important;
}
.aanra-cart-drawer__count {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--brand-dark);
  margin-left: 6px;
}
.aanra-cart-drawer__close {
  background: none;
  border: none;
  color: var(--brand-dark) !important;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aanra-cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 0 20px;
}
.aanra-cart-drawer__item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 0.5px solid var(--brand-gold-border);
}
.aanra-cart-drawer__item-img img {
  width: 80px;
  height: 106px;
  object-fit: cover;
  background: var(--brand-ivory);
  display: block;
}
.aanra-cart-drawer__item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.aanra-cart-drawer__item-name {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--brand-dark);
  text-decoration: none;
  line-height: 1.3;
}
.aanra-cart-drawer__item-price {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--brand-price);
}
.aanra-cart-drawer__item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 0.5px solid rgba(58,30,23,0.2);
  width: fit-content;
  margin-top: 4px;
}
.aanra-qty-minus,
.aanra-qty-plus,
.aanra-qty-minus:hover,
.aanra-qty-plus:hover,
.aanra-qty-minus:focus,
.aanra-qty-plus:focus,
.aanra-qty-minus:active,
.aanra-qty-plus:active {
  width: 42px !important;
  height: 44px !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: var(--brand-dark) !important;
  cursor: pointer;
  font-size: 18px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
  outline: none !important;
  padding: 0 !important;
}
.aanra-qty-val {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--brand-dark);
}
.aanra-cart-drawer__item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}
.aanra-cart-drawer__remove {
  color: var(--brand-gold-muted);
  transition: color 0.2s;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
}
.aanra-cart-drawer__remove:hover {
  color: var(--brand-dark);
}
.aanra-cart-drawer__item-subtotal {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--brand-dark);
}
.aanra-cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 20px;
  text-align: center;
}
.aanra-cart-drawer__empty p {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--brand-subtext);
}
.aanra-cart-drawer__empty-title {
  font-family: var(--font-display) !important;
  font-style: italic;
  font-size: 22px !important;
  color: var(--brand-dark) !important;
  margin-bottom: -8px;
}
.aanra-cart-drawer__empty-sub {
  font-size: 14px !important;
  color: var(--brand-subtext) !important;
}
.aanra-cart-drawer__recs {
  padding: 20px 0;
}
.aanra-cart-drawer__recs-title {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-gold-muted);
  margin-bottom: 12px;
}
.aanra-cart-drawer__recs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.aanra-cart-drawer__rec-card {
  border: 0.5px solid var(--brand-gold-border);
  text-decoration: none;
  display: block;
}
.aanra-cart-drawer__rec-info {
  padding: 8px;
}
.aanra-cart-drawer__rec-name {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--brand-dark);
  line-height: 1.3;
  margin-bottom: 3px;
}
.aanra-cart-drawer__rec-price {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--brand-price);
}
.aanra-cart-drawer__footer {
  padding: 16px 20px;
  border-top: 0.5px solid var(--brand-gold-border);
  flex-shrink: 0;
  background: var(--brand-white);
  position: sticky;
  bottom: 0;
  z-index: 2;
}
.aanra-cart-drawer__summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.aanra-cart-drawer__sum-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--brand-subtext);
}
.aanra-cart-drawer__sum-savings {
  color: #3B6D11;
}
.aanra-cart-drawer__sum-total {
  font-size: 17px;
  color: var(--brand-dark);
  font-weight: 500;
  padding-top: 10px;
  border-top: 0.5px solid var(--brand-gold-border);
  margin-top: 4px;
}
.aanra-cart-drawer__checkout-btn {
  display: block;
  width: 100%;
  background: var(--brand-gold);
  color: var(--brand-dark) !important;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  text-align: center;
  padding: 14px;
  text-decoration: none !important;
  transition: opacity 0.2s;
  letter-spacing: 0.5px;
}
.aanra-cart-drawer__checkout-btn:hover,
.aanra-cart-drawer__checkout-btn:active,
.aanra-cart-drawer__checkout-btn:focus {
  opacity: 0.88;
  color: var(--brand-dark) !important;
  background: var(--brand-gold) !important;
  text-decoration: none !important;
}
.aanra-cart-drawer__trust {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--brand-subtext);
  text-align: center;
  margin-top: 8px;
  letter-spacing: 0.5px;
}
.aanra-cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1150;
  display: none;
}
.aanra-cart-drawer-overlay.is-open {
  display: block;
}
@media (max-width: 767px) {
  .aanra-cart-drawer {
    width: 100%;
  }
}

/* ================================================================
   SHOP PAGINATION — center only (keep default square buttons)
   ================================================================ */
.woocommerce nav.woocommerce-pagination {
  text-align: center;
  margin: 32px 0 48px;
}
.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex;
  float: none;
  margin: 0 auto;
}

/* ================================================================
   WOOCOMMERCE NOTICES — Brand styled
   ================================================================ */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  border: 1px solid var(--brand-gold-border) !important;
  border-top: 3px solid var(--brand-gold) !important;
  background: var(--brand-ivory) !important;
  color: var(--brand-dark) !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 16px 20px !important;
}

.woocommerce-error {
  border-top-color: var(--brand-gold) !important;
}

.woocommerce-error a,
.woocommerce-message a,
.woocommerce-info a {
  color: var(--brand-dark) !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
}

/* ================================================================
   KADENCE BUTTON STATE KILL — FINAL OVERRIDE
   Must live in components.css (last loaded file).
   Every rule needs background + color + box-shadow !important
   to beat Kadence's global palette injection on all states.
   ================================================================ */

.aanra-btn--gold,
.aanra-btn--gold:hover,
.aanra-btn--gold:active,
.aanra-btn--gold:focus {
  color: var(--brand-dark) !important;
  background: var(--brand-gold) !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.aanra-btn--outline,
.aanra-btn--outline:hover,
.aanra-btn--outline:active,
.aanra-btn--outline:focus {
  color: var(--brand-gold) !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.aanra-btn--add-to-cart,
.aanra-btn--add-to-cart:hover,
.aanra-btn--add-to-cart:active,
.aanra-btn--add-to-cart:focus,
.aanra-shop-card__atc,
.aanra-shop-card__atc:hover,
.aanra-shop-card__atc:active,
.aanra-shop-card__atc:focus,
.aanra-filter-drawer__apply,
.aanra-filter-drawer__apply:hover,
.aanra-filter-drawer__apply:active,
.aanra-filter-drawer__apply:focus,
.aanra-notify-btn,
.aanra-notify-btn:hover,
.aanra-notify-btn:active,
.aanra-notify-btn:focus,
.aanra-notify-modal__btn,
.aanra-notify-modal__btn:hover,
.aanra-notify-modal__btn:active,
.aanra-notify-modal__btn:focus {
  color: var(--brand-dark) !important;
  background: var(--brand-gold) !important;
  box-shadow: none !important;
}

.aanra-filter-drawer__clear,
.aanra-filter-drawer__clear:hover,
.aanra-filter-drawer__clear:active,
.aanra-filter-drawer__clear:focus,
.aanra-shop__filter-btn,
.aanra-shop__filter-btn:hover,
.aanra-shop__filter-btn:active,
.aanra-shop__filter-btn:focus,
.aanra-cart__update,
.aanra-cart__update:hover,
.aanra-cart__update:active,
.aanra-cart__update:focus,
.aanra-checkout__coupon-btn,
.aanra-checkout__coupon-btn:hover,
.aanra-checkout__coupon-btn:active,
.aanra-checkout__coupon-btn:focus {
  color: var(--brand-dark) !important;
  background: var(--brand-gold) !important;
  box-shadow: none !important;
}

.aanra-checkout__form #payment #place_order,
.aanra-checkout__form #payment #place_order:hover,
.aanra-checkout__form #payment #place_order:active,
.aanra-checkout__form #payment #place_order:focus,
body.woocommerce-checkout #payment #place_order,
body.woocommerce-checkout #payment #place_order:hover,
body.woocommerce-checkout #payment #place_order:active,
body.woocommerce-checkout #payment #place_order:focus,
.aanra-checkout__payment #place_order,
.aanra-checkout__payment #place_order:hover,
.aanra-checkout__payment #place_order:active,
.aanra-checkout__payment #place_order:focus,
.wp-element-button#place_order,
.wp-element-button#place_order:hover,
.wp-element-button#place_order:active,
.wp-element-button#place_order:focus,
button#place_order,
button#place_order:hover,
button#place_order:active,
button#place_order:focus {
  color: var(--brand-dark) !important;
  background: var(--brand-gold) !important;
  background-color: var(--brand-gold) !important;
  box-shadow: none !important;
  font-family: var(--font-body) !important;
  font-style: normal !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 0 !important;
}

.aanra-account__btn--primary,
.aanra-account__btn--primary:hover,
.aanra-account__btn--primary:active,
.aanra-account__btn--primary:focus {
  color: var(--brand-ivory) !important;
  background: var(--brand-accent) !important;
  box-shadow: none !important;
}

.aanra-account__btn--outline,
.aanra-account__btn--outline:hover,
.aanra-account__btn--outline:active,
.aanra-account__btn--outline:focus {
  color: var(--brand-dark) !important;
  background: none !important;
  box-shadow: none !important;
}


/* ============================================================
   AANRA LIVE SEARCH AUTOCOMPLETE DROPDOWN
   ============================================================ */
.aanra-autocomplete {
  display: none;
  position: absolute;
  z-index: 1200;
  background: var(--brand-ivory, #FAF5E2);
  border: 1px solid rgba(148, 110, 31, 0.15);
  border-top: none;
  box-shadow: 0 8px 24px rgba(58, 30, 23, 0.08);
  max-height: 420px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.aanra-autocomplete.is-open {
  display: block;
}

/* Product result item */
.aanra-autocomplete__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--brand-dark, #3A1E17);
  border-bottom: 1px solid rgba(148, 110, 31, 0.08);
  transition: background 0.15s ease;
}

.aanra-autocomplete__item:last-of-type {
  border-bottom: none;
}

.aanra-autocomplete__item:hover,
.aanra-autocomplete__item:focus {
  background: rgba(148, 110, 31, 0.06);
  outline: none;
}

.aanra-autocomplete__img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 2px;
}

.aanra-autocomplete__meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.aanra-autocomplete__name {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--brand-dark, #3A1E17);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aanra-autocomplete__name mark {
  background: none;
  color: var(--brand-gold, #946E1F);
  font-weight: 500;
}

.aanra-autocomplete__cat {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(58, 30, 23, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.aanra-autocomplete__price {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--brand-gold, #946E1F);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Category suggestion item */
.aanra-autocomplete__item--cat {
  font-family: var(--font-body);
  font-size: 13px;
  padding: 10px 16px;
}

/* Section label */
.aanra-autocomplete__label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(58, 30, 23, 0.4);
  padding: 10px 16px 4px;
}

/* "See all results" footer */
.aanra-autocomplete__all {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--brand-gold, #946E1F);
  text-decoration: none;
  border-top: 1px solid rgba(148, 110, 31, 0.12);
  background: rgba(148, 110, 31, 0.03);
  text-align: center;
  letter-spacing: 0.3px;
}

.aanra-autocomplete__all:hover {
  background: rgba(148, 110, 31, 0.08);
}

.aanra-autocomplete__all em {
  font-style: italic;
}

/* Empty state */
.aanra-autocomplete__empty {
  padding: 16px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(58, 30, 23, 0.5);
  text-align: center;
}

.aanra-autocomplete__empty em {
  font-style: italic;
  color: var(--brand-dark, #3A1E17);
}

/* Fix: filter button should be outline style matching sort dropdown */
.aanra-shop__filter-btn,
.aanra-shop__filter-btn:hover,
.aanra-shop__filter-btn:active,
.aanra-shop__filter-btn:focus {
  background: transparent !important;
  color: var(--brand-dark) !important;
  border: 1px solid rgba(58,30,23,0.2) !important;
  box-shadow: none !important;
}

/* Fix: YOU MAY ALSO LIKE title visibility */
.aanra-cart-drawer__recs-title {
  color: var(--brand-dark, #3A1E17) !important;
  opacity: 0.5;
}

/* Fix: rec card images — bigger, matching shop grid proportions */
.aanra-cart-drawer__rec-img img {
  width: 100% !important;
  height: 140px !important;
  object-fit: cover;
  display: block;
  background: var(--brand-ivory);
}

/* Fix: footer logo + tagline spacing on mobile */
.aanra-footer__col--brand {
  gap: 4px !important;
}
.aanra-footer__tagline {
  margin-top: 0 !important;
  font-size: 14px !important;
}



/* ================================================================
   MOBILE: PREVENT iOS INPUT AUTO-ZOOM
   iOS Safari zooms the whole page when focusing an input whose
   font-size is under 16px — and stays zoomed. These inputs were
   13–14px. Mobile-only override; desktop sizes unchanged.
   ================================================================ */
@media (max-width: 767px) {
  .aanra-search-bar__input,
  .aanra-search-dropdown__input,
  .aanra-notify-modal__input,
  .aanra-reviews__input,
  .aanra-reviews__textarea,
  .aanra-contact__input {
    font-size: 16px !important;
  }
}

/* ================================================================
   MOBILE: CART DRAWER FOOTER vs iPHONE HOME INDICATOR
   Keeps the checkout button clear of the bottom gesture bar on
   iPhones. max() makes this inert (16px) everywhere else.
   ================================================================ */
.aanra-cart-drawer__footer {
  padding-bottom: max(16px, env(safe-area-inset-bottom, 16px));
}
