/* AndroMedia — qa-final.css (QA final pass 2026-10-27). Loaded after qa-fixes.css by mu-plugins/andro-qa-final.php */

/* no horizontal page scroll (desktop home promo tiles / brand track, 360px mega menu); clip keeps position:sticky working */
html, body { overflow-x: clip; }

/* ---------- Refurbished marking ---------- */
.am-refurb-badge{display:inline-block;background:#1f6feb;color:#fff;font-weight:800;font-size:11px;letter-spacing:.6px;text-transform:uppercase;
  padding:4px 9px;border-radius:6px;line-height:1.3}
ul.products li.product{position:relative}
ul.products li.product .am-refurb-badge{position:absolute;top:10px;right:10px;z-index:3}
.am-refurb-badge--single{margin:0 0 10px;font-size:12px}
.am-refurb-note{margin:12px 0 16px;padding:12px 14px;border:1px solid #1f6feb;border-left-width:4px;border-radius:8px;background:rgba(31,111,235,.10);color:#e9eef7;font-size:14px;line-height:1.5}
.am-refurb-note p{margin:0 0 4px}.am-refurb-note p:last-child{margin:0}
.am-refurb-note strong{color:#fff}

/* ---------- Mobile menu additions ---------- */
.amqf-mm-close{position:absolute;top:10px;right:10px;width:44px;height:44px;border:0;border-radius:10px;background:#f1f1f4;color:#111;font-size:28px;line-height:1;cursor:pointer}
.am-mobile-menu{overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.amqf-mm-cats{margin-top:14px;padding-bottom:30px}
.amqf-mm-h{margin:14px 0 6px;font-size:11px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;color:#5c5c66}
.amqf-mm-cat{border-bottom:1px solid #ececf1}
.amqf-mm-cat summary{list-style:none;cursor:pointer;padding:13px 30px 13px 6px;font-weight:600;font-size:15px;color:#111;position:relative}
.amqf-mm-cat summary::-webkit-details-marker{display:none}
.amqf-mm-cat summary::after{content:"+";position:absolute;right:8px;top:10px;font-size:20px;color:#7a5f10}
.amqf-mm-cat[open] summary::after{content:"–"}
.amqf-mm-cat a,.amqf-mm-info a{display:block;padding:11px 6px 11px 16px;font-size:14.5px;color:#222;min-height:44px;box-sizing:border-box}
.amqf-mm-cat > a:only-child{padding-left:6px;font-weight:600;font-size:15px;color:#111}
.amqf-mm-cat a.amqf-mm-all{font-weight:700;color:#7a5f10}
.amqf-mm-info a{padding-left:6px;border-bottom:1px solid #ececf1}

/* ---------- Mobile header: one compact row (burger | logo | account | cart) + search ---------- */
@media (max-width: 600px){
  .am-header-in{flex-wrap:wrap;gap:8px 10px;padding:8px 12px}
  .am-burger{width:42px;height:42px;flex:none}
  .am-logo{gap:8px;min-width:0}
  .am-logo svg{height:34px}
  .am-logo strong{font-size:19px !important}
  .am-logo-sub{display:none}
  .am-hactions{margin-left:auto;gap:6px}
  .am-hactions .am-hact{width:44px;height:44px;padding:0;display:grid;place-items:center}
  .am-hact-label{display:none}
  .am-search{height:44px;order:3;flex-basis:100%;margin:0 !important}
  .am-nav-in{min-height:44px}
  .am-nav-all{padding-top:9px;padding-bottom:9px}
}

/* ---------- iOS: inputs >= 16px so Safari does not zoom on focus ---------- */
@media (max-width: 1024px){
  .am-search input, .am-search select, select.orderby, .woocommerce-ordering select,
  .wpcf7 input, .wpcf7 textarea, .wpcf7 select,
  .woocommerce form input.input-text, .woocommerce form select, .woocommerce form textarea,
  .wc-block-components-text-input input, .wc-block-components-textarea, .wc-blocks-components-select__select,
  input[type=email], input[type=password], input[type=text], input[type=tel], input[type=search], input[type=number], textarea, select { font-size:16px !important; }
}
/* VAT-included price suffix */
.am-vat-incl{display:inline-block;margin-left:.35em;font-size:.72em;font-weight:400;color:#a9a9a9;letter-spacing:0;white-space:nowrap;vertical-align:middle}
ul.products li.product .am-vat-incl{display:block;margin:2px 0 0;font-size:11px}
.am-cf7-privacy{font-size:12.5px;line-height:1.5;color:#a9a9a9;margin:4px 0 14px}
.am-cf7-privacy a{color:#d4af37;text-decoration:underline}
/* QA-final: refurb badge never overlaps the ¡OFERTA! badge */
ul.products li.product{position:relative}
ul.products li.product .am-refurb-badge{position:static;top:auto;right:auto;left:auto;transform:none;display:table;margin:32px auto 6px;white-space:nowrap}
/* QA-final: tablet layout (768-1023): sidebar below content, 2 product columns */
@media (min-width:768px) and (max-width:1023px){
 .right-sidebar #primary.content-area,.right-sidebar #secondary.widget-area,.left-sidebar #primary.content-area,.left-sidebar #secondary.widget-area{width:100%!important;float:none!important;margin-right:0!important}
 .site-main ul.products li.product,.site-main ul.products.columns-4 li.product,.site-main ul.products.columns-3 li.product{width:48%!important;margin-right:4%!important;float:left;clear:none!important}
 .site-main ul.products li.product:nth-child(2n){margin-right:0!important}
 .site-main ul.products li.product:nth-child(2n+1){clear:both!important}
 ul.products li.product .button{white-space:nowrap;word-break:normal}
}
/* QA-final: long archive titles must not break mid-word on phones */
@media (max-width:480px){h1.woocommerce-products-header__title,h1.page-title,.woocommerce-products-header h1{font-size:32px!important;line-height:1.15;word-break:normal!important;overflow-wrap:normal!important;hyphens:manual}}

/* R2 2026-10-27: chat bubble is now a <button>; keep the round dark look against the theme's button styles */
#amchat-bubble,#amchat-bubble:hover,#amchat-bubble:focus{border-radius:50% !important;background:#0d0d0f !important;border:2px solid #c9a44a !important;box-shadow:0 4px 18px rgba(0,0,0,.5) !important;padding:0 !important;color:#c9a44a;text-shadow:none}
#amchat-bubble:focus-visible{outline:2px solid #fff;outline-offset:3px}

/* R2: contact pages (ES 101 / EN 102): intro + details on the left, form on the right on desktop */
@media (min-width:1024px){
  .page-id-101 .entry-content,.page-id-102 .entry-content{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:56px;align-items:start}
  .page-id-101 .entry-content>*,.page-id-102 .entry-content>*{grid-column:1}
  .page-id-101 .entry-content>.wpcf7,.page-id-102 .entry-content>.wpcf7{grid-column:2;grid-row:1/span 20;max-width:none;width:100%;margin-top:0}
}
