.glass-single-product {
    padding: 40px 24px;
    background: linear-gradient(135deg, #f5f7fb 0%, #e8ecef 100%);
    min-height: 100vh;
}

/*.product-container {
    max-width: 1400px;
    margin: 0 auto;
}*/

.single-product-custom {
    /* Breadcrumbs */
    .breadcrumbs-wrapper {
        margin-bottom: 30px;
    }

    .glass-breadcrumbs {
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(12px);
        padding: 12px 20px;
        border-radius: 12px;
        font-size: 0.85rem;
        color: #2c3e1a;
    }

    .glass-breadcrumbs a {
        color: #2c3e1a;
        text-decoration: none;
        transition: color 0.2s;
    }

    .glass-breadcrumbs a:hover {
        color: #8dc044;
    }

    /* Main Product Grid */
    .product-main-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        margin-bottom: 50px;
    }

    /* ===== LEFT COLUMN - GALLERY ===== */
    .product-gallery-column {
        position: sticky;
        top: 100px;
        height: fit-content;
    }

    .glass-gallery-wrapper {
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(12px);
        border-radius: 24px;
        padding: 20px;
        border: 1px solid rgba(255, 255, 255, 0.4);
        position: relative;
    }

    .sale-badge-large {
        position: absolute;
        top: 30px;
        left: 30px;
        z-index: 10;
        background: linear-gradient(135deg, #e74c3c, #c0392b);
        color: white;
        padding: 8px 20px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.9rem;
        text-transform: uppercase;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .main-image-container {
        width: 100%;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.3);
        margin-bottom: 20px;
    }

    .main-image-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.3s;
    }

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

    .no-image-placeholder {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
    }

    .thumbnail-gallery {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .thumbnail-item {
        aspect-ratio: 1 / 1;
        overflow: hidden;
        border-radius: 12px;
        cursor: pointer;
        border: 2px solid transparent;
        transition: all 0.2s;
        background: rgba(255, 255, 255, 0.3);
    }

    .thumbnail-item.active {
        border-color: #8dc044;
    }

    .thumbnail-item:hover {
        transform: translateY(-3px);
    }

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

    /* ===== RIGHT COLUMN - PRODUCT INFO ===== */
    .glass-info-wrapper {
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(12px);
        border-radius: 24px;
        padding: 30px;
        border: 1px solid rgba(255, 255, 255, 0.4);
    }

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

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

    .stars {
        position: relative;
        display: inline-block;
        font-size: 1rem;
        color: #ddd;
        letter-spacing: 2px;
    }

    .stars::before {
        content: "★★★★★";
        position: absolute;
        top: 0;
        left: 0;
        width: calc(var(--rating) * 20%);
        color: #f39c12;
        overflow: hidden;
        white-space: nowrap;
    }

    .rating-link {
        color: #2c3e1a;
        text-decoration: none;
        font-size: 0.85rem;
    }

    .rating-link:hover {
        color: #8dc044;
    }

    .product-price-wrapper {
        margin-bottom: 20px;
        display: flex;
        align-items: baseline;
        gap: 15px;
        flex-wrap: wrap;
    }

    .regular-price {
        text-decoration: line-through;
        color: #999;
        font-size: 1.2rem;
    }

    .sale-price,
    .current-price {
        font-size: 2rem;
        font-weight: 700;
        color: #8dc044;
    }

    .save-badge {
        background: rgba(141, 192, 68, 0.2);
        color: #8dc044;
        padding: 4px 12px;
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .product-short-description {
        margin-bottom: 20px;
        color: #2c3e1a;
        line-height: 1.6;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .product-stock-status {
        margin-bottom: 25px;
    }

    .in-stock {
        color: #27ae60;
        font-weight: 600;
    }

    .out-of-stock {
        color: #e74c3c;
        font-weight: 600;
    }

    .stock-count {
        font-size: 0.85rem;
        color: #666;
        margin-left: 10px;
    }

    /* Add to Cart - Styled like product card button */
    .add-to-cart-wrapper {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }

    .quantity-wrapper {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .quantity-wrapper label {
        font-weight: 600;
        color: #1e2a0e;
    }

    .quantity-selector {
        display: flex;
        align-items: center;
        gap: 5px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 50px;
        padding: 5px;
    }

    .qty-btn {
        width: 32px;
        height: 32px;
        border: none;
        background: rgba(141, 192, 68, 0.2);
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.2rem;
        font-weight: 600;
        color: #8dc044;
        transition: all 0.2s;
    }

    .qty-btn:hover {
        background: #8dc044;
        color: white;
    }

    .qty-input {
        width: 50px;
        text-align: center;
        border: none;
        background: transparent;
        font-size: 1rem;
        font-weight: 600;
        color: #1e2a0e;
    }

    .qty-input::-webkit-inner-spin-button {
        opacity: 0;
    }

    .add-to-cart-primary {
        flex: 1;
        padding: 14px 30px;
        background: rgba(141, 192, 68, 0.15);
        border: 1px solid rgba(141, 192, 68, 0.3);
        border-radius: 50px;
        color: #2c5e1a;
        font-weight: 700;
        font-size: 1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: all 0.3s ease;
    }

    .add-to-cart-primary:hover {
        background: #8dc044;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(141, 192, 68, 0.3);
    }

    .add-to-cart-primary:active {
        transform: translateY(0);
    }

    /* Share Links */
    .share-links {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        padding-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .share-label {
        font-weight: 600;
        color: #1e2a0e;
    }

    .share-icon {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        text-decoration: none;
        transition: all 0.2s;
    }

    .share-icon:hover {
        background: #8dc044;
        transform: translateY(-3px);
    }

    /* Product Tabs */
    .product-tabs-section {
        margin-bottom: 50px;
    }

    .glass-tabs-wrapper {
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(12px);
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.4);
        overflow: hidden;
    }

    .tabs-header {
        display: flex;
        gap: 5px;
        background: rgba(0, 0, 0, 0.05);
        padding: 10px 20px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .tab-btn {
        padding: 12px 24px;
        background: none;
        border: none;
        cursor: pointer;
        font-weight: 600;
        color: #2c3e1a;
        transition: all 0.2s;
        border-radius: 12px 12px 0 0;
    }

    .tab-btn:hover {
        color: #8dc044;
    }

    .tab-btn.active {
        background: rgba(141, 192, 68, 0.2);
        color: #8dc044;
    }

    .tabs-content {
        padding: 30px;
    }

    .tab-pane {
        display: none;
    }

    .tab-pane.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .tab-content-inner {
        color: #2c3e1a;
        line-height: 1.6;
    }

    .tab-content-inner h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    /* Related Products Section with Slider */
    .related-products-section {
        margin-top: 30px;
    }

    .glass-related-wrapper {
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(12px);
        border-radius: 24px;
        padding: 30px;
        border: 1px solid rgba(255, 255, 255, 0.4);
    }

    .related-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: #1e2a0e;
        margin-bottom: 25px;
        text-align: center;
    }

    .related-products-slider {
        padding: 10px 40px;
        overflow: hidden;
    }

    /* Swiper Navigation for Related Products */
    .related-next,
    .related-prev {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(8px);
        border-radius: 50%;
        border: 1px solid rgba(141, 192, 68, 0.3);
        transition: all 0.2s ease;
    }

    .related-next::after,
    .related-prev::after {
        font-size: 1rem;
        color: #8dc044;
        font-weight: bold;
    }

    .related-next:hover,
    .related-prev:hover {
        background: #8dc044;
        border-color: #8dc044;
    }

    .related-next:hover::after,
    .related-prev:hover::after {
        color: white;
    }

    .related-pagination {
        bottom: -25px !important;
    }

    .related-pagination .swiper-pagination-bullet {
        background: #8dc044;
        opacity: 0.4;
    }

    .related-pagination .swiper-pagination-bullet-active {
        opacity: 1;
    }

    /* Animations */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Responsive */
    @media (max-width: 992px) {
        .product-main-grid {
            grid-template-columns: 1fr;
            gap: 30px;
        }

        .product-gallery-column {
            position: static;
        }
    }

    @media (max-width: 768px) {
        .glass-single-product {
            padding: 20px 16px;
        }

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

        .sale-price,
        .current-price {
            font-size: 1.5rem;
        }

        .tabs-header {
            flex-direction: column;
            gap: 5px;
            padding: 10px;
        }

        .tab-btn {
            text-align: left;
            border-radius: 8px;
        }

        .tabs-content {
            padding: 20px;
        }

        .add-to-cart-wrapper {
            flex-direction: column;
        }

        .quantity-wrapper {
            width: 100%;
            justify-content: space-between;
        }

        .add-to-cart-primary {
            width: 100%;
        }

        .related-products-slider {
            padding: 10px 30px;
        }
    }

    @media (max-width: 480px) {
        .glass-info-wrapper {
            padding: 20px;
        }

        .thumbnail-gallery {
            gap: 8px;
        }

        .related-products-slider {
            padding: 10px 20px;
        }

        .related-next,
        .related-prev {
            width: 30px;
            height: 30px;
        }
    }

    /* Main Image Link */
    .woocommerce-main-image {
        display: block;
        cursor: pointer;
    }

    .woocommerce-main-image img {
        pointer-events: none; /* Allows the link to work properly */
    }
}
