/* =========================================================
   INK PRODUCT PAGE v2.1 - Elementor WC Widget Styling
   Based on Figma design: Website_INK_COLLECTIVUS_2025
   ========================================================= */

/* ======================
   PRODUCT TITLE (injected by JS)
   ====================== */
.single-product .ink-injected-title {
    font-size: 2rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.02em !important;
    color: #000 !important;
    line-height: 1.2 !important;
    margin: 0 0 8px 0 !important;
}

/* ======================
   PRICE
   ====================== */
.single-product .elementor-widget-woocommerce-product-price .price,
.single-product .elementor-widget-woocommerce-product-price .woocommerce-Price-amount {
    font-size: 22px !important;
    font-weight: 400 !important;
    color: #000 !important;
}

/* ======================
   HIDE native WC variation selects (table.variations)
   ====================== */
.single-product .woocommerce-variation-add-to-cart table.variations {
    display: none !important;
}
.single-product form.cart .woocommerce-variation-price {
    display: none !important;
}

/* ======================
   HIDE META (SKU / Category) 
   ====================== */
.single-product .elementor-woo-meta .posted_in,
.single-product .elementor-woo-meta .sku_wrapper {
    display: none !important;
}

/* ======================
   GALLERY - Vertical thumbnails (Figma style)
   ====================== */
.single-product .woocommerce-product-gallery.ink-gallery-enhanced {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: flex-start !important;
    gap: 0 !important;
}

/* Main image viewport */
.single-product .woocommerce-product-gallery.ink-gallery-enhanced .flex-viewport {
    flex: 1 1 auto !important;
    order: 2 !important;
    min-width: 0 !important;
}

/* Main image wrapper (fade mode - no .flex-viewport) */
.single-product .woocommerce-product-gallery.ink-gallery-enhanced .woocommerce-product-gallery__wrapper {
    flex: 1 1 auto !important;
    order: 2 !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.single-product .woocommerce-product-gallery.ink-gallery-enhanced .flex-viewport img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Thumbnail strip on the left */
.single-product .woocommerce-product-gallery.ink-gallery-enhanced .flex-control-nav {
    display: flex !important;
    flex-direction: column !important;
    width: 116px !important;
    min-width: 116px !important;
    max-width: 116px !important;
    margin-right: 30px !important;
    margin-bottom: 0 !important;
    order: 1 !important;
    gap: 30px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: none !important;
    scrollbar-color: #ccc transparent !important;
    padding: 0 !important;
    list-style: none !important;
}

.single-product .woocommerce-product-gallery.ink-gallery-enhanced .flex-control-nav::-webkit-scrollbar {
    width: 0px !important;
}

.single-product .woocommerce-product-gallery.ink-gallery-enhanced .flex-control-nav::-webkit-scrollbar-thumb {
    background-color: #bbb !important;
    border-radius: 2px !important;
}

.single-product .woocommerce-product-gallery.ink-gallery-enhanced .flex-control-nav li {
    width: 116px !important;
    height: 116px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    border: 2px solid transparent !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease !important;
    cursor: pointer !important;
    overflow: hidden !important;
}

.single-product .woocommerce-product-gallery.ink-gallery-enhanced .flex-control-nav li.flex-active {
    border-color: #1a1a1a !important;
}

.single-product .woocommerce-product-gallery.ink-gallery-enhanced .flex-control-nav li:hover {
    border-color: #555 !important;
}

.single-product .woocommerce-product-gallery.ink-gallery-enhanced .flex-control-nav li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* Gallery zoom icon */
.single-product .woocommerce-product-gallery.ink-gallery-enhanced .woocommerce-product-gallery__trigger {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 10 !important;
}

/* ======================
   CUSTOM VARIATION UI
   ====================== */
.single-product .ink-custom-variations {
    margin-bottom: 16px !important;
}

.single-product .ink-variation-section {
    margin-bottom: 16px !important;
}

.single-product .ink-variation-label {
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #000 !important;
    margin: 0 0 8px 0 !important;
}

/* Size buttons */
.single-product .ink-size-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
}

.single-product .ink-size-btn {
    padding: 8px 14px !important;
    font-size: 12px !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    transition: background 0.2s, color 0.2s !important;
    white-space: nowrap !important;
    font-family: inherit !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
}

/* Frame swatches */
.single-product .ink-frame-swatches {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    align-items: center !important;
}

/* ADD TO CART */
.single-product .elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button {
    width: 100% !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-size: 13px !important;
    padding: 14px 20px !important;
    border-radius: 0 !important;
}

/* ============================================================
   GALLERY FADE TRANSITION - FlexSlider fade mode (200ms)
   ============================================================ */


.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image.flex-active-slide {
    opacity: 1 !important;
}
