html[data-store-api] #neshan-key-setup{display:none!important}html[data-store-api] #server-checkout-controls{padding:18px 0;display:flex;gap:12px;flex-wrap:wrap}html[data-store-api] #server-checkout-controls p{width:100%;margin:0}html[data-store-api] #server-checkout-controls input,html[data-store-api] #server-checkout-controls select{font:inherit;background:#221a2b;color:#fff;border:1px solid #69517d;padding:10px;max-width:100%}html[data-store-api] .account-review-card textarea,html[data-store-api] .account-review-card select{font:inherit;background:#211a29;color:#fff;border:1px solid #69517d;padding:12px}html[data-store-api] .account-review-card textarea{width:100%;min-height:110px}html[data-store-api] .product-photo img{display:block}html[data-store-api] .account-order-product img{object-fit:contain}html[data-store-api] .account-order-card>button{margin:12px 0 0 12px;padding:10px;background:#54376d;color:white;border:1px solid #7e5b98;font:inherit}html[data-store-api] #server-checkout-controls button{padding:10px 18px;font:inherit;background:#654385;color:white;border:1px solid #9070a9}


/* Taller product photography, with bounded grid items so portrait images never overflow. */
.local-test-entry{margin-top:20px;padding:16px;border:1px dashed #a67ac9;background:#38264433;font:12px/1.9 'Vazirmatn',Tahoma,sans-serif;color:#d9c9e8}
.local-test-entry[hidden]{display:none}
.local-test-login{font:700 14px 'Vazirmatn',Tahoma,sans-serif;padding:12px 18px;background:#583b74;color:#fff;border:1px solid #ad83cb;cursor:pointer}
.local-test-banner{margin:0;padding:12px 20px;text-align:center;font:700 12px 'Vazirmatn',Tahoma,sans-serif;color:#e4d0f5;background:#382445;border-bottom:1px solid #73558c}
html[data-store-api].local-map-web-setup #neshan-key-setup:not([hidden]){display:grid!important;grid-template-columns:minmax(0,1fr) auto;background:#241b2e;border-bottom:1px solid #59416d}
html[data-store-api].local-map-web-setup #neshan-key-setup p{font-size:12px;line-height:1.9}
html[data-store-api] #neshan-service-key{display:none!important}
@media(max-width:540px){html[data-store-api].local-map-web-setup #neshan-key-setup:not([hidden]){grid-template-columns:1fr}}
html[data-store-api] .product-card {
  display: flex;
  flex-direction: column;
}
html[data-store-api] .product-photo {
  height: clamp(350px, 27vw, 460px);
  flex: 0 0 auto;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  isolation: isolate;
}
html[data-store-api] .product-photo > img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  position: relative;
  z-index: 1;
}
html[data-store-api] .product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
html[data-store-api] .product-bottom { margin-top: auto; padding-top: 18px; }
html[data-store-api] .product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  width: 100%;
  margin: 2px 0 12px;
  color: #f7f3fc;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  text-align: right;
  line-height: 1.65;
  letter-spacing: 0;
}
html[data-store-api] .product-price-amount {
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
html[data-store-api] .product-price-currency {
  color: #cbbfd7;
  font-size: 10px;
  font-weight: 700;
}
html[data-store-api] .product-price--empty { font-size: 14px; font-weight: 500; }
@media (max-width: 900px) {
  html[data-store-api] .product-photo { height: clamp(280px, 43vw, 390px); }
}
@media (max-width: 540px) {
  html[data-store-api] .product-photo { height: clamp(230px, 65vw, 340px); }
}

/* Destructive action is distinct and separated from quantity controls. */
html[data-store-api] .cart-line-tools .cart-remove-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  margin-left: 14px;
  display: grid;
  place-items: center;
  border: 1px solid #e16b7d70;
  border-radius: 8px;
  background: #c3425720;
  color: #ff869b;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
html[data-store-api] .cart-remove-icon svg { width: 20px; height: 20px; pointer-events: none; }
html[data-store-api] .cart-line-tools .cart-remove-icon:hover { background: #c342573d; border-color: #ff869b; }
html[data-store-api] .cart-remove-icon:focus-visible { outline: 2px solid #ffb1bf; outline-offset: 3px; }
html[data-store-api] .cart-remove-icon:disabled { opacity: .45; cursor: wait; }
html[data-store-api] .product-modal-thumbnails{display:flex;flex-wrap:wrap;gap:10px;min-width:0}
html[data-store-api] .product-modal-thumb{flex:0 0 64px;width:64px;height:70px;padding:4px;overflow:hidden;border-radius:4px;transition:border-color .18s,background .18s}
html[data-store-api] .product-modal-thumb img{display:block;width:100%;height:100%;object-fit:contain}
html[data-store-api] .product-modal-thumb[aria-pressed="true"]{border-color:#bc8cf4;background:#372448;box-shadow:0 0 0 1px #bc8cf4}
html[data-store-api] .product-modal-thumb:focus-visible{outline:2px solid #d4f568;outline-offset:3px}
