/**
 * HTBK Scoped CSS for Dynamic Product Detail Page
 * Scoped strictly under .htbk-product-detail-page
 */

.htbk-product-detail-page {
    /* Base wrapper styles */
    position: relative;
    width: 100%;
}

/* Prose product description styles */
.htbk-product-detail-page .prose-product {
    color: var(--muted-foreground, #52525b);
    line-height: 1.625;
    font-size: 0.875rem;
}

.htbk-product-detail-page .prose-product h2,
.htbk-product-detail-page .prose-product h3,
.htbk-product-detail-page .prose-product h4 {
    color: var(--foreground, #18181b);
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.htbk-product-detail-page .prose-product h2 {
    font-size: 1.125rem;
}

.htbk-product-detail-page .prose-product h3 {
    font-size: 1rem;
}

.htbk-product-detail-page .prose-product p {
    margin-bottom: 0.75rem;
}

.htbk-product-detail-page .prose-product ul,
.htbk-product-detail-page .prose-product ol {
    margin-left: 1.25rem;
    margin-bottom: 0.75rem;
    list-style-type: disc;
}

.htbk-product-detail-page .prose-product li {
    margin-bottom: 0.25rem;
}

.htbk-product-detail-page .prose-product strong {
    color: var(--foreground, #18181b);
    font-weight: 600;
}

.htbk-product-detail-page .prose-product img {
    border-radius: 0.75rem;
    margin: 1rem auto;
    display: block;
    max-width: 100%;
    height: auto;
}

/* Accordion Transition */
.htbk-product-detail-page .htbk-accordion-content {
    display: none;
    transition: opacity 0.2s ease-in-out;
}

.htbk-product-detail-page .htbk-accordion-item.open .htbk-accordion-content {
    display: block;
}

.htbk-product-detail-page .htbk-accordion-icon {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotate(0deg);
}

.htbk-product-detail-page .htbk-accordion-item.open .htbk-accordion-icon {
    transform: rotate(180deg);
}

/* Gallery Thumbnail Active Ring */
.htbk-product-detail-page .htbk-thumb-btn.active {
    border-color: var(--primary, #0284c7);
    box-shadow: 0 0 0 1.5px var(--primary, #0284c7);
}

/* Quantity input spinner hide */
.htbk-product-detail-page input[type="number"]::-webkit-inner-spin-button,
.htbk-product-detail-page input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.htbk-product-detail-page input[type="number"] {
    -moz-appearance: textfield;
}
