/**
 * Product Detail Page Styles - Based on Figma Design
 */

/* Global Product Page Styles */
.figma-single-product {
    background-color: #D9EAFD;
    margin: 0;
    padding: 0;
    position: relative;
    max-width: 100%;
    overflow-x: hidden;
}

/* Product Header */
.product-header {
    position: relative;
    padding: 10px 0;
    z-index: 10;
}

.product-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 16px;
    background-color: rgba(188, 204, 220, 0.5);
    border-radius: 10px;
    margin: 10px;
}

.menu-icon, .cart-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon .dashicons, .cart-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #212121;
}

.shop-text {
    font-weight: 700;
    font-size: 16px;
    color: #212121;
}

.product-options-icon {
    position: absolute;
    right: 20px;
    top: 230px;
    z-index: 20;
    background-color: #FFFFFF;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-options-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #212121;
}

/* Main Product Image */
.product-image-main {
    width: 100%;
    height: 525px;
    overflow: hidden;
    background-color: #BCCCDC;
    position: relative;
    z-index: 1;
    border-radius: 0 0 33px 33px;
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Product Details Rounded Section */
.product-details-rounded {
    background-color: #D9EAFD;
    border-radius: 33px 33px 0 0;
    margin-top: -33px;
    padding: 10px;
    position: relative;
    z-index: 5;
}

.product-title {
    font-size: 24px;
    font-weight: 700;
    color: #121417;
    margin-bottom: 10px;
    text-align: left;
    padding: 0 10px;
}

.product-price-container {
    font-size: 20px;
    font-weight: 700;
    color: #121417;
    margin-bottom: 15px;
    text-align: left;
    padding: 0 10px;
}

.product-short-description {
    font-size: 14px;
    line-height: 1.6;
    color: #121417;
    margin-bottom: 20px;
}

/* Product Gallery Carousel */
.product-gallery-carousel {
    margin: 20px 0;
    padding: 0 10px;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none; /* Firefox */
}

.product-thumbnails::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.product-thumbnail.active {
    border-color: #9AA6B2;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Quantity and Add to Cart Controls */
.product-quantity-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 0 10px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.minus-quantity, .plus-quantity {
    background: none;
    border: none;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.minus-quantity .dashicons, .plus-quantity .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #BCCCDC;
}

.quantity-display {
    width: 82px;
    height: 42px;
    background-color: #F8FAFC;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-display input {
    width: 100%;
    border: none;
    background: none;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #121417;
}

.add-to-cart-button {
    flex-grow: 1;
}

.single_add_to_cart_button {
    width: 100%;
    height: 44px;
    background-color: #9AA6B2 !important;
    color: #FFFFFF !important;
    border: none;
    border-radius: 33px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-transform: none;
    padding: 0 20px;
    line-height: 44px;
}

.stock.out-of-stock {
    color: #e2401c;
    font-weight: 700;
    text-align: center;
    width: 100%;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: #121417;
    text-decoration: none;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .product-image-main {
        height: 600px;
    }
    
    .product-details-rounded {
        padding: 20px;
    }
    
    .product-title {
        font-size: 28px;
    }
    
    .product-thumbnail {
        width: 100px;
        height: 100px;
    }
} 