﻿.jwlCardDiv{
    margin-bottom:15px;
}
/* CARD */
.jwlCard {
    background: white;
    border-radius: 1rem;
    /*overflow: hidden;*/
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform .3s;
}

.jwlCard:hover {
    transform: scale(1.03);
}

/* HEADER LABEL */
.jwlCard-header {
    color: var(--bg-main); 
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem;
}

/* IMAGE WRAPPER */
.jwlCard-image-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
}

.jwlCard-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(0, 0, 0, .125);
    aspect-ratio: 1;
    object-fit: cover;
}

.jwlCardbadge {
    position: absolute;
    top: 6px;
    right: 0px;
    background: #1950414f;
    color: #5a5a5a;
    font-weight: 600;
    padding: 1px 8px;
    border-radius: 8px 0px 0px 8px;
    font-size: 12px;
}


.badge-toggle {
   /* display: inline-block;
    overflow: hidden;
    height: auto;
    min-height: 22px;*/
}

.badge-toggle span {
    position: absolute;
    opacity: 0;
    animation: toggleBadge 4s infinite;
    transition: opacity 0.3s ease;
}

.badge-toggle span:nth-child(1) {
    animation-delay: 0s;
}

.badge-toggle span:nth-child(2) {
    animation-delay: 2s;
}

@keyframes toggleBadge {
    0%, 45% {
        opacity: 1;
    }

    55%, 100% {
        opacity: 0;
    }
}




/* BODY */
/*.jwlCard-body {
    padding: 7px 1px 7px;
    flex: 1;
    display: flex;
    flex-direction: column;
}*/

.jwlCard-body {
    padding: 7px 1px 7px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.jwlCard-title {
    font-size: 16px;
    /*height: 140px;*/
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
    line-height: 1.3;
    text-transform: capitalize;
}

/*.jwlCard-subinfo {
    font-size: 14px;
    color: #5a5a5a;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    margin-bottom: 5px;
    line-height: 1.4;
}*/

.jwlCard-subinfo {
    font-size: 14px;
    color: #5a5a5a;
    padding-bottom: 5px;
    margin-top: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    margin-bottom: 5px;
    line-height: 1.4;
}


.gold-color-circle {
    display: inline-block;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    border: 1px solid #ccc;
}

.jwlCard-style-gold {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jwlCard-details-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.jwlCard-details-row .jwlCard_totalamount {
    font-size: 18px;
    color: #111827;
}

.jwlCard-details-left {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: #5a5a5a;
}

.jwlCard-details-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.jwlCard-checkbox {
    position: absolute;
    top: 6px;
    left: 10px;
    width: unset;
}

.jwlCard-actions {
    position: absolute;
    bottom: -100px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    flex-direction: row;
    gap: 10px;
    transition: bottom 0.3s ease, opacity 0.3s ease;
    opacity: 0.8 !important;
    z-index: 2;
    background: white;
    max-width: 100%;
    padding: 7px;
    width: 99%;
    justify-content: center;
}

.jwlCard:hover .jwlCard-actions {
    bottom: 0;
    opacity: 1;
}

.jwlCard-icon-btn {
    background-color: transparent;
    border: 1px solid var(--bg-main);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s, color 0.2s;
    color: var(--bg-main);
}

.jwlCard-icon-btn i {
    font-size: 13px;
    transition: color 0.2s;
}

.jwlCard-icon-btn:hover {
    transform: scale(1.1);
    background-color: var(--bg-main);
    color: white; 
}

.active-btn {
    background-color: var(--bg-main);
    color: white;
}


/*.tooltip-text {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 6px;
    background-color: black;
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 0px 5px;
    font-size: 11px;
    font-weight: 300;
    border-radius: 0.5rem;
    white-space: nowrap;
    border: 1px solid rgba(250, 204, 21, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 50;
}*/

/*.jwlCard-icon-btn:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}*/

.dropdown-wrapper {
    width: 100%; /* or 100% if inside another full-height container */
}

.dropdown-wrapper .checkbox-dropdown-list {
    height: auto !important;
}

.OccasionLabel {
    display: flex !important;
    justify-content: space-between;
}

.Occasiondropdown #Occasion_select li {
    display: flex;
}

.sidebar_widget .checkbox-dropdown {
    width: 100%;
}

.Occasiondropdown {
    width: 100%;
    border: 1px solid #d4d5d9;
}

.jwlCardSkeleton{
    height:200px;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
}

.shimmer {
    background: linear-gradient(90deg, #e0e0e0 25%, #f6f6f6 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/*.quick-connect .qc-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: transparent; 
    padding: 10px 15px;
    border-radius: 50px;
    position: relative;
    overflow: visible; 
    text-decoration: none;
    z-index: 1;
}

.quick-connect .qc-icon .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e1e1e1;
    background: #fff;
    color: #262626;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    position: relative;
    overflow: hidden;
    transition: color 0.5s, border-color 0.5s;
    z-index: 3;
}

.quick-connect .qc-icon .label {
    color: #262626;
    font-weight: 500;
    white-space: nowrap;
    user-select: none;
    z-index: 3;
    transition: none;
}

.quick-connect .qc-icon .icon::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: top 0.5s;
    z-index: 0;
}

.quick-connect .qc-icon:hover .icon::before {
    top: 0;
}

.icon i:hover {
    color: #ffffff;
}

.quick-connect .qc-icon:hover .icon {
    transform: rotateY(360deg);
}

.quick-connect .col-4:nth-child(1) .qc-icon .icon::before {
    background: #3b5999;
}

.quick-connect .col-4:nth-child(2) .qc-icon .icon::before {
    background: #55acee;
}

.quick-connect .col-4:nth-child(3) .qc-icon .icon::before {
    background: #25D366;
}*/

.quick-connect .qc-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    padding: 10px 15px;
    border-radius: 50px;
    position: relative;
    overflow: visible;
    text-decoration: none;
    z-index: 1;
}

.quick-connect .qc-icon .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e1e1e1;
    background: #fff;
    color: #262626;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    position: relative;
    overflow: hidden;
    transition: color 0.5s, border-color 0.5s;
    z-index: 3;
}

.quick-connect .qc-icon .icon i {
    color: #262626;
    transition: transform 0.5s;
    z-index: 3;
    position: relative;
    font-size: 20px;
    text-align: center;
}

/* flip only the icon */
.quick-connect .qc-icon:hover .icon i {
    color: #ffffff;
    transform: rotateY(360deg);
}

.quick-connect .qc-icon .icon::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: top 0.5s ease;
    z-index: 0;
}

/* slide background up on hover */
.quick-connect .qc-icon:hover .icon::before {
    top: 0;
}

    /* Label */
.quick-connect .qc-icon .label {
    color: #262626;
    font-weight: 500;
    white-space: nowrap;
    user-select: none;
    z-index: 3;
    transition: none;
}

/* Individual Icon Fill Backgrounds */
.quick-connect .col-2:nth-child(1) .qc-icon .icon::before {
    background: #3b5999;
}

.quick-connect .col-2:nth-child(2) .qc-icon .icon::before {
    background: #55acee;
}

.quick-connect .col-2:nth-child(3) .qc-icon .icon::before {
    background: #25D366;
}

.requestcatalog_wrapper {
    margin: 25px 0px 30px;
}

.requestcatalog_header {
    margin-bottom: 20px;
}

.requestcatalog_header h3 {
    color: var(--bg-main);
    margin: 0px;
}

.requestcatalog_ptag{
    font-size: 15px;
    margin:0;
}

.accordion-button {
    background-color: #fff;
    font-weight: 500;
    border-radius: 0.375rem !important;
    transition: all 0.3s ease;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #ccc;
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #487c6e; 
}

.btn-dark {
    background-color: #487c6e;
    border-color: #487c6e;
}

.requestcatalog_accordion_btn {
    background-color: #487c6e;
    color: #ffffff;
}

.specificationHeading{
    font-size: 20px;
    margin-bottom: 20px;
}

#requestcatalog_upload::-webkit-file-upload-button {
    background-color: var(--bg-main) !important;
    border: 1px solid var(--bg-main) !important;
    color: #fff !important;
    padding: 5px 10px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease-in-out !important;
    margin-top: 4px;
    cursor: pointer;
}

#requestcatalog_upload::-webkit-file-upload-button:hover {
    background: #578269 !important;
    box-shadow: none !important;
}

.accordion-button {
    position: relative; /* needed for absolute positioning */
}

/* Hide default arrow */
.accordion-button::after {
    display: none;
}

/* Custom plus/minus symbol */
.accordion-button::before {
    content: '+';
    font-size: 20px;
    font-weight: bold;
    color: var(--bg-main);
    position: absolute;
    right: 1rem; /* distance from right edge */
    top: 50%;
    transform: translateY(-50%);
    transition: content 0.2s ease;
}

/* When accordion is open, show minus */
.accordion-button:not(.collapsed)::before {
    content: '–';
    color: white;
}


@media only screen and (min-width: 320px) and (max-width: 768px) {
    .jwlCard-title {
        font-size: 11px;
        height: 20px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    /*.jwlCard-title:hover {*/
        /*height: 110px;*/
        /*height: auto;
        overflow: visible;
        white-space: normal;
        background: #ffffff;
        z-index: 2;
        margin-bottom: 10px;
    }*/
    .jwlCard-subinfo {
        font-size: 10px;
    }
    .jwlCard-subinfo-right {
        flex-direction: column;
    }
    .jwlCard-details-row .jwlCard_totalamount {
        font-size: 11px;
    }
    .gold-color-circle {
        width: 15px;
        height: 15px;
    }
}

.product_carousel_wrapper {
    position: relative;
    padding: 0 50px;
}

/* Product Card Styles */
.product-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-thumb {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
}

.product-thumb img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.05);
}

.product-content {
    padding: 15px;
}

.product-tags {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.product-tags span {
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    color: #666;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #d4af37;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: #d4af37;
    margin: 10px 0;
}

.product-actions {
    border-top: 1px solid #eee;
    padding-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.product-actions a {
    color: #666;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    padding: 5px 8px;
    border-radius: 5px;
}

.product-actions a:hover {
    color: #d4af37;
    background: #f8f9fa;
}

.add-to-cart {
    background: #d4af37 !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 15px;
}

.add-to-cart:hover {
    background: #b8941f !important;
    color: white !important;
}

/* Owl Carousel Custom Styles */
.best-seller-carousel.owl-carousel,
.new-arrival-carousel.owl-carousel {
    position: relative;
}

.owl-carousel .owl-stage-outer {
    padding: 20px 0;
    margin: -20px 0;
}

.owl-carousel .owl-item {
    transition: transform 0.3s ease;
}

.owl-carousel .owl-item.active.center .product-card {
    transform: scale(1.02);
}

/* Owl Carousel Navigation */
.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.owl-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff !important;
    color: #333 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    pointer-events: all;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px !important;
}

.owl-carousel .owl-nav button:hover {
    background: #d4af37 !important;
    color: #fff !important;
    transform: scale(1.1);
}

.owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    left: -50px;
}

.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    right: -50px;
}

.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.owl-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px;
    background: #ccc;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dot.active span,
.owl-carousel .owl-dot:hover span {
    background: #d4af37;
    transform: scale(1.2);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .card-img-top {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .card-img-top {
        height: 180px;
    }
}


/* Responsive Design */
@media (max-width: 1200px) {
    .product_carousel_wrapper {
        padding: 0 40px;
    }

    .owl-carousel .owl-nav button.owl-prev {
        left: -40px;
    }

    .owl-carousel .owl-nav button.owl-next {
        right: -40px;
    }
}

@media (max-width: 768px) {
    .product_carousel_wrapper {
        padding: 0 30px;
    }

    .owl-carousel .owl-nav {
        display: none;
    }

    .product-thumb {
        height: 150px;
        padding: 15px;
    }

    .product-content {
        padding: 10px;
    }
    .jwlCardbadge {
        padding: 0px 2px;
        font-size: 9px;
    }
    .jwlCard-icon-btn i {
        font-size: 10px;
    }
    .jwlCard-icon-btn {
        width: 22px;
        height: 22px;
    }
    .jwlCard-actions {
        gap: 5px;
    }
}

@media (max-width: 576px) {
    .product_carousel_wrapper {
        padding: 0 20px;
    }

    .product-card {
        margin: 5px;
    }
}


.jwlCard {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.jwlCard-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.jwlCard-details-row {
    margin-top: auto;
}


@media (max-width: 576px) {
    .jwlCardDiv {
        padding: 0.35rem !important; 
        margin: 0 !important; 
    }

    .jwlCard {
        padding: 0.5rem !important; 
        height: 100%;
    }

    .jwlCard-image-wrap {
        padding: 0 !important;
    }

    .jwlCard-image-wrap img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }

    .jwlCard-title {
        font-size: 12px !important;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .jwlCard-subinfo{
        margin: 0;
    }

    .widget_jewellery {
        display: block !important;
    }

    .occasion-cloud,
    .tag-cloud,
    .sort-cloud {
        display: none;
    }

    .mobile-filter-toggle {
        display: block;
        background: #0b443b;
        color: #fff;
        width: 100%;
        padding: 12px;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {

    .jwlCard-title {
        position: relative;
        overflow: hidden;
        white-space: nowrap;
        font-size: 12px !important;
    }

    .jwlCard-title span {
        display: inline-block;
        padding-left: 100%;
        animation: smoothMarquee 20s linear infinite;
    }

    @keyframes smoothMarquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-100%);
        }
    }
}

@media (max-width: 768px) {
    .Prod_Category_dropdown {
        display: flex;
        justify-content: flex-start;
        overflow-x: scroll;
    }

    .Prod_Category_dropdown li {
        margin-left: 10px;
    }

    .jewelry_searchResult_left .sidebar_widget {
        position: static !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .checkbox-dropdown-list {
        position: absolute;
        z-index: 1;
    }

    .widget_list {
        padding-bottom: 0px;
    }

    .widget_jewellery {
        display: block !important;
    }

    .occasion-cloud,
    .tag-cloud,
    .sort-cloud {
        display: none;
    }

    .mobile-filter-toggle {
        display: block;
        background: #0b443b;
        color: #fff;
        width: 100%;
        padding: 12px;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        margin-bottom: 15px;
    }

    .jwlCardSkeleton {
        height:110px;
    }
}
