/* Product detail page — mobile-first, matches cart/orders aesthetic */

.product-page {
  background: #f6f7fb;
  padding: 14px 0 28px;
}

.product-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 14px;
}

.product-hero {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

@media (min-width: 900px) {
  .product-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }
}

.product-card {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
  overflow: hidden;
}

/* Gallery */
.product-gallery {
  padding: 12px 12px 14px;
}

.product-gallery-main {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  aspect-ratio: 1 / 1;
  max-height: min(72vh, 520px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery-open-pswp {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  position: relative;
  border-radius: 14px;
}

.product-gallery-open-pswp:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.product-gallery-open-pswp:focus:not(:focus-visible) {
  outline: none;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  vertical-align: middle;
  pointer-events: none;
}

.product-gallery-open-icon {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #475467;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.12);
  pointer-events: none;
}

.product-pswp-source-links {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-gallery {
  position: relative;
}

/* PhotoSwipe: кореневий шар завжди на body; ці правила лише страхують від конфліктів з темою */
.pswp {
  touch-action: none;
}

.pswp__img {
  -webkit-user-drag: none;
  user-select: none;
}

.product-gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #98a2b3;
  font-size: 2.5rem;
}

.product-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.product-gallery-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #f8fafc;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.product-gallery-thumb.is-active,
.product-gallery-thumb:hover {
  border-color: #3b82f6;
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info column */
.product-info {
  padding: 16px 16px 18px;
}

.product-info-title {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
}

a.product-admin-open-btn,
button.product-admin-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px 13px;
  border-radius: 10px;
  border: 1px solid #c7d2fe !important;
  background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%) !important;
  color: #312e81 !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    transform 0.12s ease,
    box-shadow 0.16s ease;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.14) !important;
  appearance: none;
  -webkit-appearance: none;
}

a.product-admin-open-btn:hover,
button.product-admin-open-btn:hover {
  text-decoration: none;
  color: #312e81;
  background: linear-gradient(180deg, #e0e7ff 0%, #c7d2fe 100%);
  border-color: #a5b4fc;
  transform: translateY(-1px);
}

.product-admin-open-btn:focus {
  outline: none;
  color: #312e81;
  text-decoration: none;
  box-shadow:
    0 0 0 3px rgba(99, 102, 241, 0.22),
    0 2px 8px rgba(79, 70, 229, 0.14);
}

.product-admin-open-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  line-height: 1;
}

.product-admin-open-btn--compact {
  width: 100%;
  min-height: 36px;
  justify-content: center;
  margin-bottom: 0;
}

.product-info-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 14px;
}

.product-category-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: #667085;
  text-decoration: none;
}

.product-category-link:hover {
  color: #344054;
}

.product-badge-stock {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #a6f4c5;
}

.product-badge-stock.is-order {
  background: #fff7ed;
  color: #b54708;
  border-color: #fed7aa;
}

.product-rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.product-stars-bar {
  position: relative;
  height: 18px;
  width: 100px;
  font-size: 14px;
  line-height: 1;
}

.product-stars-bg {
  color: #e4e7ec;
  white-space: nowrap;
}

.product-stars-fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  color: #f59e0b;
  white-space: nowrap;
  max-width: 100%;
}

.product-rating-text {
  font-size: 0.82rem;
  color: #667085;
}

.product-price-block {
  margin-bottom: 14px;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #eef2f7;
}

.product-price-main {
  font-size: 1.45rem;
  font-weight: 800;
  color: #111827;
}

.product-price-promo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-price-compare {
  font-size: 1rem;
  font-weight: 600;
  color: #98a2b3;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.product-price-promo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.product-price-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #a6f4c5;
}

.product-price-note {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: #667085;
}

.product-desc {
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #475467;
}

.product-specs {
  display: grid;
  gap: 0;
  margin: 0 0 18px;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  overflow: hidden;
}

.product-spec-row {
  display: grid;
  grid-template-columns: minmax(0, 110px) 1fr;
  gap: 10px;
  padding: 10px 12px;
  font-size: 0.86rem;
  border-bottom: 1px solid #eef2f7;
}

.product-spec-row:last-child {
  border-bottom: 0;
}

.product-spec-row dt {
  margin: 0;
  font-weight: 700;
  color: #98a2b3;
}

.product-spec-row dd {
  margin: 0;
  color: #1f2937;
}

/* Color pills */
.product-field-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #344054;
  margin-bottom: 8px;
}

.product-color-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-color-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #e4e7ec;
  background: #fff;
  cursor: pointer;
  font-size: 0.86rem;
  color: #344054;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.product-color-option:has(input:checked) {
  border-color: #3b82f6;
  background: #eff6ff;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25);
}

.product-color-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-color-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

/* Qty */
.product-qty-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 16px;
  margin-bottom: 18px;
}

.product-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d6deea;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.product-qty-control button {
  width: 40px;
  height: 40px;
  border: 0;
  background: #f8fafc;
  color: #344054;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.product-qty-control button:hover {
  background: #eef2f7;
}

.product-qty-control input {
  width: 44px;
  height: 40px;
  border: 0;
  border-left: 1px solid #e4e7ec;
  border-right: 1px solid #e4e7ec;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Actions */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 480px) {
  .product-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.12s ease;
}

.product-btn-primary {
  background: #0f9a6d;
  color: #fff;
  border-color: #0f9a6d;
  flex: 1;
  min-width: 160px;
}

.product-btn-primary:hover {
  background: #0c7d59;
  color: #fff;
}

.product-btn-outline {
  background: #fff;
  color: #344054;
  border-color: #d6deea;
}

.product-btn-outline:hover {
  border-color: #b8c4d6;
  background: #f8fafc;
  color: #111827;
}

.product-action-form {
  flex: 1;
  min-width: 140px;
  margin: 0;
}

.product-btn-block {
  width: 100%;
}

@media (min-width: 480px) {
  .product-actions .product-btn-block {
    width: auto;
    min-width: 160px;
  }
}

/* Related — ті самі картки, що в каталозі (catalog-card + catalog-page.css).
   На сторінці товару немає .catalog-page, тож задаємо --cat-* тут, інакше фон карток пропадає. */
.product-related {
  --cat-surface: #fff;
  --cat-border: #e4d8cc;
  --cat-ink: #2b2b2b;
  --cat-muted: #5c5c5c;
  --cat-soft: #9a9a9a;
  --cat-primary: #6b7a52;
  --cat-primary-hover: #55633f;
  --cat-radius: 14px;
  --cat-shadow: 0 8px 24px rgba(43, 43, 43, 0.06);
}

.product-related .catalog-card {
  background: #fff;
}

.product-section-title {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
}

.product-related .catalog-grid--related {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 768px) {
  .product-related .catalog-grid--related {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

.product-related-more {
  margin: 18px 0 0;
  text-align: center;
}

.product-related-more a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hk-primary, #6b7a52);
  text-decoration: none;
}

.product-related-more a:hover {
  color: var(--hk-primary-hover, #55633f);
  text-decoration: underline;
}

/* Reviews */
.product-reviews {
  margin-top: 24px;
}

.product-review-card {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
}

.product-review-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.product-review-author {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
}

.product-review-date {
  font-size: 0.78rem;
  color: #98a2b3;
}

.product-review-stars {
  font-size: 0.82rem;
  color: #f59e0b;
  margin-bottom: 6px;
}

.product-review-body {
  font-size: 0.9rem;
  color: #475467;
  line-height: 1.5;
  margin: 0;
}

.product-review-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.product-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #e4e7ec;
  background: #f8fafc;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475467;
  cursor: pointer;
}

.product-vote-btn:hover {
  background: #eef2f7;
}

.product-vote-btn-like:hover {
  border-color: #a6f4c5;
  background: #ecfdf3;
  color: #027a48;
}

.product-vote-btn-dislike:hover {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b42318;
}

.product-review-delete {
  border: 0;
  background: transparent;
  color: #e11d48;
  padding: 6px;
  cursor: pointer;
  margin-left: auto;
  font-size: 1rem;
}

.product-review-form-card {
  padding: 16px;
}

.product-review-form-card .btn-success {
  border-radius: 10px;
  font-weight: 700;
  padding: 10px 18px;
}

/* Modal tweaks (Bootstrap) */
#deleteReviewModal .modal-content {
  border-radius: 14px;
  border: 1px solid #e8edf5;
}

/* Multi-line add to cart */
.product-cart-lines-wrap {
  padding: 14px 14px 16px;
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
}

.product-cart-lines-hint {
  font-size: 0.82rem;
  color: #667085;
  margin: 0 0 12px;
  line-height: 1.5;
}

.product-cart-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.product-cart-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e8edf5;
  border-radius: 12px;
}

.product-cart-line-color-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 200px;
  min-width: 0;
}

.product-cart-line-color {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 40px;
  padding: 8px 36px 8px 12px;
  border-radius: 10px;
  border: 1px solid #d6deea;
  background-color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: #344054;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23667085' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.product-cart-line-color:hover {
  border-color: #b8c4d6;
}

.product-cart-line-color:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.product-cart-line-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.product-cart-line .product-qty-control {
  flex: 0 0 auto;
  border-radius: 10px;
  border-color: #d6deea;
}

.product-cart-line-remove {
  flex: 0 0 auto;
  margin-left: auto;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b42318;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.product-cart-line-remove:hover {
  background: #fee4e2;
  border-color: #f87171;
}

@media (max-width: 520px) {
  .product-cart-line-remove {
    margin-left: 0;
  }
}

.product-cart-line-add {
  width: 100%;
  margin-top: 2px;
  border-style: dashed;
  border-color: #c7d2fe;
  background: #f5f7ff;
  color: #3730a3;
}

.product-cart-line-add:hover {
  border-color: #818cf8;
  background: #eef2ff;
  color: #312e81;
}

/* Review form — Django 5 рендерить RadioSelect як #id_stars > div > label */
.product-review-stars-field #id_stars,
.product-review-stars-field ul {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.product-review-stars-field #id_stars > div,
.product-review-stars-field li {
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

.product-review-stars-field label {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 10px;
  border: 1px solid #e4e7ec;
  background: #fff;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  color: #d0d5dd;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    transform 0.12s ease;
  user-select: none;
}

.product-review-stars-field label:hover {
  border-color: #fcd34d;
  color: #fbbf24;
  transform: scale(1.06);
}

.product-review-stars-field input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/*
 * Радіо тільки на одній зірці, але візуально має бути «заповнено» 1…N.
 * Селектор :has(input[value="k"]:checked) + nth-child(-n+k) задає це без JS.
 */
.product-review-stars-field #id_stars:has(input[value="1"]:checked) > div:nth-child(-n + 1) label,
.product-review-stars-field #id_stars:has(input[value="2"]:checked) > div:nth-child(-n + 2) label,
.product-review-stars-field #id_stars:has(input[value="3"]:checked) > div:nth-child(-n + 3) label,
.product-review-stars-field #id_stars:has(input[value="4"]:checked) > div:nth-child(-n + 4) label,
.product-review-stars-field #id_stars:has(input[value="5"]:checked) > div:nth-child(-n + 5) label,
.product-review-stars-field ul:has(input[value="1"]:checked) li:nth-child(-n + 1) label,
.product-review-stars-field ul:has(input[value="2"]:checked) li:nth-child(-n + 2) label,
.product-review-stars-field ul:has(input[value="3"]:checked) li:nth-child(-n + 3) label,
.product-review-stars-field ul:has(input[value="4"]:checked) li:nth-child(-n + 4) label,
.product-review-stars-field ul:has(input[value="5"]:checked) li:nth-child(-n + 5) label {
  border-color: #f59e0b;
  background: linear-gradient(180deg, #fffbeb 0%, #ffedd5 100%);
  color: #f59e0b;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.35);
}

.product-review-stars-field.is-hover-partial label.is-filled-partial {
  border-color: #fcd34d;
  color: #fbbf24;
}

.product-review-stars-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #344054;
  margin-bottom: 8px;
}

.product-review-content-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #344054;
  margin-bottom: 8px;
}

.product-review-content-field {
  margin-bottom: 14px;
}

.product-review-textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d6deea;
  background: #fff;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #1f2937;
  resize: vertical;
  min-height: 100px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.product-review-textarea::placeholder {
  color: #98a2b3;
}

.product-review-textarea:hover {
  border-color: #b8c4d6;
}

.product-review-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.product-review-form .product-btn-primary {
  margin-top: 4px;
}

.product-review-form-errors,
.product-review-field-error {
  color: #b42318;
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.product-review-pending-banner {
  background: #fffbeb;
  border: 1px solid #fed7aa;
  color: #b54708;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.product-review-stars-row {
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.product-review-star {
  color: #e4e7ec;
  font-size: 1rem;
}

.product-review-star.is-on {
  color: #f59e0b;
}

/* Holubka warm palette harmonization */
.product-page {
  background: var(--hk-base-50, #f6f2ee);
}

.product-card {
  border-color: var(--hk-base-200, #e4d8cc);
  box-shadow: 0 8px 24px rgba(43, 43, 43, 0.05);
}

.product-info-title,
.product-price-main {
  color: var(--hk-text-primary, #2b2b2b);
}

.product-category-link,
.product-rating-text,
.product-price-note,
.product-desc {
  color: var(--hk-text-secondary, #5c5c5c);
}

.product-gallery-main,
.product-price-block {
  background: var(--hk-base-50, #f6f2ee);
  border-color: var(--hk-base-100, #efe7df);
}

.product-gallery-thumb.is-active,
.product-gallery-thumb:hover {
  border-color: var(--hk-primary, #6b7a52);
}

.product-badge-stock {
  background: #e8f5e9;
  color: var(--hk-success, #4caf50);
  border-color: #cfead2;
}

.product-badge-stock.is-order {
  background: #fff3e5;
  color: var(--hk-warning, #ffb74d);
  border-color: #f5dec2;
}

.product-review-textarea:focus {
  border-color: var(--hk-primary, #6b7a52);
  box-shadow: 0 0 0 3px rgba(107, 122, 82, 0.18);
}

a.product-admin-open-btn,
button.product-admin-open-btn {
  border-color: var(--hk-base-200, #e4d8cc) !important;
  background: linear-gradient(180deg, #f6f2ee 0%, #efe7df 100%) !important;
  color: var(--hk-text-secondary, #5c5c5c) !important;
  box-shadow: 0 2px 8px rgba(43, 43, 43, 0.09) !important;
}

a.product-admin-open-btn:hover,
button.product-admin-open-btn:hover {
  color: var(--hk-text-primary, #2b2b2b) !important;
  background: linear-gradient(180deg, #efe7df 0%, #e6dccf 100%) !important;
  border-color: #d7c5b4 !important;
}

.product-btn-primary {
  background: var(--hk-primary, #6b7a52);
  border-color: var(--hk-primary, #6b7a52);
}

.product-btn-primary:hover {
  background: var(--hk-primary-hover, #55633f);
  border-color: var(--hk-primary-hover, #55633f);
}

.product-btn-accent {
  background: var(--hk-accent, #d4a373);
  border-color: var(--hk-accent, #d4a373);
}

.product-btn-accent:hover {
  background: var(--hk-accent-hover, #c38e5d);
  border-color: var(--hk-accent-hover, #c38e5d);
}
