/* ==========================================================================
   PRICE RANGE PAGE STYLES (pr- prefix)
   ========================================================================== */

.pr-hidden {
  display: none !important;
}

.pr-stylish-title-page .module .modtitle.pr-hidden {
  display: none !important;
}

/* ==========================================================================
   PRODUCT IMAGE DECORATIVE FRAMES
   ========================================================================== */
.pr-product-container {
  position: relative;
  overflow: visible !important;
  padding: 12px;
  background: #fff;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.pr-product-frame {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px solid #9d1b22;
  pointer-events: none;
  z-index: 5;
}

.pr-ornament {
  position: absolute;
  color: #9d1b22;
  background: #fff;
  padding: 0 4px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pr-ornament svg {
  width: 12px;
  height: 12px;
}

.pr-ornament-top {
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
}

.pr-ornament-bottom {
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
}

.pr-ornament-left {
  left: -7px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
}

.pr-ornament-right {
  right: -7px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
}

.pr-corner {
  position: absolute;
  width: 25px;
  height: 25px;
  border: 2px solid #9d1b22;
  z-index: 6;
}

.pr-corner-tl {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}

.pr-corner-tr {
  top: -2px;
  right: -2px;
  border-left: none;
  border-bottom: none;
}

.pr-corner-bl {
  bottom: -2px;
  left: -2px;
  border-right: none;
  border-top: none;
}

.pr-corner-br {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

@media (max-width: 767px) {
  .pr-product-container {
    padding: 8px;
    margin-bottom: 20px;
  }

  .layout-1.common-home #content .main-right .module h3.modtitle span {
    font-size: 12px;
    color: black !important;
  }

  .wa-fab {
    top: -60px !important;
  }

  .pr-product-frame {
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
  }

  .nt-ornament svg,
  .pr-ornament svg {
    width: 10px;
    height: 10px;
  }

  .pr-corner {
    width: 15px;
    height: 15px;
  }
}

/* ── Uniform Image Sizes ── */
.product-image-container {
  width: 100%;
  aspect-ratio: 3 / 4.2;
  background: #f9f9f9;
  overflow: hidden !important;
  position: relative;
}

.product-image-container img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
  display: block !important;
}

.product-image-container:hover img {
  transform: scale(1.05);
}

/* ----------------------------------------------------------------
   GLOBAL SEARCH FILTERS
   ---------------------------------------------------------------- */
.pr-global-filters {
  position: relative;
  z-index: 100;
}

.pr-filter-row {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.pr-filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 0 0 280px;
}

.pr-filter-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 0.5px;
  margin-bottom: 0;
  margin-top: 10px;
}

.pr-filter-select {
  width: 100%;
  height: 42px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 0 15px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
}

.pr-filter-select:hover {
  border-color: #f39c12;
}

.pr-filter-select:focus {
  outline: none;
  border-color: #f39c12;
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

.pr-filter-actions {
  flex: 0 0 auto;
  min-width: auto;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

.pr-filter-btn {
  background: #c10037;
  color: #fff;
  border: none;
  height: 42px;
  padding: 0 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(193, 0, 55, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pr-filter-btn:hover {
  background: #031266;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(3, 18, 102, 0.3);
  color: #fff;
}

.pr-filter-btn:active {
  transform: translateY(0);
}

.pr-filter-clear {
  color: #888;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.pr-filter-clear:hover {
  color: #e74c3c;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .pr-filter-row {
    flex-wrap: nowrap;
    gap: 10px;
    align-items: flex-end;
    margin-top: 8px;
  }

  .view-all-btn {
    color: black !important;
  }

  .pr-filter-group {
    flex: 1;
    min-width: 0;
  }

  .pr-stylish-title-page .module h3.modtitle span {
    color: black !important;
  }

  .pr-filter-actions {
    width: auto;
    justify-content: flex-end;
    margin-top: 0;
    flex: 0 0 auto;
  }

  .pr-filter-btn {
    flex: none;
    padding: 0 15px;
  }
}

/* ----------------------------------------------------------------
   PRODUCT INFO OVERLAY (Inside Image)
   ---------------------------------------------------------------- */
.pr-product-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 15px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.3s ease;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
  opacity: 0.9;
}

.pr-info-left {
  flex: 1;
  min-width: 0;
}

.pr-info-left a {
  text-decoration: none !important;
  display: block;
  color: inherit;
}

.pr-overlay-price {
  font-size: 16px;
  font-weight: 800;
  color: #c10037;
  margin-bottom: 0;
  line-height: 1.2;
}

.pr-overlay-category {
  font-size: 9px;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.pr-overlay-name {
  font-size: 11px;
  color: #444;
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pr-info-right {
  flex-shrink: 0;
}

/* ── Order Now Button ── */
.pr-order-now-btn {
  background: #c10037 !important;
  color: #fff !important;
  border: none !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  text-transform: uppercase !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 10px rgba(193, 0, 55, 0.2) !important;
  cursor: pointer !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.pr-order-now-btn:hover {
  background: #031266 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(3, 18, 102, 0.2) !important;
}

.pr-order-now-btn svg {
  width: 10px;
  height: 10px;
  stroke-width: 3px;
}

/* ----------------------------------------------------------------
   ADD TO CART BUTTON — Above overlay, left side
   Default: icon-only pill | Hover: expands with text
   ---------------------------------------------------------------- */
.pr-add-to-cart-btn {
  position: absolute !important;
  bottom: 85px !important;
  left: 6px !important;
  top: auto !important;
  right: auto !important;
  z-index: 15 !important;
  background: #f5bd41 !important;
  border: none !important;
  color: #fff !important;
  height: 30px !important;
  width: 30px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3) !important;
  overflow: hidden !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition:
    width 0.3s ease,
    padding 0.3s ease,
    border-radius 0.3s ease,
    box-shadow 0.3s ease !important;
}

.pr-add-to-cart-btn i,
.pr-add-to-cart-btn .fa {
  font-size: 12px !important;
  flex-shrink: 0 !important;
  transition: margin 0.3s ease !important;
}

.pr-add-to-cart-btn span {
  display: inline-block !important;
  max-width: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  font-weight: 300 !important;
  text-transform: uppercase !important;
  transition:
    max-width 0.3s ease,
    opacity 0.25s ease,
    margin 0.3s ease !important;
}

.product-image-container:hover .pr-add-to-cart-btn,
.pr-add-to-cart-btn:hover {
  width: auto !important;
  padding: 0 14px 0 10px !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 16px rgba(243, 156, 18, 0.4) !important;
}

.product-image-container:hover .pr-add-to-cart-btn span,
.pr-add-to-cart-btn:hover span {
  max-width: 120px !important;
  opacity: 1 !important;
  margin-left: 7px !important;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
  .product-image-container {
    aspect-ratio: 3 / 4.8;
  }

  .pr-product-info-overlay {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px 8px;
    gap: 4px;
    border-radius: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.82);
  }

  .pr-overlay-price {
    font-size: 12px;
    margin-bottom: 0;
  }

  .pr-overlay-category {
    display: none;
  }

  .pr-overlay-name {
    font-size: 9px;
    line-height: 1.1;
  }

  .pr-btn-text {
    display: none;
  }

  .pr-order-now-btn {
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 50% !important;
    gap: 0 !important;
  }

  .pr-order-now-btn svg {
    width: 12px;
    height: 12px;
  }

  .pr-add-to-cart-btn {
    bottom: 44px !important;
    left: 6px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
  }

  .product-image-container:hover .pr-add-to-cart-btn,
  .pr-add-to-cart-btn:hover {
    width: 28px !important;
    padding: 0 !important;
  }

  .product-image-container:hover .pr-add-to-cart-btn span,
  .pr-add-to-cart-btn:hover span {
    max-width: 0 !important;
    opacity: 0 !important;
    margin-left: 0 !important;
  }
}

/* ----------------------------------------------------------------
   STYLISH CENTERED TITLES
   ---------------------------------------------------------------- */
.pr-stylish-title-page .module .modtitle {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  background: none !important;
  padding: 0 !important;
  margin: 10px 0 35px !important;
  border: none !important;
  position: relative !important;
  width: 100% !important;
  overflow: visible !important;
}

.pr-stylish-title-page .module .modtitle::after,
.pr-stylish-title-page .module .modtitle::before {
  display: none !important;
}

.pr-stylish-title-page .module .modtitle span {
  background: #fff !important;
  color: #1a1a1a !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  text-transform: capitalize !important;
  padding: 0 25px !important;
  border-radius: 0 !important;
  position: relative !important;
  display: inline-block !important;
  z-index: 2 !important;
  letter-spacing: -0.5px;
}

.pr-stylish-title-page .module .modtitle span::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #c10037, #f39c12);
  border-radius: 50px;
}

.pr-stylish-title-page .module .modtitle::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 50% !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: #f0f0f0 !important;
  z-index: 1 !important;
  transform: translateY(-50%) !important;
}

@media (max-width: 767px) {
  .pr-stylish-title-page .module .modtitle {
    margin: 35px 0 25px !important;
  }

  .pr-stylish-title-page .module .modtitle span {
    font-size: 24px !important;
    padding: 0 15px !important;
  }

  .pr-stylish-title-page .module .modtitle span::after {
    width: 40px;
    height: 3px;
    bottom: -8px;
  }
}

/* ----------------------------------------------------------------
   LAZY LOADER SPINNER & WRAPPER
   ---------------------------------------------------------------- */
.pr-lazy-spinner-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  width: 100%;
}

.pr-lazy-spinner-ring {
  width: 52px;
  height: 52px;
  border: 5px solid #f0f0f0;
  border-top: 5px solid #e44d26;
  border-radius: 50%;
  animation: pr-lspin 0.75s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 14px;
  flex-shrink: 0;
}

.pr-lazy-spinner-label {
  font-size: 14px;
  color: #888;
  margin: 0;
}

.typefooter-1 .footer-middle {
  display: none !important;
}

@keyframes pr-lspin {
  to {
    transform: rotate(360deg);
  }
}

.pr-lazy-products-wrap {
  animation: pr-lfadein 0.45s ease;
}

@keyframes pr-lfadein {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Eye Button - Mobile Only ── */
.na-eye-btn {
  display: none;
}

@media (max-width: 767px) {
  .na-eye-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 20;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(3, 18, 102, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none !important;
    transition:
      background 0.2s ease,
      transform 0.2s ease;
  }

  .na-eye-btn:hover,
  .na-eye-btn:active {
    background: rgba(193, 0, 55, 0.85);
    transform: scale(1.1);
    text-decoration: none !important;
  }

  .na-eye-btn svg {
    flex-shrink: 0;
  }
}
