/* Alvo visual: capturas image(1).png e image(2).png, página inicial iStore.
   Preservar a organização da montra e os movimentos GadgetX. */
.home-store { background:#fff; --home-blue:#0071e3; }
.home-store .shell { width: min(1180px,76%); }
.visually-hidden { position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap; }
.home-store .announcement { min-height:20px;padding:3px 12px;font-size:10px;background:var(--home-blue); }
.home-store header { top:20px; }

/* Cabeçalho aberto, a toda a largura (referência: barra da iStore).
   Linha 1: logótipo, pesquisa, entrega/preço e ações. Linha 2: menu de ponta a ponta. */
.home-store .nav-shell,.main-nav-inner { width:min(1280px,calc(100% - 128px)); }
.home-store .nav-shell { height:80px;gap:28px; }
.home-store .site-search { flex:1 1 430px;max-width:430px;height:40px;padding:0 16px; }
.home-store .site-search input { font-size:14px; }
.header-info { display:flex;align-items:center;gap:22px;margin-left:auto;flex:none; }
.header-info-item { display:flex;align-items:center;gap:8px;font-size:14px;white-space:nowrap;color:var(--ink); }
.header-info-item svg { width:24px;height:24px;margin-right:2px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round; }
.header-info-item strong { font-weight:400;color:var(--home-blue); }
.header-info-item:hover strong,.header-info-item:focus-visible strong { text-decoration:underline;text-underline-offset:3px; }
.header-info-divider { width:1px;height:36px;background:#d9d9de; }
.home-store .nav-actions { gap:4px;flex:none; }
.home-store .bag-btn { position:relative;padding:8px; }
.home-store .bag-btn svg { width:25px;height:25px; }
.home-store #bag-count { position:absolute;top:2px;right:0;width:auto;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--home-blue);color:#fff;font-size:10px;font-weight:650;line-height:17px; }
.home-store #bag-count[hidden] { display:none; }
.home-store .menu-toggle { width:42px;height:42px;background:transparent;color:var(--ink); }
.home-store .menu-toggle:hover { background:#f0f0f2; }
.home-store .menu-toggle span { width:22px; }
body.menu-open .header-info,body.menu-open .site-search { opacity:0;pointer-events:none; }
.home-store header .main-nav { display:block;min-height:0;border-top:0;background:transparent; }
.main-nav-inner { display:flex;align-items:center;justify-content:space-between;gap:18px;height:46px;margin:auto; }
.home-store header .main-nav a { font-size:14px;color:var(--ink);white-space:nowrap; }
.home-store header .main-nav a:hover { color:var(--home-blue); }
.main-nav-divider { flex:none;width:1px;height:22px;background:#d9d9de; }
.home-store main { padding-top:147px; }
html { scroll-padding-top:155px; }
.announcement-short { display:none; }
@media(max-width:1180px) { .header-info-price,.header-info-divider { display:none; } }
@media(max-width:700px) { .announcement-long { display:none; } .announcement-short { display:inline; } .home-store .announcement { white-space:nowrap;overflow:hidden;text-overflow:ellipsis; } }
@media(max-width:1000px) { .header-info { display:none; } }
@media(max-width:900px) { .main-nav-divider,.main-nav-secondary { display:none; } }
.home-store .outline { border:1px solid #1d1d1f;background:transparent;color:#1d1d1f; }
.home-store .home-section,.home-store .shop-section,.home-store .catalog { padding-block:24px; }
.home-store h2,.home-store .section-heading h2 { font-size:26px;line-height:1.25;font-weight:650;letter-spacing:-.03em;margin-bottom:20px; }
.home-store .section-heading { margin-bottom:18px;align-items:center; }
.home-store .section-heading h2 { margin:0; }
.home-store .section-heading p { font-size:12px; }
.home-store .all-products { padding-top:40px;padding-bottom:25px; }
.home-store .category-nav { display:grid;grid-template-columns:repeat(8,1fr);gap:12px;padding:0;margin:0; }
.home-store .category-nav a { min-width:0;text-align:center;padding:0; }
.home-store .category-nav img { width:100%;height:70px;object-fit:contain;mix-blend-mode:multiply;margin-bottom:8px;transition:transform .5s var(--ease-out); }
.home-store .category-nav a:hover img { transform:translateY(-6px); }
.home-store .category-nav span { font-size:12px;font-weight:600;display:block; }
.home-store .category-nav small { display:block;font-size:10px;font-weight:400;margin-top:4px;color:#606066; }
.promo-pair { display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-block:14px; }
.promo-tile { display:block;position:relative;min-height:250px;padding:35px;border:0;border-radius:12px;overflow:hidden;text-align:left;background:#f5f5f7;color:#0071e3; }
.promo-tile h2 { position:relative;z-index:1;font-size:30px;max-width:75%;margin-bottom:12px; }
.promo-tile p { position:relative;z-index:1;font-size:12px;max-width:55%; }
.promo-blue { background:#0071e3;color:#fff; }
.promo-link { display:inline-block;position:relative;z-index:1;margin-top:12px;font-size:12px; }
.promo-arrow { position:absolute;font-size:180px;font-weight:400;line-height:1;bottom:-30px;right:15px;transform:rotate(-6deg);transition:transform .6s var(--ease-out); }
.promo-tile:hover .promo-arrow { transform:rotate(0) translate(8px,-8px); }
.promo-phone img { position:absolute;height:230px;width:50%;object-fit:cover;right:-12px;bottom:-22px;border-radius:24px;transition:transform .6s var(--ease-out); }
.promo-phone:hover img { transform:translateY(-8px); }
.benefits>a,.benefits>button { padding:20px;border:1px solid #e8e8eb;border-radius:10px;background:#fff;color:#1d1d1f;text-align:left; }
.benefits small { font-size:9px;color:#777;letter-spacing:.08em; }
.benefits p { margin:9px 0 0;font-size:15px;line-height:1.35;font-weight:550; }
.benefits>a:nth-child(2) p { color:#0071e3; }
.bento-band { background:#f2f2f3;padding:22px 0;margin-block:18px; }
.home-bento { display:grid;grid-template-columns:1fr 1fr;grid-template-rows:205px 205px;gap:15px; }
.home-bento article { background:white;border-radius:8px;text-align:center;overflow:hidden; }
.home-bento h2 { font-size:23px;margin:0 0 6px; }
.home-bento p { font-size:12px;margin-bottom:12px; }
.home-store .button.blue { background:#0071e3;color:#fff;padding:9px 20px;border:0;border-radius:24px;min-height:30px;font-size:11px; }
.bento-phone { grid-row:span 2;padding-top:28px; }
.bento-phone img { display:block;width:100%;height:260px;object-fit:contain;margin-top:14px;transition:transform .7s var(--ease-out); }
.bento-phone:hover img { transform:scale(1.04); }
.bento-small { display:grid;grid-template-columns:45% 55%;align-items:center;padding:20px; }
.bento-small img { width:100%;height:160px;object-fit:contain; }
.home-store .product-card { min-height:360px; }
.home-store .product-visual { height:160px; }
.home-store .product-card h3 { font-size:19px; }
.home-store .filters { margin-bottom:15px; }
.home-store .filters button { font-size:11px;padding:8px 13px; }
.support-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:12px; }
.support-grid>a,.support-grid>button { text-align:left;background:white;border:1px solid #e8e8eb;border-radius:8px;overflow:hidden;padding:0 0 20px;color:#1d1d1f; }
.support-grid img { width:100%;height:130px;object-fit:contain;background:#f5f5f7; }
.support-grid h3 { font-size:14px;margin:16px 15px 8px; }
.support-grid p { font-size:11px;line-height:1.5;margin:0 15px 12px; }
.support-grid span { display:block;font-size:11px;color:#0071e3;margin:0 15px; }
.home-service { display:grid;grid-template-columns:repeat(3,1fr);text-align:center;gap:60px;padding-block:55px; }
.home-service a>span { font-size:32px;font-weight:300;color:#0071e3; }
.home-service h3 { font-size:15px;margin:12px 0 7px; }
.home-service p { font-size:12px;color:#626267; }
.computer-pair { display:grid;grid-template-columns:1fr 1fr;gap:15px; }
.computer-pair a { background:#f5f5f7;border-radius:9px;padding:22px;text-align:center; }
.computer-pair img { width:100%;height:170px;object-fit:contain;mix-blend-mode:multiply; }
.computer-pair h3 { margin:14px 0 8px; }
.computer-pair p { font-size:12px;color:#0071e3; }
.home-store .news-section { padding-block:40px; }
.home-store .news-heading h2 { font-size:32px; }
.home-store .news-heading>p { font-size:14px; }
.home-store .news-copy h3 { font-size:28px; }
.home-store .news-card { border-radius:10px; }
.home-store .photo-heading { margin-top:35px; }
.home-store .delivery { padding-block:45px; }
.home-store .delivery h2 { font-size:32px; }
.home-store .help { border:1px solid #eee;border-radius:10px;margin-block:25px 50px; }
@media(max-width:1100px) {
 .home-store .shell,.home-store .nav-shell,.main-nav-inner { width:calc(100% - 60px); }
}
@media(max-width:700px) {
 .home-store .shell,.home-store .nav-shell { width:calc(100% - 32px); }
 .home-store .announcement { font-size:9px; }
 .home-store .nav-shell { height:57px;gap:10px; }
 .home-store .site-search { flex-basis:100px;height:36px;padding:0 10px; }
 .home-store .brand { width:126px; }
 .home-store .brand img { width:177px;height:177px;left:-15px;top:-68px; }
 .home-store header .main-nav { display:none; }
 .home-store main { padding-top:78px; }
 html { scroll-padding-top:90px; }
 .home-store h2,.home-store .section-heading h2 { font-size:22px; }
 .home-store .all-products { padding-top:28px; }
 .home-store .category-nav { display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:78px;gap:12px;overflow:auto;padding-bottom:12px; }
 .home-store .category-nav img { height:55px; }
 .home-store .category-nav span { font-size:11px; }
 .home-store .category-nav small { font-size:9px; }
 .promo-pair { gap:10px; }
 .promo-tile { min-height:195px;padding:18px; }
 .promo-tile h2 { font-size:20px;max-width:100%; }
 .promo-tile p { display:none; }
 .promo-link { font-size:10px;margin-top:8px; }
 .promo-arrow { font-size:105px;bottom:-20px; }
 .promo-phone img { width:72%;height:115px;bottom:-24px; }
 .benefits { grid-auto-columns:70%; }
 .home-bento { grid-template-rows:155px 155px;gap:10px; }
 .home-bento h2 { font-size:18px; }
 .home-bento p { font-size:10px; }
 .bento-phone { padding-top:20px; }
 .bento-phone img { height:170px; }
 .bento-small { display:flex;flex-direction:column-reverse;gap:5px;padding:12px; }
 .bento-small img { height:55px; }
 .bento-small p { display:none; }
 .bento-small .button { padding:6px 15px;font-size:10px; }
 .support-grid { display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:72%;overflow:auto;padding-bottom:12px; }
 .home-service { gap:15px;padding-block:25px; }
 .home-service h3 { font-size:12px; }
 .home-service p { font-size:10px; }
 .computer-pair img { height:100px; }
 .computer-pair a { padding:15px; }
 .home-store .section-heading { align-items:start;gap:10px; }
 .home-store .section-heading>p { display:none; }
}
@media(prefers-reduced-motion:reduce) { .home-store img,.promo-arrow { transition:none!important;transform:none!important; } }

/* GadgetX: uploaded product cutouts, labelled curtains and changing scenes. */
.home-store .brand { width:205px;height:42px;overflow:visible; }
.home-store .brand img { position:static;width:100%;height:100%;object-fit:contain; }
.home-store .promo-phone { background:#f4f4f6; }
.home-store .promo-phone img { object-fit:contain;height:220px;width:48%;right:0;bottom:-8px;border-radius:0; }
.home-store .category-nav img { mix-blend-mode:normal; }
.home-store .shop-image img { object-fit:contain; }
.home-store .bento-phone img { padding:10px; }
.ambient-panel { position:relative;isolation:isolate;transition:color 1s,background-color 1s; }
.ambient-panel::before { content:'';position:absolute;inset:-22px calc((100% - 100vw)/2);z-index:-1;background:#101115;opacity:0;transition:opacity 1.1s ease;pointer-events:none; }
.ambient-panel.ambient-active::before { opacity:1; }
.home-store .bento-band.ambient-active { background:#101115; }
.home-store .bento-band.ambient-active article { background:#1e2026;color:#fff;transition:background-color 1s,color 1s; }
.home-store #audio.ambient-active { color:#fff; }
.home-store #audio.ambient-active .shop-card { background:#fff;color:#1d1d1f; }
[data-motion=horizontal] .computer-pair a:first-child { transform:translateX(var(--scene-shift,0px)); }
[data-motion=horizontal] .computer-pair a:last-child { transform:translateX(calc(var(--scene-shift,0px)*-1)); }
[data-motion=vertical] .shop-card:nth-child(odd) .shop-image { transform:translateY(calc(var(--scene-shift,0px)*.5)); }
[data-motion=vertical] .shop-card:nth-child(even) .shop-image { transform:translateY(calc(var(--scene-shift,0px)*-.5)); }
.page-curtain #curtain-label { font-size:clamp(36px,7vw,100px);letter-spacing:-.04em;text-align:center; }
.home-store .shop-card:hover img { transform:translateY(-5px) scale(1.04);transition:transform .65s var(--ease-out); }
@media(max-width:700px){
 .home-store .brand { width:125px;height:32px; }
 .home-store .brand img { position:static;width:100%;height:100%; }
 .home-store .all-products { padding-top:42px; }
 .home-store .promo-phone img { height:115px;width:72%;bottom:-10px; }
}
@media(prefers-reduced-motion:reduce){
 .ambient-panel,.ambient-panel::before,.home-store .bento-band article { transition:none!important; }
 [data-motion] .computer-pair a,[data-motion] .shop-image { transform:none!important; }
}
.home-store { overflow-x:clip; }

/* ---------- Hero: carrossel automático, deslizável, com altura fixa ----------
   Todos os slides têm a mesma altura, por isso a página não salta ao trocar.
   Computador: imagem 2048×577 a toda a largura, texto por cima.
   Telemóvel e tablet (≤820px): imagem recortada no produto (--hero-focus) em cima,
   texto centrado por baixo. Controlos: só os pontos, numa pílula sobre a borda. */
.home-store .store-hero { position:relative;padding:0;text-align:center;background:#f5f5f7;overflow-x:clip;touch-action:pan-y;-webkit-user-select:none;user-select:none;cursor:grab; }
.home-store .store-hero.is-dragging { cursor:grabbing; }
.store-hero-art { display:block;width:min(1400px,100%);height:auto;aspect-ratio:2048/577;margin:auto;object-fit:cover;object-position:var(--hero-focus,50%) 50%;pointer-events:none;-webkit-user-drag:none; }
.store-hero-art.is-settling { transition:transform .3s var(--ease-out); }
.store-hero-copy { position:absolute;left:0;right:0;bottom:9%; }
.store-hero-copy p { margin:0 0 15px;font-size:14px; }
.hero-actions { display:flex;justify-content:center;gap:16px; }
.home-store .hero-actions .button { min-height:33px;padding:9px 21px;font-size:12px;border-radius:24px; }
.hero-split .store-hero-copy { top:50%;right:auto;bottom:auto;left:22%;width:28%;transform:translateY(-50%);text-align:left; }
.home-store .hero-split .store-hero-copy h2 { font-size:clamp(25px,3vw,46px);margin-bottom:12px; }
.hero-split .hero-actions { justify-content:flex-start; }
.home-store .hero-dark { background:#000;color:#fff; }
.hero-dark .store-hero-copy .dark { background:#fff;color:#151515; }
.hero-dark .store-hero-copy .outline { color:#fff;border-color:#aaa; }
.hero-controls { position:absolute;left:50%;bottom:0;z-index:2;transform:translate(-50%,50%);display:flex;align-items:center;padding:10px 16px;border-radius:24px;background:#fff;box-shadow:0 3px 14px #00000024;cursor:default; }
#hero-dots { display:flex;align-items:center;gap:4px; }
#hero-dots button { display:grid;place-items:center;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:transparent; }
#hero-dots button::before { content:'';width:8px;height:8px;border-radius:50%;background:#d6d6db;transition:background .3s,transform .3s; }
#hero-dots button[aria-pressed=true]::before { background:#1d1d1f;transform:scale(1.25); }
#hero-dots button:focus-visible { outline:2px solid var(--home-blue);outline-offset:1px; }
/* A imagem nova entra pelo lado de onde veio o deslize (--hero-from em experience.js). */
.hero-enter { animation:hero-arrive .7s var(--ease-out) both; }
@keyframes hero-arrive { from{opacity:.3;transform:translateX(var(--hero-from,32px))} to{opacity:1;transform:translateX(0)} }
@media(max-width:820px){
 .home-store .store-hero { display:flex;flex-direction:column; }
 .store-hero-art { width:100%;max-width:none;height:clamp(190px,50vw,330px);aspect-ratio:auto; }
 .store-hero-copy,.hero-split .store-hero-copy { position:static;display:flex;flex-direction:column;align-items:center;justify-content:center;width:auto;min-height:160px;padding:6px 20px 34px;transform:none;text-align:center; }
 .home-store .hero-split .store-hero-copy h2 { font-size:25px;margin:0 0 6px; }
 .store-hero-copy p { font-size:14px;margin:0 0 14px; }
 .hero-split .hero-actions { justify-content:center; }
 .home-store .hero-actions .button { min-height:38px;padding:10px 22px;font-size:13px; }
}
@media(prefers-reduced-motion:reduce){ .hero-enter { animation:none; } .store-hero-art.is-settling { transition:none; } }

/* Compact rotating benefits strip. */
.benefits-banner { display:flex; align-items:center; gap:28px; padding-block:20px; border-top:1px solid #e8e8eb; border-bottom:1px solid #e8e8eb; margin-block:25px; min-height:84px; }
.benefits-label { font-size:14px; font-weight:650; flex-shrink:0; }
.benefits-messages { flex:1; min-width:0; }
.benefit-message { display:flex; align-items:center; gap:15px; padding:6px 0; border:0; background:none; color:#53535a; font:inherit; font-size:14px; text-align:left; text-decoration:none; width:100%; }
.benefit-message[hidden] { display:none; }
.benefit-message svg { width:25px; height:25px; flex:none; fill:none; stroke:#733f52; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.benefit-message>span:last-child { color:#733f52; margin-left:auto; }
.benefit-message:hover { color:#1d1d1f; }
.benefit-message:focus-visible { outline:2px solid #733f52; outline-offset:5px; }
@media(max-width:650px) {
 .benefits-banner { gap:12px; flex-wrap:wrap; padding-block:15px; margin-block:18px; }
 .benefits-label { width:100%; font-size:12px; }
 .benefit-message { font-size:13px; gap:10px; min-height:42px; }
 .benefit-message svg { width:22px; height:22px; }
}

/* ---------- Rodapé (referência: rodapé da iStore) ----------
   Cinco colunas de links; em baixo, subscrição de emails à esquerda e redes, pagamentos e
   direitos à direita. Tablet: três colunas. Telemóvel: duas colunas e tudo empilhado. */
.site-footer { margin-top: 40px; padding-block: 56px 28px; background: #fff; border-top: 1px solid #ececef; color: var(--ink); }
.footer-columns { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.site-footer h2 { margin: 0 0 22px; font-size: 17px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.site-footer li a { font-size: 14px; line-height: 1.45; color: #3a3a3f; }
.site-footer li a:hover { color: var(--home-blue); text-decoration: underline; text-underline-offset: 3px; }
.footer-partner-logo { display: inline-block; padding: 10px 14px; border: 1px solid #1d1d1f; border-radius: 8px; }
.footer-partner-logo img { display: block; width: 150px; height: auto; }
.footer-lower { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 56px; }
.newsletter { flex: 0 1 360px; }
.site-footer .newsletter h2 { margin-bottom: 6px; font-size: 18px; font-weight: 500; }
.newsletter-intro { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.newsletter-intro a { color: var(--home-blue); font-weight: 600; }
.newsletter-field { display: flex; align-items: center; border: 1px solid #c9c9ce; border-radius: 8px; background: #fff; }
.newsletter-field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px #1d1d1f14; }
.newsletter-field input[type="email"] { flex: 1; min-width: 0; min-height: 54px; margin: 0; padding: 0 14px; border: 0; background: transparent; font-size: 15px; }
.newsletter-field input:focus-visible { outline: 0; }
.newsletter-field button { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border: 0; background: transparent; color: var(--ink); }
.newsletter-field button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.newsletter-trap { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.newsletter-status { min-height: 20px; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.newsletter-status[data-state="ok"] { color: #1d7a4b; }
.newsletter-status[data-state="error"] { color: #a0271f; }
.footer-meta { display: grid; justify-items: end; gap: 14px; text-align: right; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); }
.footer-social a:hover { background: #f2f2f4; }
.footer-social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-social svg .fill { fill: currentColor; stroke: none; }
.site-footer .footer-payments { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.footer-payments li { padding: 6px 10px; border: 1px solid #dcdce0; border-radius: 6px; background: #fff; font-size: 11px; font-weight: 650; letter-spacing: .02em; color: #3a3a3f; }
.footer-copy, .footer-note { margin: 0; font-size: 12px; color: var(--muted); }
@media (max-width: 1000px) { .footer-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .site-footer { padding-block: 40px 24px; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-partner { grid-column: 1 / -1; }
  .footer-lower { display: grid; gap: 28px; margin-top: 36px; }
  .footer-meta { justify-items: start; text-align: left; }
  .site-footer .footer-payments { justify-content: flex-start; }
}

/* ---------- Páginas de informação (/entregas, /termos, /contactos, ...) ---------- */
.info-page { padding-block: 32px 72px; }
.info-crumbs { display: flex; gap: 8px; margin-bottom: 28px; font-size: 13px; color: var(--muted); }
.info-crumbs a { color: var(--muted); }
.info-crumbs a:hover { color: var(--home-blue); }
.info-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
.info-article { max-width: 68ch; }
.info-article h1 { margin: 0 0 24px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.04em; }
.info-article .policy-body p, .info-article .policy-body li { font-size: 16px; line-height: 1.7; color: #3f3f45; }
.info-article .policy-body h3 { margin: 32px 0 8px; font-size: 19px; }
.info-aside { position: sticky; top: 170px; padding: 22px; border: 1px solid #ececef; border-radius: 14px; background: #fafafb; }
.info-aside h2 { margin: 0 0 12px; font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-aside ul { list-style: none; display: grid; gap: 2px; margin: 0 0 18px; padding: 0; }
.info-aside li a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 14px; color: var(--ink); }
.info-aside li a:hover { background: #f0f0f3; }
.info-aside li a[aria-current="page"] { background: #fff; box-shadow: inset 0 0 0 1px #dcdce0; font-weight: 600; color: #733f52; }
.info-help { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid #e6e6ea; font-size: 13px; }
.info-help a { color: var(--home-blue); }
.info-404 { padding-block: 72px 96px; text-align: center; }
.info-404 h1 { margin: 0 0 12px; font-size: clamp(34px, 5vw, 56px); letter-spacing: -.04em; }
.info-404 .lead { margin-bottom: 26px; color: var(--muted); }
@media (max-width: 900px) {
  .info-layout { grid-template-columns: 1fr; gap: 36px; }
  .info-aside { position: static; }
}

/* ---------- Página de produto (/iphone/<slug>) ----------
   Reaproveita .pdp-* (style.css): imagem à esquerda, escolhas à direita, barra fixa de compra. */
.pdp-page .pdp-hero { padding-top: 36px; }
.pdp-page .pdp-image-stage { min-height: 0; aspect-ratio: 1 / 1; background: #f5f5f7; cursor: default; }
.pdp-page .pdp-image-stage::before { background: linear-gradient(110deg, transparent 35%, #ffffff9c 50%, transparent 65%); }
.pdp-page .pdp-image-stage img { padding: 8%; }
.pdp-page .pdp-image-caption { color: #6e6e73; }
.pdp-page .pdp-availability { margin: 0; }
.pdp-page .pdp-model-options, .pdp-page .pdp-capacity-options { flex-wrap: wrap; }
.pdp-page .pdp-option { display: block; flex: 1 1 calc(50% - 5px); width: auto; color: var(--ink); }
.pdp-page .pdp-capacity { display: grid; gap: 3px; flex: 1 1 calc(25% - 7px); min-width: 96px; }
.pdp-page .pdp-capacity small { font-size: 11px; font-weight: 500; color: var(--muted); }
.pdp-page .pdp-buybox .pdp-price { max-width: none; margin: 0 0 4px; font-size: 30px; font-weight: 650; letter-spacing: -.03em; color: var(--ink); }
.pdp-page .pdp-buybox .price-includes { max-width: none; margin: 0 0 4px; font-size: 13px; font-weight: 600; color: #733f52; }
.pdp-page .pdp-buybox .price-breakdown-note { margin: 8px 0 18px; }
.pdp-page .purchase-dock-inner p { margin: 0; }
@media (max-width: 700px) {
  .pdp-page .pdp-capacity { flex-basis: calc(50% - 5px); }
  .pdp-page .pdp-config h1 { font-size: clamp(36px, 10vw, 48px); }
}

/* ---------- Sem barras de scroll visíveis ----------
   A página, as filas e as janelas continuam a deslizar (roda do rato, dedo, teclado,
   trackpad); só a barra cinzenta deixa de aparecer. As filas não têm scroll vertical:
   o espaço em cima e em baixo acomoda os movimentos e o efeito ao passar o rato. */
* { scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }

/* ---------- Filas de cartões, como na iStore ----------
   Novidades, acessórios, AirPods, destaques e o catálogo de iPhone: cartões grandes e brancos
   com imagem, etiqueta, nome, uma linha de descrição e o preço; o cartão inteiro é o link.
   Sem setas: desliza-se com o dedo, o trackpad ou arrastando com o rato (rails.js).
   A fila passa um pouco para lá da margem para a sombra dos cartões não ficar cortada. */
.home-rail, .home-store .shop-grid, .home-store .product-grid {
  display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 60px) / 3.5); gap: 20px;
  margin-inline: -20px; padding: 14px 20px 36px; scroll-padding-inline: 20px;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
}
.home-store .product-grid { grid-auto-columns: calc((100% - 60px) / 4); }
.home-store .shop-card, .home-store .product-card { border: 0; border-radius: 24px; background: #fff; box-shadow: 0 4px 22px #00000012; scroll-snap-align: start; }
.home-store .shop-card { display: flex; flex-direction: column; min-height: 0; padding: 30px 28px 34px; color: #1d1d1f; text-decoration: none; }
.home-store .shop-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px #0000001a; }
.home-store .shop-card:focus-visible { outline: 2px solid var(--home-blue); outline-offset: 3px; }
.home-store .shop-image { height: 210px; margin: 0 0 30px; }
.home-store .shop-card .eyebrow { margin: 0 0 6px; color: #b64400; font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.home-store .shop-card h3 { margin: 0 0 8px; font-size: 26px; font-weight: 650; letter-spacing: -.025em; line-height: 1.12; }
.home-store .card-sub { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.home-store .card-price { margin: 28px 0 0; font-size: 15px; }
.rail-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.rail-dragging a { cursor: grabbing; }
@media (max-width: 1100px) {
  .home-rail, .home-store .shop-grid, .home-store .product-grid { grid-auto-columns: calc((100% - 20px) / 2.3); }
}
@media (max-width: 700px) {
  .home-rail, .home-store .shop-grid, .home-store .product-grid { grid-auto-columns: 80%; gap: 14px; margin-inline: -16px; padding: 10px 16px 30px; scroll-padding-inline: 16px; }
  .home-store .shop-card { padding: 24px 22px 28px; border-radius: 20px; }
  .home-store .product-card { border-radius: 20px; }
  .home-store .shop-image { height: 175px; margin-bottom: 26px; }
  .home-store .shop-card h3 { font-size: 23px; }
  .home-store .card-sub, .home-store .card-price { font-size: 14px; }
  .home-store .card-price { margin-top: 24px; }
}

/* ---------- Estado de stock (js/catalog.js) ----------
   Etiqueta discreta com bolinha: Em stock, Stock limitado, Esgotado, Brevemente.
   Os produtos esgotados continuam visíveis, com foto e preço; só o botão de compra fica
   desativado, com o estado escrito. */
.stock-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; line-height: 1.3; }
.stock-pill::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock-pill.is-in { color: #1a7f37; }
.stock-pill.is-limited { color: #b25e09; }
.stock-pill.is-out { color: #6e6e73; }
.stock-pill.is-soon { color: #7e4659; }
.home-store .card-detail { margin: 8px 0 0; font-size: 13px; color: #6e6e73; }
.home-store .card-stock { margin: 6px 0 0; }
.product-detail { margin: -6px 0 12px; font-size: 12px; color: var(--muted); }
.product-bottom p .stock-pill { display: flex; margin-top: 6px; }
.pdp-page .pdp-stock { margin: 0 0 10px; }
.pdp-page .pdp-unavailable { max-width: none; margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.button.dark[disabled] { background: #e8e8ed; color: #515154; opacity: 1; box-shadow: none; transform: none; }

/* Estado do pagamento na janela de agradecimento (ePay confirma em segundos ou minutos). */
.thanks-status { margin: 0 0 10px; font-weight: 600; color: #515154; }
.thanks-status[data-state="paid"] { color: #1a7f37; }
.thanks-status[data-state="failed"], .thanks-status[data-state="cancelled"] { color: #b3261e; }
