/* ==========================================================================
   Ishnika Traders - Custom Enhancements (Theme Non-Conflicting)
   ========================================================================== */

/* Floating WhatsApp Quick Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25d366;
  color: #ffffff !important;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
  text-decoration: none;
}
.whatsapp-float-btn:hover {
  transform: scale(1.1);
  color: #ffffff !important;
}
@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Inquiry Modal Custom Styling */
.inquiry-modal .modal-content {
  border-radius: 18px;
  border: none;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}
.inquiry-modal .modal-header {
  background: #0B2239;
  color: #ffffff;
  padding: 18px 24px;
}
.inquiry-modal .modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}
.inquiry-modal .modal-body {
  padding: 24px;
  background: #fbfbfc;
}

/* Image utility */
.object-fit-cover {
  object-fit: cover !important;
}

/* Filter Tab Active pill in theme layout */
.collection-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.collection-filter-nav a {
  padding: 8px 22px;
  border-radius: 100px;
  border: 1px solid #d8dde1;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  transition: all 0.3s ease;
  text-decoration: none;
}
.collection-filter-nav a.active,
.collection-filter-nav a:hover {
  background: var(--theme, #FBE87E);
  color: var(--header, #0B2239);
  border-color: var(--theme, #FBE87E);
}
.collection-search-note {
  font-size: 15px;
  color: var(--text, #515459);
}
.collection-search-note a {
  color: var(--theme2, #EB4438);
  font-weight: 600;
}

/* Theme Product Card direct WhatsApp action */
.project-items .btn-inquire-product {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: #25d366;
  color: #fff !important;
  text-decoration: none;
  transition: all 0.3s ease;
}
.project-items .btn-inquire-product:hover {
  background: #1eb956;
  transform: translateY(-2px);
}

/* Brand logo (maroon artwork needs a light backdrop on dark headers/footer) */
.header-main .site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.header-main .site-logo img {
  height: 52px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}
.header-main .site-logo-badge,
.footer-logo-badge {
  background: #fff;
  border-radius: 12px;
  padding: 5px 12px;
  box-shadow: 0 6px 18px rgba(11, 34, 57, 0.18);
}
.footer-logo-badge {
  display: inline-flex;
  padding: 8px 16px;
}
.footer-logo-badge img {
  height: 64px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
}
@media (max-width: 575px) {
  .header-main .site-logo img {
    height: 42px;
    max-width: 150px;
  }
}

/* Keep the menu from touching the search / CTA buttons on laptop widths */
@media (min-width: 1200px) {
  .header-main .mean__menu-wrapper {
    margin-inline: 24px;
  }
}
@media (min-width: 1200px) and (max-width: 1499px) {
  .header-main .main-menu ul li {
    margin-inline-end: 22px;
  }
  .header-main .main-menu ul li a {
    font-size: 15px;
  }
  .header-main .header-right .theme-btn {
    padding-left: 22px;
    padding-right: 22px;
  }
}

/* Category cards: category photo on hover with readable text */
.service-box-one .bg-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(to top, rgba(11, 34, 57, 0.92) 0%, rgba(11, 34, 57, 0.45) 100%);
}

/* Lead forms placed outside the theme's contact wrappers (catalogue unlock box etc.) */
.contFrm .inptFld {
  width: 100%;
  height: 52px;
  border: 1px solid #d8dde1;
  border-radius: 100px;
  padding: 0 22px;
  background-color: #fff;
  color: var(--text, #515459);
  font-size: 15px;
}
.contFrm textarea.inptFld {
  height: auto;
  min-height: 120px;
  padding-top: 16px;
  border-radius: 20px;
}
.contFrm select.inptFld {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B2239' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 24px center;
  cursor: pointer;
}
.contFrm .inptFld:focus {
  outline: none;
  border-color: var(--theme2, #EB4438);
}

/* Gallery folder filter pills */
.gf-sec .media-boxes-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
}
.gf-sec .media-boxes-filter > li {
  margin: 0;
}
.gf-sec .media-boxes-filter > li a {
  display: inline-block;
  padding: 8px 22px !important;
  border: 1px solid #d8dde1 !important;
  border-radius: 100px !important;
  background: #fff !important;
  color: #555 !important;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1.4 !important;
  height: auto !important;
  transition: all 0.3s ease;
}
.gf-sec .media-boxes-filter > li a:hover,
.gf-sec .media-boxes-filter > li a.selected {
  background: var(--theme, #FBE87E) !important;
  border-color: var(--theme, #FBE87E) !important;
  color: var(--header, #0B2239) !important;
}
.gf-sec .media-box-image {
  border-radius: 14px;
  overflow: hidden;
}

.service-box-one .link-btn {
  color: var(--header, #0B2239);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.service-box-one:hover .link-btn {
  color: var(--theme, #FBE87E);
}

/* Testimonial initials avatar */
.client-initials {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--theme, #FBE87E);
  color: var(--header, #0B2239);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
}

/* Compact footer */
.footer-compact .footer-widgets-wrapper {
  padding: 56px 0 36px;
}
.footer-compact .footer-widgets-wrapper .footer-widget-items {
  margin-top: 0;
}
.footer-compact .footer-widgets-wrapper .footer-widget-items .widget-logo {
  margin-bottom: 18px;
}
.footer-compact .footer-logo-badge img {
  height: 54px;
}
.footer-compact .footer-widgets-wrapper .footer-widget-items .widget-head {
  margin-bottom: 18px;
  padding-bottom: 10px;
}
.footer-compact .footer-widgets-wrapper .footer-widget-items .widget-head h4 {
  font-size: 20px;
}
.footer-compact .footer-widgets-wrapper .footer-widget-items .widget-content p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 360px;
}
.footer-compact .footer-widgets-wrapper .footer-widget-items .widget-content .list-area li {
  font-size: 15px;
  line-height: 1.5;
}
.footer-compact .footer-widgets-wrapper .footer-widget-items .widget-content .list-area li:not(:last-child) {
  margin-bottom: 8px;
}
.footer-compact .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-compact .footer-social li a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #23384D;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}
.footer-compact .footer-social li a:hover {
  background-color: var(--theme, #FBE87E);
  color: var(--header, #0B2239);
}
.footer-compact .footer-contact-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-compact .footer-contact-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}
.footer-compact .footer-contact-list li:not(:last-child) {
  margin-bottom: 12px;
}
.footer-compact .footer-contact-list li i {
  color: var(--theme, #FBE87E);
  margin-top: 5px;
  width: 16px;
  flex-shrink: 0;
}
.footer-compact .footer-contact-list li a {
  color: rgba(255, 255, 255, 0.75);
  word-break: break-word;
}
.footer-compact .footer-contact-list li a:hover {
  color: var(--theme, #FBE87E);
}

.footer-compact .footer-contact-area {
  padding: 22px 0;
}
.footer-compact .footer-contact-area::before {
  display: none;
}
.footer-compact .phone-box {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-compact .phone-box .phone {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--theme, #FBE87E);
  border-radius: 50%;
}
.footer-compact .phone-box .phone img {
  animation: pxl_phone_ring 1.8s ease-out infinite;
}
.footer-compact .phone-box .content span {
  color: var(--theme, #FBE87E);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-compact .footer-helpline {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin: 2px 0 0;
}
.footer-compact .footer-helpline a {
  color: #fff;
  white-space: nowrap;
}
.footer-compact .footer-helpline a:hover {
  color: var(--theme, #FBE87E);
}
.footer-compact .footer-helpline .sep {
  color: rgba(255, 255, 255, 0.35);
  margin: 0 10px;
  font-weight: 400;
}
.footer-compact .footer-contact-area .maie-box {
  justify-content: flex-end;
  gap: 18px;
}
.footer-compact .footer-contact-area .maie-box p {
  margin: 0;
  font-size: 15px;
  white-space: nowrap;
}
.footer-compact .footer-contact-area .maie-box .footer-input {
  flex: 0 1 380px;
}
.footer-compact .footer-contact-area .maie-box .footer-input input {
  width: 100%;
  min-width: 0;
  height: 54px;
  line-height: 54px;
}
.footer-compact .footer-contact-area .maie-box .footer-input .newsletter-btn {
  top: 4px;
  right: 4px;
  width: 46px;
  height: 46px;
  line-height: 46px;
}
.footer-compact .footer-bottom {
  padding: 16px 0;
}
.footer-compact .footer-bottom .footer-wrapper p {
  margin: 0;
  font-size: 14px;
}
.footer-compact .footer-bottom .footer-wrapper ul {
  margin: 0;
  padding: 0;
  font-size: 14px;
}

@media (max-width: 991px) {
  .footer-compact .footer-widgets-wrapper {
    padding: 44px 0 28px;
  }
  .footer-compact .footer-contact-area .maie-box {
    justify-content: flex-start;
  }
}
@media (max-width: 575px) {
  .footer-compact .footer-widgets-wrapper {
    padding: 36px 0 24px;
  }
  .footer-compact .footer-widgets-wrapper .footer-widget-items .widget-head {
    margin-bottom: 14px;
  }
  .footer-compact .footer-widgets-wrapper .footer-widget-items .widget-content .list-area li {
    font-size: 14px;
  }
  .footer-compact .footer-helpline {
    font-size: 17px;
  }
  .footer-compact .footer-helpline .sep {
    margin: 0 6px;
  }
  .footer-compact .footer-contact-area .maie-box {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .footer-compact .footer-contact-area .maie-box .footer-input {
    flex-basis: auto;
  }
  .footer-compact .footer-bottom .footer-wrapper {
    gap: 6px;
    justify-content: flex-start !important;
    text-align: left;
    padding-right: 70px;
  }
  .footer-compact .footer-bottom .footer-wrapper p,
  .footer-compact .footer-bottom .footer-wrapper ul {
    font-size: 13px;
  }
}

/* Product details page */
.product-thumbs .product-thumb-btn {
  width: 80px;
  height: 80px;
  padding: 0;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.product-thumbs .product-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-thumbs .product-thumb-btn.active,
.product-thumbs .product-thumb-btn:hover {
  border-color: var(--theme2, #EB4438);
}
.product-spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.product-spec-list li {
  padding: 6px 0;
  border-bottom: 1px dashed #e5e7eb;
  color: var(--text, #515459);
}
.product-spec-list li strong {
  color: var(--header, #0B2239);
  min-width: 80px;
  display: inline-block;
}
