.product-modal .product-gallery {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 0;
  background: #f1f1f2;
}

.product-gallery-main {
  width: 100%;
  height: 100%;
  min-height: 470px;
  max-height: 640px;
  object-fit: cover;
}

.product-gallery-thumbs {
  display: flex;
  gap: 9px;
  padding: 12px;
  overflow-x: auto;
}

.product-gallery-thumbs button {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.product-gallery-thumbs button[aria-pressed="true"] { border-color: #353943; }
.product-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.admin-photo-heading { display: grid; gap: 4px; }
.admin-photo-heading strong { font-size: .9rem; }
.admin-photo-heading small { color: #707783; line-height: 1.5; }
.admin-photo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.admin-photo-item { display: grid; gap: 7px; padding: 8px; border: 1px solid #dfe2e7; border-radius: 13px; background: #fafbfc; }
.admin-photo-item.is-cover { border-color: #555d69; background: #f0f2f5; }
.admin-photo-item img { width: 100%; height: 110px; border-radius: 8px; object-fit: cover; }
.modal-form .admin-photo-item label { display: flex; align-items: center; gap: 5px; font-size: .7rem; }
.admin-photo-item input { margin: 0; }
.admin-photo-item button,
.admin-photo-path button { padding: 8px 11px; border: 1px solid #cdd1d8; border-radius: 9px; background: #fff; color: #424852; cursor: pointer; }
.admin-photo-path { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.admin-photo-path label { min-width: 0; }
.admin-photo-path input { min-width: 0; width: 100%; }
.admin-photo-path button { min-height: 45px; }

.flower-order-actions { display: flex; gap: 6px; }
.studio-admin-actions .flower-order-actions button { width: 38px; min-width: 38px; min-height: 36px; padding: 0; font-size: 1rem; }
.section-membership { min-width: 0; margin: 0; padding: 10px 12px; border: 1px solid #dfe2e7; border-radius: 12px; }
.section-membership legend { padding: 0 4px; color: #424852; font-size: .76rem; font-weight: 700; }
.section-membership > small { display: block; color: #737a84; font-size: .67rem; }
.section-membership-options { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 8px; }
.modal-form .section-membership-options label { display: flex; align-items: center; gap: 6px; color: #535964; font-size: .72rem; font-weight: 600; }
.section-membership-options input { width: 16px; height: 16px; margin: 0; }

.studio-shapes-section { padding: 18px; border-bottom: 1px solid #e5e7eb; }
.studio-shape-list { display: grid; gap: 8px; }
.studio-shape-list article { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border: 1px solid #e4e7eb; border-radius: 11px; }
.studio-shape-list strong { display: block; }
.studio-shape-list small { display: inline-block; margin-top: 3px; color: #53606f; font-weight: 700; }
.studio-shape-list p { margin: 4px 0 0; color: #747c87; font-size: .76rem; }

.section-admin-profile { display: grid; width: 54px; height: 54px; place-items: center; overflow: hidden; border-radius: 12px; background: #efedf0; color: #6d5c6d; font-family: var(--serif); font-size: 1.15rem; }
.section-admin-profile img { width: 100%; height: 100%; object-fit: cover; }
.section-profile-preview { display: grid; min-height: 120px; place-items: center; overflow: hidden; border: 1px solid #e2e4e8; border-radius: 13px; background: #f5f5f7; color: #737a84; font-size: .78rem; }
.section-profile-preview img { display: block; width: 100%; max-height: 220px; object-fit: cover; }
.home-feature-admin { display: grid; gap: 18px; margin-top: 22px; padding: 20px; border: 1px solid #dfe2e7; border-radius: 18px; background: #fff; }
.home-feature-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.home-feature-heading h2 { margin: 3px 0 7px; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.home-feature-heading p:last-child { max-width: 560px; margin: 0; color: #707783; font-size: .82rem; line-height: 1.55; }
.home-feature-current { position: relative; flex: 0 0 92px; width: 92px; height: 92px; overflow: hidden; border-radius: 13px; background: #f0f1f4; }
.home-feature-current img { width: 100%; height: 100%; object-fit: cover; }
.home-feature-current span { position: absolute; right: 0; bottom: 0; left: 0; padding: 5px 4px; background: rgba(30,31,35,.72); color: #fff; text-align: center; font-size: .58rem; }
.home-feature-current.is-empty { display: grid; place-items: center; padding: 8px; color: #727985; text-align: center; font-size: .68rem; }
.home-feature-admin form { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.home-feature-admin form label { display: grid; flex: 1 1 220px; gap: 6px; color: #5e646d; font-size: .76rem; font-weight: 700; }
.home-feature-admin select { min-height: 44px; padding: 10px 12px; border: 1px solid #cfd3da; border-radius: 11px; background: #fff; color: #25272c; font: inherit; }
.home-feature-admin .button { min-height: 44px; }
.home-feature-admin button:disabled { opacity: .45; cursor: not-allowed; }
.bouquet-order-actions button { width: 40px; min-width: 40px; padding: 0; }

@media (max-width: 700px) {
  .product-gallery-main { min-height: 0; height: 390px; }
  .studio-shape-list article { align-items: flex-start; flex-direction: column; }
  .admin-photo-path { grid-template-columns: 1fr; }
  .home-feature-heading { align-items: flex-start; }
  .home-feature-admin form { align-items: stretch; flex-direction: column; }
  .home-feature-admin form > * { width: 100%; }
}
