.main-product{
    position: relative;
}
.main-product .share-icn{
    position: absolute;
    right: auto;
}
.main-product .img-zoom-container{
    position: relative;
    overflow: hidden; /* Ensure the zoom effect stays within bounds */
    display: inline-block;
    height: 500px;
    width: 650px;
    padding: 2px;
    border: 2px solid #214948;
}

.main-product .img-zoom-container #product-img{
    object-fit: cover;
    transition: transform 0.2s ease;
    cursor: crosshair;
}
.thumbnail {
    cursor: pointer;
}
.price {
    font-size: 1.5rem;
    font-weight: bold;
}
.original-price {
    text-decoration: line-through;
    color: #6c757d;
}
.discount {
    color: #dc3545;
}

.star-rating .fa-star {
    color: gold; /* Default outline color */
}

.star-rating .fa-star.filled {
    color: gold; /* Filled stars in gold */
}

.star-rating .fa-star.empty {
    color: #dcdcdc; /* Outline stars in light gray */
}


.gap-2 {
    gap: 0.5rem !important;
}
.btn-outline-secondary:hover {
    background-color: #f8f9fa;
    color: #6c757d;
}
.card-img-top {
    height: 200px;
    object-fit: cover;
}
.card-title {
    height: 1.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.card-text {
    height: 3em;
    overflow: hidden;
}

.samples{
    height: 100px;
    width: 100px;
    margin-bottom: 10px;
}
.samples .sample-box img{
    object-fit: contain;
    height: 100%;
    width: 100%;
}
.samples .sample-box{
    cursor: pointer;
    border: 1px solid #ccc;
}
.samples .sample-box:hover{
    color: rgb(14, 13, 13);
    border: 1px solid #214948;
}
/* Pop Up  */
.share-popup-menus .share-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}
.share-popup-menus .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
.menu-btns .share-btn {
    width: 40px;
    height: 40px;
    margin: 5px;
    padding: 0;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.menu-btns .whatsapp {
    background: #25d366;
}
.menu-btns .facebook {
    background: #3b5998;
}
.menu-btns .twitter {
    background: #1da1f2;
}
.menu-btns .instagram {
    background: linear-gradient(#f9ce34, #ee2a7b, #6228d7);
}
.menu-btns .copy-link {
    background: #6c757d;
}


/* Multiple Image */
.multiple-img{
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;

}

#productTabs .nav-item .nav-link{
    cursor: pointer;
}
#productTabs{
    margin-top: 40px;
}
/* Product Feature View More and View Less */
#product-features {
    max-height: 150px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#view-more, #view-less {
    cursor: pointer;
}

/* Star Rating CSS */
.review-form .star-rating i {
    font-size: 24px;
    color: #ccc; /* Default color for stars */
    cursor: pointer;
}
.review-form .star-rating i.filled {
    color: gold; /* Filled star color */
}

/* Related Product */
.custom-related-product-card {
    cursor: pointer;
}
.custom-related-product-card .card-img-top{
    height: 200px;
    object-fit: cover;
}
.custom-related-product-card .card-body {
    overflow: hidden;       /* Hide overflow for uniform text alignment */
}

/* Customer Review Carousel */
.customer-reviews-carousel .card {
    width: 100%;
    margin: 0 auto;
}
.st-rate i {
    color: #FFD700; /* Customize star color if desired */
}

.wishlist-btn{
    background: #f6243d;
    color: white;
}

.wishlist-btn:hover{
    background: #f43a50;
    color:white;
}
/* Wishlist Button States */

/* Default heart icon with Add to Wishlist */
.wishlist-btn .fa-heart {
    color: white; /* Default empty heart color */
}

/* Check icon when added to the wishlist */
.wishlist-btn .fa-check {
    color: white; /* Green for the check icon */
}



/* Media Query For Product Size and Share Icon Adjustment */
@media (max-width: 576px) {
    .main-product .share-icn{
        top: 0;
        left: 0;
    }
    .main-product .img-zoom-container{
        height: 350px;
        width: 310px;
    }
}

@media (min-width: 768px) and (max-width:992px) {
    .main-product .img-zoom-container{
        height: 600px;
        width: 550px;
    }
}

/* @media (min-width: 992px) {
    .main-product .share-icn{
        top: 0;
        right: 10px;
    }
} */

/* Styles for large screens (min-width: 992px and max-width: 1200px, typical laptop sizes) */
@media (min-width: 992px) and (max-width: 1200px) {
    .main-product .img-zoom-container {
        height: 500px;
        width: 400px;
    }
    .main-product .share-icn{
        top: 0;
        right: 65px;
    }
}

/* Fix spacing between main product image and gallery in mobile view */
@media (max-width: 767px) {
  .main-product {
    margin-bottom: 0 !important; /* Override any existing margin */
    height: auto !important; /* Ensure height is not fixed */
  }
  
  .product-gallery-container {
    margin-top: 0 !important; /* Remove top margin */
    padding-top: 0 !important; /* Remove top padding */
  }
  
  /* Ensure the gallery container has proper height */
  .product-gallery-container .multiple-img {
    height: auto !important;
  }
  
  /* Fix any potential overflow issues */
  .col-lg-6:first-child {
    overflow: hidden !important;
  }
  
  /* Ensure thumbnails are properly sized and aligned */
  .product-gallery-container .thumbnail {
    height: 80px !important;
    object-fit: cover !important;
  }
  
  /* Remove any extra padding from owl carousel */
  .owl-carousel {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  
  /* Force the gallery to stick to the main image */
  .main-product + .product-gallery-container {
    margin-top: -10px !important;
    margin-left: 22px !important;;
  }
}

/* Ensure the main product container doesn't have fixed height that could cause spacing */
.main-product {
  height: auto !important;
}

/* Make sure the gallery container doesn't have unwanted margins */
.product-gallery-container {
  margin-top: 10px;
}

/* Fix for any potential flex layout issues */
@media (max-width: 767px) {
  .row.g-4 > [class*="col-"] {
    padding-bottom: 0 !important;
  }
}
.product-image-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.image-main {
    flex: 0 0 auto;
    position: relative;
    min-width: 0;
}

/* Zoom Modal - Fixed positioned overlay */
#zoom-modal {
    position: fixed;
    top: 54%;
    right: 110px;
    transform: translateY(-50%);
    width: 700px;
    height: 630px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#zoom-modal.active {
    opacity: 1;
}



/* Responsive adjustments */
@media (max-width: 1400px) {
    #zoom-modal {
        width: 600px;
        height: 600px;
        right: 20px;
    }
}

@media (max-width: 991.98px) {
    #zoom-modal {
        display: none !important;
    }
}


    .product-specs-section {
    margin: 50px 0;
    font-family: 'Poppins', sans-serif;
}

.specs-header {
    text-align: center;
    margin-bottom: 30px;
}

.specs-title {
    font-size: 28px;
    font-weight: 600;
    color: #214948;
    margin-bottom: 15px;
}

.specs-underline {
    height: 3px;
    width: 80px;
    background: linear-gradient(to right, #214948, #3a7a78);
    margin: 0 auto 20px;
    border-radius: 3px;
}

.specs-cards-container {
    max-width: 1465px;
    margin: 0 auto;
    display: grid;
    gap: 25px;
    padding: 0 15px;
}

/* Dynamic columns - 2 columns if multiple cards, 1 column if single card */
.specs-cards-container.multiple-cards {
    grid-template-columns: repeat(2, 1fr);
}

.specs-cards-container.single-card {
    grid-template-columns: 1fr;
    max-width: 800px; /* Reduced width for single card */
}

.specs-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.specs-card-header {
    background: #f8f9fa;
    color: #214948;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    text-align: center; /* Center align header */
}

.specs-card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specs-card-body {
    padding: 0;
}

.specs-table {
    width: 100%;
}

.specs-row {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.specs-row:last-child {
    border-bottom: none;
}

.specs-key {
    font-weight: 600; /* Bold key */
    color: #333;
    padding: 12px 20px;
    width: 40%;
    border-right: 1px solid #e0e0e0;
    background-color: #fff;
    display: flex;
    align-items: center;
}

.specs-value {
    padding: 12px 20px;
    width: 60%;
    color: #666;
    display: flex;
    align-items: center;
}

/* Responsive styles */
@media (max-width: 992px) {
    .specs-cards-container.multiple-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .specs-title {
        font-size: 24px;
    }
    
    .specs-cards-container {
        padding: 0 10px;
    }
    
    .specs-card-header h3 {
        font-size: 15px;
    }
    
    .specs-key,
    .specs-value {
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .specs-row {
        flex-direction: column;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .specs-key,
    .specs-value {
        width: 100%;
        border-right: none;
    }
    
    .specs-key {
        border-bottom: 1px solid #e0e0e0;
        background-color: #f8f9fa;
    }
}

    .container-fluid{
 max-width: 1400px;
    }

    /* Custom styles for variant options */
    .variant-option label {
        min-width: 80px;
        text-align: center;
        border: 1px solid #dee2e6;
        padding: 8px 15px;
        cursor: pointer;
        transition: all 0.2s;
        background-color: white;
    }

    .variant-option label.btn-primary {
        background-color: #007bff;
        color: white;
        border-color: #007bff;
    }

    /* Hide the default radio button but keep it accessible */
    .btn-check {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    /* Share popup styles */
    .share-popup-menus .overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }

    .share-popup-menus .share-popup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        padding: 20px;
        border-radius: 8px;
        z-index: 1000;
        display: none;
        text-align: center;
    }

    .share-popup-menus .menu-btns {
        gap: 10px;
    }

    .share-popup-menus .share-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 20px;
        border: none;
    }

    .share-popup-menus .whatsapp {
        background: #25D366;
    }

    .share-popup-menus .facebook {
        background: #3b5998;
    }

    .share-popup-menus .twitter {
        background: #1DA1F2;
    }

    .share-popup-menus .instagram {
        background: #E1306C;
    }

    .share-popup-menus .copy-link {
        background: #6c757d;
    }

    .btn-view{
    color: #fff;
    background-color:#1a3b3a ;
    width: 100%;
    margin: 10px 0px;
}
.btn-view:hover{
    color: #fff;
    background-color:#115653e2;

}

/* Price styling for related products */
.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-price-rexin {
    font-weight: 600;
    color: #214948;
    font-size: 10px;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
}

/* Discount badge styling */
.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #214948;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 1;
}
/* Variant Samples Styling */
    .variant-sample-box {
        
        background: white;
        width: 71px;
        height:105px;
    }
    
    .variant-sample-box:hover {
        border:2px solid #214948 !important;
        transform: translateY(-2px);
    }
    
    .variant-info {
        font-size: 9px;
    }
    
    .variant-color {
        color: #0F1111;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .variant-price {
        margin-top: 3px;
    }
    
    .current-price {
        color: #214948;
        font-weight: bold;
    }
    
    .original-price {
        color: #565959;
        text-decoration: line-through;
        margin-left: 5px;
        font-size: 18px;
    }
    .original-price-es {
        color: #565959;
        text-decoration: line-through;
        margin-left: 5px;
        font-size: 10px;
    }

    .product-pricing {
    font-family: Arial, sans-serif;
}

.discount-badge {
    font-size: 0.85rem;
    font-weight: bold;
}

.price-label {
    font-size: 0.9rem;
}

.current-price {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.original-price-container {
    margin-top: 2px;
}

.savings-text {
    font-weight: 500;
}

@media (max-width: 576px) {
    .current-price {
        font-size: 1.3rem;
    }
}

/* COMPLETE GALLERY REDESIGN - Large Thumbnails in 3-Column Grid */
.product-gallery-container {
    margin-top: 20px;
    padding: 0;
}

.product-gallery-container .owl-carousel {
    padding: 10px 0;
}

.product-gallery-container .owl-stage {
    display: flex;
    align-items: stretch;
}

.product-gallery-container .owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    height: auto;
}

/* LARGE THUMBNAILS - Main Styling */
.product-gallery-container .thumbnail,
.thumbnail-3d, 
.thumbnail-ar {
    height: 180px !important;  /* Much larger height */
    width: 180px !important;   /* Much larger width */
    border-radius: 12px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    object-fit: cover;
    border: none; /* ADD THIS INSTEAD */
    cursor: pointer;
}

.product-gallery-container .thumbnail:hover,
.thumbnail-3d:hover, 
.thumbnail-ar:hover {
   cursor: pointer;

}

/* Active thumbnail state */
.thumbnail.active-thumbnail,
.thumbnail-3d.active-thumbnail,
.thumbnail-ar.active-thumbnail {
    box-shadow: 0 1px 1px rgba(33, 73, 72, 0.4) !important;
    transform: scale(1.02) !important;
}

/* 3D and AR Thumbnails - Larger Design */
.thumbnail-3d, 
.thumbnail-ar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-weight: bold;
    color: white;
    text-align: center;
}

.thumbnail-3d {
    background: linear-gradient(135deg, #214948, #3a7a78);
}

.thumbnail-ar {
    background: linear-gradient(135deg, #6a4c93, #9b59b6);
}

.thumbnail-3d i, 
.thumbnail-ar i {
    font-size: 32px !important;  /* Larger icons */
    margin-bottom: 8px;
    display: block;
}

.thumbnail-3d div div, 
.thumbnail-ar div div {
    font-size: 16px !important;  /* Larger text */
    font-weight: 700;
    line-height: 1.2;
}

/* Enhanced Navigation - Positioned for larger thumbnails */
.product-gallery-container .owl-nav button.owl-prev,
.product-gallery-container .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #214948 !important;
    border-radius: 50% !important;
    color: white !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.product-gallery-container .owl-nav button.owl-prev {
    left: -25px;
}

.product-gallery-container .owl-nav button.owl-next {
    right: -25px;
}

.product-gallery-container .owl-nav button:hover {
    background: #1a3b3a !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Gallery Controls - Enhanced for larger layout */
.gallery-controls {
    margin-bottom: 20px;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-pause-btn {
    background: linear-gradient(135deg, #214948, #2d5f5d);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(33, 73, 72, 0.2);
}

.gallery-pause-btn:hover {
    background: linear-gradient(135deg, #1a3b3a, #214948);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(33, 73, 72, 0.3);
}

.gallery-auto-indicator {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

.gallery-auto-indicator.paused {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

/* Responsive Design for Large Thumbnails */
@media (max-width: 1200px) {
    .product-gallery-container .thumbnail,
    .thumbnail-3d, 
    .thumbnail-ar {
        height: 160px !important;
        width: 160px !important;
    }
    
    .thumbnail-3d i, 
    .thumbnail-ar i {
        font-size: 28px !important;
    }
    
    .thumbnail-3d div div, 
    .thumbnail-ar div div {
        font-size: 14px !important;
    }
}

@media (max-width: 992px) {
    .product-gallery-container .thumbnail,
    .thumbnail-3d, 
    .thumbnail-ar {
        height: 140px !important;
        width: 140px !important;
    }
    
    .product-gallery-container .owl-nav button.owl-prev {
        left: -15px;
    }
    
    .product-gallery-container .owl-nav button.owl-next {
        right: -15px;
    }
}

@media (max-width: 768px) {
    .product-gallery-container .thumbnail,
    .thumbnail-3d, 
    .thumbnail-ar {
        height: 120px !important;
        width: 120px !important;
    }
    
    .thumbnail-3d i, 
    .thumbnail-ar i {
        font-size: 24px !important;
    }
    
    .thumbnail-3d div div, 
    .thumbnail-ar div div {
        font-size: 12px !important;
    }
    
    .product-gallery-container .owl-nav button.owl-prev,
    .product-gallery-container .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
        font-size: 16px !important;
    }
}

@media (max-width: 576px) {
    .product-gallery-container .thumbnail,
    .thumbnail-3d, 
    .thumbnail-ar {
        height: 100px !important;
        width: 100px !important;
    }
    
    .gallery-controls {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .gallery-pause-btn,
    .gallery-auto-indicator {
        padding: 8px 16px;
        font-size: 12px;
    }
}
/* Desktop-only sticky positioning */
@media (min-width: 992px) {
    .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .col-lg-6:first-child {
        position: sticky !important;
        top: 20px !important;
        height: auto !important;
        align-self: flex-start !important;
    }
    
    /* Ensure the sticky column doesn't grow beyond viewport */
    .col-lg-6:first-child .main-product,
    .col-lg-6:first-child .product-gallery-container {
        max-height: calc(100vh - 40px - 120px) !important;
    }
}

/* Ensure mobile view remains normal */
@media (max-width: 991.98px) {
    .col-lg-6:first-child {
        position: static !important;
        height: auto !important;
    }
}

.product-benefits-section {
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    margin: 20px 0;
}

.benefits-carousel .owl-stage {
    display: flex;
    align-items: center;
}

.benefit-item {
    padding: 8px 5px;
    transition: transform 0.2s;
}

.benefit-item:hover {
    transform: translateY(-3px);
}

.benefit-icon {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.benefit-icon img {
    max-height: 40px;
    max-width: 40px;
}

.benefit-text {
    font-size: 12px;
    color: #333;
    line-height: 1.2;
    font-weight: 500;
}

/* Custom navigation arrows */
.benefits-carousel .owl-nav button.owl-prev,
.benefits-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.benefits-carousel .owl-nav button.owl-prev {
    left: -12px;
}

.benefits-carousel .owl-nav button.owl-next {
    right: -12px;
}

.benefits-carousel .owl-nav button span {
    font-size: 18px;
    line-height: 0;
    position: relative;
    top: -1px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .benefit-icon {
        height: 35px;
    }
    
    .benefit-icon img {
        max-height: 35px;
        max-width: 35px;
    }
    
    .benefit-text {
        font-size: 11px;
    }
}

.product-specs-section {
    margin: 50px 0;
    font-family: 'Poppins', sans-serif;
}

.specs-header {
    text-align: center;
    margin-bottom: 30px;
}

.specs-title {
    font-size: 28px;
    font-weight: 600;
    color: #214948;
    margin-bottom: 15px;
}

.specs-underline {
    height: 3px;
    width: 80px;
    background: linear-gradient(to right, #214948, #3a7a78);
    margin: 0 auto 20px;
    border-radius: 3px;
}

.specs-description {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    line-height: 1.6;
}

.specs-tabs {
    max-width: 1465px;
    margin: 0 auto;
    box-shadow: 0 3px 15px rgb(0 0 0 / 78%);
    border-radius: 8px;
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    position: relative;
}

.tab-btn {
    flex: 1;
    padding: 18px 10px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-btn:hover {
    color: #214948;
}

.tab-btn.active {
    color: #214948;
    font-weight: 600;
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: #214948;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn.active .tab-indicator {
    transform: scaleX(1);
}

.tabs-content {
    background-color: #fff;
    position: relative;
}

.tab-pane {
    display: none;
    padding: 25px;
    animation: fadeEffect 0.5s ease forwards;
}

.tab-pane.active {
    display: block;
}

.tab-pane-inner {
    opacity: 0;
    transform: translateY(10px);
    animation: slideUpFade 0.5s ease 0.1s forwards;
}

.tab-pane-inner p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.tab-pane-inner ul, .tab-pane-inner ol {
    padding-left: 20px;
}

.tab-pane-inner li {
    margin-bottom: 10px;
}

@keyframes fadeEffect {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpFade {
    from { 
        opacity: 0;
        transform: translateY(10px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ripple effect */
.tab-btn {
    overflow: hidden;
}

.tab-btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(33, 73, 72, 0.3);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.tab-btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .specs-title {
        font-size: 24px;
    }
    
    .specs-description {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .tab-btn {
        padding: 15px 5px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .tabs-nav {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        min-width: 33.33%;
    }
    
    .tab-pane {
        padding: 15px;
    }
}
/* Enhanced Product Showcase Styling */
.product-showcase {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.section-title {
    color: #214948;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-underline {
    height: 3px;
    width: 80px;
    background: linear-gradient(to right, #214948, #3a7a78);
    margin: 0 auto 15px;
    border-radius: 3px;
}

.section-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

.enhanced-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.enhanced-carousel .carousel-inner {
    border-radius: 8px;
    overflow: hidden;
}

/* Feature overlay styling */
.feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(33, 73, 72, 0), rgba(33, 73, 72, 0.85));
    padding: 30px 20px 20px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.feature-content {
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 0.5s 0.3s forwards;
    opacity: 0;
}

.feature-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.feature-description {
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Slide animations */
.carousel-item {
    transition: transform 0.8s ease, opacity 0.5s ease-out;
}

.carousel-item.active {
    animation: zoomInSlide 1s forwards;
}

@keyframes zoomInSlide {
    0% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom indicators */
.custom-indicators {
    bottom: -40px;
}

.custom-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.custom-indicators li.active {
    background-color: #214948;
    transform: scale(1.2);
}

/* Custom controls */
.custom-control {
    width: 50px;
    height: 50px;
    background-color: rgba(33, 73, 72, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.custom-control:hover {
    background-color: rgba(33, 73, 72, 0.9);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.enhanced-carousel:hover .custom-control {
    opacity: 0.8;
}

/* Feature highlights styling */
.feature-highlights {
    margin-top: 60px;
}

.highlight-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.highlight-icon {
    font-size: 36px;
    color: #214948;
    margin-bottom: 15px;
}

.highlight-card h4 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.highlight-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
    
    .feature-title {
        font-size: 20px;
    }
    
    .feature-description {
        font-size: 14px;
    }
    
    .highlight-card {
        padding: 20px 15px;
    }
    
    .highlight-icon {
        font-size: 30px;
    }
    
    .highlight-card h4 {
        font-size: 16px;
    }
    
    .highlight-card p {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .custom-control {
        width: 40px;
        height: 40px;
    }
    
    .feature-overlay {
        padding: 20px 15px 15px;
    }
    
    .feature-content {
        max-width: 100%;
    }
}
/* Enhanced Customer Reviews Section Styling */
.customer-reviews-section {
    padding: 10px 0;
}

.section-title {
    color: #214948;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-underline {
    height: 3px;
    width: 80px;
    background: linear-gradient(to right, #214948, #3a7a78);
    margin: 0 auto 15px;
    border-radius: 3px;
}

.section-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Rating Summary Card */
.rating-summary-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s ease;
}

.rating-summary-card:hover {
    transform: translateY(-5px);
}

.overall-rating {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.rating-number {
    font-size: 48px;
    font-weight: 700;
    color: #214948;
    line-height: 1;
    margin-bottom: 10px;
}

.rating-stars {
    margin-bottom: 10px;
}

.rating-stars .fa-star {
    font-size: 24px;
    margin: 0 2px;
}

.rating-stars .fa-star.filled {
    color: #FFD700;
}

.rating-stars .fa-star.empty {
    color: #ddd;
}

.rating-count {
    color: #666;
    font-size: 14px;
}

/* Rating Breakdown */
.rating-breakdown {
    padding-top: 10px;
}

.breakdown-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.rating-bar-container {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.rating-label {
    width: 60px;
    font-size: 14px;
    color: #555;
}

.rating-bar {
    flex-grow: 1;
    height: 8px;
    background-color: #eee;
    border-radius: 4px;
    margin: 0 10px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(to right, #214948, #3a7a78);
    border-radius: 4px;
    transition: width 1.5s ease-in-out;
}

.rating-count-small {
    width: 30px;
    font-size: 14px;
    color: #555;
    text-align: right;
}

/* Write Review Button */
.btn-write-review {
    background-color: #214948;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-write-review:hover {
    background-color: #1a3b3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Reviews Container */
.reviews-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Reviews Filter */
.reviews-filter {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.btn-filter, .btn-sort {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-filter:hover, .btn-sort:hover {
    background-color: #eee;
}

/* Review Card */
.review-card {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    animation: fadeIn 0.5s ease-in-out;
}

.review-card:first-child {
    padding-top: 0;
}

.review-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-avatar {
    margin-right: 15px;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    background-color: #214948;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}

.reviewer-info {
    flex-grow: 1;
}

.reviewer-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.review-date {
    font-size: 13px;
    color: #777;
}

.review-rating {
    text-align: right;
}

.stars-container {
    margin-bottom: 5px;
}

.stars-container .fa-star {
    font-size: 16px;
    margin: 0 1px;
}

.stars-container .fa-star.filled {
    color: #FFD700;
}

.stars-container .fa-star.empty {
    color: #ddd;
}

.rating-value {
    font-size: 14px;
    font-weight: 600;
    color: #214948;
}

/* Review Content */
.review-content {
    margin-bottom: 15px;
}

.review-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.review-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Review Images */
.review-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.review-image-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.review-image-thumbnail:hover {
    transform: scale(1.05);
}

.review-image-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Review Footer */
.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-helpful {
    background-color: #f5f5f5;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-helpful:hover {
    background-color: #eee;
}

.btn-helpful.active {
    background-color: #214948;
    color: #fff;
    border-color: #214948;
}

.verified-purchase {
    font-size: 13px;
    color: #4CAF50;
    font-weight: 500;
}

/* Load More Button */
.btn-load-more {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background-color: #eee;
}

.btn-load-more.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-load-more.loading i {
    animation: spin 1s linear infinite;
}

/* No Reviews */
.no-reviews {
    text-align: center;
    padding: 30px 0;
}

.no-reviews-icon {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 15px;
}

.no-reviews h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.no-reviews p {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

/* Review Image Modal */
.review-image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.review-modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .rating-summary-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
    
    .rating-number {
        font-size: 40px;
    }
    
    .rating-stars .fa-star {
        font-size: 20px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .reviewer-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .review-rating {
        text-align: left;
        margin-top: 10px;
    }
    
    .reviews-filter {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .reviews-container {
        padding: 15px;
    }
    
    .review-title {
        font-size: 16px;
    }
    
    .review-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .verified-purchase {
        margin-left: 0;
    }
}
    /* Enhanced Related Products Section Styling with Fixed Spacing */
.related-products-section {
  padding: 5px 0;
  position: relative;
  overflow: hidden;
}

/* Container for related products - Fix left/right spacing */
.related-products-container {
  width: 100%;
  padding: 0;
}

/* Owl Carousel Fixes for Related Products */
.related-products-carousel .owl-stage {
  display: flex;
  align-items: stretch;
  padding: 10px 0;
}

.related-products-carousel .owl-item {
  display: flex;
  height: auto;
  padding: 0 5px !important; /* Reduced side padding */
}

/* Grid layout for single product */
.related-products-grid {
  display: flex;
  justify-content: center;
  gap: 10px; /* Reduced gap between items */
}

/* Product Card Styling */
.product-card-shop {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid #214948;
  width: 100%;
  max-width: 300px; /* Adjusted width */
  margin: 0 !important; /* Remove default margins */
}

/* Carousel Navigation Repositioning */
.related-products-carousel .owl-nav button.owl-prev,
.related-products-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  color: #214948 !important;
  font-size: 20px !important;
  transition: all 0.3s ease;
  margin: 0 !important; /* Remove default margins */
}

.related-products-carousel .owl-nav button.owl-prev {
  left: -5px; /* Repositioned closer to content */
}

.related-products-carousel .owl-nav button.owl-next {
  right: -5px; /* Repositioned closer to content */
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .related-products-carousel .owl-nav button.owl-prev {
    left: 0px;
  }

  .related-products-carousel .owl-nav button.owl-next {
    right: 0px;
  }

  .product-card-shop {
    max-width: 100%; /* Full width on smaller screens */
  }
}

/* Update owl carousel settings for related products */
@media (max-width: 767px) {
  .related-products-carousel .owl-item {
    padding: 0 3px !important; /* Even smaller padding on mobile */
  }
}
/* Enhanced Related Products Section Styling */
.related-products-section {
    padding: 5px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    color: #214948;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.title-underline {
    height: 3px;
    width: 80px;
    background: linear-gradient(to right, #214948, #3a7a78);
    margin: 0 auto 15px;
    border-radius: 3px;
}

.section-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Container for related products */
.related-products-container {
    width: 100%;
}

/* Grid layout for single product */
.related-products-grid {
    display: flex;
    justify-content: center;
}

/* Product Card Styling */
.product-card-shop {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin: 10px;
    position: relative;
    border: 1px solid #214948;
    width: 100%;
    max-width: 325px; /* Increased width */
}

.product-card-shop:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Product Image Container */
.product-image-shop {
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background-color: #f9f9f9;
}

.product-image-shop img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card-shop:hover .product-image-shop img {
    transform: scale(1.05);
}

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff4d4d;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Product Actions */
.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.action-btn {
    background-color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.action-btn i {
    color: #777;
    transition: color 0.3s ease;
    font-size: 18px; /* Increased size */
}

.action-btn:hover i {
    color: #e74c3c;
}

.action-btn i.fas {
    color: #e74c3c;
}

/* Product Info */
.product-info {
    padding: 15px;
}

.product-style {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title:hover {
    color: #214948;
    text-decoration: none;
}

/* Price Section */
.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.current-price {
    font-size: 20px; /* Increased size */
    font-weight: 700;
    color: #214948;
}

.original-price {
    font-size: 16px; /* Increased size */
    color: #999;
    text-decoration: line-through;
}

/* Add to Cart Button */
.add-to-cart-btn {
    width: 100%;
    padding: 12px; /* Increased padding */
    background-color: #214948;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px; /* Increased size */
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-to-cart-btn:hover {
    background-color: #1a3b3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.add-to-cart-btn.out-of-stock {
    background-color: #ccc;
    cursor: not-allowed;
}

/* No Products Found */
.no-products-found {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

.no-products-icon {
    font-size: 40px;
    color: #ccc;
    margin-bottom: 10px;
}

.no-products-found h4 {
    color: #666;
    font-size: 18px;
}

/* Carousel Navigation */
.related-products-carousel .owl-nav button.owl-prev,
.related-products-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    color: #214948 !important;
    font-size: 20px !important;
    transition: all 0.3s ease;
}

.related-products-carousel .owl-nav button.owl-prev:hover,
.related-products-carousel .owl-nav button.owl-next:hover {
    background-color: #214948 !important;
    color: #fff !important;
}

.related-products-carousel .owl-nav button.owl-prev {
    left: -20px;
}

.related-products-carousel .owl-nav button.owl-next {
    right: -20px;
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .related-products-carousel .owl-nav button.owl-prev {
        left: 0;
    }
    
    .related-products-carousel .owl-nav button.owl-next {
        right: 0;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 24px;
    }
    
    .product-title {
        font-size: 15px;
    }
}

/* Button Animations */
.addToCartBtn.adding {
    position: relative;
    pointer-events: none;
    overflow: hidden;
}

.addToCartBtn.adding:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: loading 1.5s infinite;
}

.addToCartBtn.added {
    background-color: #28a745;
}

.addToCartBtn.added:after {
    content: '✓';
    margin-left: 5px;
}

.toggle-wishlist.processing {
    animation: pulse 0.5s;
}

.toggle-wishlist.clicked i {
    animation: heartBeat 0.3s;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* Product Card Hover Effect */
.product-card-shop:hover {
    border-color: #214948;
}

/* Product Card Shadow Animation */
.product-card-shop {
    animation-fill-mode: both;
}

.product-card-shop:hover {
    animation: cardPulse 2s infinite;
}

@keyframes cardPulse {
    0% {
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }
    50% {
        box-shadow: 0 8px 25px rgba(33, 73, 72, 0.2);
    }
    100% {
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }
}

    /* Product Specifications Card Styling */
/* Product Specifications Styling */
.product-specs-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.product-specs-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #214948, #3a7a78);
}

.specs-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.specs-title {
    font-size: 28px;
    font-weight: 700;
    color: #214948;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.specs-divider {
    height: 3px;
    width: 80px;
    background: linear-gradient(to right, #214948, #3a7a78);
    margin: 0 auto;
    border-radius: 3px;
}

/* Main Specifications Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(278px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    background: #f9f9f9;
    transition: all 0.3s ease;
    border-left: 4px solid #214948;
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.spec-icon {
    width: 50px;
    height: 50px;
    background: #214948;
    border-radius: 50%;
    display: flex;
    align-items: center;
    width: 50px;
    height: 50px;
    background: #214948;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.spec-icon i {
    color: white;
    font-size: 20px;
}

.spec-details {
    flex-grow: 1;
}

.spec-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.spec-value {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.style-name {
    color: #214948;
    font-size: 18px;
    font-weight: 700;
}

.model-no {
    color: #214948;
    font-weight: 700;
    letter-spacing: 1px;
}

.stock-status .in-stock {
    color: #28a745;
}

.stock-status .low-stock {
    color: #ffc107;
}

.stock-status .out-of-stock {
    color: #dc3545;
}

/* Description Section */
.product-description {
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid #eee;
}

.description-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #214948;
    color: white;
}

.description-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.btn-toggle-description {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.btn-toggle-description.active {
    transform: rotate(180deg);
}

.description-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.description-content.active {
    padding: 20px;
    max-height: 1000px;
}

.description-text {
    line-height: 1.8;
    color: #333;
}

/* Additional Information Tabs */
.additional-info {
    margin-bottom: 30px;
}

.info-tabs {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.tabs-header {
    display: flex;
    overflow-x: auto;
    background: #f5f5f5;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    padding: 15px 20px;
    background: transparent;
    border: none;
    border-right: 1px solid #eee;
    cursor: pointer;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    background: #e9e9e9;
}

.tab-btn.active {
    background: #214948;
    color: white;
}

.tabs-content {
    position: relative;
}

.tab-content {
    display: none;
    padding: 20px;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

/* Key Features Section */
.key-features {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #eee;
}

.features-title {
    font-size: 18px;
    font-weight: 600;
    color: #214948;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(33, 73, 72, 0.05);
    border-radius: 5px;
}

.feature-icon {
    margin-right: 10px;
    color: #214948;
}

.feature-text {
    font-size: 14px;
    color: #333;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .product-specs-container {
        padding: 20px;
    }
    
    .specs-title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-header {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex-grow: 1;
        text-align: center;
        border-bottom: 1px solid #eee;
    }
}

/* Enhanced Product Header Styling */
.product-header {
    margin-bottom: 1.5rem;
    position: relative;
}

.category-badge {
    margin-bottom: 0.75rem;
}

.category-link {
    display: inline-block;
    background: linear-gradient(135deg, #214948, #3a7a78);
    color: white !important;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(33, 73, 72, 0.2);
}

.category-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 73, 72, 0.3);
}

.product-title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    position: relative;
    padding-bottom: 0.75rem;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #214948, #3a7a78);
    border-radius: 3px;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.stars-container {
    display: flex;
    align-items: center;
}

.stars-container .fa-star {
    font-size: 1rem;
    margin-right: 0.2rem;
}

.stars-container .text-warning {
    color: #FFD700 !important;
}

.rating-value {
    margin-left: 0.5rem;
    font-weight: 600;
    color: #555;
}

/* Enhanced Product Highlights Styling */
.product-highlights-container {
    background: linear-gradient(to right, #f9f9f9, #f5f5f5);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #214948;
    position: relative;
    overflow: hidden;
}

.product-highlights-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: rgba(33, 73, 72, 0.05);
    border-radius: 50%;
}

.highlights-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #214948;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.highlights-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 20px;
    background: #214948;
    margin-right: 10px;
    border-radius: 4px;
}

.highlights-content {
    display: flex;
    margin-bottom: 1.2rem;
}

.highlights-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #214948;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 4px 10px rgba(33, 73, 72, 0.2);
}

.highlights-icon i {
    color: white;
    font-size: 1.5rem;
}

.highlights-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.highlights-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(33, 73, 72, 0.2);
}

.feature-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 0.6rem 1rem;
    border-radius: 30px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    margin-right: 0.5rem;
    color: #214948;
}

.feature-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-title {
        font-size: 1.8rem;
    }
    
    .highlights-features {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .feature-item {
        width: 100%;
    }
}

/* Animation Classes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-header, .product-highlights-container {
    animation: fadeIn 0.5s ease-out;
}

.feature-item:nth-child(1) { animation: fadeIn 0.5s ease-out 0.1s both; }
.feature-item:nth-child(2) { animation: fadeIn 0.5s ease-out 0.2s both; }
.feature-item:nth-child(3) { animation: fadeIn 0.5s ease-out 0.3s both; }


/* Stock Status */
.stock-status-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    animation: fadeInRight 0.5s ease-out;
}

.stock-badge i {
    margin-right: 6px;
}

.stock-badge.in-stock {
    background-color: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.stock-badge.low-stock {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.stock-badge.out-of-stock {
    background-color: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}


/* Fix for the underlines in related product cards */
.related-products-section .product-card-shop .product-info h3.product-title {
    border-bottom: none;
    padding-bottom: 0;
}

.related-products-section .product-card-shop .product-info h3.product-title::after {
    display: none;
}

.related-products-section .product-card-shop .product-info .product-title::after {
    content: none;
}

/* Remove any horizontal lines that might be added by other styles */
.related-products-section .product-card-shop hr,
.related-products-section .product-card-shop .product-info hr {
    display: none;
}

/* Enhanced Related Product Card Styling */
.product-card-shop {
    display: flex;
    flex-direction: column;
    height: 98%;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-shop .product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 15px;
}

.product-card-shop .product-title {
    font-size: 18px;
    font-weight: 600;
    color: #214948;
    margin-bottom: 8px;
    line-height: 1.3;
    border-bottom: none;
    padding-bottom: 0;
}

.product-card-shop .product-title::after {
    display: none;
}

.product-card-shop .product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
    flex-grow: 1;
}

.product-card-shop .stock-indicator {
    margin-bottom: 10px;
}

.product-card-shop .in-stock {
    color: #28a745;
    font-weight: 500;
    font-size: 14px;
    display: inline-block;
    padding: 2px 8px;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 4px;
}

.product-card-shop .out-of-stock {
    color: #dc3545;
    font-weight: 500;
    font-size: 14px;
    display: inline-block;
    padding: 2px 8px;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 4px;
}

.product-card-shop .product-price {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-card-shop .current-price {
    font-size: 20px;
    font-weight: 700;
    color: #214948;
}

.product-card-shop .original-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.product-card-shop .add-to-cart-btn {
    margin-top: auto;
}

/* Make sure the product style doesn't show in the card */
.product-card-shop .product-style {
    display: none;
}

/* Ensure consistent height for product cards */
.related-products-carousel .owl-stage {
    display: flex;
}

.related-products-carousel .owl-item {
    display: flex;
    flex: 1 0 auto;
}

.related-products-carousel .product-card-shop {
    width: 100%;
}

/* Enhanced Product Pricing Section Styling */
.product-pricing-container {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.6s ease-out;
}

.product-pricing-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #214948, #3a7a78);
}

/* Stock Status */
.stock-status-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    animation: fadeInRight 0.5s ease-out;
}

.stock-badge i {
    margin-right: 6px;
}

.stock-badge.in-stock {
    background-color: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.stock-badge.low-stock {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.stock-badge.out-of-stock {
    background-color: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Pricing Details */
.pricing-details {
    margin-bottom: 25px;
    position: relative;
    animation: fadeInLeft 0.5s ease-out 0.1s both;
}

.price-header {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
}

.price-label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    margin-right: 10px;
}

.price-value {
    font-size: 32px;
    font-weight: 700;
    color: #214948;
    letter-spacing: -0.5px;
}

.price-amount {
    position: relative;
}

.original-price {
    margin-bottom: 10px;
}

.mrp-label {
    font-size: 16px;
    font-weight: 600;
    color: #555;
    margin-right: 8px;
}

.mrp-value {
    font-size: 16px;
    color: #777;
    text-decoration: line-through;
}

.savings-info {
    display: flex;
    align-items: center;
    margin-top: 12px;
}

.savings-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ff5252, #ff1744);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 15px;
    box-shadow: 0 3px 8px rgba(255, 23, 68, 0.2);
    animation: pulse 2s infinite;
}

.savings-badge i {
    margin-right: 5px;
}

.savings-text {
    font-size: 15px;
    color: #28a745;
    font-weight: 500;
}

.savings-amount {
    font-weight: 600;
}

/* Product Options */
.product-options {
    margin-bottom: 25px;
    animation: fadeInRight 0.5s ease-out 0.2s both;
}

.option-group {
    margin-bottom: 20px;
}

.option-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-option {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.size-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.option-text {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-weight: 500;
    color: #495057;
    transition: all 0.3s ease;
}

.size-option:hover .option-text {
    border-color: #214948;
    background-color: rgba(33, 73, 72, 0.05);
}

.size-option input:checked + .option-text {
    background-color: #214948;
    color: white;
    border-color: #214948;
    box-shadow: 0 3px 10px rgba(33, 73, 72, 0.2);
    transform: translateY(-2px);
}


/* Action Buttons */
.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease-out 0.3s both;
}

.btn-add-to-cart, .btn-wishlist {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-add-to-cart {
    background-color: #214948;
    color: white;
    flex: 2;
    box-shadow: 0 4px 15px rgba(33, 73, 72, 0.2);
}

.btn-add-to-cart:hover {
    background-color: #1a3b3a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(33, 73, 72, 0.3);
}

.btn-add-to-cart:active {
    transform: translateY(-1px);
}

.btn-add-to-cart.out-of-stock {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-hover-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.6s ease-out, height 0.6s ease-out, opacity 0.6s ease-out;
}

.btn-add-to-cart:hover .btn-hover-effect {
    width: 300px;
    height: 300px;
    opacity: 1;
}

.btn-add-to-cart i, .btn-wishlist i {
    margin-right: 8px;
    font-size: 18px;
}

.btn-wishlist {
    background-color: #f8f9fa;
    color: #dc3545;
    border: 2px solid #dc3545;
    flex: 1;
}

.btn-wishlist:not(.active) {
    color: #6c757d;
    border-color: #dee2e6;
}

.btn-wishlist:hover {
    background-color: rgba(220, 53, 69, 0.1);
    transform: translateY(-3px);
}

.btn-wishlist.active:hover {
    background-color: rgba(220, 53, 69, 0.15);
}

.btn-wishlist:active {
    transform: translateY(-1px);
}

/* Delivery Information */
.delivery-info {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: rgba(33, 73, 72, 0.05);
    border-radius: 8px;
    margin-top: 20px;
    animation: fadeInUp 0.5s ease-out 0.4s both;
}

.delivery-icon {
    width: 40px;
    height: 40px;
    background-color: #214948;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    flex-shrink: 0;
}

.delivery-text {
    flex-grow: 1;
}

.delivery-text p {
    margin: 0;
    font-weight: 500;
    color: #333;
}

.delivery-estimate {
    font-size: 14px;
    color: #6c757d;
    margin-top: 3px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 23, 68, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 23, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 23, 68, 0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-pricing-container {
        padding: 20px;
    }

    .price-value {
        font-size: 28px;
    }

    .product-actions {
        flex-direction: column;
    }

    .btn-add-to-cart, .btn-wishlist {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .price-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .price-label {
        margin-bottom: 5px;
    }

    .savings-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .savings-badge {
        margin-bottom: 8px;
    }

    .option-buttons {
        flex-direction: column;
    }

    .size-option {
        width: 100%;
    }

    .option-text {
        display: block;
        text-align: center;
    }
}

/* Animation Classes */
.clicked {
    animation: buttonClick 0.3s ease-out;
}

@keyframes buttonClick {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

.ripple-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(33, 73, 72, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 0.5;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.heart-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(220, 53, 69, 0.8);
    border-radius: 50%;
    animation: heartPulse 1s ease-out;
    pointer-events: none;
}

@keyframes heartPulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(10);
        opacity: 0;
    }
}

/* Hover animations for buttons */
.btn-add-to-cart, .btn-wishlist {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.3s ease, 
                background-color 0.3s ease;
}

.size-option {
    position: relative;
    overflow: hidden;
}

/* Price highlight animation */
.price-amount {
    position: relative;
}

.price-amount::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(33, 73, 72, 0.2);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    animation: priceHighlight 1.5s ease-out 1.5s forwards;
}

@keyframes priceHighlight {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}
@media (min-width: 1200px) {
.product-header .product-title{
     font-size:1.7rem !important;
}
}

.ar-button {
        background-color: #214948;
        color: white;
        border: none;
        padding: 10px 15px;
        border-radius: 5px;
        cursor: pointer;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .ar-button:hover {
        background-color: #1a3b3a;
        transform: translateY(-2px);
    }
    
    model-viewer {
        --poster-color: transparent;
        background-color: #f8f9fa;
        border-radius: 8px;
    }

    /* Model Viewer Enhancements */
model-viewer {
    --poster-color: transparent;
    background-color: #f8f9fa;
    border-radius: 8px;
    --ar-scale: fixed;
    --ar-placement: floor;
}

/* Hide AR button since we're using camera icon */
.ar-button-custom {
    display: none !important;
}

/* Progress Bar Styling */
.progress-bar {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.update-bar {
    height: 100%;
    background: linear-gradient(90deg, #214948, #3a7a78);
    width: 0%;
    transition: width 0.3s ease;
}

/* Error Message Styling */
.error-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 82, 82, 0.9);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 300px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .camera-icon-overlay {
        width: 50px;
        height: 50px;
        top: 10px;
        right: 10px;
    }
    
    .camera-icon-overlay i {
        font-size: 20px;
    }
    
    .camera-tooltip {
        font-size: 10px;
        bottom: -30px;
    }
}
.error-content i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.error-content p {
    margin: 0;
    font-size: 14px;
}

/* Model Viewer Container */
.model-viewer-container {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .camera-icon-overlay {
        width: 45px;
        height: 45px;
        top: 10px;
        right: 10px;
    }
    
    .camera-icon-overlay i {
        font-size: 18px;
    }
    
    .ar-button-custom {
        padding: 10px 20px;
        font-size: 12px;
        bottom: 15px;
    }
    
    .progress-bar {
        width: 150px;
        bottom: 5px;
    }
}

/* UPDATED CAMERA ICON OVERLAY - DIRECT AR ACTIVATION */
.camera-icon-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #214948, #214948);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(106, 76, 147, 0.3);
    animation: pulse-ar 2s infinite;
}

.camera-icon-overlay:hover {
    background: linear-gradient(135deg, #214948, #214948);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(76, 147, 101, 0.4);
    animation: none;
}

.camera-icon-overlay i {
    color: white;
    font-size: 19px;
}

/* Camera tooltip */
.camera-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.camera-icon-overlay:hover .camera-tooltip {
    opacity: 1;
}

/* Pulse animation for camera icon */
@keyframes pulse-ar {
    0% {
        box-shadow: 0 4px 12px rgba(106, 76, 147, 0.3);
    }
    50% {
        box-shadow: 0 4px 12px rgba(106, 76, 147, 0.6), 0 0 0 10px rgba(106, 76, 147, 0.1);
    }
    100% {
        box-shadow: 0 4px 12px rgba(106, 76, 147, 0.3);
    }
}

/* 360° Symbol Overlay - Integrated with existing design */
.degree-360-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #214948, #2d5f5d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(33, 73, 72, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.degree-360-overlay:hover {
    background: linear-gradient(135deg, #1a3b3a, #214948);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(33, 73, 72, 0.4);
}

.degree-360-overlay .degree-text {
    text-align: center;
    line-height: 1;
}

.degree-360-overlay .degree-number {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: -2px;
}

.degree-360-overlay .degree-symbol {
    font-size: 12px;
    font-weight: 600;
}

/* Auto-slide controls - Enhanced design */
.gallery-controls {
    position: relative;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.gallery-auto-indicator {
    background: linear-gradient(135deg, #214948, #2d5f5d);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(33, 73, 72, 0.2);
    transition: all 0.3s ease;
}

.gallery-auto-indicator.paused {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.gallery-pause-btn {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

.gallery-pause-btn:hover {
    background: linear-gradient(135deg, #5a6268, #495057);
    transform: translateY(-1px);
}

.gallery-pause-btn.playing {
    background: linear-gradient(135deg, #28a745, #218838);
}

/* Enhanced thumbnail styling */


/* Enhanced 3D and AR thumbnails */
.thumbnail-3d.active-thumbnail,
.thumbnail-ar.active-thumbnail {
    border-color: #ffc107 !important;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.6) !important;
    transform: scale(1.05) !important;
}

/* Smooth transitions for main image */
#product-img {
    transition: opacity 0.4s ease, transform 0.3s ease;
}

/* Enhanced owl carousel navigation */
.multiple-img .owl-nav button {
    background: linear-gradient(135deg, #214948, #2d5f5d) !important;
    color: white !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 3px 10px rgba(33, 73, 72, 0.3) !important;
    transition: all 0.3s ease !important;
}

.multiple-img .owl-nav button.owl-prev {
    left: -20px !important;
}

.multiple-img .owl-nav button.owl-next {
    right: -20px !important;
}

.multiple-img .owl-nav button:hover {
    background: linear-gradient(135deg, #1a3b3a, #214948) !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 5px 15px rgba(33, 73, 72, 0.4) !important;
}

/* Mobile Responsive Design - Perfect Integration */
@media (max-width: 576px) {
    .degree-360-overlay {
        width: 45px;
        height: 45px;
        bottom: 10px;
        right: 10px;
        border-width: 2px;
    }
    
    .degree-360-overlay .degree-number {
        font-size: 14px;
    }
    
    .degree-360-overlay .degree-symbol {
        font-size: 10px;
    }
    
    .gallery-controls {
        padding: 0 5px;
        margin-bottom: 5px;
    }
    
    .gallery-auto-indicator,
    .gallery-pause-btn {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .multiple-img .owl-nav button {
        width: 30px !important;
        height: 30px !important;
        font-size: 12px !important;
    }
    
    .multiple-img .owl-nav button.owl-prev {
        left: -10px !important;
    }
    
    .multiple-img .owl-nav button.owl-next {
        right: -10px !important;
    }
    
    /* Fix gallery spacing on mobile */
    .product-gallery-container {
        margin-top: 5px !important;
        margin-left: 2px !important;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .degree-360-overlay {
        width: 55px;
        height: 55px;
    }
    
    .degree-360-overlay .degree-number {
        font-size: 16px;
    }
    
    .degree-360-overlay .degree-symbol {
        font-size: 11px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .degree-360-overlay {
        width: 50px;
        height: 50px;
        bottom: 12px;
        right: 12px;
    }
    
    .degree-360-overlay .degree-number {
        font-size: 15px;
    }
}

/* Animation enhancements */
@keyframes thumbnailPulse {
    0% {
        box-shadow: 0 0 5px rgba(33, 73, 72, 0.6);
    }
    50% {
        box-shadow: 0 0 20px rgba(33, 73, 72, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(33, 73, 72, 0.6);
    }
}

.active-thumbnail {
    animation: thumbnailPulse 2s infinite;
}

/* Loading state for image transitions */
.image-loading {
    position: relative;
}

.image-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #214948;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced model viewer integration */
.model-viewer-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(33, 73, 72, 0.1);
}

/* Perfect mobile gallery alignment */
@media (max-width: 767px) {
    .main-product + .product-gallery-container {
        margin-top: 0px !important;
        margin-left: 2px !important;
    }
    
    .product-gallery-container .multiple-img {
        padding: 5px 0;
    }
    
    .product-gallery-container .item {
        padding: 0 3px;
    }
    
    .thumbnail,
    .thumbnail-3d,
    .thumbnail-ar {
        height: 70px !important;
        width: 70px !important;
        border-radius: 8px !important;
    }
}

/* Ultra-wide screen support */
@media (min-width: 1400px) {
    .degree-360-overlay {
        width: 70px;
        height: 70px;
    }
    
    .degree-360-overlay .degree-number {
        font-size: 20px;
    }
    
    .degree-360-overlay .degree-symbol {
        font-size: 14px;
    }
}

    /* Enhanced Mobile Image Slider with better transitions */
.mobile-image-slider {
    margin-top: 15px;
    padding: 0 15px;
}

.slider-dots-container {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 25px;
    margin: 10px 0;
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(33, 73, 72, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot.active {
    background-color: #214948;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(33, 73, 72, 0.4);
}

.dot:hover {
    background-color: rgba(33, 73, 72, 0.6);
    transform: scale(1.1);
}

/* Special styling for 3D dot */
.dot-3d {
    background: linear-gradient(135deg, #214948, #3a7a78) !important;
    position: relative;
}

.dot-3d::after {
    content: '3D';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    font-weight: bold;
    color: #214948;
    white-space: nowrap;
}

.dot-3d.active::after {
    color: #214948;
}

/* Enhanced main product image transitions */
.main-product {
    position: relative;
    touch-action: pan-y;
    user-select: none;
}

.main-product #product-img {
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: opacity, transform;
}

.img-zoom-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
}

/* Enhanced swipe indicator */
.swipe-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 15;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.swipe-indicator.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* Hide desktop gallery on mobile */
@media (max-width: 991.98px) {
    .desktop-gallery {
        display: none !important;
    }
    
    /* Make main image more responsive to touch */
    .main-product {
        cursor: grab;
    }
    
    .main-product:active {
        cursor: grabbing;
    }
}

/* Show desktop gallery only on desktop */
@media (min-width: 992px) {
    .mobile-image-slider {
        display: none !important;
    }
}

/* Loading state for smooth transitions */
.main-product.loading #product-img {
    opacity: 0.5;
    transform: scale(0.98);
}

/* Pulse animation for active dot */
@keyframes dotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(33, 73, 72, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(33, 73, 72, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(33, 73, 72, 0);
    }
}

.dot.active {
    animation: dotPulse 2s infinite;
}

.img-zoom-container {
    cursor: crosshair;
    position: relative;
    overflow: hidden;
}

#product-img {
    transition: none !important; /* Prevent any scaling on main image */
    transform: none !important;
}


.zoom-modal.active {
    opacity: 1;
    pointer-events: all;
}

.zoom-modal-img {
    position: absolute;
    max-width: 80%;
    max-height: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center center;
    transition: transform 0.1s ease-out;
    object-fit: contain;
}

/* Enhanced 360° Symbol Overlay */
.degree-360-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(33, 73, 72, 0.9);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.degree-360-overlay:hover {
    background: rgba(33, 73, 72, 1);
    transform: scale(1.1);
}

.degree-text {
    text-align: center;
    line-height: 1;
}

.degree-number {
    font-size: 14px;
    font-weight: bold;
}

.degree-symbol {
    font-size: 12px;
}

/* AR Camera Icon */
.camera-icon-overlay {
    position: absolute;
    background: rgba(33, 73, 72, 0.9);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.camera-icon-overlay:hover {
    background: rgba(33, 73, 72, 1);
    transform: scale(1.1);
}

.camera-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.camera-icon-overlay:hover .camera-tooltip {
    opacity: 1;
}

#zoom-modal {
    position: fixed;
    top: 54%;
    right: 110px;
    transform: translateY(-50%);
    width: 700px;
    height: 630px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
#zoom-modal.active {
    display: block !important;
    opacity: 1 !important;
}



