

/* Product Image Hover */

.image-hover-effect {
    position: relative;
    overflow: hidden;
}
.product-hover-image {
    top: 0;
    left: 0;
    opacity: 0; 
    transition: opacity 0.6s ease-in-out;
}

.image-hover-effect:hover .product-hover-image {
    opacity: 1; 
}

.live-circle-icon {
    animation: blink-1p5 1.5s infinite;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@keyframes blink-1p5 {
    0%   { opacity: 1; }   
    50%  { opacity: 0.5; }   
    100% { opacity: 1; }  
}

  /* Respect reduced motion preferences */
  @media (prefers-reduced-motion: reduce) {
    .blink { animation: none; }
  }

.product-details-page .add-to-cart {
  transition: transform 0.3s ease-in-out;
}

.product-details-page .add-to-cart:hover {
  transform: scale(1.02, 1.1);
}

/* Image Gallery Viewer */


.img-zoom {
   cursor:grab;
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left:0; top:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.9);
    text-align: center;
    overflow: auto;
}
.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    top: 50%;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.lightbox-toolbar button {
    font-size: 18px;
    padding: 5px 10px;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    border-radius: 5px;
}
.lightbox-close { font-size: 22px; background: rgba(0,0,0,0.7);}


.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    background: rgb(0 0 0 / 25%);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    z-index: 1100;
    transition: background 0.3s ease;
}
.lightbox-arrow:hover {
    background: rgba(0,0,0,0.8);
}
.lightbox-arrow.prev { left: 20px; }
.lightbox-arrow.next { right: 20px; }

.lightbox-toolbar {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between; /* left + right */
    align-items: center;
    padding: 0 15px;
    z-index: 1100;
}

.toolbar-left {
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.toolbar-right button {
    margin-left: 4px;
    font-size: 18px;
    padding: 5px 10px;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.toolbar-right button:hover {
    background: rgba(0,0,0,0.8);
}


.lightbox-modal img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
   
    max-width: 90% !important;
    max-height: 80% !important;
    margin: 0 !important; 
    transition: transform 0.3s ease, opacity 0.3s ease !important;
}

/* Expand Icon */
.carousel-box {
    position: relative; 
    overflow: visible;  
}

.wd-show-product-gallery-wrap {
    position: absolute;
    bottom: 40px;
    left: 10px;
    z-index: 999; 
}

.wd-show-product-gallery-wrap a {
    display: flex;
    align-items: center;
    padding: 6px ;
    background: rgba(0,0,0,0);
    color: #666666;
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    width: 35px;
    transition: width 0.3s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.wd-show-product-gallery-wrap a .text {
    margin-left: 8px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wd-show-product-gallery-wrap a:hover {
    width: 145px; 
    color: #000;
}

.wd-show-product-gallery-wrap a:hover .text {
    opacity: 1;
}

/* Custom hober effect on btn */
.custom-hov-btn:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
.custom-hov-btn:active {
    transform: translateY(1px);
}

.pb-26px{
    padding-bottom: 1.625rem;
}
.py-19px{
    padding-top: 1.1875rem;
    padding-bottom: 1.1875rem;
}
.py-32px{
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.pt-32px{
    padding-top: 2rem;
}
.pb-32px{
    padding-bottom: 2rem;
}
.mb-32px{
    margin-bottom: 2rem;
}

.my-32px{
    margin-top: 2rem;
    margin-bottom: 2rem;
}
/* Extra small devices (xs) <576px */
@media (max-width: 575.98px) {
    .pb-26px { padding-bottom: 1rem !important; }
    .py-19px { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
    .py-32px { padding-top: 1rem !important; padding-bottom: 1rem !important; }
    .pt-32px { padding-top: 1rem !important; }
    .pb-32px { padding-bottom: 1rem !important; }
    .mb-32px { margin-bottom: 1rem !important; }
    .my-32px { margin-top: 1rem !important; margin-bottom: 1rem !important; }
}

/* Small devices (sm) ≥576px */
@media (min-width: 576px) and (max-width: 767.98px) {
    .pb-26px { padding-bottom: 1.25rem !important; }
    .py-19px { padding-top: 0.875rem !important; padding-bottom: 0.875rem !important; }
    .py-32px { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
    .pt-32px { padding-top: 1.25rem !important; }
    .pb-32px { padding-bottom: 1.25rem !important; }
    .mb-32px { margin-bottom: 1.25rem !important; }
    .my-32px { margin-top: 1.25rem !important; margin-bottom: 1.25rem !important; }
}

/* Medium devices (md) ≥768px */
@media (min-width: 768px) and (max-width: 991.98px) {
    .pb-26px { padding-bottom: 1.5rem !important; }
    .py-19px { padding-top: 1rem !important; padding-bottom: 1rem !important; }
    .py-32px { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
    .pt-32px { padding-top: 1.5rem !important; }
    .pb-32px { padding-bottom: 1.5rem !important; }
    .mb-32px { margin-bottom: 1.5rem !important; }
    .my-32px { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
}

/* Large devices (lg) ≥992px */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .pb-26px { padding-bottom: 1.625rem !important; }
    .py-19px { padding-top: 1.1875rem !important; padding-bottom: 1.1875rem !important; }
    .py-32px { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }
    .pt-32px { padding-top: 1.75rem !important; }
    .pb-32px { padding-bottom: 1.75rem !important; }
    .mb-32px { margin-bottom: 1.75rem !important; }
    .my-32px { margin-top: 1.75rem !important; margin-bottom: 1.75rem !important; }
}

/* Extra large devices (xl) ≥1200px */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .pb-26px { padding-bottom: 1.75rem !important; }
    .py-19px { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
    .py-32px { padding-top: 1.875rem !important; padding-bottom: 1.875rem !important; }
    .pt-32px { padding-top: 1.875rem !important; }
    .pb-32px { padding-bottom: 1.875rem !important; }
    .mb-32px { margin-bottom: 1.875rem !important; }
    .my-32px { margin-top: 1.875rem !important; margin-bottom: 1.875rem !important; }
}

/* Extra extra large devices (xxl) ≥1400px */
@media (min-width: 1400px) {
    .pb-26px { padding-bottom: 1.625rem !important; }
    .py-19px { padding-top: 1.1875rem !important; padding-bottom: 1.1875rem !important; }
    .py-32px { padding-top: 2rem !important; padding-bottom: 2rem !important; } /* max 2rem */
    .pt-32px { padding-top: 2rem !important; }
    .pb-32px { padding-bottom: 2rem !important; }
    .mb-32px { margin-bottom: 2rem !important; }
    .my-32px { margin-top: 2rem !important; margin-bottom: 2rem !important; }
}


/* GENPART SERVICES LTD BRAND LAYER */
:root { --genpart-red: #C62828; --genpart-red-dark: #A51E24; --genpart-navy: #17365D; --genpart-navy-dark: #102944; --genpart-ink: #1F2937; }
.btn-primary, .btn-primary:focus { background-color: var(--genpart-red) !important; border-color: var(--genpart-red) !important; }
.btn-primary:hover { background-color: var(--genpart-red-dark) !important; border-color: var(--genpart-red-dark) !important; }
a:hover, .text-primary { color: var(--genpart-red) !important; }
.badge-primary, .bg-primary { background-color: var(--genpart-red) !important; }
.genpart-hero { position: relative; overflow: hidden; background: linear-gradient(110deg, #102944 0%, #17365D 58%, #254e78 100%); color: #fff; border-radius: 14px; margin: 18px auto 24px; }
.genpart-hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 28px; padding: clamp(24px, 5vw, 58px); max-width: 1320px; margin: 0 auto; }
.genpart-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.08; font-weight: 800; margin: 0 0 16px; }
.genpart-hero p { color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 620px; }
.genpart-hero .genpart-kicker { color: #ffb8b8; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; }
.genpart-hero img { width: 100%; max-height: 330px; object-fit: cover; border-radius: 12px; border: 4px solid rgba(255,255,255,.18); }
.genpart-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.genpart-actions a { display: inline-flex; align-items: center; justify-content: center; padding: 12px 19px; border-radius: 7px; font-weight: 700; text-decoration: none !important; }
.genpart-actions .primary { background: var(--genpart-red); color: #fff !important; }
.genpart-actions .secondary { border: 1px solid rgba(255,255,255,.6); color: #fff !important; }
.genpart-demo-note { margin: 12px auto 18px; padding: 12px 16px; border-left: 4px solid var(--genpart-red); background: #fff5f5; color: #4b2525; border-radius: 6px; font-size: .92rem; }
.genpart-category-strip { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; margin: 18px auto 24px; }
.genpart-category-strip a { border: 1px solid #e5e7eb; border-radius: 9px; padding: 14px; text-align: center; color: var(--genpart-navy) !important; font-weight: 700; background: #fff; text-decoration: none !important; }
.genpart-category-strip a:hover { border-color: var(--genpart-red); box-shadow: 0 6px 20px rgba(16,41,68,.08); }
@media (max-width: 767px) { .genpart-hero-inner { grid-template-columns: 1fr; gap: 18px; padding: 24px 18px; } .genpart-hero img { max-height: 220px; } .genpart-category-strip { grid-template-columns: repeat(2,minmax(0,1fr)); } }
