/* Add custom CSS styles below */ 
/* تجربة المنتج 561634304 فقط. الصق الملف كاملاً في محرر CSS لنسخة الثيم التجريبية. */
#product-561634304.kvr-ready {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

#product-561634304.kvr-ready > .sidebar,
#product-561634304.kvr-ready > .prod-main-content {
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding-bottom: 0 !important;
}

#product-561634304.kvr-ready > .product__description {
  width: 100%;
  margin: 32px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid #e7e7e4;
}

#product-561634304 .kvr-device-picker,
#product-561634304 .kvr-choice-panel {
  background: #fff;
  border: 1px solid #e7e9e8;
  border-radius: 18px;
}

#product-561634304 .kvr-device-picker {
  margin-top: 12px;
  padding: 16px;
  text-align: center;
}

#product-561634304 .kvr-device-picker__title {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #26343b;
}

#product-561634304 .kvr-device-picker__choices {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

#product-561634304 .kvr-device-choice {
  display: grid;
  place-items: center;
  width: 68px;
  height: 75px;
  padding: 6px;
  background: #fff;
  border: 1px solid #d9e0e2;
  border-radius: 12px;
  cursor: pointer;
}

#product-561634304 .kvr-device-choice[aria-pressed="true"] {
  border: 2px solid #4f9fa9;
  box-shadow: 0 0 0 3px rgb(79 159 169 / 14%);
}

#product-561634304 .kvr-device-choice img {
  display: block;
  width: 42px;
  height: 58px;
  object-fit: contain;
}

#product-561634304 .kvr-choice-panel {
  margin: 0 0 16px;
  padding: 20px;
}

#product-561634304 .kvr-model-field {
  display: block;
  margin-bottom: 20px;
}

#product-561634304 .kvr-model-field label {
  display: block;
  margin-bottom: 9px;
  font-size: 15px;
  font-weight: 700;
  color: #26343b;
}

#product-561634304 .kvr-model-field select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #d9e0e2;
  border-radius: 11px;
  background: #fff;
  color: #26343b;
  font: inherit;
  cursor: pointer;
}

#product-561634304 .kvr-model-field select:focus-visible,
#product-561634304 .kvr-device-choice:focus-visible {
  outline: 3px solid #4f9fa9;
  outline-offset: 2px;
}

/* لا نخفي حقول سلة إلا بعد إنشاء البدائل وربطها. تبقى داخل نموذج الشراء. */
#product-561634304.kvr-ready salla-conditional-fields
  .s-product-options-option[data-option-id="1881743772"],
#product-561634304.kvr-ready salla-conditional-fields
  .s-product-options-option[data-option-id="1631598996"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

#product-561634304.kvr-ready .s-product-options-option[data-option-id="1416094610"] {
  margin: 0;
}

#product-561634304.kvr-ready .s-product-options-option[data-option-id="1416094610"]
  .s-product-options-thumbnails-wrapper {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
  padding: 0;
}

#product-561634304.kvr-ready .s-product-options-option[data-option-id="1416094610"]
  .s-product-options-thumbnails-wrapper > div {
  flex: 0 0 104px;
  width: 104px;
  min-width: 0;
  margin: 0 !important;
  padding: 8px;
  border: 1px solid #d9e0e2;
  border-radius: 12px;
  text-align: center;
}

#product-561634304.kvr-ready .s-product-options-option[data-option-id="1416094610"]
  .s-product-options-thumbnails-wrapper > div:has(input:checked) {
  border: 2px solid #4f9fa9;
  box-shadow: 0 0 0 3px rgb(79 159 169 / 14%);
}

#product-561634304.kvr-ready .s-product-options-option[data-option-id="1416094610"]
  .s-product-options-thumbnails-wrapper label img {
  width: 76px;
  height: 76px;
  margin: auto;
  object-fit: contain;
}

#product-561634304.kvr-ready .s-product-options-option[data-option-id="1416094610"]
  .s-product-options-thumbnails-wrapper p {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
}

@media (min-width: 768px) {
  #product-561634304.kvr-ready {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }

  #product-561634304.kvr-ready > .sidebar {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: 24px;
  }

  #product-561634304.kvr-ready > .prod-main-content {
    grid-column: 2;
    grid-row: 1;
  }

  #product-561634304.kvr-ready > .product__description {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 767px) {
  #product-561634304.kvr-ready > .sidebar {
    position: static;
  }

  #product-561634304 .kvr-choice-panel {
    padding: 16px;
  }

  #product-561634304.kvr-ready .s-product-options-option[data-option-id="1416094610"]
    .s-product-options-thumbnails-wrapper > div {
    flex-basis: calc((100% - 20px) / 3);
    width: calc((100% - 20px) / 3);
  }
}