/* Meu Foguete — Apple-inspired composition, original brand and product media.
   Visual layer only. Reference selection: docs/REFERENCIAS-APPLE-20260919.md. */
:root {
  --ink: #1d1d1f;
  --muted: #636369;
  --paper: #f5f5f7;
  --line: #dedee3;
  --green: #b5f44a;
  --green-dark: #365c13;
  --surface: #fff;
  --shell: 1240px;
  --card-radius: 28px;
  --control-radius: 999px;
  --shop-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--paper);
}
body { background: var(--paper); color: var(--ink); }
body, button, input, select { font-family: var(--shop-font); }
h1, h2, h3 { font-weight: 600; letter-spacing: -.04em; }
/* Short brand accents follow headings without underlining body copy. */
main :is(h1, h2, h3)::after { content: ""; display: block; width: 36px; height: 3px; margin-top: 14px; border-radius: 999px; background: var(--green); }
main h1::after { width: 52px; margin-top: 18px; }
main h3::after { width: 24px; height: 2px; margin-top: 10px; }
.centered h1::after, .empty-page h1::after { margin-inline: auto; }
p { line-height: 1.6; }
.overline { letter-spacing: .065em; color: var(--muted); }
.button { min-height: 50px; padding: 14px 24px; border-radius: var(--control-radius); font-weight: 500; }
.primary { color: #1d280f; border: 1px solid transparent; box-shadow: none; }
.secondary { background: var(--surface); border: 1px solid #a1a1a6; }
.button:hover { transform: none; }
.text-link { font-weight: 500; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
:is(a, button, input, select, summary):focus-visible { outline-color: var(--green-dark); }

/* Solid surface keeps the original rocket's white backdrop seamless on mobile. */
.top-note { background: #ececef; color: #505055; min-height: 32px; font-size: .6875rem; letter-spacing: .055em; }
.top-note span { color: var(--ink); }
.top-note span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 7px 2px 0; border-radius: 50%; background: #507c1c; }
.site-header { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid #00000008; }
.header-inner { min-height: 72px; padding-block: 10px; }
.brand-word { position: relative; font-size: .9375rem; letter-spacing: -.025em; }
.brand-word::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 28px; height: 2px; border-radius: 999px; background: var(--green); }
.brand-word small { font-size: .5625rem; letter-spacing: .35em; }
.site-header .brand img { width: 36px; height: 42px; mix-blend-mode: normal; }
.main-nav { gap: 30px; }
.main-nav a { color: #45454a; font-size: .8125rem; font-weight: 400; }
.main-nav a:hover, .main-nav a[aria-current=page] { font-weight: 400; color: var(--ink); }
.main-nav a[aria-current=page]::after { height: 2px; width: 20px; }
.bag-link { border: 0; background: var(--green); color: #1d280f; border-radius: var(--control-radius); font-weight: 500; }
.bag-link b { width: 21px; height: 21px; min-width: 21px; font-size: .6875rem; }

/* A separate store introduction and photographic category navigation. */
.store-intro { background: var(--surface); padding-bottom: 28px; }
.store-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: end; padding-block: 64px 44px; }
.store-heading > div { min-width: 0; }
.store-heading .overline { font-size: .75rem; letter-spacing: .07em; margin-bottom: 20px; }
.store-heading h1 { font-size: clamp(3.5rem, 6.8vw, 6rem); line-height: 1.02; letter-spacing: -.06em; }
.store-heading h1 span { color: #737378; }
.store-heading-copy { max-width: 32ch; justify-self: end; padding-bottom: 5px; }
.store-heading-copy p { font-size: 1.25rem; line-height: 1.5; color: var(--muted); }
.store-heading-copy .text-link { margin-top: 20px; }
.catalog-heading { padding-block: 60px 44px; }
.catalog-heading h1 span { color: var(--ink); }
.categories-section { padding-block: 0 12px; }
.category-nav { justify-content: space-between; gap: 16px; padding: 8px 4px 12px; margin: 0; scrollbar-color: #c5c5ca transparent; }
.category-pill { position: relative; display: flex; flex-direction: column; flex: 0 0 136px; align-items: center; justify-content: start; gap: 14px; min-height: 0; padding: 8px 4px 14px; border: 0; border-radius: 16px; background: transparent; color: var(--ink); font-size: .8125rem; white-space: normal; text-align: center; }
.category-pill:hover, .category-pill.selected { background: transparent; color: var(--ink); border: 0; }
.category-pill:focus-visible { outline-offset: -3px; }
.category-visual { width: 100px; height: 100px; flex-shrink: 0; border-radius: 22px; overflow: hidden; display: grid; place-items: center; background: var(--paper); }
.category-visual > .icon { width: 34px; height: 34px; color: var(--ink); }
.category-photo { width: 100%; height: 100%; object-fit: contain; filter: none; mix-blend-mode: normal; }
.category-label { min-height: 20px; font-weight: 500; }
.category-pill.selected::after { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--green); position: absolute; bottom: 3px; }
.category-pill.selected .category-visual { outline: 2px solid var(--green-dark); outline-offset: 3px; }
.category-pill:hover .category-label { text-decoration: underline; text-underline-offset: 4px; }

/* An editorial product feature follows the category row. */
.hero { grid-template-columns: .9fr 1.1fr; gap: 0; min-height: 0; margin-top: 48px; padding: 0; border: 0; border-radius: var(--card-radius); background: #e8e8ed; overflow: hidden; }
.hero-copy { padding: 48px; min-width: 0; }
.hero-eyebrow { margin-bottom: 26px; font-size: .75rem; letter-spacing: .075em; }
.hero h2 { font-size: clamp(2.25rem, 3.8vw, 3.5rem); font-weight: 600; line-height: 1.07; letter-spacing: -.045em; }
.hero-copy > p { color: #56565c; font-size: 1.0625rem; line-height: 1.6; margin-top: 24px; max-width: 34ch; }
.hero-actions { margin-top: 28px; gap: 8px 20px; }
.hero-visual { background: var(--stage); border: 0; border-radius: 0; min-height: 0; padding: 0; gap: 0; align-items: center; justify-content: center; }
.hero-product { width: 100%; max-width: none; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 0; }
.hero-image-link { position: absolute; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: #fffffff0; font-size: .875rem; }
.section { padding-block: 76px; }
.section-heading { margin-bottom: 32px; gap: 24px; }
.section-heading h2 { font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.12; letter-spacing: -.045em; }
.section-heading .overline { margin-bottom: 12px; }
.section-heading > p { color: var(--muted); }

/* Titles lead into larger, three-column product photography. */
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; row-gap: 28px; align-items: stretch; }
.product-card { display: flex; flex-direction: column; padding: 28px; background: var(--surface); border-radius: var(--card-radius); }
.product-photo { border: 0; border-radius: 18px; flex-shrink: 0; margin-top: auto; }
.photo-action { width: 36px; height: 36px; right: 12px; bottom: 12px; background: #fffffff0; color: var(--ink); border: 0; box-shadow: none; }
.photo-action .icon { width: 17px; height: 17px; }
.product-card-copy { display: flex; flex-direction: column; flex: 0 0 auto; padding: 0 0 24px; }
.product-card .overline { color: var(--muted); font-size: .75rem; letter-spacing: .045em; margin-bottom: 10px; }
.product-card h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.2; letter-spacing: -.03em; min-height: 2.4em; }
.card-foot { margin-top: 0; padding-top: 18px; gap: 4px 8px; }
.card-foot > span { font-size: .8125rem; color: var(--muted); }
.card-foot .text-link { min-height: 44px; font-size: .875rem; gap: 6px; }
.combo-feature { background: var(--surface); color: var(--ink); padding: 56px; gap: 64px; border: 0; border-radius: var(--card-radius); }
.combo-feature-copy h2 { font-size: clamp(2.4rem, 3.8vw, 3.25rem); line-height: 1.08; font-weight: 600; }
.combo-feature-copy p, .combo-feature .overline, .combo-feature-label { color: var(--muted); }
.combo-feature-copy p { font-size: 1.0625rem; }
.light-link { color: var(--ink); }
.combo-product { border-radius: 16px; }
.combo-card { background: var(--surface); border: 0; border-radius: var(--card-radius); padding: 28px; }
.combo-card:hover { transform: none; }
.combo-card h3 { letter-spacing: -.025em; }
.combo-card .round-arrow { background: var(--paper); }
.combo-card .combo-product { border-radius: 12px; }
.mini-badge { background: var(--paper); color: var(--muted); font-weight: 400; padding: 6px 10px; }
.compare-section { background: var(--surface); border: 0; padding-block: 76px; }
.compare-wrap th, .compare-wrap td { border-color: var(--line); padding-block: 24px; }
.how-to { gap: 96px; }
.how-to h2, .help-heading h2 { font-size: clamp(2rem, 3.3vw, 2.8rem); font-weight: 600; }
.how-to li > span { width: 36px; height: 36px; min-width: 36px; border-radius: 50%; background: #e7e7ec; display: grid; place-items: center; color: var(--ink); }
.how-to h3 { font-weight: 500; }
.help-section { gap: 80px; }
.help-questions details { padding-block: 22px; }
.help-questions summary { font-weight: 500; }

/* Catalog controls use the same scale and surfaces as the product cards. */
.page-top { padding-block: 64px 32px; }
.page-top h1 { font-size: clamp(2.75rem, 4.7vw, 4rem); line-height: 1.08; font-weight: 600; letter-spacing: -.05em; margin-block: 14px 18px; }
.page-top > p { font-size: 1.0625rem; color: var(--muted); }
.catalog-section { padding-block: 36px 76px; }
.catalog-toolbar { gap: 24px; margin-top: 0; }
.search-field { background: var(--surface); border-color: #b3b3b9; border-radius: 14px; min-height: 54px; }
.search-field input { font-size: 1rem; }
.sort-field { color: var(--muted); }
.sort-field select { border-color: #b3b3b9; background: var(--surface); border-radius: 12px; }
.catalog-results-bar { margin-block: 20px 26px; }
.result-count { color: var(--muted); }
.empty-results { background: var(--surface); border: 0; border-radius: var(--card-radius); }

/* Preserve gallery geometry, variant controls and existing purchase behavior. */
body:has(.product-page), body:has(.combo-detail), body:has(.cart-layout), body:has(.empty-page) { background: var(--surface); }
.breadcrumbs { padding-block: 28px; color: var(--muted); font-size: .8125rem; }
.product-page, .combo-detail { grid-template-columns: 1.1fr 1fr; gap: 64px; padding-top: 12px; }
.gallery-main-wrap { border: 0; border-radius: var(--card-radius); }
.thumbs { gap: 12px; padding-block: 18px; }
.thumbs button { border-color: #b3b3b9; border-radius: 12px; }
.thumbs button.active { border-color: var(--green-dark); box-shadow: none; }
.reference-photos { border-color: var(--line); }
.product-info { padding-top: 4px; }
.product-info h1 { font-size: clamp(2rem, 3.2vw, 2.75rem); font-weight: 600; line-height: 1.1; letter-spacing: -.04em; }
.product-summary { font-size: 1.0625rem; line-height: 1.55; color: var(--muted); margin-block: 22px 24px; }
.size-tag { background: var(--paper); border: 0; padding: 7px 12px; color: #515156; }
.contact-pending { color: var(--muted); }
.purchase-panel { background: var(--paper); border: 0; border-radius: 24px; padding: 24px; }
.variant-field select, .quantity-field input { background: var(--surface); border-color: #98989f; border-radius: 12px; }
.purchase-row .button { font-weight: 500; }
.purchase-note, .media-note { color: var(--muted); }
.product-details details { border-color: var(--line); padding-block: 16px; }
.product-details summary { font-weight: 500; }
.product-details p, .product-details ul { color: var(--muted); }
.combo-detail-visual { background: var(--paper); border: 0; border-radius: var(--card-radius); padding: 28px; }
.combo-line { border-color: var(--line); }
.product-media { border-top: 1px solid var(--line); margin-top: 32px; }
.video-card video { border: 0; border-radius: 24px; }

/* The cart stays a functional list with a quiet, separate summary. */
.purchase-steps { gap: 28px; font-size: .8125rem; margin-bottom: 36px; }
.purchase-steps > a > span, .purchase-steps > span > span { border-color: #c4c4ca; }
.purchase-steps [aria-current=step] > span { border-color: transparent; }
.cart-layout { grid-template-columns: 1.35fr 1fr; gap: 64px; }
.cart-item { padding-block: 28px; border-color: var(--line); }
.cart-item > img { width: 116px; height: 116px; border-radius: 20px; }
.cart-item h2 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.025em; }
.cart-item p, .remove-button { color: var(--muted); }
.quantity-stepper { border-color: #c4c4ca; background: var(--surface); border-radius: var(--control-radius); }
.order-summary { background: var(--paper); border: 0; padding: 32px; border-radius: var(--card-radius); }
.order-summary h2 { font-weight: 600; letter-spacing: -.025em; }
.summary-line { border-color: var(--line); }
.message-preview pre { background: var(--surface); border-color: var(--line); }

/* A light footer keeps the same visual rhythm to the end of the page. */
.site-footer { background: #ededf0; color: var(--ink); border-top: 1px solid #dedee3; }
.footer-main { padding-block: 52px; }
.footer-main .brand { color: var(--ink); }
.footer-main .brand img { filter: invert(1) contrast(1.65); mix-blend-mode: multiply; }
.footer-brand p, .footer-links a, .footer-links button { color: #58585e; font-size: .8125rem; }
.footer-links strong { color: var(--ink); font-size: .6875rem; letter-spacing: .06em; }
.footer-bottom { color: var(--muted); border-color: #d4d4da; }
.site-media-note { background: var(--paper); color: var(--muted); }
.whatsapp-float { background: var(--green); border-color: transparent; color: #1d280f; box-shadow: 0 4px 16px #0000000a; }
.shop-toast { border: 0; border-radius: 20px; box-shadow: 0 8px 30px #00000018; }

@media (hover: hover) {
  .primary:hover, .bag-link:hover, .whatsapp-float:hover { background: #aaea40; }
  .secondary:hover { background: #e9e9ed; }
  .combo-card:hover .round-arrow, .hero-visual:hover .round-arrow { background: var(--green); }
}
@media (max-width: 1100px) {
  .store-heading { gap: 40px; }
  .category-pill { flex-basis: 120px; }
  .hero-copy { padding: 32px; }
  .hero-visual { padding: 0; }
  .hero-product { max-width: none; }
  .product-page, .combo-detail, .cart-layout { gap: 36px; }
  .combo-feature { padding: 40px; gap: 40px; }
  .main-nav { gap: 22px; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 70px; }
  .main-nav { background: #fffffff7; padding-block: 14px 22px; border-bottom-color: var(--line); }
  .main-nav a, .main-nav a:last-child { font-size: 1rem; font-weight: 400; }
  .store-heading { gap: 28px; }
  .store-heading-copy p { font-size: 1.0625rem; }
  .hero { margin-top: 32px; }
  .hero-copy { padding: 28px; }
  .hero-eyebrow { margin-bottom: 22px; }
  .hero-product { max-width: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .product-card { padding: 24px; border-radius: 24px; }
  .product-card-copy { padding: 0 0 20px; }
  .product-card h3 { font-size: 1.375rem; }
  .product-photo { border-radius: 16px; }
  .purchase-panel { padding: 20px; }
  .cart-layout { grid-template-columns: 1fr; }
  .how-to, .help-section { gap: 36px; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 32px); }
  .top-note { font-size: .625rem; gap: 6px; padding-inline: 8px; }
  .brand-word { font-size: .8125rem; }
  .brand-word small { font-size: .5rem; }
  .site-header .brand img { width: 32px; height: 38px; }
  .header-inner { min-height: 66px; padding-block: 8px; }
  .store-intro { padding-bottom: 12px; }
  .store-heading { grid-template-columns: 1fr; gap: 22px; padding-block: 36px 24px; }
  .store-heading .overline { margin-bottom: 16px; font-size: .6875rem; }
  .store-heading h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .store-heading-copy { justify-self: start; max-width: 36ch; padding: 0; }
  .store-heading-copy p { font-size: 1rem; }
  .store-heading-copy .text-link { margin-top: 8px; }
  .hero { grid-template-columns: 1fr; gap: 0; margin-top: 28px; padding: 0; }
  .hero-copy { padding: 28px; text-align: left; }
  .hero-eyebrow { justify-content: start; margin-bottom: 20px; font-size: .75rem; }
  .hero h2 { font-size: 2.25rem; line-height: 1.08; }
  .hero-copy > p { font-size: 1rem; margin: 20px 0 0; }
  .hero-actions { justify-content: start; margin-top: 24px; gap: 4px 20px; }
  .hero-actions .button, .hero-actions .text-link { font-size: .875rem; }
  .hero-visual { display: flex; padding: 0; gap: 0; min-height: 0; border: 0; border-radius: 0; }
  .hero-product { width: 100%; height: auto; max-width: none; border-radius: 0; }
  .hero-image-link { bottom: 16px; right: 16px; }
  .categories-section { padding-block: 0; }
  .category-nav { justify-content: start; gap: 10px; }
  .category-pill { flex-basis: 98px; padding: 8px 4px 14px; font-size: .75rem; gap: 12px; }
  .category-visual { width: 76px; height: 76px; border-radius: 18px; }
  .category-label { line-height: 1.4; }
  .section { padding-block: 48px; }
  .section-heading { gap: 14px; margin-bottom: 24px; }
  .section-heading h2 { font-size: clamp(1.9rem, 7.7vw, 2.5rem); }
  .section-heading .overline { font-size: .6875rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card { padding: 16px; border-radius: 20px; }
  .product-photo { border-radius: 14px; }
  .product-card-copy { padding: 0 0 18px; }
  .product-card .overline { font-size: .75rem; letter-spacing: .015em; margin-bottom: 8px; }
  .product-card h3 { font-size: 1.0625rem; line-height: 1.3; min-height: 2.6em; }
  .card-foot { padding-top: 12px; align-items: start; flex-direction: column; gap: 0; }
  .card-foot > span { font-size: .75rem; }
  .card-foot .text-link { font-size: .8125rem; }
  .photo-action { width: 32px; height: 32px; bottom: 8px; right: 8px; }
  .photo-action .icon { width: 15px; }
  .combo-feature { padding: 28px 24px; gap: 28px; border-radius: 24px; }
  .combo-feature-copy h2 { font-size: 2.25rem; }
  .combo-feature-copy p { font-size: 1rem; }
  .combo-card { padding: 24px; border-radius: 24px; }
  .compare-section { padding-block: 48px; }
  .compare-wrap th, .compare-wrap td { padding: 20px 6px; }
  .how-to, .help-section { gap: 32px; }
  .how-to h2, .help-heading h2 { font-size: 2.1rem; }
  .page-top { padding-block: 36px 26px; }
  .page-top h1 { font-size: 2.75rem; margin-block: 12px 16px; }
  .page-top > p { font-size: 1rem; }
  .catalog-section { padding-block: 26px 48px; }
  .catalog-toolbar { grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: 14px; margin-top: 0; }
  .catalog-results-bar { margin-block: 16px 22px; }
  .breadcrumbs { font-size: .75rem; padding-block: 24px; }
  .product-page, .combo-detail { grid-template-columns: 1fr; padding-top: 0; gap: 28px; }
  .gallery-main-wrap { border-radius: 24px; }
  .product-info h1 { font-size: 2.15rem; line-height: 1.15; }
  .product-summary { font-size: 1rem; margin-block: 20px; }
  .purchase-panel { padding: 20px; border-radius: 20px; }
  .purchase-row .button { font-size: .875rem; }
  .combo-detail-visual { padding: 22px; border-radius: 24px; }
  .purchase-steps { gap: 14px; margin-bottom: 28px; }
  .cart-item { gap: 16px; padding-block: 24px; }
  .cart-item > img { width: 84px; height: 96px; border-radius: 14px; }
  .cart-item h2 { font-size: 1.125rem; }
  .order-summary { padding: 26px; border-radius: 24px; }
  .mobile-purchase:not([hidden]) { background: #ffffffed; border-color: var(--line); border-radius: 24px; }
  .footer-main { padding-block: 40px; }
  .footer-links { gap: 32px; }
}
@media (max-width: 420px) {
  .product-card { padding: 12px; }
  .product-card h3 { font-size: 1rem; }
  .purchase-panel { padding: 16px; }
  .purchase-row .button { padding-inline: 10px; }
  .order-summary { padding: 22px; }
}
