/* === Panellium Premium Typography === */
/* Playfair Display + Inter — единый стиль с баннерами коллекций */

/* ---- Headings: Playfair Display ---- */
html body h1, html body h2, html body h3, html body h4, html body h5, html body h6,
html body .heading, html body .panel-title, html body .module-title,
html body .page-header h1, html body .product-name a, html body .product-name,
html body .caption h4 a, html body .blog-article__title a, html body .news-title a {
  font-family: "Playfair Display", Georgia, serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.3px !important;
  line-height: 1.25 !important;
}

html body h1, html body .page-header h1 { font-size: 2em !important; font-weight: 700 !important; }
html body h2, html body .heading, html body .module-title { font-size: 1.6em !important; font-weight: 600 !important; }
html body h3, html body .panel-title { font-size: 1.3em !important; font-weight: 600 !important; }

/* ---- Logo ---- */
html body .header-logo__text-line1,
html body .header-logo__text-line2 {
  font-family: "Playfair Display", "Gil", sans-serif !important;
  font-weight: 600 !important;
}

/* ======================================== */
/* === Dark Modal / Popup Theme Override === */
/* ======================================== */

/* Modal backdrop */
html body .modal-backdrop.in { opacity: 0.7 !important; }

/* Modal content - dark bg */
html body .modal-content {
  background: #1a1a1a !important;
  border: 1px solid rgba(212, 175, 55, 0.15) !important;
  border-radius: 8px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 175, 55, 0.08) !important;
}

/* Modal header */
html body .modal-header {
  background: #161616 !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12) !important;
  padding: 18px 20px !important;
  border-radius: 8px 8px 0 0 !important;
}

html body .modal-title {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.5em !important;
  font-weight: 600 !important;
  color: #D4AF37 !important;
  letter-spacing: -0.3px !important;
}

html body .modal-header .close {
  color: #888 !important;
  opacity: 1 !important;
  font-size: 22px !important;
  text-shadow: none !important;
}
html body .modal-header .close:hover { color: #D4AF37 !important; }

/* Modal body */
html body .modal-body {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
  padding: 20px !important;
}

/* Modal footer */
html body .modal-footer {
  background: #161616 !important;
  border-top: 1px solid rgba(212, 175, 55, 0.12) !important;
}

/* Inputs inside modals */
html body .modal-body input[type="text"],
html body .modal-body input[type="tel"],
html body .modal-body input[type="email"],
html body .modal-body input[type="phone"],
html body .modal-body input:not([type="hidden"]):not([type="submit"]):not([type="checkbox"]),
html body .modal-body textarea {
  background: #252525 !important;
  border: 1px solid #333 !important;
  color: #e0e0e0 !important;
  font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
  border-radius: 4px !important;
}
html body .modal-body input:focus,
html body .modal-body textarea:focus {
  border-color: rgba(212, 175, 55, 0.5) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15) !important;
}

/* Labels inside modals */
html body .modal-body label,
html body .modal-body .control-label {
  color: #999 !important;
  font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
  font-weight: 500 !important;
}

/* Buttons inside modals */
html body .modal-body .btn-primary,
html body .modal-body button[type="submit"],
html body .modal-footer .btn-primary {
  background: #D4AF37 !important;
  border-color: #D4AF37 !important;
  color: #000 !important;
  font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-radius: 4px !important;
}
html body .modal-body .btn-primary:hover,
html body .modal-body button[type="submit"]:hover {
  background: #c19a2e !important;
  border-color: #c19a2e !important;
}

/* Default buttons in modals */
html body .modal-body .btn-default,
html body .modal-footer .btn-default {
  background: #2a2a2a !important;
  border-color: #333 !important;
  color: #ccc !important;
  font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
}

/* Quick order image block */
html body .quick-order__image-main,
html body .quick-order .uni-item {
  background: #1e1e1e !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 6px !important;
}

/* Quick order product name */
html body .quick-order__product-name {
  color: #e0e0e0 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-weight: 600 !important;
}

/* Quick order price */
html body .quick-order__price {
  color: #D4AF37 !important;
  font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.2em !important;
}

/* ====================================== */
/* === Callback / Request Form Modals === */
/* ====================================== */

/* UniShop2 request modal */
html body #modal-uni-request .modal-content,
html body .uni-request-modal {
  background: #1a1a1a !important;
}

html body #modal-uni-request .modal-header {
  background: #161616 !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12) !important;
}

html body #modal-uni-request .modal-title {
  font-family: "Playfair Display", Georgia, serif !important;
  color: #D4AF37 !important;
}

html body #modal-uni-request input,
html body #modal-uni-request textarea {
  background: #252525 !important;
  border: 1px solid #333 !important;
  color: #e0e0e0 !important;
  font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
}

html body #modal-uni-request .btn-primary,
html body #modal-uni-request button[type="submit"] {
  background: #D4AF37 !important;
  border-color: #D4AF37 !important;
  color: #000 !important;
}

/* ================================== */
/* === Cart Modal / Other Modals === */
/* ================================== */

html body #modal-cart .modal-content {
  background: #1a1a1a !important;
}

html body #modal-cart .modal-header {
  background: #161616 !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12) !important;
}

html body #modal-cart .modal-title {
  font-family: "Playfair Display", Georgia, serif !important;
  color: #D4AF37 !important;
}



/* ========================================= */
/* === Quick Order Button — Gold Override === */
/* ========================================= */

/* Override emerald green (#00A86B) with gold (#D4AF37) */
html body .product-page__quick-order,
html body .product-page__quick-order.btn,
html body .quick-order,
html body .quick-order.btn {
  color: #D4AF37 !important;
  border: 1px solid #D4AF37 !important;
  background: #1a1a1a !important;
  outline-color: #D4AF37 !important;
}

/* Span inside quick-order button */
html body .product-page__quick-order span,
html body .quick-order span,
html body .product-page__quick-order *,
html body .quick-order * {
  color: #D4AF37 !important;
}

/* Hover state */
html body .product-page__quick-order:hover,
html body .quick-order:hover {
  color: #000 !important;
  background: #D4AF37 !important;
  border-color: #D4AF37 !important;
}
html body .product-page__quick-order:hover span,
html body .quick-order:hover span,
html body .product-page__quick-order:hover *,
html body .quick-order:hover * {
  color: #000 !important;
}

/* Focus state — gold glow, no emerald */
html body .product-page__quick-order:focus,
html body .quick-order:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.4) !important;
  border-color: #D4AF37 !important;
  color: #D4AF37 !important;
  background: #1e1e1e !important;
}
html body .product-page__quick-order:focus span,
html body .quick-order:focus span,
html body .product-page__quick-order:focus *,
html body .quick-order:focus * {
  color: #D4AF37 !important;
}

/* Active/pressed state */
html body .product-page__quick-order:active,
html body .quick-order:active {
  background: #c19a2e !important;
  border-color: #c19a2e !important;
  color: #000 !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3) !important;
}
html body .product-page__quick-order:active span,
html body .quick-order:active span,
html body .product-page__quick-order:active *,
html body .quick-order:active * {
  color: #000 !important;
}

/* Focus-visible (keyboard navigation) */
html body .product-page__quick-order:focus-visible,
html body .quick-order:focus-visible {
  outline: 2px solid #D4AF37 !important;
  outline-offset: 2px !important;
}


/* ========================================= */
/* === Compare/Wishlist + All btn-success === */
/* === Gold Hover Override (kill emerald) == */
/* ========================================= */

/* Kill Bootstrap emerald green on ALL btn-success */
html body .btn-success:hover,
html body .btn-success:focus,
html body .btn-success:active,
html body .btn-success.active,
html body .btn-success.focus,
html body .btn-success.active.focus,
html body .btn-success.active:hover,
html body .btn-success:active:focus,
html body .btn-success:active:hover,
html body .btn-success.focus:hover {
  background: #D4AF37 !important;
  border-color: #D4AF37 !important;
  color: #000 !important;
  outline-color: #D4AF37 !important;
}

/* Compare button hover */
html body .product-page__compare-btn:hover,
html body .compare:hover,
html body .product-page__compare-btn:focus,
html body .compare:focus {
  color: #D4AF37 !important;
  background: rgba(212, 175, 55, 0.15) !important;
  border-color: #D4AF37 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3) !important;
}

/* Wishlist button hover */
html body .product-page__wishlist-btn:hover,
html body .wishlist:hover,
html body .product-page__wishlist-btn:focus,
html body .wishlist:focus {
  color: #D4AF37 !important;
  background: rgba(212, 175, 55, 0.15) !important;
  border-color: #D4AF37 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3) !important;
}

/* Compare/wishlist active (clicked) state */
html body .product-page__compare-btn:active,
html body .compare:active,
html body .compare.active,
html body .product-page__wishlist-btn:active,
html body .wishlist:active,
html body .wishlist.active {
  color: #000 !important;
  background: #D4AF37 !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3) !important;
}


/* ======================================== */
/* === Remove Gradients - Solid Dark BG === */
/* ======================================== */

/* Product page image area */
html body .product-page__image,
html body .product-page__image-wrapper,
html body #product-image {
  background: #1a1a1a !important;
  background-image: none !important;
}

/* Product description */
html body .product-page__description,
html body .product-page__description-wrapper {
  background: #1a1a1a !important;
  background-image: none !important;
}

/* Product price block */
html body .product-page__price,
html body .product-page__price-wrapper,
html body .product-price-block {
  background: #1a1a1a !important;
  background-image: none !important;
}

/* Product blocks and uni-items */
html body .product-block,
html body .product-page__block,
html body .uni-item-bg,
html body .uni-item {
  background: #1a1a1a !important;
  background-image: none !important;
}

/* Product page main container */
html body .product-page,
html body #product-product,
html body .product-product {
  background: #1a1a1a !important;
  background-image: none !important;
}

/* Any gradient on product page - kill it */
html body .product-page *[style*="gradient"],
html body #product-product *[style*="gradient"] {
  background-image: none !important;
}
