/* Price and purchase spacing in catalog cards and product details only. */
.product-body .buy-row,#modalcontent .buy-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px 24px;margin:18px 0}
.product-body .buy-row>div{display:flex;flex-direction:column;gap:5px}
.product-body .buy-row strong,#modalcontent .buy-row>strong{white-space:nowrap;line-height:1.3}
.product-body .buy-row small{display:block;font-size:12px;line-height:1.4;color:var(--muted)}
.product-body .buy-row>.btn,#modalcontent .buy-row>.btn{flex-shrink:0;margin:0}
@media(max-width:480px){.product-body .buy-row{align-items:flex-start;flex-direction:column;gap:16px}}
.shop-steps{display:flex;align-items:center;gap:18px;margin:8px 0 20px;color:#98878d;font-size:12px;font-weight:600;letter-spacing:.2px}
.shop-steps span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.shop-steps b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#f1e8eb;color:#816c73;font-size:11px}
.shop-steps span.active{color:#edbed0}
.shop-steps span.active b{background:#edbed0;color:#fff}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,330px);gap:28px;align-items:start;margin-top:22px}
#delivery-form{min-width:0}
#delivery-form>h3{margin:0 0 16px;font-size:20px;color:#3b1b26}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 14px}
.form-field{display:block;min-width:0;color:#46242f;font-size:14px;font-weight:600;line-height:1.35}
.form-field input,.form-field textarea{display:block;width:100%;margin-top:7px;padding:12px 13px;border:1px solid #e5d8dc;border-radius:9px;background:#fff;color:#3b1b26;font-size:15px;line-height:1.35;min-height:46px;box-shadow:inset 0 1px 2px #3b1b2608}
.form-field textarea{resize:vertical;min-height:88px}
.form-field input:focus,.form-field textarea:focus{border-color:#edbed0;outline:3px solid #edbed022}
.form-field span{font-weight:400;color:#8b7b80;font-size:12px}
#delivery-form>.form-field{margin-top:17px}
.payment-option{margin:20px 0;padding:16px 18px;border:1px solid #e8d8dd;border-radius:12px;background:#f8f1f3}
.payment-option strong{display:block;font-size:15px;color:#3b1b26}
.payment-option p{margin:5px 0 0;font-size:13px;color:#79646b}
.form-hint{font-size:12px!important;color:#87767c!important;margin:12px 0 16px!important}
.shop-primary{margin-top:2px}
.order-summary{min-width:0;padding:20px;background:#f8f1f3;border:1px solid #e8d7dd;border-radius:18px}
.order-summary h3{margin:0 0 16px;color:#3b1b26;font-size:18px}
.summary-product{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 0;border-top:1px solid #e9dce0;font-size:14px;line-height:1.4}
.summary-product>span{min-width:0;overflow-wrap:anywhere}
.summary-product small{display:block;margin-top:4px;color:#816b72;font-size:12px}
.summary-product strong,.sum-line strong{white-space:nowrap;color:#3b1b26}
.sum-line{display:flex;justify-content:space-between;gap:12px;padding:9px 0;font-size:14px;color:#705860}
.sum-line.sum-total{margin-top:4px;padding-top:14px;border-top:1px solid #decbd1;color:#3b1b26;font-size:20px;font-weight:700}
.demo-note{margin:18px 0 0;font-size:12px!important;line-height:1.6;color:#816b72!important}
.delivery-review{padding:18px;border:1px solid #e8d7dd;border-radius:15px;background:#f8f1f3}
.delivery-review h3{margin:0 0 10px}
.delivery-review p{margin:0 0 14px;line-height:1.7}
.empty-cart{text-align:center;padding:25px 10px}
.cart-nav{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:94px;min-height:44px;padding:9px 14px;border:1px solid #e2c5cf;border-radius:999px;background:#f3e4e9;color:#3b1b26;font:600 13px/1.2 Arial,Helvetica,sans-serif;white-space:nowrap;box-shadow:none;appearance:none;-webkit-appearance:none}
.cart-nav:hover{background:#ebd1da}
.cart-nav:focus-visible{outline:3px solid #c69363;outline-offset:3px}
.cart-nav svg{width:24px;height:24px;flex:0 0 24px}
.cart-nav #cart-count{min-width:19px;height:19px;padding:2px 5px;border-radius:999px;background:#edbed0;color:#fff;font-size:11px;line-height:15px;text-align:center}
@media(max-width:1100px) and (min-width:761px){.nav #mainnav{gap:10px;font-size:11px}.nav{gap:10px}}
@media(max-width:760px){.cart-nav{margin-left:auto;padding:10px 12px;gap:6px;min-height:46px}.nav{gap:9px}.nav .logo .brand-name{font-size:22px}.nav .logo .brand-mark{width:38px;height:38px}.nav .brand-mark svg{width:34px;height:34px}.nav .brand-name small{font-size:6px;letter-spacing:1.2px}.nav .logo{gap:7px}.menu-toggle{width:39px;height:44px}#shop{padding:30px 18px 22px;max-width:calc(100vw - 20px);max-height:94dvh;border-radius:18px}.checkout-layout{grid-template-columns:1fr;gap:18px;margin-top:18px}.shop-steps{gap:14px;font-size:12px}.shop-steps span{gap:5px}#shop h2{font-size:28px;padding-right:12px}.order-summary{padding:18px}.cart-item{gap:10px}.cart-art{width:70px}.cart-art svg{height:70px}.line-price{font-size:12px}.form-grid{gap:14px}.sum-total{font-size:19px}#shop-content>.eyebrow{font-size:9px;padding-right:24px}.checkout-layout form{order:2}.checkout-layout form+.order-summary{order:1}}
@media(max-width:359px){.nav{padding:0 12px;gap:6px}.nav .logo .brand-name{font-size:19px}.nav .logo .brand-mark{width:32px;height:36px}.nav .brand-name small{font-size:5px}.cart-nav{padding:6px}.form-grid{grid-template-columns:1fr}.cart-art{display:none}}

/* Checkout remains readable on phones: labels stay above their fields and the
   order summary follows the delivery form instead of squeezing beside it. */
@media(max-width:760px){
  .checkout-layout{display:flex;flex-direction:column;gap:20px;margin-top:18px}
  .checkout-layout form,.checkout-layout>div,.checkout-layout>.order-summary{width:100%;order:initial}
  .form-grid{grid-template-columns:1fr;gap:14px}
  .form-field{font-size:15px}
  .form-field input,.form-field textarea{font-size:16px;padding:12px 13px}
  .shop-steps{justify-content:space-between;gap:8px;margin-bottom:18px;font-size:11px}
  .shop-steps span{gap:5px}
  .shop-steps b{width:22px;height:22px}
  .order-summary{padding:17px}
  .summary-product{font-size:14px}
}
/* Two products per row, including narrow phone screens. */
#products.grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:480px){
  #products.grid{gap:12px}
  #products .product-body{padding:12px}
  #products .product h3{font-size:16px}
  #products .features{gap:4px}
  #products .features span{font-size:10px;padding:4px}
  #products .buy-row>.btn{width:100%;padding:10px 6px;font-size:12px}
  #products .compare-label{font-size:11px;gap:6px}
}

/* Catalog covers: consistent centered product scale, with source margins compensated. */
#products .product-visual:has(.product-photo){display:block;height:auto;padding:40px 12px 12px}
#products .catalog-photo-frame{display:block;position:relative;width:100%;aspect-ratio:1;overflow:hidden}
#products .catalog-photo-frame>.product-photo{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;object-position:center;transform:translate(var(--cover-x,0%),var(--cover-y,0%)) scale(var(--cover-scale,1));transform-origin:center;flex:none}
#products .product-photo[src*="bebi-monitor-vox-1."]{--cover-scale:1.24;--cover-x:3%;--cover-y:2%}
#products .product-photo[src*="bebi-monitor-28-1."]{--cover-scale:.88;--cover-y:0%}
#products .product-photo[src*="bebi-monitor-5in-1."]{--cover-scale:1.1;--cover-y:0%}
#products .product-photo[src*="inlife-720p-1."]{--cover-scale:.86;--cover-y:4%}
#products .product-photo[src*="bebi-monitor-43-9."]{--cover-scale:.94;--cover-y:9%;clip-path:inset(3% 0 21% 0)}
#products .product-photo[src*="ip-kamera-telefon-1."]{--cover-scale:.94;--cover-x:-12.9%;--cover-y:2.5%}
#products .product-photo[src*="wifi-kamera-tri-antene-1."]{--cover-scale:.84;--cover-x:-3.5%;--cover-y:-1.8%}
#products .product-photo[src*="wifi-kamera-auto-pracenje-1."]{--cover-scale:.80;--cover-x:0%;--cover-y:-3.1%}

/* Keep purchase and comparison controls aligned for every filtered/sorted row. */
#products.grid{align-items:stretch}
#products .product-visual{flex-shrink:0}
#products .product-body>.buy-row{margin-top:auto;padding-top:18px}
#products .product-body>.compare-label{flex-shrink:0;min-height:48px}

/* Fit the complete hero camera and monitor within the existing scene. */
.hero .scene #heroart{width:100%;height:100%}
.hero .scene #heroart>.product-photo{width:100%;height:100%;object-fit:contain;object-position:center}

/* Blend the hero device into the continuous mother-and-baby background. */
.hero::before{height:100%;background-image:linear-gradient(rgba(255,244,248,.76),rgba(255,244,248,.76)),url("/assets/mama-i-beba-pozadina.webp")}
.hero .scene #heroart{mix-blend-mode:multiply;background:transparent}
.hero .scene #heroart>.product-photo{background:transparent}

/* Soft pink theme: readable ink on pastel accents. */
.btn,.btn:hover,.logo .brand-mark,.trust,.help,#comparebar,#toast,.shop-steps span.active b,.cart-nav #cart-count{color:var(--ink)}
.help .eyebrow,.help p,#comparebar .reset{color:var(--muted)}
.shop-steps span.active{color:var(--ink)}
.trust span:first-letter{color:var(--ink)}
h1 em,.note strong,.details{color:#99536e}
input[type=checkbox]{accent-color:#99536e}
.gallery-thumbs button[aria-pressed=true]{border-color:#99536e}
