/* Product Price Styles */
.product-detail-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.product-detail-price .current-price {
    font-size: 2rem;
    font-weight: 700;
    color: #D4AF37;
}

.product-detail-price .original-price {
    font-size: 1.25rem;
    color: #666;
    text-decoration: line-through;
    font-weight: 400;
}

.product-detail-price .discount-percentage {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Product Specs Enhancement */
.product-specs .spec-item.full-width {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
}

.product-specs .spec-item.full-width .spec-label {
    margin-bottom: 8px;
    font-weight: 600;
}

/* Tab Content Enhancement */
.care-section, .warranty-section, .shipping-section, .return-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #D4AF37;
}

.product-video {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Floating WhatsApp Button */
#whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 20px;
    /* background-color: #25D366; */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* box-shadow: 0 4px 6px rgba(0,0,0,0.3); */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
}

#whatsapp-btn img {
    width: 45px;
    height: 45px;
}

/* WhatsApp Popup */
#whatsapp-popup {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    max-width: 90%;
    height: 500px;
    max-height: 80%;
    background: #e5ddd5 url("https://officeshark.ae/wp-content/uploads/2025/12/whatsapp.jpg") repeat;
    background-size: contain;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
    flex-direction: column;
    transition: 0.4s all ease-in-out;
    overflow: hidden;
    z-index: 1000;
    transform-origin: bottom right;
    background-color: #e5ddd5;
    /* background-image: url(./whatsapp.jpg); */
}

/* Header */
#whatsapp-popup header {
    background-color: #075e54;
    color: white;
    padding: 10px 14px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#whatsapp-popup header span {
    font-size: 16px;
    font-weight: 400;
}

#whatsapp-popup header button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    padding: 3px;
    line-height: 1;
    cursor: pointer;
}

/* Chat Messages Area */
.chat-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Input Area */
.chat-input {
    display: flex;
    padding: 10px;
    background-color: #f0f0f0;
    border-top: 1px solid #ccc;
    gap: 5px;
}

.chat-input input[type="text"] {
    flex: 1;
    padding: 10px 15px;
    border-radius: 25px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 14px;
}

.chat-input button {
    background-color: #075e54;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.chat-input button img {
    width: 22px;
    height: 22px;
    filter: invert(1);
}

#whatsapp-popup.open {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

.hero picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero picture {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    filter: brightness(0.3);
}

.collection-image figure {
    width: 100%;
    height: 100%;
}

.collection-image figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.pagination-info {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.products-count {
    color: #fff;
    font-weight: 500;
}

.products-count #totalCount {
    color: #D4AF37;
    font-weight: 600;
}

.pagination-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    border-color: #D4AF37;
    color: #D4AF37;
    background-color: #fff8f0;
}

.pagination-link.active {
    background-color: #D4AF37;
    border-color: #D4AF37;
    color: white;
}

.pagination-link.prev,
.pagination-link.next {
    padding: 0 16px;
    font-weight: 500;
}

.pagination-ellipsis {
    padding: 0 8px;
    color: #999;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .pagination-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.collection-hero-image figure {
    width: 100%;
    display: block;
    height: 100%;
}

.collection-hero-image figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}