/* Favorite Store V2: photos, galleries, variants and preorder summaries. */
body { font-family: Arial, Helvetica, sans-serif; }
button, a, input, select, textarea { touch-action: manipulation; }
.brand { line-height: .85; }
nav { gap: 24px; }
.hero-photo { position: relative; display: flex; flex-direction: column; padding: 24px; width: 100%; aspect-ratio: 1.05; background: #f1f1ed; text-align: left; overflow: hidden; }
.hero-photo > img { display: block; position: absolute; inset: 10% 7% 15%; width: 86%; height: 75%; object-fit: contain; mix-blend-mode: multiply; }
.hero-photo-top { display: flex; justify-content: space-between; gap: 12px; width: 100%; font-size: 8px; letter-spacing: 1.5px; z-index: 1; }
.hero-photo-top > span { color: #777; }
.hero-photo-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: auto; width: 100%; font-size: 13px; font-weight: 500; z-index: 1; }
.hero-photo-bottom > span:first-child { max-width: 80%; }
.photo-caption { font-size: 6px; letter-spacing: 1px; margin-top: 12px; color: #6c6c65; }
.hero-photo:hover .round { background: #181818; color: white; }
.store-note { margin: 24px 5% 0; padding: 15px 18px; background: #f6f6f3; border-left: 2px solid #a8a89a; color: #64645a; font-size: 11px; line-height: 1.8; }
.error-note { color: #8a2929; border-color: #8a2929; }
.grid { align-items: stretch; gap: 30px 24px; }
.product-card { display: flex; flex-direction: column; }
.card-image { display: block; width: 100%; aspect-ratio: 1; padding: 0; position: relative; overflow: hidden; background: #f6f6f4; }
.product-photo { display: block; width: 100%; height: 100%; object-fit: contain; background: white; transition: transform .25s ease; }
.card-image:hover .product-photo { transform: scale(1.025); }
.product-badge { position: absolute; top: 12px; left: 12px; background: #ffffffed; padding: 6px 9px; font-size: 9px; line-height: 1.2; box-shadow: 0 1px 5px #00000008; border: 1px solid #eeeeea; }
.product-badge.preorder { background: #181818; color: white; border-color: #181818; }
.product-badge.delivery { background: #f2f4e9; color: #374131; border-color: #e7ebdb; }
.favorite-badge { position: absolute; bottom: 12px; left: 12px; background: #ffffffed; padding: 6px 9px; font-size: 9px; }
.card-info { flex: 1; padding: 16px 0 12px; }
.card-category { margin: 0 0 8px; color: #777; font-size: 9px; letter-spacing: .7px; text-transform: uppercase; }
.card-info h3 { margin: 0 0 10px; font-size: 13px; font-weight: 500; line-height: 1.5; }
.card-info h3 button { padding: 0; text-align: left; line-height: inherit; }
.card-price { font-size: 14px; font-weight: 600; }
.pending-price { font-size: 11px; font-weight: 400; color: #737369; }
.deposit-hint { margin: 9px 0 0; font-size: 10px; color: #57574f; line-height: 1.6; }
.card-options { margin: 9px 0 0; color: #74746a; font-size: 10px; line-height: 1.6; }
.add { margin: auto 0 0; min-height: 44px; border-color: #d1d1c9; font-size: 11px; background: white; }
.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 8px; }
.fulfillment-filter { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #666; }
.fulfillment-filter select { padding: 10px; background: white; border: 1px solid #ddd; font-size: 11px; min-height: 40px; }
.filter-row .price-filters { margin: 0; gap: 12px; }
.filter-help { color: #777; font-size: 10px; margin: 0 0 24px; line-height: 1.6; }
.empty { background: #f9f9f6; padding: 45px 20px; }
.empty h3 { font-size: 19px; font-weight: 400; letter-spacing: -.4px; }
.empty p { font-size: 12px; color: #777; line-height: 1.7; }
.empty-star { display: block; font-size: 40px; color: #99998c; }
#deliveryProducts { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 720px; }
.preorder-section { margin-top: 60px; padding-top: 50px; padding-bottom: 50px; background: #f5f5f1; }
.preorder-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 50px; margin-bottom: 36px; }
.preorder-intro h2 { font-size: 42px; line-height: 1.05; }
.preorder-intro h2 em { font-family: Georgia,serif; font-weight: 400; }
.preorder-intro > div > p:not(.eyebrow) { font-size: 13px; line-height: 1.8; }
.preorder-intro .muted { max-width: 400px; font-size: 11px; }
#preorderProducts { grid-template-columns: repeat(3, minmax(0,1fr)); }
footer small { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
dialog { border-radius: 3px; }
dialog[open] { overscroll-behavior: contain; }
body:has(dialog[open]) { overflow: hidden; }
#productDialog { max-width: 970px; padding: 28px; }
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.detail-gallery, .detail-info { min-width: 0; }
.detail-main { position: relative; aspect-ratio: 1; background: #f7f7f4; }
.detail-main > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-arrows { display: flex; position: absolute; bottom: 12px; right: 12px; gap: 5px; }
.gallery-arrows button { width: 40px; height: 40px; background: #fffffff2; border: 1px solid #ddd; }
.thumbnails { display: flex; gap: 8px; overflow-x: auto; padding: 12px 3px 5px; }
.thumbnails button { flex: 0 0 60px; width: 60px; height: 60px; padding: 2px; border: 1px solid #ddd; opacity: .65; }
.thumbnails button[aria-pressed=true] { border: 2px solid #181818; opacity: 1; }
.thumbnails img { display: block; width: 100%; height: 100%; object-fit: contain; }
.image-caption { font-size: 9px; line-height: 1.6; color: #777; margin: 7px 0; }
.detail-info h2 { font-size: 29px; line-height: 1.15; margin: 0 0 16px; }
.detail-price { font-size: 23px; }
.detail-price .pending-price { font-size: 16px; }
.detail-price small { font-size: 10px; color: #777; }
.preorder-detail { margin: 20px 0 0; padding: 16px; background: #f4f4ee; }
.preorder-detail > b { font-size: 11px; font-weight: 600; }
.preorder-detail > p { font-size: 11px; line-height: 1.7; margin: 8px 0 0; }
.preorder-detail .deposit-hint { font-size: 13px; color: #181818; }
.availability-detail { font-size: 11px; line-height: 1.7; margin: 20px 0 0; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #999; display: inline-block; margin-right: 6px; }
.status-dot.available { background: #577048; }
.product-description { font-size: 12px; line-height: 1.9; color: #666; margin: 20px 0; }
.option-group { margin: 20px 0; padding: 0; border: 0; min-width: 0; }
.option-group legend { font-size: 11px; margin-bottom: 10px; }
.option-list { display: flex; flex-wrap: wrap; gap: 7px; }
.option-list label { position: relative; cursor: pointer; }
.option-list input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.option-list span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 10px 14px; border: 1px solid #ccc; font-size: 11px; }
.option-list input:checked + span { color: white; background: #181818; border-color: #181818; }
.option-list input:focus-visible + span { outline: 2px solid #315dba; outline-offset: 3px; }
.detail-quantity { display: flex; justify-content: space-between; align-items: center; font-size: 11px; margin: 24px 0 0; }
.quantity button { min-width: 44px; min-height: 44px; }
.choice-hint { color: #777; min-height: 17px; font-size: 10px; margin-top: 14px; }
.product-notes { margin: 20px 0 0; padding: 16px 0 0 15px; border-top: 1px solid #e3e3dd; color: #777; font-size: 10px; line-height: 1.9; }
.drawer { width: min(100%, 520px); }
.cart-line-v2 { display: grid; grid-template-columns: 70px 1fr auto; gap: 13px; padding: 22px 0; border-bottom: 1px solid #e5e5e0; align-items: start; }
.cart-thumb { width: 70px; height: 80px; padding: 0; background: #f5f5f1; }
.cart-line-info h3 { margin: 0 0 6px; font-size: 12px; font-weight: 500; line-height: 1.6; }
.cart-line-info p { font-size: 10px; line-height: 1.6; color: #777; margin: 4px 0 10px; }
.cart-line-end { display: flex; flex-direction: column; align-items: end; gap: 8px; text-align: right; max-width: 95px; }
.cart-line-end b { font-size: 11px; font-weight: 500; }
.cart-line-end .text-button { font-size: 10px; }
.cart-total { gap: 20px; font-size: 16px; padding-bottom: 10px; }
.pending-summary { background: #f5f4eb; padding: 12px; font-size: 11px; line-height: 1.7; color: #6d644d; }
.deposit-summary { margin: 20px 0; padding: 16px; background: #f5f5f1; }
.deposit-summary p { display: flex; justify-content: space-between; gap: 18px; font-size: 11px; margin: 0 0 13px; }
.deposit-summary p b { white-space: nowrap; }
.deposit-summary small { display: block; color: #777; font-size: 10px; line-height: 1.8; margin-top: 8px; }
.cart-bottom { display: flex; justify-content: space-between; margin-top: 10px; }
#whatsNotice { margin: 16px 0; }
#infoDialog p { font-size: 13px; line-height: 1.9; color: #555; }
#toast { bottom: 25px; padding: 15px 20px; max-width: min(90%,420px); text-align: center; line-height: 1.6; }
@media(min-width:1500px) { .preorder-section { margin-left: 0; margin-right: 0; } }
@media(max-width:900px) { nav { gap: 15px; } .filter-row { align-items: start; flex-direction: column; gap: 8px; } .detail-layout { gap: 22px; } }
@media(max-width:700px) { header nav { display: none; } #menu { display: block; } nav.open { display: flex; position: absolute; top: 88px; left: 0; right: 0; flex-direction: column; background: white; padding: 24px 5%; border-bottom: 1px solid #ddd; } .detail-layout { grid-template-columns: 1fr; gap: 24px; } #productDialog { max-width: 500px; } }
@media(max-width:600px) {
  nav.open { top: 72px; }
  .hero-photo { aspect-ratio: 1.25; padding: 20px; }
  .hero-photo-top { font-size: 7px; letter-spacing: 1px; }
  .hero-photo > img { inset: 7% 7% 18%; height: 75%; }
  .hero-photo-bottom { font-size: 11px; }
  .hero-photo .round { width: 32px; height: 32px; font-size: 19px; }
  .hero-actions { gap: 17px; }
  .hero-actions .button { padding: 16px; gap: 20px; }
  .hero-actions .text-button { font-size: 11px; }
  .store-note { font-size: 10px; padding: 13px; }
  .grid { gap: 26px 13px; }
  .product-badge { font-size: 7px; top: 8px; left: 8px; padding: 5px 6px; }
  .favorite-badge { font-size: 7px; bottom: 8px; left: 8px; padding: 5px 6px; }
  .card-info { padding-top: 12px; }
  .card-info h3 { font-size: 12px; }
  .card-category { font-size: 8px; }
  .card-price { font-size: 13px; }
  .pending-price { font-size: 10px; }
  .deposit-hint, .card-options { font-size: 9px; }
  .add { font-size: 10px; min-height: 44px; }
  .filter-row, .fulfillment-filter { width: 100%; }
  .fulfillment-filter select { flex: 1; }
  .filter-row .price-filters { gap: 12px; }
  .filter-help { margin-top: 5px; }
  .section-heading { align-items: center; }
  #entrega .section-heading > span { max-width: 110px; line-height: 1.7; text-align: right; }
  .preorder-section { padding-top: 35px; padding-bottom: 35px; margin-top: 40px; }
  .preorder-intro { grid-template-columns: 1fr; gap: 15px; }
  .preorder-intro h2 { font-size: 37px; }
  .preorder-intro .eyebrow { margin-bottom: 13px; }
  #preorderProducts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cart-line-v2 { grid-template-columns: 55px 1fr auto; gap: 10px; }
  .cart-thumb { width: 55px; height: 68px; }
  .cart-line-end { max-width: 75px; }
  .cart-line-info h3 { font-size: 11px; }
  .cart-total { font-size: 14px; }
  .deposit-summary { padding: 13px; }
  .deposit-summary p { font-size: 10px; }
  #productDialog { padding: 20px; width: calc(100% - 20px); max-height: 94dvh; }
  .detail-info h2 { font-size: 27px; }
  .dialog-head { margin-bottom: 17px; }
  .dialog-head h2 { font-size: 24px; }
  .checkout-actions .button { flex-basis: 100%; }
  pre { padding: 15px; font-size: 11px; }
  #toast { bottom: 18px; font-size: 11px; }
}
