/* ========================================
   Broiling Coffee - WooCommerce Overrides
======================================== */

/* ---- Product Cards ---- */
.bc-product-card {
    background: #fff;
    border-radius: var(--fc-radius-md);
    overflow: hidden;
    transition: var(--fc-transition);
    border: 1px solid var(--fc-gray-light);
}

.bc-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fc-shadow-md);
    border-color: transparent;
}

.bc-product-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--fc-cream);
}

.bc-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bc-product-card:hover .bc-product-img img {
    transform: scale(1.05);
}

.bc-product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.bc-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 2px;
    text-transform: uppercase;
}

.bc-badge-new { background: var(--fc-primary); color: #fff; }
.bc-badge-sale { background: var(--bc-flame); color: #fff; }
.bc-badge-best { background: var(--bc-gold); color: var(--fc-primary-dark); }

.bc-product-actions {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--fc-transition);
}

.bc-product-card:hover .bc-product-actions {
    opacity: 1;
    transform: translateY(0);
}

.bc-product-action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: var(--fc-radius-full);
    box-shadow: var(--fc-shadow-sm);
    color: var(--fc-primary);
    text-decoration: none;
    transition: var(--fc-transition-fast);
}

.bc-product-action-btn:hover {
    background: var(--bc-flame);
    color: #fff;
}

.bc-product-content {
    padding: 1rem;
}

.bc-product-vendor {
    font-size: 0.72rem;
    color: var(--fc-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.bc-product-name {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.bc-product-name a {
    color: var(--fc-primary);
    text-decoration: none;
}

.bc-product-name a:hover {
    color: var(--bc-flame);
}

.bc-product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--fc-primary);
}

.bc-product-price del {
    color: var(--fc-gray);
    font-weight: 400;
    font-size: 0.85rem;
}

.bc-product-price ins {
    text-decoration: none;
    color: var(--bc-flame);
}

/* ---- Product Grid ---- */
.bc-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .bc-products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .bc-products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Single Product ---- */
.bc-single-product {
    padding: var(--fc-spacing-xl) 0;
}

.bc-product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Product Attributes Table */
.bc-attributes-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.bc-attributes-table th {
    text-align: left;
    padding: 10px 16px;
    background: var(--fc-cream);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fc-primary);
    width: 30%;
    border-bottom: 1px solid var(--fc-gray-light);
}

.bc-attributes-table td {
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--fc-gray-dark);
    border-bottom: 1px solid var(--fc-gray-light);
}

/* Vendor Info Box */
.bc-vendor-info-box {
    background: var(--fc-cream);
    border-radius: var(--fc-radius-md);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.bc-vendor-info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bc-vendor-info-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.bc-vendor-info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--bc-flame);
    text-decoration: none;
    font-weight: 500;
}

.bc-vendor-info-link:hover {
    text-decoration: underline;
}

/* ---- Archive Product (Category Page) ---- */
.bc-shop-header {
    background: var(--fc-cream);
    padding: var(--fc-spacing-xl) 0;
    margin-bottom: var(--fc-spacing-xl);
}

.bc-shop-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--fc-primary);
    margin-bottom: 0.5rem;
}

.bc-shop-desc {
    font-size: 0.95rem;
    color: var(--fc-gray);
}

.bc-shop-breadcrumb {
    font-size: 0.8rem;
    color: var(--fc-gray);
    margin-bottom: 1rem;
}

.bc-shop-breadcrumb a {
    color: var(--fc-gray);
    text-decoration: none;
}

.bc-shop-breadcrumb a:hover {
    color: var(--bc-flame);
}

/* ---- Filter Sidebar ---- */
.bc-filter-sidebar .widget {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--fc-gray-light);
}

.bc-filter-sidebar .widget:last-child {
    border-bottom: none;
}

.bc-filter-sidebar .widget-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fc-primary);
    margin-bottom: 1rem;
}

/* ---- Cart & Checkout ---- */
.woocommerce-cart .bc-btn-primary,
.woocommerce-checkout .bc-btn-primary,
.woocommerce .button.alt {
    background: var(--bc-flame) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--fc-radius-sm) !important;
    font-weight: 600 !important;
    transition: var(--fc-transition) !important;
}

.woocommerce .button.alt:hover {
    background: var(--bc-flame-dark) !important;
}

.woocommerce .button {
    border-radius: var(--fc-radius-sm) !important;
}

/* ========================================
   Shop Page - Category Tabs & Layout
======================================== */

/* Category Tabs Wrapper */
.bc-category-tabs-wrapper {
    background: #fff;
    border-bottom: 1px solid var(--fc-gray-light);
    position: sticky;
    top: 60px;
    z-index: 90;
}

.bc-category-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.bc-category-tabs::-webkit-scrollbar {
    display: none;
}

.bc-cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--fc-gray);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: var(--fc-transition);
}

.bc-cat-tab:hover {
    color: var(--fc-primary);
}

.bc-cat-tab.active {
    color: var(--bc-flame);
    border-bottom-color: var(--bc-flame);
    font-weight: 600;
}

.bc-cat-count {
    font-size: 0.7rem;
    background: var(--fc-gray-light);
    color: var(--fc-gray);
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 400;
}

.bc-cat-tab.active .bc-cat-count {
    background: var(--bc-flame);
    color: #fff;
}

/* Subcategory Chips */
.bc-subcategory-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 0 1rem;
}

.bc-subcat-chip {
    display: inline-block;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    color: var(--fc-gray-dark);
    background: var(--fc-cream);
    border-radius: 20px;
    text-decoration: none;
    transition: var(--fc-transition);
    border: 1px solid transparent;
}

.bc-subcat-chip:hover {
    background: var(--fc-gray-light);
    color: var(--fc-primary);
}

.bc-subcat-chip.active {
    background: var(--fc-primary);
    color: #fff;
}

/* ---- Shop Layout (Sidebar + Content) ---- */
.bc-shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    padding: 2rem 0 4rem;
}

/* Sidebar */
.bc-shop-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.bc-sidebar-widget {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--fc-gray-light);
}

.bc-sidebar-widget:last-child {
    border-bottom: none;
}

.bc-sidebar-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--fc-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--fc-primary);
}

/* Category Tree */
.bc-category-tree {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bc-tree-item {
    margin-bottom: 0.25rem;
}

.bc-tree-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    color: var(--fc-gray-dark);
    text-decoration: none;
    border-radius: var(--fc-radius-sm);
    transition: var(--fc-transition);
}

.bc-tree-link:hover {
    background: var(--fc-cream);
    color: var(--fc-primary);
}

.bc-tree-link.active {
    background: var(--fc-primary);
    color: #fff;
    font-weight: 600;
}

.bc-tree-link.active .bc-tree-count {
    color: rgba(255, 255, 255, 0.7);
}

.bc-tree-count {
    font-size: 0.75rem;
    color: var(--fc-gray);
}

.bc-tree-children {
    list-style: none;
    padding: 0 0 0 1rem;
    margin: 0;
}

.bc-tree-item:not(.open) .bc-tree-children {
    display: none;
}

.bc-tree-item.open .bc-tree-children {
    display: block;
}

.bc-tree-children .bc-tree-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
}

/* ---- Shop Content ---- */
.bc-shop-content {
    min-width: 0;
}

/* Toolbar */
.bc-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--fc-gray-light);
}

.bc-result-count .woocommerce-result-count {
    margin: 0;
    font-size: 0.85rem;
    color: var(--fc-gray);
}

.bc-catalog-ordering .woocommerce-ordering select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid var(--fc-gray-light);
    border-radius: var(--fc-radius-sm);
    font-size: 0.85rem;
    color: var(--fc-primary);
    background: #fff;
    cursor: pointer;
}

/* WC Product Grid Override */
.bc-products-grid-wc {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.25rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bc-products-grid-wc li.product {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
}

/* Pagination */
.bc-shop-pagination {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--fc-gray-light);
}

.bc-shop-pagination .woocommerce-pagination {
    text-align: center;
}

.bc-shop-pagination .woocommerce-pagination ul {
    display: inline-flex;
    gap: 0.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bc-shop-pagination .woocommerce-pagination ul li a,
.bc-shop-pagination .woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
    color: var(--fc-gray-dark);
    background: #fff;
    border: 1px solid var(--fc-gray-light);
    border-radius: var(--fc-radius-sm);
    text-decoration: none;
    transition: var(--fc-transition);
}

.bc-shop-pagination .woocommerce-pagination ul li a:hover {
    border-color: var(--bc-flame);
    color: var(--bc-flame);
}

.bc-shop-pagination .woocommerce-pagination ul li span.current {
    background: var(--bc-flame);
    border-color: var(--bc-flame);
    color: #fff;
    font-weight: 600;
}

/* No Products */
.bc-no-products {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--fc-gray);
}

.bc-no-products p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.bc-btn-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 1px solid var(--fc-primary);
    color: var(--fc-primary);
    border-radius: var(--fc-radius-sm);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--fc-transition);
}

.bc-btn-outline:hover {
    background: var(--fc-primary);
    color: #fff;
}

/* Breadcrumb separator */
.bc-breadcrumb-sep {
    margin: 0 0.4rem;
    color: var(--fc-gray-light);
}

.bc-breadcrumb-current {
    color: var(--fc-primary);
    font-weight: 500;
}

/* ========================================
   Single Product Page
======================================== */

/* Main layout */
.bc-single-product {
    padding: 1.5rem 0 0;
}

.bc-single-product .bc-shop-breadcrumb {
    margin-bottom: 2rem;
}

.bc-single-product .bc-product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sticky gallery column */
.bc-product-gallery-col {
    position: sticky;
    top: 80px;
}

.bc-product-gallery-col .woocommerce-product-gallery {
    margin-bottom: 0 !important;
}

.bc-product-gallery-col .woocommerce-product-gallery__image img {
    border-radius: var(--fc-radius-md);
}

.bc-product-gallery-col .flex-control-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.bc-product-gallery-col .flex-control-thumbs li {
    flex: 0 0 60px;
    list-style: none;
}

.bc-product-gallery-col .flex-control-thumbs li img {
    border-radius: var(--fc-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--fc-transition);
}

.bc-product-gallery-col .flex-control-thumbs li img:hover,
.bc-product-gallery-col .flex-control-thumbs li img.flex-active {
    border-color: var(--bc-flame);
}

/* Vendor info box in detail page */
.bc-product-summary-col .bc-vendor-info-box {
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
}

.bc-product-summary-col .bc-vendor-info-header {
    margin-bottom: 0.5rem;
}

/* Product Summary Styling */
.bc-product-summary .product_title {
    font-family: 'Pretendard', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--fc-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.bc-product-summary .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--fc-primary);
    margin-bottom: 1.25rem;
}

.bc-product-summary .price del {
    font-size: 1rem;
    color: var(--fc-gray);
    font-weight: 400;
}

.bc-product-summary .price ins {
    text-decoration: none;
    color: var(--bc-flame);
}

.bc-product-summary .woocommerce-product-details__short-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--fc-gray-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--fc-gray-light);
}

/* Add to cart form */
.bc-product-summary .cart {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.bc-product-summary .quantity .qty {
    width: 70px;
    height: 48px;
    text-align: center;
    border: 1px solid var(--fc-gray-light);
    border-radius: var(--fc-radius-sm);
    font-size: 1rem;
    font-weight: 500;
}

.bc-product-summary .single_add_to_cart_button {
    flex: 1;
    height: 48px;
    background: var(--bc-flame) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--fc-radius-sm) !important;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--fc-transition);
}

.bc-product-summary .single_add_to_cart_button:hover {
    background: var(--bc-flame-dark) !important;
}

/* Product meta (SKU, categories) */
.bc-product-summary .product_meta {
    font-size: 0.8rem;
    color: var(--fc-gray);
    padding-top: 1.25rem;
    border-top: 1px solid var(--fc-gray-light);
}

.bc-product-summary .product_meta > span {
    display: block;
    margin-bottom: 0.3rem;
}

.bc-product-summary .product_meta a {
    color: var(--fc-gray-dark);
    text-decoration: none;
}

.bc-product-summary .product_meta a:hover {
    color: var(--bc-flame);
}

/* Attributes table in detail page */
.bc-product-summary-col .bc-product-attributes {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--fc-gray-light);
}

/* ---- Product Tabs Section ---- */
.bc-product-tabs-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--fc-gray-light);
}

.bc-product-tabs-section .woocommerce-tabs {
    margin-bottom: 3rem;
}

.bc-product-tabs-section .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    border-bottom: 2px solid var(--fc-gray-light);
}

.bc-product-tabs-section .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

.bc-product-tabs-section .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--fc-gray);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--fc-transition);
}

.bc-product-tabs-section .woocommerce-tabs ul.tabs li a:hover {
    color: var(--fc-primary);
}

.bc-product-tabs-section .woocommerce-tabs ul.tabs li.active a {
    color: var(--bc-flame);
    border-bottom-color: var(--bc-flame);
    font-weight: 600;
}

.bc-product-tabs-section .woocommerce-tabs .panel {
    padding: 1.5rem 0;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--fc-gray-dark);
}

.bc-product-tabs-section .woocommerce-tabs .panel h2 {
    display: none;
}

/* ---- Related Products ---- */
.bc-product-tabs-section .related.products {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--fc-gray-light);
}

.bc-product-tabs-section .related.products > h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--fc-primary);
    margin-bottom: 1.5rem;
}

.bc-product-tabs-section .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.25rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bc-product-tabs-section .related.products ul.products li.product {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
}

/* ========================================
   Responsive - Shop & Product Pages
======================================== */

@media (max-width: 992px) {
    /* Shop layout: stack sidebar below or hide */
    .bc-shop-layout {
        grid-template-columns: 1fr;
    }

    .bc-shop-sidebar {
        display: none;
    }

    .bc-products-grid-wc {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* Single product: stack columns */
    .bc-single-product .bc-product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bc-product-gallery-col {
        position: static;
    }

    /* Related products 2 columns */
    .bc-product-tabs-section .related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    /* Category tabs scrollable */
    .bc-cat-tab {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .bc-shop-header {
        padding: var(--fc-spacing-lg) 0;
    }

    .bc-shop-title {
        font-size: 1.4rem;
    }

    .bc-products-grid-wc {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    /* Single product typography */
    .bc-product-summary .product_title {
        font-size: 1.3rem;
    }

    .bc-product-summary .price {
        font-size: 1.2rem;
    }

    .bc-product-summary .cart {
        flex-direction: column;
    }

    .bc-product-summary .quantity .qty {
        width: 100%;
    }

    .bc-product-summary .single_add_to_cart_button {
        width: 100%;
    }

    /* Tabs */
    .bc-product-tabs-section .woocommerce-tabs ul.tabs li a {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    /* Related products: 2 columns on mobile */
    .bc-product-tabs-section .related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Breadcrumb */
    .bc-shop-breadcrumb {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .bc-products-grid-wc {
        grid-template-columns: 1fr !important;
    }

    .bc-product-tabs-section .related.products ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   AI Generated Product Detail Sections
   (쿠팡/마켓컬리 스타일 섹션 블록형)
======================================== */

/* Hero Section */
.bc-detail-hero {
    background: linear-gradient(135deg, var(--fc-primary) 0%, var(--fc-primary-dark) 100%);
    color: #fff;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: var(--fc-radius-md);
    margin-bottom: 2.5rem;
}

.bc-detail-hero-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.bc-detail-hero-desc {
    font-size: 1rem;
    opacity: 0.85;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Cards Grid */
.bc-detail-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.bc-detail-feature-card {
    background: #fff;
    border: 1px solid var(--fc-gray-light);
    border-radius: var(--fc-radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: var(--fc-transition);
}

.bc-detail-feature-card:hover {
    border-color: var(--bc-flame);
    box-shadow: var(--fc-shadow-sm);
    transform: translateY(-2px);
}

.bc-detail-feature-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.bc-detail-feature-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--fc-primary);
    margin-bottom: 0.5rem;
}

.bc-detail-feature-desc {
    font-size: 0.82rem;
    color: var(--fc-gray-dark);
    line-height: 1.5;
}

/* Section Title */
.bc-detail-section-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--fc-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--fc-primary);
    display: inline-block;
}

/* Story / Description Block */
.bc-detail-story {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--fc-cream);
    border-radius: var(--fc-radius-md);
}

.bc-detail-story p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--fc-gray-dark);
    margin-bottom: 1rem;
}

.bc-detail-story p:last-child {
    margin-bottom: 0;
}

/* Spec Table */
.bc-detail-specs {
    margin-bottom: 2.5rem;
}

.bc-detail-spec-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--fc-gray-light);
    border-radius: var(--fc-radius-md);
    overflow: hidden;
}

.bc-detail-spec-table tr {
    border-bottom: 1px solid var(--fc-gray-light);
}

.bc-detail-spec-table tr:last-child {
    border-bottom: none;
}

.bc-detail-spec-table th {
    text-align: left;
    padding: 12px 16px;
    background: var(--fc-cream);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fc-primary);
    width: 30%;
    vertical-align: top;
}

.bc-detail-spec-table td {
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--fc-gray-dark);
    line-height: 1.5;
}

.bc-detail-spec-table tr:nth-child(even) th {
    background: #f8f4f0;
}

/* Image Section */
.bc-detail-image-section {
    margin: 2.5rem 0;
    border-radius: var(--fc-radius-md);
    overflow: hidden;
}

.bc-detail-image-placeholder {
    background: var(--fc-cream);
    text-align: center;
    padding: 4rem 2rem;
    color: var(--fc-gray);
    font-size: 0.9rem;
    border: 2px dashed var(--fc-gray-light);
    border-radius: var(--fc-radius-md);
}

.bc-detail-generated-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--fc-radius-md);
}

/* Guide Section */
.bc-detail-guide {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--fc-gray-light);
    border-radius: var(--fc-radius-md);
}

.bc-detail-guide-content {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--fc-gray-dark);
}

.bc-detail-guide-content ul,
.bc-detail-guide-content ol {
    padding-left: 1.5rem;
    margin: 0.75rem 0;
}

.bc-detail-guide-content li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

.bc-detail-guide-content strong {
    color: var(--fc-primary);
}

/* ---- AI Detail Responsive ---- */
@media (max-width: 768px) {
    .bc-detail-hero {
        padding: 2rem 1.25rem;
    }

    .bc-detail-hero-title {
        font-size: 1.3rem;
    }

    .bc-detail-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .bc-detail-feature-card {
        padding: 1rem;
    }

    .bc-detail-feature-icon {
        font-size: 1.5rem;
    }

    .bc-detail-story,
    .bc-detail-guide {
        padding: 1.25rem;
    }

    .bc-detail-spec-table th,
    .bc-detail-spec-table td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .bc-detail-spec-table th {
        width: 35%;
    }
}

@media (max-width: 480px) {
    .bc-detail-features {
        grid-template-columns: 1fr;
    }

    .bc-detail-spec-table th {
        width: 40%;
    }
}

/* ========================================
   Vendor Site / Brand Pages
======================================== */

/* Brand-aware buttons */
.bc-btn-brand {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: var(--bc-brand, var(--fc-primary));
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}
.bc-btn-brand:hover {
    background: var(--bc-brand-dark, var(--fc-primary-dark));
    color: #fff;
}

/* Brand Introduction Section */
.bc-brand-intro {
    padding: 5rem 0;
    background: #fafaf7;
}
.bc-brand-intro-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.bc-brand-intro-desc {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--fc-text-light);
    margin-bottom: 2rem;
}
.bc-brand-intro-visual img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4/3;
}
.bc-brand-intro-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    background: var(--bc-brand-gradient, var(--fc-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
}

/* Vendor Product Grid */
.bc-vendor-products {
    padding: 5rem 0;
}
.bc-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.bc-empty-msg {
    text-align: center;
    padding: 4rem;
    color: var(--fc-gray);
    font-size: 1.1rem;
}

/* Company Info Cards */
.bc-company-info {
    padding: 4rem 0;
    background: #f8f8f5;
}
.bc-company-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.bc-company-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.bc-company-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bc-brand-gradient, var(--fc-primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}
.bc-company-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.bc-company-card p {
    font-size: 0.9rem;
    color: var(--fc-text-light);
    line-height: 1.6;
}

/* Marketplace Link */
.bc-marketplace-link {
    border-top: 1px solid #eee;
}

/* ========================================
   About Page
======================================== */
.bc-about-hero {
    padding: 5rem 0;
    text-align: center;
    color: #fff;
}
.bc-about-label {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 1rem;
}
.bc-about-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.bc-about-subtitle {
    font-size: 1.2rem;
    opacity: 0.85;
}

.bc-about-story {
    padding: 5rem 0;
}
.bc-about-story-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.bc-about-story-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--fc-text);
}
.bc-about-story-text p,
.bc-about-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--fc-text-light);
}
.bc-about-story-img img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

/* Values Grid */
.bc-about-values {
    padding: 5rem 0;
    background: #fafaf7;
}
.bc-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.bc-value-card {
    text-align: center;
    padding: 2rem 1.5rem;
}
.bc-value-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bc-brand-gradient, var(--fc-primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}
.bc-value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.bc-value-card p {
    font-size: 0.9rem;
    color: var(--fc-text-light);
    line-height: 1.6;
}

/* Company Table */
.bc-about-company {
    padding: 4rem 0;
}
.bc-company-table-wrap {
    max-width: 700px;
    margin: 0 auto;
}
.bc-company-table {
    width: 100%;
    border-collapse: collapse;
}
.bc-company-table th,
.bc-company-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 0.95rem;
}
.bc-company-table th {
    width: 35%;
    color: var(--fc-text);
    font-weight: 600;
    background: #fafaf7;
}
.bc-company-table td {
    color: var(--fc-text-light);
}

/* Brand color overrides for vendor header */
body.broiling-coffee:not(.bc-home-main) .fc-header {
    border-bottom-color: var(--bc-brand, var(--fc-primary));
}

/* Responsive - Vendor / About */
@media (max-width: 992px) {
    .bc-brand-intro-inner,
    .bc-about-story-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .bc-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .bc-company-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bc-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bc-about-title {
        font-size: 2.2rem;
    }
}
@media (max-width: 768px) {
    .bc-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .bc-company-grid {
        grid-template-columns: 1fr;
    }
    .bc-values-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bc-about-hero {
        padding: 3rem 0;
    }
    .bc-about-title {
        font-size: 1.8rem;
    }
}
@media (max-width: 480px) {
    .bc-product-grid {
        grid-template-columns: 1fr;
    }
    .bc-values-grid {
        grid-template-columns: 1fr;
    }
}
