.woocan-pp-main {
    padding-top: 200px;
    padding-bottom: 200px;
}

.woocan-pp-wrapper {
    padding-bottom: 160px;
}

/* Gallery */
.woocan-pp-gallery {
    max-width: 600px;
    margin: 0 auto;
}

.woocan-pp-gallery-main img {
    width: 100%;
    height: auto;
    display: block;
}

.woocan-pp-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 2px;
}

.woocan-pp-gallery-thumbs img {
    width: 100%;
    height: auto;
    display: block;
}

/* Fixed bottom bar */
.woocan-pp-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    padding: 12px 20px;
}

.woocan-pp-bottom-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.woocan-pp-product-title {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex-shrink: 1;
}

/* Variation form in bottom bar */
.woocan-pp-form {
    display: contents;
}

.woocan-pp-attributes {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.woocan-pp-attr-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.woocan-pp-attr-group label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.woocan-pp-bottom-bar .variations select {
    display: inline-block !important;
}

.woocan-pp-bottom-bar .variations select.woocan-pp-color-select {
    display: none !important;
}

/* Color thumbnails */
.woocan-pp-color-thumbs {
    display: flex;
    gap: 6px;
    align-items: center;
}

.woocan-pp-color-thumb {
    width: 36px !important;
    height: 36px;
    padding: 0 !important;
    border: 2px solid transparent !important;
    border-radius: 4px !important;
    background: none;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s;
    flex-shrink: 0;
}

.woocan-pp-color-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.woocan-pp-color-thumb:hover {
    border-color: #999 !important;
}

.woocan-pp-color-thumb.active {
    border-color: #222 !important;
}

.woocan-pp-attr-group select {
    font-size: 13px;
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    min-width: 60px;
}

.woocan-pp-bottom-bar .reset_variations {
    display: inline-block !important;
    font-size: 11px;
    color: #999;
    text-decoration: none;
    flex-shrink: 0;
}

/* Single variation wrap (price + add to cart) */
.woocan-pp-bottom-bar .single_variation_wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.woocan-pp-bottom-bar .woocommerce-variation-price {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.woocan-pp-bottom-bar .woocommerce-variation-availability {
    display: none;
}

.woocan-pp-bottom-bar .woocommerce-variation-description {
    display: none;
}

.woocan-pp-bottom-bar .variations_button {
    display: flex;
    align-items: center;
    gap: 8px;
}

.woocan-pp-bottom-bar .quantity {
    width: 50px;
}

.woocan-pp-bottom-bar .quantity .qty {
    width: 100%;
    padding: 6px 4px;
    font-size: 13px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.woocan-pp-bottom-bar .single_add_to_cart_button {
    padding: 8px 24px;
    font-size: 13px;
    font-weight: 600;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.woocan-pp-bottom-bar .single_add_to_cart_button:hover {
    background: #000;
}

.woocan-pp-bottom-bar .single_add_to_cart_button.disabled,
.woocan-pp-bottom-bar .single_add_to_cart_button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Simple product form */
.woocan-pp-simple-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* Mobile */
@media (max-width: 767px) {
    .woocan-pp-main {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .woocan-pp-gallery {
        max-width: 100%;
    }


    .woocan-pp-wrapper {
        padding-bottom: 200px;
    }

    .woocan-pp-bottom-bar {
        padding: 10px 12px;
    }

    .woocan-pp-bottom-inner {
        gap: 8px;
    }

    .woocan-pp-product-title {
        width: 100%;
        flex-shrink: 0;
        font-size: 14px;
    }

    .woocan-pp-attributes {
        flex-wrap: wrap;
        gap: 8px;
    }

    .woocan-pp-bottom-bar .single_variation_wrap {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
    }
}
