/* Product Details Page Styles */

.social-share-buttons ul {
    list-style: none;
}

#stickyRow {
    position: relative;
}

/* Sticky classes for the left column */
.sticky-left {
    position: fixed;
    top: 0;
    z-index: 100;
}

/* When the left column should be positioned at the bottom of right column */
.align-bottom {
    position: absolute;
    z-index: 100;
}

/* Class for the right column when left is sticky */
.sticky-right {
    margin-left: 58.333333%;
    width: 41.666667%;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .sticky-left,
    .align-bottom,
    .sticky-right {
        position: static !important;
        width: 100% !important;
        margin-left: 0 !important;
        top: auto !important;
    }
}

.description-container,
.requirements-container {
    position: relative;
    margin-top: 8px;
}

.description-text,
.requirements-text {
    overflow: hidden;
    line-height: 1.5;
}

.description-text.collapsed,
.requirements-text.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.read-more-btn {
    color: #3b82f6;
    cursor: pointer;
    font-weight: 500;
    margin-top: 4px;
    display: inline-block;
}

.read-more-btn:hover {
    text-decoration: underline;
}

/* Share Modal Styles */
.share-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.share-modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.share-modal-header h4 {
    margin: 0;
    color: #333;
}

.close {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

.social-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.social-share-buttons ul {
    display: flex;
    gap: 10px;
    padding: 0px;
}

.social-share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.2s ease;
    min-width: 50px;
}

.social-share-buttons a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Social Media Button Colors */
.social-share-buttons a[href*="facebook"] {
    background-color: #1877f2;
}

.social-share-buttons a[href*="twitter"] {
    background-color: #1da1f2;
}

.social-share-buttons a[href*="linkedin"] {
    background-color: #0077b5;
}

.social-share-buttons a[href*="telegram"] {
    background-color: #0088cc;
}

.social-share-buttons a[href*="wa"] {
    background-color: #25d366;
}

.social-share-buttons a[href*="reddit"] {
    background-color: #ff4500;
}

.copy-link-section {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.copy-link-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#shareUrl {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #f8f9fa;
    font-size: 14px;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.copy-btn:hover {
    background-color: #0056b3;
}

.copy-btn img {
    width: 16px;
    height: 16px;
}

.copy-btn.copied {
    color: #d42b65 !important;
}

/* Mobile swipe gallery styles */
#mobileImageContainer {
    overflow: hidden;
    user-select: none;
}

.main-images {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.main-images.swipe-transition {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-images.fade-transition {
    transition: opacity 0.3s ease-in-out;
}

.indicator-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 2px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator-dot.active {
    background-color: white;
}

#prevBtn, #nextBtn {
    opacity: 0.7;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

#prevBtn:hover, #nextBtn:hover {
    opacity: 1;
}

/* Hide arrows when there's only one image */
.single-image #prevBtn,
.single-image #nextBtn {
    display: none;
}

/* Thumbnail scroll animation */
.thumbnail-container {
    scroll-behavior: smooth;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0px;
    border: none !important;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    padding: 0 16px;
    color: #666;
    font-size: 14px;
}

.google-signup-btn-new {
    background-color: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    color: #3c4043;
    cursor: pointer;
    font-size: 14px;
    height: 48px;
    padding: 0 16px;
    transition: all 0.2s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
}

.google-icon {
    width: 20px;
    height: 20px;
}

.google-signup-btn-new:hover {
    background-color: #f8f9fa;
    border-color: #c8ccd1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    color: #3c4043;
}

.review-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 16px 24px;
    max-width: 718px;
    margin-top: 32px;
    border: 1px solid #e9ecef;
}

.review-card-main {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 16px 24px;
}

.products-image {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    object-fit: cover;
}

.products-name {
    color: #101B30;
    margin-bottom: 2px;
}

.author-name {
    color: #707683;
    margin-bottom: 0;
}

.review-text {
    color: #101B30;
    margin: 12px 24px 12px 0px;
}

.view-reviews-link {
    color: #D42B65;
    text-decoration: none;
}

.view-reviews-link:hover {
    color: #D42B65;
    text-decoration: none;
}

.thumbs-up {
    color: #D42B65;
    font-size: 20px;
}

.thumbs-up:hover {
    color: #D42B65;
    cursor: pointer;
}

.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.reviews-customer-images-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.reviews-customer-image {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.reviews-customer-images-container::-webkit-scrollbar {
    height: 4px;
}

.reviews-customer-images-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.reviews-customer-images-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.reviews-customer-images-container::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Responsive */
@media (max-width: 768px) {
    .social-share-buttons {
        justify-content: stretch;
        flex-direction: column;
    }

    .social-share-buttons a {
        min-width: auto;
        flex: 1;
    }
}

