/*
 * Impressive storefront: product popup (same design as Elegant) and package / service pages.
 * Copied from the #productModal rules in elegant-modern.css.
 */
:root {
  --el-ink: #0f172a;
  --el-muted: #64748b;
  --el-line: #e2e8f0;
  --el-soft: #f8fafc;
  --el-accent: var(--storecolor, #102c56);
  --el-shadow: 0 10px 30px rgba(15, 23, 42, 0.16);
  --el-radius: 16px;
}

body #productModal.modal .modal-content {
  position: relative;
  border-radius: 22px !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28) !important;
}

body #productModal.modal .modal-header {
  align-items: center !important;
  padding: 14px 16px 10px 20px !important;
  background: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body #productModal.modal .modal-title,
body #productModal.modal #modalTitle {
  color: var(--el-ink) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

body #productModal.modal .modal-header .close {
  width: 36px !important;
  height: 36px !important;
  background: #f1f5f9 !important;
  color: var(--el-ink) !important;
  font-size: 20px !important;
  box-shadow: none !important;
}

@media (hover: hover) {
  body #productModal.modal .modal-header .close:hover {
      transform: none !important;
      background: #e2e8f0 !important;
  }
}

body #productModal.modal.el-pm-has-hero .modal-header {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20 !important;
  justify-content: flex-end !important;
  background: transparent !important;
  pointer-events: none;
}

body #productModal.modal.el-pm-has-hero .modal-header .modal-title {
  display: none !important;
}

body #productModal.modal.el-pm-has-hero .modal-header .close {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25) !important;
}

body #productModal.modal .modal-body {
  background: #ffffff !important;
  padding-top: 0 !important;
  scrollbar-color: #cbd5e1 transparent !important;
}

body #productModal.modal .modal-body::-webkit-scrollbar-track {
  background: transparent !important;
}

body #productModal.modal .modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1 !important;
}

.el-pm-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 300px;
  overflow: hidden;
  background: var(--el-soft);
}

.el-pm-hero[hidden],
.el-pm-name[hidden] {
  display: none !important;
}

.el-pm-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body #productModal.modal .el-pm-name {
  margin: 0 !important;
  padding: 16px 20px 0 !important;
  color: var(--el-ink) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

body #productModal.modal .ItemPricetab {
  position: static !important;
  display: flex !important;
  align-items: baseline;
  gap: 8px;
  margin: 0 !important;
  padding: 4px 0 12px !important;
  text-align: left !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--el-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  animation: none !important;
}

body #productModal.modal:not(.el-pm-has-hero) .ItemPricetab {
  padding-top: 0 !important;
}

body #productModal.modal #modalPrice {
  color: var(--el-accent) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

body #productModal.modal #modalSalePrice {
  order: 2;
  font-size: 14px !important;
}

body #productModal.modal .el-pm-desc {
  margin: 12px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

body #productModal.modal .el-pm-desc img,
body #productModal.modal .el-pm-desc table {
  max-width: 100%;
}

body #productModal.modal .el-pm-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 10px 0 2px;
  color: var(--el-accent) !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  background: transparent !important;
}

body #productModal.modal .el-pm-desc[hidden],
body #productModal.modal .el-pm-more[hidden] {
  display: none !important;
}

body #productModal.modal .ItemPricetab {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

body #productModal.modal .variant_main_sec {
  margin-top: 14px !important;
  padding-top: 4px !important;
  border-top: 1px solid var(--el-line);
}

body #productModal.modal #select_optionlabel {
  margin: 16px 0 4px !important;
  color: var(--el-ink) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

body #productModal.modal .variants_button_section {
  margin-top: 6px;
}

body #productModal.modal .variants_button_section > br {
  display: none;
}

body #productModal.modal .variants_button_section .form-control-label {
  margin: 10px 0 8px !important;
  color: var(--el-muted) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  box-shadow: none !important;
  animation: none !important;
}

body #productModal.modal .variants_btn_inside {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px !important;
  width: 100%;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

body #productModal.modal .variants_btn_inside > b {
  display: none;
}

body #productModal.modal .variants_btn_inside .btn {
  position: relative;
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  align-items: center;
  justify-content: flex-start;
  min-height: 48px;
  margin: 0 !important;
  padding: 10px 34px 10px 14px !important;
  border: 1.5px solid var(--el-line) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: var(--el-ink) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  white-space: normal !important;
  box-shadow: none !important;
  transform: none !important;
}

body #productModal.modal .variants_btn_inside .btn::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border: 1.5px solid #cbd5e1;
  border-radius: 50%;
  background: #ffffff;
}

body #productModal.modal .variants_btn_inside .btn.active,
body #productModal.modal .variants_btn_inside label.active {
  border-color: var(--el-accent) !important;
  background: color-mix(in srgb, var(--el-accent) 8%, #ffffff) !important;
  color: var(--el-ink) !important;
}

body #productModal.modal .variants_btn_inside .btn.active::after {
  border-color: var(--el-accent);
  background: var(--el-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

@media (hover: hover) {
  body #productModal.modal .variants_btn_inside .btn:not(.active):hover {
      border-color: color-mix(in srgb, var(--el-accent) 45%, #ffffff) !important;
  }
}

body #productModal.modal .variants_btn_inside .btn.disabled,
body #productModal.modal .variants_btn_inside .btn:disabled {
  opacity: 0.45;
}

body #productModal.modal #variants-area-inside,
body #productModal.modal .variants_button_section,
body #productModal.modal .variants_button_section > div {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body #productModal.modal .modal-body .card-body {
  padding: 0 20px !important;
}

body #productModal.modal .modal-header {
  padding-left: 20px !important;
}

body #productModal.modal .modal-body .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body #productModal.modal #extras_group .modifier-group {
  margin: 14px 0 0 !important;
  padding: 0 !important;
  border: 1px solid var(--el-line) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  overflow: hidden;
}

body #productModal.modal #extras_group .modifier-group > .form-control-label,
body #productModal.modal #extras_group .modifier-group > .form-control-label.req-border {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: none !important;
  border-bottom: 1px solid var(--el-line) !important;
  border-radius: 0 !important;
  background: var(--el-soft) !important;
  box-shadow: none !important;
  animation: none !important;
  font-family: inherit !important;
}

body #productModal.modal #extras_group .modifier-group > .form-control-label > span:first-child {
  color: var(--el-ink) !important;
  -webkit-text-fill-color: var(--el-ink) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
}

body #productModal.modal #extras_group .modifier-group .quantity_label_title {
  color: var(--el-muted) !important;
  -webkit-text-fill-color: var(--el-muted) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
}

body #productModal.modal #extras_group .modifier-group .badge-req-opt {
  flex: 0 0 auto;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  box-shadow: none !important;
}

body #productModal.modal #extras_group .modifier-group .badge-req {
  background: color-mix(in srgb, var(--el-accent) 14%, #ffffff) !important;
  color: var(--el-accent) !important;
  -webkit-text-fill-color: var(--el-accent) !important;
}

body #productModal.modal #extras_group .modifier-group .badge-opt {
  background: #e2e8f0 !important;
  color: var(--el-muted) !important;
  -webkit-text-fill-color: var(--el-muted) !important;
}

body #productModal.modal #extras_group .modifier-group .no_input_name {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: #ffffff !important;
}

body #productModal.modal #extras_group .modifier-group .custom-control {
  margin: 0 !important;
  padding: 13px 14px !important;
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  background: #ffffff !important;
}

body #productModal.modal #extras_group .modifier-group .custom-control:last-child {
  border-bottom: none !important;
}

@media (hover: hover) {
  body #productModal.modal #extras_group .modifier-group .custom-control:hover {
      background: var(--el-soft) !important;
  }
}

body #productModal.modal #extras_group .modifier-group .custom-control:has(.custom-control-input:checked) {
  background: color-mix(in srgb, var(--el-accent) 7%, #ffffff) !important;
}

body #productModal.modal #extras_group .modifier-group .custom-control-label {
  width: 100% !important;
  padding-left: 32px !important;
  color: var(--el-ink) !important;
  font-family: inherit !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
}

body #productModal.modal #extras_group .modifier-group .custom-control-input:checked ~ .custom-control-label {
  font-weight: 600 !important;
}

body #productModal.modal #extras_group .modifier-group .custom-control-label span {
  color: var(--el-muted) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

body #productModal.modal #extras_group .modifier-group .custom-control-label::before {
  width: 20px !important;
  height: 20px !important;
  border: 1.5px solid #cbd5e1 !important;
  transform: translateY(-50%) !important;
}

body #productModal.modal #extras_group .modifier-group .custom-checkbox .custom-control-label::before {
  border-radius: 6px !important;
}

body #productModal.modal #extras_group .modifier-group .custom-control-input:checked ~ .custom-control-label::before {
  border-color: var(--el-accent) !important;
  background: var(--el-accent) !important;
  transform: translateY(-50%) !important;
}

body #productModal.modal #extras_group .modifier-group .custom-radio .custom-control-input:checked ~ .custom-control-label::after {
  left: 6px !important;
  width: 8px !important;
  height: 8px !important;
  background: #ffffff !important;
}

body #productModal.modal #extras_group .modifier-group .custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  left: 0 !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 6px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat !important;
}

body #productModal.modal #extras_group .modifier-group .custom-qtybox .custom-control-label {
  padding-left: 0 !important;
}

body #productModal.modal #extras_group .modifier-group .custom-qtybox .custom-control-label::before,
body #productModal.modal #extras_group .modifier-group .custom-qtybox .custom-control-label::after {
  display: none !important;
}

body #productModal.modal #extras_group .modifier-group .option_li_main {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
}

body #productModal.modal #extras_group .modifier-group .option_li_main .option_name_value {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--el-ink) !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  white-space: normal !important;
}

body #productModal.modal #extras_group .modifier-group .option_li_main .option_li_price {
  flex: 0 0 auto;
  min-width: 72px;
  text-align: right;
}

body #productModal.modal #extras_group .modifier-group .option_li_main .quantity-area {
  flex: 0 0 auto;
  margin: 0 !important;
}

body #productModal.modal #extras_group .modifier-group .number-input {
  height: 36px !important;
  padding: 2px !important;
  gap: 2px;
  border: 1px solid var(--el-line) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
}

body #productModal.modal #extras_group .modifier-group .number-input button {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: color-mix(in srgb, var(--el-accent) 10%, #ffffff) !important;
  transform: none !important;
}

body #productModal.modal #extras_group .modifier-group .number-input button::before,
body #productModal.modal #extras_group .modifier-group .number-input button::after {
  background-color: var(--el-accent) !important;
}

body #productModal.modal #extras_group .modifier-group .number-input input[type=number] {
  width: 26px !important;
  color: var(--el-ink) !important;
  font-size: 14px !important;
}

body #productModal.modal #extras_group .modifier-group .group-selection-status {
  color: var(--el-accent) !important;
  padding: 0 14px 10px !important;
}

body #productModal.modal #extras_group .modifier-group .btn_collapse_div {
  background: #ffffff !important;
  border-top: 1px solid #f1f5f9 !important;
}

body #productModal.modal #extras_group .modifier-group .toggle-button,
body #productModal.modal #extras_group .modifier-group .chevron_icon_btn {
  color: var(--el-accent) !important;
  background: transparent !important;
  font-weight: 600 !important;
}

body #productModal.modal #single_note {
  margin-top: 12px;
  border: 1px solid var(--el-line) !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  font-size: 14px !important;
  box-shadow: none !important;
  resize: vertical;
}

body #productModal.modal #single_note:focus {
  border-color: var(--el-accent) !important;
}

body #productModal.modal .modal-footer {
  position: sticky !important;
  bottom: 0 !important;
  z-index: 15 !important;
  width: auto !important;
  max-width: none !important;
  justify-content: stretch !important;
  gap: 10px !important;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  border-top: 1px solid var(--el-line) !important;
  box-shadow: 0 -8px 20px -12px rgba(15, 23, 42, 0.25) !important;
}

body #productModal.modal .modal-footer .form-group {
  flex: 0 0 auto !important;
}

body #productModal.modal .modal-footer .number-input {
  height: 48px !important;
  padding: 4px !important;
  gap: 2px;
  border: 1px solid var(--el-line) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
}

body #productModal.modal .modal-footer .number-input button {
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 38px !important;
  aspect-ratio: 1;
  border-radius: 50% !important;
  background: color-mix(in srgb, var(--el-accent) 10%, #ffffff) !important;
  color: var(--el-accent) !important;
  transform: none !important;
}

body #productModal.modal .modal-footer .number-input button::before,
body #productModal.modal .modal-footer .number-input button::after {
  background-color: var(--el-accent) !important;
}

body #productModal.modal .modal-footer .number-input input[type=number] {
  width: 30px !important;
  color: var(--el-ink) !important;
}

body #productModal.modal .modal-footer .quantity-btn {
  flex: 1 1 auto !important;
  min-width: 0;
}

body #productModal.modal .modal-footer .quantity-btn .add-to-cart-btn,
body #productModal.modal .modal-footer .quantity-btn .btn-primary {
  width: 100% !important;
}

body #productModal.modal .modal-footer .btn-primary,
body #productModal.modal #buynow_form button {
  height: 48px !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transform: none !important;
  box-shadow: none !important;
}

body #productModal.modal #buynow_form button {
  min-width: 0 !important;
  padding: 0 16px !important;
  border-width: 1.5px !important;
}

@media (max-width: 767px) {
  body #productModal.modal .modal-content {
      border-radius: 22px 22px 0 0 !important;
  }
  body #productModal.modal .modal-footer {
      gap: 8px !important;
      margin: 10px -20px 0 !important;
      padding-left: 12px !important;
      padding-right: 12px !important;
  }
  body #productModal.modal .modal-footer .btn-primary,
    body #productModal.modal #buynow_form button {
      min-width: 0 !important;
      height: 46px !important;
      padding: 0 12px !important;
      font-size: 14px !important;
  }
  body #productModal.modal .modal-footer .number-input {
      height: 44px !important;
      padding: 3px !important;
  }
  body #productModal.modal .modal-footer .number-input button {
      flex: 0 0 36px !important;
      width: 36px !important;
      height: 36px !important;
  }
  body #productModal.modal .modal-footer .number-input input[type=number] {
      width: 24px !important;
      margin: 0 !important;
  }
  .el-pm-hero {
      max-height: 240px;
  }
}

@media (max-width: 380px) {
  body #productModal.modal .variants_btn_inside {
      grid-template-columns: minmax(0, 1fr);
  }
}

body #productModal.modal .el-pm-unavailable {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 20px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #475569;
  font-size: 13.5px;
  font-weight: 600;
}

body #productModal.modal .el-pm-unavailable i {
  font-size: 18px;
}

body #productModal.modal .el-pm-unavailable[hidden] {
  display: none !important;
}

body #productModal.modal .el-pm-hero {
  aspect-ratio: auto !important;
  max-height: none !important;
  display: flex;
  justify-content: center;
  padding: 16px 20px 0;
  background: #ffffff !important;
  overflow: visible;
}

body #productModal.modal .el-pm-hero img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 240px;
  object-fit: contain;      
  border-radius: 16px;
  box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.35);
  display: block;
}

body #productModal.modal.el-pm-has-hero .modal-header {
  z-index: 1000001 !important;
  padding: 12px 14px 0 20px !important;
}

body #productModal.modal.el-pm-has-hero .modal-header .close {
  width: 36px !important;
  height: 36px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2) !important;
  opacity: 1 !important;
  pointer-events: auto;
}

body #productModal.modal.el-pm-has-hero .modal-header .close span {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

body #productModal.modal .el-pm-name {
  padding: 14px 20px 0 !important;
}

body #productModal.modal .ItemPricetab {
  padding: 4px 0 0 !important;
}

@media (max-width: 767px) {
  body #productModal.modal .el-pm-hero {
      padding: 14px 16px 0;
  }
  body #productModal.modal .el-pm-hero img {
      max-height: 200px;
  }
}

body #productModal.modal .el-pm-hero {
  aspect-ratio: auto !important;
  max-height: none !important;
  width: 100%;
  height: 260px;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: color-mix(in srgb, var(--el-accent) 8%, #ffffff) !important;
}

body #productModal.modal .el-pm-hero img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 767px) {
  body #productModal.modal .el-pm-hero {
      height: 210px;
  }
}

body #productModal.modal .el-pm-hero img {
  display: block;
  width: auto;
  height: calc(100% - 24px);
  max-width: calc(100% - 32px);
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 8px 22px -10px rgba(15, 23, 42, 0.45);
}

body #productModal.modal *:has(> .el-pm-name):has(> .el-pm-more) {
  display: flex;
  flex-direction: column;
}

body #productModal.modal .el-pm-name { order: 1;
}

body #productModal.modal .el-pm-more { order: 2; margin: 2px 0 0 !important; padding: 0 20px;
}

body #productModal.modal .ItemPricetab { order: 3; padding-top: 8px !important;
}

body #productModal.modal .el-pm-desc { order: 4;
}

body #productModal.modal .el-pm-more {
  margin: 4px 0 0 !important;
}

body #productModal.modal .el-pm-name {
  display: inline-block;
}

body #productModal.modal .el-pm-more {
  order: unset !important;
  padding: 0 !important;
  margin: 2px 0 0 20px !important;
}

body #productModal.modal .el-pm-more {
  margin: 6px 0 0 0 !important;
  padding: 0 !important;
}

body #productModal.modal .el-pm-hero {
  height: 200px !important;
}

body #productModal.modal .el-pm-hero img {
  height: calc(100% - 12px) !important;
  max-width: calc(100% - 32px);
}

@media (max-width: 767px) {
  body #productModal.modal .el-pm-hero {
      height: 170px !important;
  }
}

@media (max-width: 767px) {
  body #productModal.modal .el-pm-hero {
      height: auto !important;
      aspect-ratio: 4 / 3 !important;
      max-height: 45vh !important;
      padding: 0 !important;
      background: var(--el-soft, #f1f5f9) !important;
  }
  body #productModal.modal .el-pm-hero img {
      width: 100% !important;
      height: 100% !important;
      max-width: none !important;
      object-fit: cover !important;
      object-position: center;
      border-radius: 0 !important;
      box-shadow: none !important;
  }
}

/* Impressive-specific adjustments */
body #productModal.modal .modal-content { max-height: calc(100vh - 16px) !important; overflow-y: auto !important; }
body #productModal.modal .product_popup_modal .number-input input[type=number] {
  background: transparent !important;
  color: var(--el-ink) !important;
  -webkit-text-fill-color: var(--el-ink) !important;
}
body #productModal.modal:not(.el-pm-has-hero) .modal-header .close,
body #productModal.modal:not(.el-pm-has-hero) .modal-header .close span {
  color: var(--el-ink) !important;
  opacity: 1 !important;
}
body #productModal.modal #modalItemDetailsPart > .d-md-none { display: none !important; }
@media (max-width: 767px) {
  body #productModal.modal .el-pm-hero {
    aspect-ratio: auto !important;
    height: auto !important;
    background: #fff !important;
    padding: 0 !important;
  }
  body #productModal.modal .el-pm-hero img {
    width: 100% !important;
    height: auto !important;
    max-height: 38vh !important;
    object-fit: contain !important;
  }
}
@media (max-width: 767px) {
  body #productModal.modal .product_popup_modal { margin: 0 !important; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)) !important; background: #fff !important; }
  body #productModal.modal .product_popup_modal .quantity-area { display: flex !important; flex-wrap: nowrap !important; align-items: center !important; gap: 8px !important; width: 100% !important; margin: 0 !important; }
  body #productModal.modal .product_popup_modal .quantity-area .form-group { flex: 0 0 auto !important; width: auto !important; margin: 0 !important; }
  body #productModal.modal .product_popup_modal .quantity-area .quantity-btn { flex: 1 1 auto !important; width: auto !important; min-width: 0 !important; margin: 0 !important; }
  body #productModal.modal .product_popup_modal .quantity-area #buynow_form { flex: 0 0 auto !important; width: auto !important; margin: 0 !important; }
  body #productModal.modal .product_popup_modal .btn-primary { width: 100% !important; padding-left: 12px !important; padding-right: 12px !important; font-size: 13px !important; white-space: nowrap !important; }
}

/* Quantity: just the number between the buttons */
body #productModal.modal .product_popup_modal .number-input input[type=number],
body #productModal.modal .product_popup_modal .number-input input[type=number]:focus {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Phones: a bottom sheet attached to the screen edge, over the shop bar */
@media (max-width: 767px) {
  body #productModal.modal { padding: 0 !important; }
  body #productModal.modal .modal-dialog {
    display: flex !important;
    align-items: flex-end !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100% !important;
    height: 100% !important;
    margin: 0 !important;
  }
  body #productModal.modal .modal-content {
    width: 100% !important;
    max-height: 92vh !important;
    border-radius: 22px 22px 0 0 !important;
  }
}

/* Package and service pages */
.pz-duration {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--storecolorlight, #f1f5f9);
  color: var(--storecolor);
  font-size: 14px;
  font-weight: 500;
  vertical-align: middle;
}
.pz-package {
  margin: 4px 0 20px;
  padding: 18px 20px;
  border: 1px solid var(--el-line);
  border-radius: 16px;
  background: var(--storecolorlight, #f8fafc);
}
.pz-package-title {
  margin: 0 0 12px;
  font-family: var(--bp-heading, inherit);
  font-size: 20px;
  font-weight: 600;
  color: var(--storecolor);
}
.pz-package-list { margin: 0; padding: 0; list-style: none; }
.pz-package-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--el-line);
}
.pz-package-list li:first-child { padding-top: 0; border-top: 0; }
.pz-package-list li:last-child { padding-bottom: 0; }
.pz-package-qty {
  flex: 0 0 auto;
  min-width: 34px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--storecolor);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.pz-package-qty::after { content: "\00d7"; margin-left: 2px; }
.pz-package-name { color: var(--el-ink); font-size: 15px; line-height: 1.5; }
a.pz-primary-btn, button.pz-primary-btn {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 4px 0 0;
  padding: 14px 24px;
  border: 0 !important;
  border-radius: 12px;
  box-shadow: none !important;
  background: var(--storecolor) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}
@media (max-width: 991px) {
  a.pz-primary-btn, button.pz-primary-btn { max-width: none; }
}


/* View More is a link, not a heading */
div.view_btn_txt {display: flex; align-items: center; text-transform: uppercase; transition: all 500ms ease; position: relative; text-shadow: 0 0 0.5px currentColor; justify-content: center; color: var(--store_button_text); margin: 0 auto; font-family: var(--store_primary_font); font-size: 17px; font-weight: 100; line-height: 26px; letter-spacing: 0em;}
.store_services .service_page2 div.view_btn_txt {font-size: 14px;}
@media (max-width: 600px ) {
  .store_services .service_page2 div.view_btn_txt {font-size: 12px;}
}
@media (max-width: 370px) {
  div.view_btn_txt {font-size: 10px;}
}

/* Service page: plain title band, tidy sidebar */
.pz-title-band { min-height: 96px; padding: 20px 16px; background: var(--storecolorlight, #f1f5f9); }
.pz-title { margin: 0; color: var(--storecolor); font-size: clamp(26px, 3vw, 36px); font-family: var(--bp-heading, var(--store_primary_font, inherit)); font-weight: 600; text-align: center; }
.widget_services_list .product-list { max-height: none !important; overflow: visible !important; }
.product-list .list-item a.active { background: var(--storecolor) !important; border-color: var(--storecolor) !important; color: #fff !important; }
.product-list .list-item a:hover { transform: none; }
.widget_services_list .product-list .list-item a.active .iconsidebar { display: block; fill: #fff; }

/* Fewer cards than the row holds: centre them */
.store_services .owl-stage { margin-left: auto; margin-right: auto; }

/* Phones: Book Now stays in reach, chat button stays clear of the text */
.pz-sticky-book {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 76px;
  z-index: 1000;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--storecolor);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .22);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}
@media (max-width: 991px) {
  .whatsappButton { right: 12px !important; left: auto !important; width: auto !important; bottom: 82px !important; }
  .whatsappButton label { display: none !important; }
  body:has(.pz-sticky-book) .whatsappButton { bottom: 142px !important; }
  body:has(.pz-sticky-book) #wrapper { padding-bottom: 60px; }
}

.widget_services_list .product-list .list-item a { width: 100%; }
@media (min-width: 992px) { .whatsappButton { right: 24px !important; } }
.pz-package-validity {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--el-line);
  color: var(--storecolor);
  font-size: 14px;
  font-weight: 500;
}

/* Services, packages and wallet credit: one button, no quantity or cart */
body #productModal.modal.pz-buy-once .product_popup_modal .form-group,
body #productModal.modal.pz-buy-once .product_popup_modal .quantity-btn { display: none !important; }
body #productModal.modal.pz-buy-once .product_popup_modal #buynow_form { flex: 1 1 100% !important; width: 100% !important; max-width: none !important; }
body #productModal.modal.pz-buy-once .product_popup_modal #buynow_form #addToCart1,
body #productModal.modal.pz-buy-once .product_popup_modal #buynow_form .btn-primary { width: 100% !important; }

/* Wallet packs: gift-card art when the pack has no photo */
.pz-wallet-figure { margin: 0; }
a.pz-wallet-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1 / 1;
  padding: 22px;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(145deg, var(--storecolor, #1f4d3a) 0%, color-mix(in srgb, var(--storecolor, #1f4d3a) 72%, #000) 100%);
  color: #fff !important;
  text-decoration: none !important;
}
a.pz-wallet-art::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -28%;
  width: 70%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.05);
}
.pz-wallet-art-top { display: flex; align-items: center; gap: 10px; }
.pz-wallet-art-icon {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
}
.pz-wallet-art-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}
.pz-wallet-art-amount {
  font-family: var(--bp-heading, inherit);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 600;
  line-height: 1;
}
.pz-wallet-art-bonus {
  align-self: flex-start;
  margin-top: -6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--storecolor, #1f4d3a);
  font-size: 12px;
  font-weight: 700;
}
.pz-wallet-art-store { position: relative; z-index: 1; font-size: 13px; opacity: 0.8; }
a.pz-wallet-art.pz-wallet-art-lg { padding: 36px; border-radius: 20px; }
a.pz-wallet-art.pz-wallet-art-lg .pz-wallet-art-amount { font-size: clamp(48px, 7vw, 76px); }
.product-col .pz-wallet-bonus {
  display: inline-block;
  margin-left: 8px;
  color: var(--storecolor);
  font-size: 13px;
  font-weight: 600;
}

/* Wallet product page: what you pay and what you get */
.pz-wallet-row { display: flex; align-items: center; gap: 14px; }
.pz-wallet-cell { display: flex; flex-direction: column; gap: 2px; }
.pz-wallet-cap {
  color: var(--el-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pz-wallet-val { color: var(--el-ink); font-size: 22px; font-weight: 600; }
.pz-wallet-val-get { color: var(--storecolor); }
.pz-wallet-arrow { color: var(--el-muted); font-size: 22px; }
.pz-wallet p.pz-wallet-bonus { margin: 10px 0 0; color: var(--storecolor); font-size: 14px; font-weight: 600; }
.pz-wallet-notes {
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--el-line);
  list-style: none;
}
.pz-wallet-notes li {
  position: relative;
  padding: 3px 0 3px 22px;
  color: var(--el-ink);
  font-size: 14px;
  line-height: 1.5;
}
.pz-wallet-notes li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--storecolor);
  border-bottom: 2px solid var(--storecolor);
  transform: rotate(-45deg);
}

/* Packages and wallet credit for guests: sign in first */
.pz-signin { margin: 4px 0 0; }
.pz-signin-text { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; color: var(--el-muted); font-size: 14px; }

/* 600-767px (small tablets, zoomed browsers): use the phone header and bottom bar, same as below
   600px. Before, the phone Book Now block and the desktop icons row both showed. */
@media (min-width: 600px) and (max-width: 767px) {
  .site-header .header-extras-right { display: none !important; }
  .footer_mobnav { display: flex !important; }
  .mordern_footer_mobnav { display: block !important; }
}
