/**
 * ORKIDEM-SELLER-MOBILE-PRODUCTS-SPECIFICITY-CLOSURE-V14
 *
 * V13 proof:
 * V11 is loaded, but later page-local inline <style> rules with
 * stronger selectors + !important win. This closure intentionally
 * raises specificity without changing desktop >820px.
 */

/* =========================================================
   PRODUCT LIST — /urunler
   ========================================================= */
@media (max-width: 820px) {

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .r150-seller-product-head .r13-ana-aksiyon {
    height: 40px !important;
    min-height: 40px !important;
    max-height: none !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .r13-filtre-satiri
  :is(input:not([type="checkbox"]):not([type="radio"]), select, button, a.buton) {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    box-sizing: border-box !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .r150-product-summary.v120-functional-filter-band {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    gap: 0 !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .r150-product-summary.v120-functional-filter-band > a {
    display: flex !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 40px !important;
    flex: 0 1 auto !important;
    padding: 6px 8px !important;
    margin: 0 !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .seller-p2e-product-row.r13-urun-satiri {
    display: grid !important;
    grid-template-columns: 40px 52px minmax(0, 1fr) 40px !important;
    grid-template-areas:
      "select media identity action"
      "price  price price    price"
      "stock  stock stock    stock" !important;
    grid-template-rows: auto auto auto !important;
    gap: 6px 8px !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-bottom: 1px solid rgba(23,63,51,.14) !important;
    overflow: visible !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .seller-p2e-product-row.r13-urun-satiri > .r13-urun-sec {
    grid-area: select !important;
    display: grid !important;
    place-items: center !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .seller-p2e-product-row.r13-urun-satiri > .r47-seller-product-media-link {
    grid-area: media !important;
    display: grid !important;
    place-items: center !important;
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .seller-p2e-product-row.r13-urun-satiri
  .r47-seller-product-media-link img {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    object-fit: cover !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .seller-p2e-product-row.r13-urun-satiri > .r13-urun-kimlik {
    grid-area: identity !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    margin: 0 !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .seller-p2e-product-row.r13-urun-satiri
  :is(.r13-urun-kimlik, .r13-urun-kimlik > *, .r13-urun-kod-satiri) {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .seller-p2e-product-row.r13-urun-satiri
  :is(.r13-urun-kimlik h3, .r47-seller-product-name-link) {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: 100% !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .seller-p2e-product-row.r13-urun-satiri
  > .r13-urun-aksiyon.w268-product-action-cell {
    grid-area: action !important;
    display: grid !important;
    place-items: center !important;
    justify-self: end !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .w268-product-actions,
  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .w268-product-actions > summary {
    display: grid !important;
    place-items: center !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .w268-product-actions > summary :is(svg, i) {
    width: 16px !important;
    height: 16px !important;
    font-size: 16px !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .seller-p2e-product-row.r13-urun-satiri
  > .r13-urun-hizli-alan:not(.r13-stok-alani) {
    grid-area: price !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .seller-p2e-product-row.r13-urun-satiri
  > .r13-urun-hizli-alan:not(.r13-stok-alani) > label {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .r13-para-alani {
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr) !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    overflow: hidden !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .r13-para-alani > input {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .seller-p2e-product-row.r13-urun-satiri
  > .r13-stok-alani {
    grid-area: stock !important;
    display: grid !important;
    grid-template-columns: minmax(72px, .36fr) minmax(0, 1fr) !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .r13-stok-alani > label {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .r13-stok-alani :is(input, select) {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik label.v111-product-select-all {
    display: inline-grid !important;
    place-items: center !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik label.v111-product-select-all > input[type="checkbox"],
  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .seller-p2e-product-row.r13-urun-satiri
  > .r13-urun-sec input[type="checkbox"] {
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* Tablet keeps denser summary rhythm. */
@media (min-width: 601px) and (max-width: 820px) {
  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-listesi
  #ana-icerik#ana-icerik .r150-product-summary.v120-functional-filter-band {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* =========================================================
   PRODUCT CREATE — /urunler/yeni
   ========================================================= */
@media (max-width: 820px) {

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-formu
  #ana-icerik#ana-icerik,
  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-formu
  #ana-icerik#ana-icerik > .master-content,
  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-formu
  #ana-icerik#ana-icerik .r284-create-header,
  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-formu
  #ana-icerik#ana-icerik form.r284-create-product {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-formu
  #ana-icerik#ana-icerik .s5-create-head-actions .buton {
    height: 40px !important;
    min-height: 40px !important;
    max-height: none !important;
    padding: 0 11px !important;
    box-sizing: border-box !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-formu
  #ana-icerik#ana-icerik .p46-action-buttons
  :is(button, a, .buton, [class*="btn"]) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: none !important;
    padding: 0 11px !important;
    box-sizing: border-box !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-formu
  #ana-icerik#ana-icerik .p46-action-buttons {
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 40px !important;
    gap: 8px !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-formu
  #ana-icerik#ana-icerik :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 600px) {
  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-formu
  #ana-icerik#ana-icerik .s5-create-head-actions,
  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-formu
  #ana-icerik#ana-icerik .p46-action-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
}

/* =========================================================
   PRODUCT EDIT — /urunler/duzenle
   Touch targets only; layout/data structure is preserved.
   ========================================================= */
@media (max-width: 820px) {

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-duzenle
  #ana-icerik#ana-icerik
  :is(button.buton, a.buton, button[class*="btn"], a[class*="btn"], [role="button"]) {
    min-height: 40px !important;
    box-sizing: border-box !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-duzenle
  #ana-icerik#ana-icerik .s5-edit-assist .buton,
  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-duzenle
  #ana-icerik#ana-icerik button.buton {
    min-height: 40px !important;
  }

  html body.seller-master-v2[data-panel-surface="seller"].seller-page--urunler-urun-duzenle
  #ana-icerik#ana-icerik
  :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}