/* ============================================
   DEDICATED PRODUCT PAGE STYLES
   Premium E-commerce Product Page Design
   ============================================ */

/* --- Breadcrumb Navigation --- */
.breadcrumb-nav {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 0;
    border-bottom: 1px solid #dee2e6;
    margin-top: 130px;
    /* Increased Offset for fixed header */
    transition: transform 0.3s ease;
    /* For sticky animation */
    z-index: 900;
    /* Below header (999) */
}

/* Initial breadcrumb placement to avoid being covered by fixed header */
@media (max-width: 768px) {
    .breadcrumb-nav {
        margin-top: 80px;
        padding: 10px 0;
    }
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #0056b3;
}

.breadcrumb-item:not(:last-child)::after {
    content: "/";
    color: #adb5bd;
    margin-left: 8px;
}

.breadcrumb-item.active {
    color: #2c3e50;
    font-weight: 600;
}

/* --- Main Product Detail Section --- */
.product-detail-section {
    padding: 60px 0;
    background: #ffffff;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* --- Product Gallery --- */
.product-gallery {
    position: sticky;
    top: 100px;
}

.gallery-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-new {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    color: white;
}

.badge-stock {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.badge-preorder {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.badge-outofstock {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.main-image-container {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.main-product-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    transition: transform 0.5s ease;
    cursor: zoom-in;
}

.main-image-container:hover .main-product-image {
    transform: scale(1.05);
}

/* Gallery Navigation Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: none;
    /* Hidden on desktop by default */
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #2c3e50;
    z-index: 10;
    transition: all 0.2s ease;
}

.gallery-nav:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

/* Mobile Gallery Footer (Counter + Like) */
.mobile-gallery-footer {
    display: none;
    /* Hidden on desktop */
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-top: 10px;
}

.image-counter {
    background: rgba(44, 62, 80, 0.85);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.gallery-like-btn {
    width: 44px;
    height: 44px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.gallery-like-btn i {
    font-size: 1.4rem;
    color: #0056b3;
}

.gallery-like-btn:hover {
    transform: scale(1.1);
}

.gallery-like-btn.active i {
    font-weight: 900;
    color: #0056b3;
}

.zoom-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #2c3e50;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.zoom-btn:hover {
    background: #0056b3;
    color: white;
    transform: scale(1.1);
}

.thumbnail-strip {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    background: #f8f9fa;
    padding: 5px;
    transition: all 0.3s ease;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #0056b3;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.2);
}

/* --- Product Info --- */
.product-info {
    padding: 20px 0;
}

.product-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.brand-logo-small {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-name {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 500;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a252f;
    line-height: 1.3;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.meta-item {
    font-size: 0.9rem;
    color: #6c757d;
}

.meta-item i {
    margin-right: 6px;
    color: #0056b3;
}

.product-short-description {
    margin-bottom: 25px;
}

.product-short-description p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a5568;
}

/* --- Key Features --- */
.key-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: #0056b3;
    box-shadow: 0 5px 20px rgba(0, 86, 179, 0.1);
    transform: translateY(-3px);
}

.feature-item i {
    font-size: 1.5rem;
    color: #0056b3;
    margin-bottom: 8px;
}

.feature-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c3e50;
}

/* --- Price Section --- */
.price-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 4px solid #0056b3;
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}

.price-label {
    font-size: 1rem;
    color: #6c757d;
}

.price-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0056b3;
}

.price-note {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

.price-note i {
    margin-right: 5px;
}

/* --- Contact CTA Section (Replaces Price) --- */
.contact-cta-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    border-radius: 16px;
    padding: 20px 25px;
    margin-bottom: 25px;
    border-left: 4px solid #0056b3;
}

.cta-message {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
}

.cta-message i {
    color: #0056b3;
    font-size: 1.2rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border-color: transparent;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

/* --- Product Actions --- */
.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9fa;
}

/* Hidden state for sticky footer interaction */
.product-actions.actions-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

/* Fixed state for breadcrumb when scrolling */
.breadcrumb-nav.breadcrumb-sticky {
    position: fixed;
    top: 80px;
    /* Matches mobile header height (15+50+15) */
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.breadcrumb-nav.breadcrumb-hidden {
    transform: translateY(-100px);
    opacity: 0;
    pointer-events: none;
}

/* Mobile Sticky Bottom Bar (Optional - if you want it sticky on mobile) */
@media (max-width: 768px) {
    .product-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: white;
        padding: 15px;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
        margin: 0;
        z-index: 999;
        justify-content: space-between;
    }

    /* Add padding to MAIN container so content isn't hidden behind bar */
    .dedicated-product-page {
        padding-bottom: 80px;
    }

    /* Position Global Scroll to Top Button above the bar */
    #scrollToTopBtn {
        bottom: 90px !important;
        /* 80px bar + 10px gap */
        display: flex !important;
        /* Ensure it's visible */
        z-index: 1000;
        /* Above bar */
    }
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.share-btn {
    padding: 10px 14px;
    background: transparent;
    color: #0056b3;
    border: none;
}

.scroll-up-btn {
    display: none;
    /* Hidden by default (desktop) */
    padding: 10px 14px;
    background: transparent;
    color: #2c3e50;
    border: 1px solid #dee2e6;
}

@media (max-width: 768px) {
    .scroll-up-btn {
        display: inline-flex;
        /* Show on mobile */
    }

    /* Adjust buttons for mobile bar */
    .order-btn {
        flex: 2;
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .cart-btn {
        display: inline-flex;
        /* Show on mobile */
        flex: 1;
        padding: 12px 10px;
        font-size: 0.85rem;
        min-width: auto;
        white-space: nowrap;
    }

    /* Hide text on very small screens if needed, but text is short "Shto në Shportë" */
    @media (max-width: 380px) {
        .cart-btn .btn-text {
            display: none;
        }

        .cart-btn i {
            margin: 0;
            font-size: 1.1rem;
        }
    }

    .like-btn {
        display: none;
        /* Keep like button hidden to save space */
    }
}

.share-btn i {
    font-size: 1.5rem;
}

.share-btn:hover {
    color: #003d82;
    transform: scale(1.15);
}

.primary-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    flex: 1;
    min-width: 200px;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.secondary-btn {
    background: linear-gradient(135deg, #665cac 0%, #7c3aed 100%);
    color: white;
}

.secondary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
}

.outline-btn {
    background: transparent;
    color: #0056b3;
    border-color: #0056b3;
}

.outline-btn:hover {
    background: #0056b3;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 86, 179, 0.2);
}

/* New Button Styles */
.order-btn {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    /* Blue Gradient */
    color: white;
    flex: 2;
    min-width: 180px;
    border-color: transparent;
}

.order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 86, 179, 0.3);
}

.cart-btn {
    background: white;
    color: #2c3e50;
    border: 1px solid #dee2e6;
    flex: 1;
    min-width: 170px;
    white-space: nowrap;
}

.cart-btn:hover {
    background: #f8f9fa;
    border-color: #0056b3;
    color: #0056b3;
    transform: translateY(-3px);
}

.like-btn {
    padding: 10px 14px;
    background: transparent;
    color: #0056b3;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.like-btn i {
    font-size: 1.8rem;
}

.like-btn .like-count {
    display: none;
    /* Hidden per client request */
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
}

.like-btn:hover {
    color: #003d82;
    transform: scale(1.15);
}

.like-btn.active {
    color: #0056b3;
}

.like-btn.active .like-count {
    color: #0056b3;
}

.like-btn.active i {
    font-weight: 900;
}

/* Secondary Actions (Phone/WhatsApp) */
.product-actions-secondary {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.action-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.action-link:hover {
    color: #0056b3;
}

.action-link.whatsapp:hover {
    color: #25d366;
}

.action-link i {
    font-size: 1.1rem;
}

/* --- Trust Badges --- */
.trust-badges {
    display: flex;
    gap: 25px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #6c757d;
}

.trust-item i {
    font-size: 1.2rem;
    color: #0056b3;
}

/* --- Product Tabs Section --- */
.product-tabs-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.tabs-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    background: linear-gradient(135deg, #2c3e50 0%, #3d5a80 100%);
    padding: 0;
}

.tab-btn {
    flex: 1;
    padding: 20px 30px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #2ecc71;
    transition: width 0.3s ease;
}

.tab-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    color: white;
}

.tab-btn.active::after {
    width: 60%;
}

.tabs-content {
    padding: 40px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Description Tab --- */
.description-content h2 {
    font-size: 1.8rem;
    color: #1a252f;
    margin-bottom: 20px;
}

.description-content h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 30px 0 15px;
}

.description-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 15px;
}

.styled-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.styled-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
    color: #4a5568;
}

.styled-list li i {
    color: #0056b3;
    font-size: 1.1rem;
    margin-top: 3px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.use-case {
    text-align: center;
    padding: 25px 15px;
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.use-case:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #0056b3;
}

.use-case i {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 15px;
}

.use-case h4 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 8px;
}

.use-case p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* --- Specifications Tab --- */
.specifications-content h2 {
    font-size: 1.8rem;
    color: #1a252f;
    margin-bottom: 25px;
}

.specs-table-wrapper {
    overflow-x: auto;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.specs-table td,
.specs-table th {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.specs-table td:first-child {
    font-weight: 600;
    color: #2c3e50;
    width: 40%;
}

.specs-table td:last-child {
    color: #4a5568;
}

.specs-table tr:hover td {
    background: #f8f9fa;
}

.spec-category {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    color: white !important;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Documents Tab --- */
.documents-content {
    padding: 0;
    /* Match specs tab */
}

.documents-content h2 {
    font-size: 1.8rem;
    color: #1a252f;
    margin-bottom: 10px;
}

.documents-content>p {
    color: #6c757d;
    margin-bottom: 30px;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.document-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.document-card:hover {
    border-color: #0056b3;
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.1);
    transform: translateY(-3px);
}

.doc-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 12px;
    flex-shrink: 0;
}

.doc-icon i {
    font-size: 1.5rem;
    color: white;
}

.doc-info {
    flex: 1;
}

.doc-info h4 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 4px;
}

.doc-info p {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 6px;
}

.doc-meta {
    font-size: 0.75rem;
    color: #adb5bd;
    font-weight: 600;
}

.doc-action {
    color: #0056b3;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.document-card:hover .doc-action {
    transform: translateX(5px);
}

/* --- Related Products Section --- */
.related-products-section {
    padding: 80px 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .section-title {
    font-size: 2.2rem;
    color: #1a252f;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.related-product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid #e9ecef;
}

.related-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image-wrapper {
    position: relative;
    padding: 25px;
    background: #ffffff;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.related-product-card:hover .product-image-wrapper img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 86, 179, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    padding: 12px 25px;
    background: white;
    color: #0056b3;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.related-product-card:hover .quick-view-btn {
    transform: translateY(0);
}

.quick-view-btn:hover {
    background: #2ecc71;
    color: white;
}

.product-card-info {
    padding: 20px;
}

.product-brand-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #e6f2ff;
    color: #0056b3;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-card-info h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 8px;
}

.product-card-info p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.5;
}

.view-product-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0056b3;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-product-btn:hover {
    color: #2ecc71;
    gap: 12px;
}

/* --- Product CTA Section --- */
.product-cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
}

.cta-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-text h2 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
}

.cta-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cta-btn-primary,
.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 204, 113, 0.3);
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* --- Image Lightbox --- */
.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav.prev {
    left: -70px;
}

.lightbox-nav.next {
    right: -70px;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1200px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-gallery {
        position: static;
    }

    .key-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .product-detail-section {
        padding: 20px 0;
        padding-bottom: 100px;
        /* Space for sticky actions */
    }

    .product-title {
        font-size: 1.6rem;
    }

    .description-content h2,
    .specifications-content h2,
    .documents-content h2 {
        font-size: 1.6rem !important;
    }

    .main-product-image {
        height: 280px;
    }

    /* Show gallery navigation on mobile */
    .gallery-nav {
        display: flex;
    }

    /* Show mobile gallery footer */
    .mobile-gallery-footer {
        display: flex;
    }

    /* Hide thumbnails on mobile */
    .thumbnail-strip {
        display: none;
    }

    /* Hide zoom button on mobile */
    .zoom-btn {
        display: none;
    }

    .key-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .feature-item {
        padding: 15px 8px;
    }

    .feature-item i {
        font-size: 1.3rem;
    }

    .feature-item span {
        font-size: 0.8rem;
    }

    /* Sticky Product Actions - Gjirafa Style */
    .product-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 10px 15px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
        z-index: 1000;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        margin-bottom: 0;
    }

    .action-btn {
        min-width: unset;
        border-radius: 9999px;
        padding: 10px 16px;
        font-size: 0.85rem;
        font-weight: 500;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .action-btn.order-btn {
        flex: 2;
        padding: 12px 20px;
    }

    /* Cart button with border - icon only on mobile */
    .action-btn.cart-btn {
        flex: 0;
        padding: 10px 14px;
        background: white;
        border: 1px solid #e2e2e2 !important;
    }

    .action-btn.cart-btn .btn-text {
        display: none;
    }

    .action-btn.cart-btn i {
        font-size: 1.1rem;
        color: #2c3e50;
    }

    /* Like button with border */
    .product-actions .like-btn {
        display: flex;
        padding: 10px 14px;
        background: white;
        border: 1px solid #e2e2e2;
        border-radius: 9999px;
        flex-direction: row;
        gap: 4px;
    }

    .product-actions .like-btn i {
        font-size: 1.1rem;
    }

    .product-actions .like-btn .like-count {
        font-size: 0.8rem;
    }

    /* Share button with border */
    .product-actions .share-btn {
        display: flex;
        padding: 10px 14px;
        background: white;
        border: 1px solid #e2e2e2;
        border-radius: 9999px;
    }

    .product-actions .share-btn i {
        font-size: 1.1rem;
        color: #2c3e50;
    }

    .trust-badges {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .tabs-nav {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .tabs-nav::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Edge */
    }

    .tab-btn {
        padding: 15px 20px;
        justify-content: center;
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.9rem;
    }

    .tab-btn i {
        display: none;
    }

    .tab-btn::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .tabs-content {
        padding: 25px;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        justify-content: center;
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-list {
        font-size: 0.8rem;
    }

    .thumbnail-strip {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .price-value {
        font-size: 1.5rem;
    }

    .section-header .section-title {
        font-size: 1.6rem;
    }
}