/* Tienda online */
.shop-page { min-height: 100vh; background: #0a0a09; color: var(--paper); }
.shop-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; width: min(100% - 48px, 1400px); margin: 0 auto; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(10,10,9,.91); backdrop-filter: blur(18px); }
.shop-brand { display: flex; align-items: center; gap: 12px; }
.shop-brand img { width: 54px; height: 54px; object-fit: contain; }
.shop-brand span { display: grid; gap: 3px; }
.shop-brand strong { font-size: 12px; letter-spacing: .22em; }
.shop-brand small { color: var(--gold); font-size: 8px; letter-spacing: .22em; }
.shop-header nav { display: flex; gap: 26px; color: rgba(255,255,255,.72); font-size: 12px; }
.shop-header nav a:hover { color: var(--gold-bright); }
.shop-hero { display: grid; grid-template-columns: 1fr 300px; align-items: end; gap: 80px; width: min(100% - 72px, 1400px); min-height: 560px; margin: 0 auto; padding: 110px 0 74px; }
.shop-hero > div > p, .shop-section-heading > p { margin: 0 0 18px; color: var(--gold-bright); font-size: 10px; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; }
.shop-hero h1, .shop-section-heading h2 { margin: 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(56px, 7vw, 104px); font-weight: 400; line-height: .93; letter-spacing: -.052em; }
.shop-hero h1 em, .shop-section-heading h2 em { color: var(--gold-bright); font-weight: 400; }
.shop-hero > div > span { display: block; max-width: 590px; margin-top: 28px; color: rgba(255,255,255,.62); font-size: 15px; line-height: 1.7; }
.shop-hero > div > a { display: inline-flex; margin-top: 30px; padding: 16px 22px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 750; }
.shop-hero aside { display: grid; gap: 8px; padding: 28px; border: 1px solid rgba(235,202,131,.3); border-radius: 10px; background: rgba(255,255,255,.035); }
.shop-hero aside strong { color: var(--gold-bright); font-family: Georgia,"Times New Roman",serif; font-size: 24px; font-weight: 400; }
.shop-hero aside span { font-size: 12px; font-weight: 700; }
.shop-hero aside small { color: rgba(255,255,255,.52); line-height: 1.6; }
.shop-shell { display: grid; grid-template-columns: minmax(0,1fr) 390px; align-items: start; gap: 34px; padding: 100px max(36px, calc((100vw - 1400px)/2)) 130px; background: var(--paper); color: var(--ink); }
.shop-section-heading { margin-bottom: 42px; }
.shop-section-heading > p { color: #8a682c; }
.shop-section-heading h2 { font-size: clamp(45px, 5.2vw, 76px); }
.shop-section-heading h2 em { color: #956d29; }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.product-grid > article { display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; border: 1px solid rgba(9,9,8,.12); border-radius: 12px; background: #fff; box-shadow: 0 18px 45px rgba(30,24,15,.07); }
.product-image { position: relative; aspect-ratio: 1.25; overflow: hidden; background: #ded9cf; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-grid article:hover .product-image img { transform: scale(1.025); }
.product-image > span { position: absolute; left: 14px; top: 14px; padding: 7px 9px; border-radius: 999px; background: rgba(9,9,8,.82); color: white; font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.shop-page .product-copy { padding: 22px 22px 12px; }
.shop-page .product-copy > small { color: #8b857b; font-size: 8px; letter-spacing: .12em; }
.shop-page .product-copy h3 { margin: 8px 0; font-family: Georgia,"Times New Roman",serif; font-size: 27px; font-weight: 400; }
.shop-page .product-copy p { min-height: 42px; margin: 0; color: #706b62; font-size: 11px; line-height: 1.65; }
.shop-page .product-copy > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.shop-page .product-copy > div strong { font-size: 16px; }
.shop-page .product-copy > div span { color: #7d704e; font-size: 9px; }
.product-add { padding: 12px 22px 22px; }
.product-add > button, .checkout-button { width: 100%; min-height: 48px; border: 0; border-radius: 5px; background: var(--ink); color: white; cursor: pointer; font-size: 11px; font-weight: 750; }
.quantity-control { display: grid; grid-template-columns: 42px 1fr 42px; overflow: hidden; min-height: 44px; border: 1px solid rgba(9,9,8,.15); border-radius: 5px; }
.quantity-control button { border: 0; background: #f2eee6; color: var(--ink); cursor: pointer; font-size: 18px; }
.quantity-control span { display: grid; place-items: center; color: var(--ink); font-size: 12px; font-weight: 750; }
.shop-cart { position: sticky; top: 96px; overflow: hidden; border: 1px solid rgba(9,9,8,.14); border-radius: 12px; background: #fff; box-shadow: var(--shadow-soft); }
.cart-title { display: flex; align-items: end; justify-content: space-between; padding: 24px; border-bottom: 1px solid rgba(9,9,8,.1); }
.cart-title p { margin: 0 0 4px; color: #8b692b; font-size: 8px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.cart-title h2 { margin: 0; font-family: Georgia,"Times New Roman",serif; font-size: 33px; font-weight: 400; }
.cart-title > span { color: #766f64; font-size: 10px; }
.cart-empty, .shop-empty { display: grid; gap: 10px; place-items: center; min-height: 220px; padding: 30px; color: #777168; text-align: center; }
.cart-empty a { color: #8c6724; font-size: 11px; text-decoration: underline; }
.shop-empty { border: 1px dashed rgba(9,9,8,.2); border-radius: 12px; background: rgba(255,255,255,.5); }
.shop-empty strong { color: var(--ink); font-family: Georgia,"Times New Roman",serif; font-size: 25px; font-weight: 400; }
.cart-lines { display: grid; gap: 0; max-height: 250px; overflow-y: auto; }
.cart-lines article { display: grid; grid-template-columns: 48px minmax(0,1fr) 100px; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid rgba(9,9,8,.08); }
.cart-lines img { width: 48px; height: 48px; border-radius: 5px; object-fit: cover; }
.cart-lines article > div:nth-child(2) { display: grid; gap: 4px; }
.cart-lines strong { font-size: 10px; }
.cart-lines small { color: #777168; font-size: 9px; }
.cart-lines .quantity-control { grid-template-columns: 30px 1fr 30px; min-height: 34px; }
.cart-total { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid rgba(9,9,8,.1); }
.cart-total span { color: #6f695f; font-size: 11px; }
.cart-total strong { font-family: Georgia,"Times New Roman",serif; font-size: 25px; font-weight: 400; }
.shop-checkout { display: grid; gap: 12px; padding: 22px 24px 26px; }
.shop-checkout h3 { margin: 0 0 3px; font-family: Georgia,"Times New Roman",serif; font-size: 21px; font-weight: 400; }
.shop-checkout > label { display: grid; gap: 5px; }
.shop-checkout label > span, .shop-checkout legend { color: #5f5a52; font-size: 9px; font-weight: 700; }
.shop-checkout input, .shop-checkout textarea { width: 100%; border: 1px solid rgba(9,9,8,.16); border-radius: 5px; background: #fcfbf8; color: var(--ink); padding: 10px 11px; font-size: 11px; }
.shop-checkout fieldset { display: grid; gap: 7px; margin: 4px 0 0; padding: 0; border: 0; }
.shop-checkout legend { margin-bottom: 7px; }
.payment-option { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid rgba(9,9,8,.12); border-radius: 5px; cursor: pointer; }
.payment-option > input { width: auto; accent-color: #9d752d; }
.payment-option > span { display: grid; gap: 2px; }
.payment-option strong { color: var(--ink); font-size: 10px; }
.payment-option small { color: #777168; font-size: 8px; }
.payment-option.disabled { opacity: .48; cursor: not-allowed; }
.checkout-button { min-height: 52px; background: var(--gold); color: var(--ink); }
.checkout-button:disabled { opacity: .58; cursor: wait; }
.checkout-note { color: #837c70; font-size: 8px; line-height: 1.5; text-align: center; }
.shop-error, .shop-success { margin: 0; padding: 10px 12px; border-radius: 5px; font-size: 9px; line-height: 1.5; }
.shop-error { background: #fae8e3; color: #8b2c17; }
.shop-success { background: #e4f2e6; color: #245e31; }

/* Gestión de vitrina y pedidos */
.inventory-description { grid-column: span 2; }
.inventory-photo { grid-column: span 2; }
.inventory-photo img { display: block; width: 100px; height: 100px; margin: 6px 0 10px; border-radius: 8px; object-fit: cover; }
.inventory-publish { display: flex !important; align-items: center; gap: 9px; }
.inventory-publish input { width: auto !important; }
.inventory-product { gap: 10px; }
.inventory-product > img { width: 52px; height: 52px; border-radius: 7px; object-fit: cover; }
.order-filters { display: flex; gap: 7px; margin: 18px 0; }
.order-filters button { padding: 9px 13px; border: 1px solid rgba(9,9,8,.13); border-radius: 6px; background: white; color: var(--ink); cursor: pointer; font-size: 10px; }
.order-filters button.active { background: var(--ink); color: white; }
.store-order-list { display: grid; gap: 10px; }
.store-order-list > article { display: grid; grid-template-columns: 145px minmax(180px,1fr) minmax(180px,1.1fr) 130px 150px; align-items: center; gap: 18px; padding: 18px; border: 1px solid rgba(9,9,8,.12); border-radius: 9px; background: white; }
.order-code, .order-customer, .order-items, .order-payment { display: grid; gap: 5px; }
.order-code small, .order-customer small, .order-payment small { color: #817b70; font-size: 8px; }
.order-code strong { font-size: 12px; }
.order-status { width: max-content; padding: 5px 7px; border-radius: 99px; background: #eee9df; color: #655e53; font-size: 8px; font-weight: 700; }
.order-status.ready { background: #dff1e4; color: #246137; }
.order-status.cancelled { background: #f5e2dc; color: #8b2c17; }
.order-customer > strong { font-size: 12px; }
.order-customer > a { color: #84601f; font-size: 9px; }
.order-customer p { margin: 3px 0 0; color: #716b61; font-size: 9px; }
.order-items span { color: #625d54; font-size: 9px; }
.order-items b { color: var(--ink); }
.order-payment strong { font-size: 15px; }
.order-payment span { font-size: 9px; }
.order-actions { display: grid; gap: 5px; }
.order-actions button { padding: 8px; border: 1px solid rgba(9,9,8,.13); border-radius: 4px; background: #faf8f3; color: var(--ink); cursor: pointer; font-size: 8px; }
.order-actions button.danger { color: #a13a22; }

@media (max-width: 1050px) {
  .shop-shell { grid-template-columns: 1fr; }
  .shop-cart { position: static; }
  .store-order-list > article { grid-template-columns: 120px 1fr 1fr; }
  .order-payment { text-align: right; }
  .order-actions { grid-column: 1 / -1; grid-template-columns: repeat(4,1fr); }
}

/* AP6 · Ecosistema comercial premium */
.shop-payment-recovery { width: min(1320px,calc(100% - 40px)); margin: 22px auto 0; display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 18px 20px; border: 1px solid rgba(207,158,65,.38); border-radius: 18px; background: linear-gradient(125deg,#171511,#252016); color: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.16); }
.shop-payment-recovery > span { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(226,183,98,.45); border-radius: 50%; color: #e0b967; font-size: 19px; }
.shop-payment-recovery > div { display: grid; gap: 4px; }
.shop-payment-recovery small { color: #d6a94f; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.shop-payment-recovery strong { font-family: Georgia,"Times New Roman",serif; font-size: 20px; font-weight: 400; }
.shop-payment-recovery p,.shop-payment-recovery em { margin: 0; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.55; }
.shop-payment-recovery em { font-style: normal; color: rgba(255,255,255,.46); }
.shop-payment-recovery button { min-height: 44px; padding: 0 18px; border: 1px solid #c89539; border-radius: 999px; background: #c89539; color: #15110a; cursor: pointer; font-size: 11px; font-weight: 800; }
.product-detail-links { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-detail-links a,.product-detail-links button { padding: 0; border: 0; background: transparent; color: #76551e; cursor: pointer; font: inherit; font-size: 11px; font-weight: 750; text-decoration: none; }
.product-detail-links button { color: #777168; font-size: 10px; }

.product-detail-page { min-height: 100vh; background: #f4f0e8; color: #12110f; }
.product-detail-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(1320px,calc(100% - 48px)); min-height: 92px; margin: auto; border-bottom: 1px solid rgba(18,17,15,.13); }
.product-detail-header nav { display: flex; align-items: center; gap: 10px; min-width: 0; color: #787167; font-size: 11px; }
.product-detail-header nav a { color: inherit; text-decoration: none; }
.product-detail-header nav b { max-width: 320px; overflow: hidden; color: #25211c; text-overflow: ellipsis; white-space: nowrap; }
.product-detail-hero { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr); gap: clamp(40px,7vw,110px); align-items: center; width: min(1240px,calc(100% - 48px)); padding: clamp(52px,8vw,110px) 0; margin: auto; }
.product-detail-visual { position: relative; display: grid; place-items: center; min-height: 600px; overflow: hidden; border: 1px solid rgba(20,17,12,.1); border-radius: 34px; background: radial-gradient(circle at 50% 42%,#fff 0,#ede5d8 54%,#d8c9ae 100%); box-shadow: 0 35px 80px rgba(41,31,16,.14); }
.product-detail-visual::after { position: absolute; inset: 12px; border: 1px solid rgba(186,135,45,.28); border-radius: 25px; content: ""; pointer-events: none; }
.product-detail-visual img { width: min(82%,620px); height: min(72vh,590px); object-fit: contain; filter: drop-shadow(0 30px 34px rgba(27,19,9,.2)); }
.product-detail-visual > span,.product-detail-visual > small { position: absolute; top: 30px; z-index: 1; padding: 9px 13px; border-radius: 999px; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.product-detail-visual > span { left: 30px; background: #12110f; color: #d9ad55; }
.product-detail-visual > small { right: 30px; border: 1px solid rgba(18,17,15,.16); background: rgba(255,255,255,.72); color: #5f584e; }
.product-detail-hero > section { display: grid; gap: 20px; }
.product-detail-hero > section > p { margin: 0; color: #9b6c20; font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.product-detail-hero h1 { margin: 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(47px,6vw,78px); font-weight: 400; letter-spacing: -.055em; line-height: .94; }
.product-detail-hero > section > strong { font-family: Georgia,"Times New Roman",serif; font-size: 31px; font-weight: 400; }
.product-detail-hero > section > span { max-width: 610px; color: #665f55; font-size: 15px; line-height: 1.75; }
.product-detail-stock { display: flex; align-items: center; gap: 9px; color: #4d5f45; font-size: 11px; font-weight: 700; }
.product-detail-stock i { width: 8px; height: 8px; border-radius: 50%; background: #638357; box-shadow: 0 0 0 5px rgba(99,131,87,.12); }
.product-detail-cta { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 0 22px; border-radius: 13px; background: linear-gradient(125deg,#1b1915,#090908); color: #fff; text-decoration: none; font-size: 12px; font-weight: 800; box-shadow: 0 16px 36px rgba(18,15,10,.2); }
.product-detail-cta b { color: #d6a94f; font-size: 20px; }
.product-detail-hero > section > small { color: #857d72; font-size: 10px; line-height: 1.6; }
.product-detail-information { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(18,17,15,.12); border-block: 1px solid rgba(18,17,15,.12); }
.product-detail-information article { min-height: 280px; padding: clamp(35px,5vw,74px); background: #fbf9f4; }
.product-detail-information small,.product-related header p { color: #9b6c20; font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.product-detail-information h2,.product-related h2 { margin: 16px 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(29px,3vw,43px); font-weight: 400; letter-spacing: -.035em; }
.product-detail-information p { margin: 0; color: #6f685e; font-size: 13px; line-height: 1.75; }
.product-related { width: min(1240px,calc(100% - 48px)); padding: 90px 0; margin: auto; }
.product-related header p,.product-related header h2 { margin-left: 0; }
.product-related > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.product-related a { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 20px; min-height: 170px; padding: 15px; border: 1px solid rgba(18,17,15,.12); border-radius: 18px; background: #fbf9f4; color: inherit; text-decoration: none; transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.product-related a:hover { transform: translateY(-4px); border-color: rgba(173,123,37,.55); box-shadow: 0 18px 38px rgba(34,26,14,.1); }
.product-related img { width: 150px; height: 140px; border-radius: 12px; background: #ede7dc; object-fit: contain; }
.product-related a span { display: grid; gap: 8px; }
.product-related a small { color: #8a8176; font-size: 9px; text-transform: uppercase; }
.product-related a strong { font-family: Georgia,"Times New Roman",serif; font-size: 20px; font-weight: 400; }
.product-related a b { color: #76551e; font-size: 12px; }
.product-detail-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px max(24px,calc((100vw - 1240px)/2)); background: #11100e; }
.product-detail-footer a { color: #d9cdb9; font-size: 11px; text-decoration: none; }

@media (max-width: 820px) {
  .shop-payment-recovery { grid-template-columns: 42px 1fr; width: calc(100% - 28px); padding: 16px; }
  .shop-payment-recovery > span { width: 42px; height: 42px; }
  .shop-payment-recovery > button { grid-column: 1 / -1; width: 100%; }
  .product-detail-header { width: calc(100% - 30px); min-height: 78px; }
  .product-detail-header nav { display: none; }
  .product-detail-hero { grid-template-columns: 1fr; width: calc(100% - 30px); gap: 34px; padding: 30px 0 62px; }
  .product-detail-visual { min-height: 430px; border-radius: 24px; }
  .product-detail-visual img { width: 85%; height: 390px; }
  .product-detail-visual > span,.product-detail-visual > small { top: 20px; }
  .product-detail-visual > span { left: 20px; }
  .product-detail-visual > small { right: 20px; }
  .product-detail-hero h1 { font-size: clamp(43px,14vw,64px); }
  .product-detail-information { grid-template-columns: 1fr; }
  .product-detail-information article { min-height: auto; padding: 42px 22px; }
  .product-related { width: calc(100% - 30px); padding: 65px 0; }
  .product-related > div { grid-template-columns: 1fr; }
  .product-related a { grid-template-columns: 112px 1fr; min-height: 136px; }
  .product-related img { width: 112px; height: 106px; }
  .product-detail-footer { flex-direction: column; padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-related a { transition: none; }
}

@media (max-width: 720px) {
  .shop-header { width: calc(100% - 28px); }
  .shop-header nav a:not(:last-child) { display: none; }
  .shop-hero { grid-template-columns: 1fr; gap: 34px; width: calc(100% - 34px); min-height: auto; padding: 76px 0 54px; }
  .shop-hero h1 { font-size: 48px; }
  .shop-shell { gap: 40px; padding: 66px 14px 90px; }
  .product-grid { grid-template-columns: 1fr; }
  .shop-section-heading h2 { font-size: 43px; }
  .shop-cart { order: -1; }
  .cart-lines article { grid-template-columns: 44px 1fr 92px; padding-inline: 14px; }
  .store-order-list > article { grid-template-columns: 1fr 1fr; gap: 13px; }
  .order-items, .order-actions { grid-column: 1 / -1; }
  .order-payment { text-align: right; }
  .order-actions { grid-template-columns: 1fr 1fr; }
  .inventory-description, .inventory-photo { grid-column: auto; }
}


/* Tienda y catálogo v2 */
.shop-header nav a:last-child { display: inline-flex; align-items: center; gap: 8px; }
.shop-header nav a:last-child b { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--gold); color: #111; font-size: 9px; }
.shop-assurances { display: grid; grid-template-columns: repeat(3, 1fr); width: min(100% - 72px, 1400px); margin: 0 auto; border-top: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.shop-assurances > span { display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; padding: 25px 28px; border-right: 1px solid rgba(255,255,255,.13); }
.shop-assurances > span:last-child { border-right: 0; }
.shop-assurances b { grid-row: 1 / 3; color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-size: 14px; font-weight: 400; }
.shop-assurances strong { font-size: 11px; }
.shop-assurances small { color: rgba(255,255,255,.48); font-size: 9px; }
.shop-section-heading { position: relative; }
.shop-section-heading > span { position: absolute; right: 0; bottom: 5px; color: #766f64; font-size: 10px; }
.shop-filters { display: grid; gap: 12px; margin: -14px 0 27px; padding: 16px; border: 1px solid rgba(9,9,8,.11); border-radius: 12px; background: rgba(255,255,255,.58); }
.shop-filters > label { display: grid; gap: 7px; }
.shop-filters > label span { color: #756f66; font-size: 8px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.shop-filters input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid rgba(9,9,8,.16); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 11px; outline: none; }
.shop-filters input:focus { border-color: #a8792d; box-shadow: 0 0 0 3px rgba(168,121,45,.11); }
.shop-filters > div { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 2px; }
.shop-filters button, .shop-empty button { flex: 0 0 auto; min-height: 35px; padding: 0 13px; border: 1px solid rgba(9,9,8,.14); border-radius: 999px; background: #fff; color: #4f4a42; cursor: pointer; font-size: 8px; font-weight: 750; }
.shop-filters button.active { border-color: var(--ink); background: var(--ink); color: var(--gold-bright); }
.product-grid > article { position: relative; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.product-grid > article:hover { transform: translateY(-5px); box-shadow: 0 25px 58px rgba(30,24,15,.12); }
.product-grid > article.featured { border-color: rgba(174,128,47,.42); }
.product-image { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; text-align: left; }
.product-image > b { position: absolute; right: 14px; top: 14px; padding: 7px 9px; border-radius: 999px; background: var(--gold); color: #17130c; font-size: 8px; text-transform: uppercase; }
.product-image > i { position: absolute; left: 50%; bottom: 16px; padding: 9px 13px; border-radius: 999px; background: rgba(9,9,8,.86); color: #fff; font-size: 8px; font-style: normal; font-weight: 750; opacity: 0; transform: translate(-50%, 8px); transition: opacity .25s ease, transform .25s ease; }
.product-image:hover > i, .product-image:focus-visible > i { opacity: 1; transform: translate(-50%, 0); }
.shop-page .product-copy > button { margin: 12px 0 0; padding: 0; border: 0; background: none; color: #7d5c25; cursor: pointer; font-size: 9px; text-align: left; }
.product-add > button { transition: background .2s ease, color .2s ease, transform .2s ease; }
.product-add > button:hover { background: #a97d30; color: #111; transform: translateY(-1px); }
.cart-empty b { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(9,9,8,.13); border-radius: 50%; color: #9c762f; font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 400; }
.cart-empty small { max-width: 230px; color: #918a80; font-size: 8px; line-height: 1.5; }
.checkout-step { display: grid; grid-template-columns: 29px 1fr; align-items: center; gap: 9px; margin: 4px 0 2px; }
.checkout-step > b { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #191713; color: var(--gold-bright); font-size: 9px; }
.checkout-step > span { display: grid; gap: 2px; }
.checkout-step strong { font-size: 10px; }
.checkout-step small { color: #817a70; font-size: 8px; }
.payment-option { transition: border-color .2s ease, background .2s ease; }
.payment-option.active { border-color: #ad8031; background: #f4ebdb; }
.cart-message { margin: 0 20px 20px; }
.shop-mobile-cart { display: none; }
.shop-cart-toast { position: fixed; z-index: 80; right: 22px; bottom: 22px; margin: 0; padding: 13px 17px; border: 1px solid rgba(211,172,94,.32); border-radius: 999px; background: #171511; color: #f3d38f; box-shadow: 0 18px 50px rgba(0,0,0,.25); font-size: 9px; }
.product-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.76); backdrop-filter: blur(8px); }
.product-modal > article { position: relative; display: grid; grid-template-columns: minmax(300px,.9fr) minmax(350px,1.1fr); width: min(880px, 100%); max-height: calc(100svh - 48px); overflow: auto; border: 1px solid rgba(211,172,94,.24); border-radius: 20px; background: #f7f3ea; color: var(--ink); box-shadow: 0 40px 120px rgba(0,0,0,.45); }
.product-modal-close { position: absolute; z-index: 2; right: 14px; top: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(9,9,8,.14); border-radius: 50%; background: rgba(255,255,255,.9); cursor: pointer; font-size: 21px; }
.product-modal-image { position: relative; min-height: 500px; background: #ded9cf; }
.product-modal-image img { width: 100%; height: 100%; object-fit: cover; }
.product-modal-image span { position: absolute; left: 18px; bottom: 18px; padding: 8px 11px; border-radius: 999px; background: #171511; color: var(--gold-bright); font-size: 8px; font-weight: 750; text-transform: uppercase; }
.product-modal > article > section { display: grid; align-content: center; gap: 12px; padding: 50px 42px; }
.product-modal section > p:first-child { margin: 0; color: #966f2a; font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.product-modal section > small { color: #7f786f; font-size: 9px; }
.product-modal h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 39px; font-weight: 400; line-height: 1; }
.product-modal section > strong { font-size: 19px; }
.product-modal section > p:not(:first-child) { margin: 4px 0; color: #68635b; font-size: 11px; line-height: 1.7; }
.product-modal section > div { display: grid; gap: 5px; padding: 13px 14px; border-left: 3px solid #ad8031; background: #ece4d6; }
.product-modal section > div b { font-size: 9px; }
.product-modal section > div span { color: #6f675d; font-size: 9px; line-height: 1.55; }
.product-modal-stock { color: #54705a !important; }
.product-modal section > button { min-height: 50px; margin-top: 5px; border: 0; border-radius: 999px; background: #181713; color: var(--gold-bright); cursor: pointer; font-size: 9px; font-weight: 800; }

/* Editor de productos v2 */
.inventory-editor-v2 { background: #f0ece3; }
.inventory-editor-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: start; gap: 20px; }
.inventory-form-sections { display: grid; gap: 12px; }
.inventory-form-sections > section { padding: 19px; border: 1px solid rgba(9,9,8,.11); border-radius: 12px; background: #fbfaf6; }
.inventory-form-sections > section > header { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; margin-bottom: 17px; }
.inventory-form-sections > section > header > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #171612; color: var(--gold-bright); font-size: 8px; }
.inventory-form-sections header > div { display: grid; gap: 3px; }
.inventory-form-sections header strong { font-size: 11px; }
.inventory-form-sections header small { color: #827c73; font-size: 8px; }
.inventory-form-sections .inventory-fields { grid-template-columns: 1fr 1fr; }
.inventory-fields select, .inventory-fields textarea { width: 100%; padding: 10px 11px; border: 1px solid rgba(9,9,8,.18); border-radius: 7px; background: #fff; color: var(--ink); font: inherit; font-size: 10px; }
.inventory-fields select { height: 43px; padding-block: 0; }
.inventory-fields textarea { resize: vertical; line-height: 1.5; }
.inventory-description > small { color: #8b857c; font-size: 7px; text-align: right; }
.inventory-sku { grid-column: 1 / -1; }
.inventory-sku > div { display: grid; grid-template-columns: 1fr auto; }
.inventory-sku > div input { border-radius: 7px 0 0 7px; }
.inventory-sku button { padding: 0 13px; border: 0; border-radius: 0 7px 7px 0; background: #27231c; color: #e8c273; cursor: pointer; font-size: 8px; font-weight: 750; }
.inventory-photo-drop { position: relative; grid-column: 1 / -1; display: grid !important; place-items: center; min-height: 155px; padding: 19px; border: 1px dashed rgba(123,86,28,.4); border-radius: 10px; background: #f5efe3; cursor: pointer; text-align: center; }
.inventory-photo-drop > span { justify-self: start; align-self: start; }
.inventory-photo-drop > b { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: #dfd2b9; color: #7e5b1e; font-size: 20px; font-weight: 400; }
.inventory-photo-drop > img { width: 130px; height: 130px; border-radius: 9px; object-fit: cover; }
.inventory-photo-drop > strong { font-size: 9px; }
.inventory-photo-drop > small { color: #7c756b; font-size: 8px; }
.inventory-photo-drop input { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; opacity: 0; }
.inventory-margin { display: grid; align-content: center; gap: 5px; min-height: 68px; padding: 12px; border-radius: 8px; background: #e4eee6; }
.inventory-margin > span { color: #65736a; font-size: 7px; font-weight: 750; text-transform: uppercase; }
.inventory-margin > strong { color: #31583a; font-size: 15px; }
.inventory-margin strong small { font-size: 9px; }
.inventory-margin.negative { background: #f3e1dd; }
.inventory-margin.negative > strong { color: #8c392e; }
.inventory-preview-panel { position: sticky; top: 18px; display: grid; gap: 13px; }
.inventory-preview-panel > p { margin: 0; color: #7e7568; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.inventory-product-preview { overflow: hidden; border: 1px solid rgba(9,9,8,.12); border-radius: 12px; background: #fff; box-shadow: 0 16px 38px rgba(35,27,14,.08); }
.inventory-product-preview > div { position: relative; display: grid; place-items: center; aspect-ratio: 1.2; background: #ddd7cc; }
.inventory-product-preview img { width: 100%; height: 100%; object-fit: cover; }
.inventory-product-preview > div > span { color: #81796d; font-size: 9px; }
.inventory-product-preview > div > small, .inventory-product-preview > div > b { position: absolute; top: 11px; padding: 6px 8px; border-radius: 999px; font-size: 7px; text-transform: uppercase; }
.inventory-product-preview > div > small { left: 11px; background: rgba(9,9,8,.82); color: #fff; }
.inventory-product-preview > div > b { right: 11px; background: #d8ae5b; color: #17130d; }
.inventory-product-preview > section { display: grid; gap: 8px; padding: 16px; }
.inventory-product-preview section > small { color: #847e74; font-size: 7px; }
.inventory-product-preview h4 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 400; }
.inventory-product-preview p { min-height: 34px; margin: 0; color: #716b62; font-size: 8px; line-height: 1.55; }
.inventory-product-preview section > strong { font-size: 12px; }
.inventory-readiness { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; border: 1px solid rgba(9,9,8,.11); border-radius: 10px; background: #fbfaf6; }
.inventory-readiness > strong { grid-column: 1 / -1; margin-bottom: 3px; font-size: 9px; }
.inventory-readiness > span { display: flex; align-items: center; gap: 6px; color: #8b857c; font-size: 8px; }
.inventory-readiness span b { color: #a13e31; }
.inventory-readiness span.ready { color: #48644e; }
.inventory-readiness span.ready b { color: #387044; }
.inventory-switch { display: grid !important; grid-template-columns: auto 1fr; align-items: center; gap: 10px; padding: 13px; border: 1px solid rgba(9,9,8,.11); border-radius: 10px; background: #fbfaf6; }
.inventory-switch input { width: 18px !important; height: 18px !important; accent-color: #9c7229; }
.inventory-switch > span { display: grid; gap: 3px; }
.inventory-switch strong { font-size: 8px; }
.inventory-switch small { color: #837d73; font-size: 7px; line-height: 1.4; }
.inventory-toolbar-v2 { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; margin: 20px 0 12px; padding: 14px; border: 1px solid rgba(9,9,8,.13); background: #fbfaf6; }
.inventory-toolbar-v2 .inventory-search { margin: 0; padding: 0; border: 0; background: transparent; }
.inventory-toolbar-v2 > div { display: flex; gap: 5px; }
.inventory-toolbar-v2 > div button { min-height: 38px; padding: 0 10px; border: 1px solid rgba(9,9,8,.14); background: #fff; cursor: pointer; font-size: 7px; font-weight: 750; }
.inventory-toolbar-v2 > div button.active { border-color: #171612; background: #171612; color: var(--gold-bright); }
.inventory-list article { grid-template-columns: minmax(250px,1.2fr) 100px 135px 230px; }
.inventory-product > div { flex-wrap: wrap; }
.inventory-product > div > b { padding: 4px 7px; border-radius: 999px; background: #d8ae5b; color: #3e2d0e; font-size: 7px; text-transform: uppercase; }
.inventory-no-photo { display: grid; place-items: center; width: 52px; height: 52px; border: 1px dashed rgba(9,9,8,.2); border-radius: 7px; color: #918a80; font-size: 7px; }
.inventory-actions { grid-template-columns: 1fr 1fr; }
.inventory-actions button:first-child, .inventory-actions button:last-child { grid-column: 1 / -1; }

@media (max-width: 1100px) {
  .inventory-editor-layout { grid-template-columns: 1fr; }
  .inventory-preview-panel { position: static; grid-template-columns: minmax(220px,300px) 1fr; }
  .inventory-preview-panel > p { grid-column: 1 / -1; }
  .inventory-product-preview { grid-row: span 3; }
  .shop-assurances { width: min(100% - 40px, 900px); }
}

@media (max-width: 720px) {
  .shop-assurances { grid-template-columns: 1fr; width: calc(100% - 34px); }
  .shop-assurances > span { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); padding: 18px 8px; }
  .shop-assurances > span:last-child { border-bottom: 0; }
  .shop-section-heading > span { position: static; display: block; margin-top: 16px; }
  .shop-filters { margin-top: -5px; }
  .shop-cart { order: initial; }
  .shop-mobile-cart { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 0 17px; border: 1px solid rgba(218,177,91,.45); border-radius: 16px; background: #151410; color: #fff; box-shadow: 0 18px 55px rgba(0,0,0,.35); font-size: 9px; }
  .shop-mobile-cart strong { color: var(--gold-bright); font-size: 10px; }
  .shop-cart-toast { left: 20px; right: 20px; bottom: 82px; text-align: center; }
  .product-modal { padding: 12px; }
  .product-modal > article { grid-template-columns: 1fr; }
  .product-modal-image { min-height: 300px; }
  .product-modal > article > section { padding: 28px 20px 24px; }
  .product-modal h2 { padding-right: 30px; font-size: 32px; }
  .inventory-form-sections .inventory-fields { grid-template-columns: 1fr; }
  .inventory-description, .inventory-sku, .inventory-photo-drop { grid-column: auto; }
  .inventory-preview-panel { grid-template-columns: 1fr; }
  .inventory-product-preview { grid-row: auto; }
  .inventory-toolbar-v2 { grid-template-columns: 1fr; }
  .inventory-toolbar-v2 > div { overflow-x: auto; }
  .inventory-toolbar-v2 > div button { flex: 0 0 auto; }
  .inventory-editor-v2 { padding: 15px; }
  .inventory-form-sections > section { padding: 15px; }
}

@media (min-width: 521px) and (max-width: 1120px) {
  .waitlist-list > article { grid-template-columns: minmax(160px, .8fr) minmax(170px, 1fr) minmax(170px, 1fr) 100px; }
  .waitlist-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

/* Reserva de productos con abono */
.purchase-mode-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.purchase-mode-picker button { display: grid; gap: 5px; min-height: 72px; padding: 13px; border: 1px solid rgba(9,9,8,.14); border-radius: 10px; background: #fff; color: #26231e; cursor: pointer; text-align: left; }
.purchase-mode-picker button span { font-size: 9px; font-weight: 800; }
.purchase-mode-picker button small { color: #817a70; font-size: 7px; line-height: 1.45; }
.purchase-mode-picker button.active { border-color: #a8792d; background: #f3ead9; box-shadow: 0 0 0 2px rgba(168,121,45,.1); }
.purchase-mode-picker button.active span { color: #76531d; }
.deposit-summary { display: grid; gap: 8px; padding: 13px; border: 1px solid rgba(168,121,45,.22); border-radius: 10px; background: #fbf5e9; }
.deposit-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #726a5f; font-size: 8px; }
.deposit-summary > div strong { color: #29251e; font-size: 9px; }
.deposit-summary > div.highlight { padding: 9px 0; border-block: 1px solid rgba(168,121,45,.18); color: #7c591e; font-weight: 800; }
.deposit-summary > div.highlight strong { color: #7c591e; font-size: 13px; }
.deposit-summary > p, .deposit-policy { margin: 0; color: #736a5c; font-size: 7px; line-height: 1.55; }
.deposit-policy { padding: 11px 12px; border-left: 3px solid #ad8031; border-radius: 5px; background: #f5ecdb; }
.deposit-order-badge { width: max-content; padding: 5px 7px; border-radius: 999px; background: #f1e1bf; color: #79571e; font-size: 7px; text-transform: uppercase; }
.credit-available { margin-top: 3px; padding: 7px 8px; border-radius: 6px; background: #e3eee5; color: #285b36; font-size: 8px; }
.order-status.pending_deposit, .order-status.awaiting_payment { background: #f3ead7; color: #7c591d; }
.order-status.reserved { background: #dfece2; color: #2d623a; }
.order-status.expired { background: #eee7e0; color: #766a5f; }

@media (max-width: 520px) {
  .purchase-mode-picker { grid-template-columns: 1fr; }
  .purchase-mode-picker button { min-height: 62px; }
}

@media (max-width: 720px) {
  .shop-mobile-cart {
    min-height: 60px;
    font-size: 14px;
    line-height: 1.25;
  }
  .shop-mobile-cart strong { font-size: 14px; }
  .shop-header nav a { min-height: 44px; font-size: 12px; }
  .product-modal-close { width: 44px; height: 44px; }
  .product-modal { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
