/* Overall product details block */
.jdp-product-details {
    margin-top: 1.5rem;
    background: #faf7f2;
    border: 1px solid #ece7df;
    border-radius: 8px;
    padding: 1rem 1.25rem 1.25rem;
}

.jdp-product-details-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.9rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #e4ded3; /* thin line under heading */
    color: #3f362a;
}

/* Two-column layout */
.jdp-gold-diamond-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
}

/* Columns */
.jdp-gold-diamond-col {
    flex: 1 1 220px;
}

/* Vertical line between columns on desktop */
.jdp-gold-diamond-col + .jdp-gold-diamond-col {
    border-left: 1px solid #e4ded3;
    padding-left: 1.75rem;
}

/* On small screens, stack without vertical border */
@media (max-width: 768px) {
    .jdp-gold-diamond-wrap {
        gap: 1rem;
    }

    .jdp-gold-diamond-col + .jdp-gold-diamond-col {
        border-left: none;
        padding-left: 0;
        margin-top: 0.75rem;
        border-top: 1px solid #e4ded3;
        padding-top: 0.75rem;
    }
}


.jdp-gold-diamond-heading {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #4a3d2f;
}

.jdp-gold-diamond-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jdp-gold-diamond-list li {
    margin: 0;
    padding: 0.25rem 0;
    font-size: 0.85rem;
}

.jdp-gold-diamond-list li:last-child {
    border-bottom: none;
}

.jdp-gold-diamond-value {
    font-weight: 500;
    color: #2f2720;
}


/* Heading icons */
.jdp-icon {
    display: inline-flex;
    width: 1.2em;
    height: 1.2em;
    align-items: center;
    justify-content: center;
}

/* Glowing gold bar icon */
.jdp-icon-gold {
    background: url("../img/gold-bar.svg") no-repeat center/contain;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.9))
            drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.jdp-icon-gold::before {
    content: "";
}

/* Diamond icon – you can use an SVG too */
.jdp-icon-diamond {
    width: 16px;
    height: 13px;
    background: url("../img/pdp-delivery-tah-sprite.png?v2.0")
                -245px -204px / 280px no-repeat;
    display: inline-block;
}


/* If you don't have SVGs yet, you can temporarily use emojis:
.jdp-icon-gold {
    background: none;
    filter: none;
}
.jdp-icon-gold::before {
    content: "🪙";
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.9), 0 0 8px rgba(255, 215, 0, 0.6);
}
.jdp-icon-diamond {
    background: none;
}
.jdp-icon-diamond::before {
    content: "💎";
}
*/

/* Small info "i" icon with hover tooltip */
/* Small info "i" icon with hover tooltip */
/* Info icon from sprite */
.jdp-info {
    background: url("../img/pdp-delivery-tah-sprite.png")
                -267px -204px / 280px no-repeat;
    width: 12px;
    height: 12px;
    display: inline-block;
    margin-left: 0.3rem;
    position: relative; /* needed for tooltip */
    cursor: default;
    opacity: 0.85;
    vertical-align: middle;
}

.jdp-info:hover {
    opacity: 1;
}

.jdp-info::after {
    content: attr(data-label);
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 20;
}

.jdp-info::before {
    content: "";
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px 4px 0 4px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.jdp-info:hover::after,
.jdp-info:hover::before {
    opacity: 1;
}

/* Small tooltip arrow */
.jdp-info::before {
    content: "";
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px 4px 0 4px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.jdp-info:hover::after,
.jdp-info:hover::before {
    opacity: 1;
}


/*==========*/
/* Thumbnails row -> horizontal scroll strip */
.flexy-pills[data-type="thumbs"] {
    position: relative;
    margin-top: 0.75rem;
}

.flexy-pills[data-type="thumbs"] > ol {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.flexy-pills[data-type="thumbs"] > ol > li {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

/* Optional: make thumb images a bit consistent */
.flexy-pills[data-type="thumbs"] img {
    display: block;
    border-radius: 4px;
}

/* Hide scrollbar on WebKit (optional) */
.flexy-pills[data-type="thumbs"] > ol::-webkit-scrollbar {
    height: 4px;
}
.flexy-pills[data-type="thumbs"] > ol::-webkit-scrollbar-track {
    background: transparent;
}
.flexy-pills[data-type="thumbs"] > ol::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 999px;
}

/* Nav arrows for thumbs strip */
.jdp-thumb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    padding: 0;
}

.jdp-thumb-prev {
    left: -3px;
}

.jdp-thumb-next {
    right: -5px;
}

.jdp-thumb-nav:hover {
    background: #fff;
}


/* Support box under product summary */
.jdp-support-box {
    margin-top: 1.5rem;
    background: #f8f6f2;
    border: 1px solid #e5ded3;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
}

.jdp-support-title {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #3f3429;
}

.jdp-support-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jdp-support-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.35rem 0;
    border-top: 1px solid #ece4d9;
}

.jdp-support-item:first-child {
    border-top: none;
}

.jdp-support-text {
    line-height: 1.4;
}

.jdp-support-label {
    font-weight: 500;
    margin-right: 0.25rem;
    color: #2f2720;
}

.jdp-support-note {
    display: block;
    font-size: 0.8rem;
    color: #8b7c69;
}

.jdp-support-box a {
    color: #1a73e8;
    text-decoration: none;
}

.jdp-support-box a:hover {
    text-decoration: underline;
}

/* Simple icons (emoji-based) */
.jdp-support-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}

.jdp-support-icon-phone::before {
    content: "📞";
}

.jdp-support-icon-email::before {
    content: "✉️";
}

.jdp-support-icon-wa::before {
    content: "💬";
}

.jdp-stock-info {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: #4b3f32;
}


/* Responsive tweaks */
@media (max-width: 768px) {
    .jdp-support-box {
        padding: 0.8rem 0.9rem;
    }
}


/* On small screens, pull arrows inside a bit */
@media (max-width: 768px) {
    .jdp-thumb-prev {
        left: 2px;
    }
    .jdp-thumb-next {
        right: 2px;
    }
}

