.btn-default {
    justify-content: center;
    align-items: center;
    padding: 8px 14px;
    border-radius: 8px;
}

.btn-orange, .btn-orange:hover, .btn-orange:focus {
    background: #FD8F46;
    color: #FFFFFF;
}

.custom-table-rounded {
    border-radius: 16px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}
.custom-table-rounded td,
.custom-table-rounded th {
    border-right: none !important;
    padding: 12px 16px !important;
    vertical-align: middle;
}
.custom-table-rounded tbody tr:nth-child(even) {
    background-color: #F6F6F6 !important;
}
.custom-table-rounded tbody tr:nth-child(even) td {
    background-color: #F6F6F6;
}
.custom-table-rounded tbody tr:nth-child(odd) {
    background-color: #fff !important;
}
.custom-table-rounded thead tr:first-child th:first-child {
    border-top-left-radius: 16px;
}
.custom-table-rounded thead tr:first-child th:last-child {
    border-top-right-radius: 16px;
}
.custom-table-rounded tbody tr:last-child td:first-child {
    border-bottom-left-radius: 16px;
}
.custom-table-rounded tbody tr:last-child td:last-child {
    border-bottom-right-radius: 16px;
}
.custom-table-rounded td:first-child {
    border-left: 1px solid #E5E5E5 !important;
}
.custom-table-rounded td:last-child {
    border-right: 1px solid #E5E5E5 !important;
}
.custom-table-rounded thead th {
    border-left: none !important;
}

.breadcrumb {
    font-size: 14px;
}

.breadcrumb-item {
    color: #4F4F4F;
}

.breadcrumb .active {
    color: #FD8F46;
}

.title-product {
    font-size: 30px;
}

@media (min-width: 992px) {
    .col-lg-11 {
        flex: 0 0 auto;
        width: 95.666667%;
    }
}

.search-icon-inside {
    position: absolute;
    left: 15px;
    top: 45%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
    opacity: 0.7;
}

.mt-not-login {
    margin-top: 105px;
}

.product-list-container {
    width: 100%;
}

/* Category tabs */
.product-category-tabs {
    border-bottom: 2px solid #E5E5E5;
    overflow-x: auto;
    overflow-y: hidden;
}

.product-category-tabs .nav-link {
    color: #4F4F4F;
    font-weight: bold;
    border: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    padding: 10px 20px;
}

.product-category-tabs .nav-link:hover {
    color: #FD8F46;
    border-color: transparent;
}

.product-category-tabs .nav-link.active {
    color: #FD8F46;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid #FD8F46;
}

/* Product image */
.product-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #E5E5E5;
}

.product-no-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    border: 1px solid #E5E5E5;
    background-color: #F6F6F6;
    color: #898C94;
    font-size: 12px;
}

/* Description: clamp to 2-3 lines (概要説明 2〜3行程度) */
.product-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    color: #4F4F4F;
}

/* Detail button on each row */
.btn-action-single {
    display: flex;
    width: 100%;
    white-space: nowrap;
    font-size: 14px;
    height: 40px;
}

/* Product detail page (2-column like event detail) */
.content-product {
    display: flex;
    align-items: flex-start;
    margin: unset;
}

.product-detail, .product-summary {
    padding: 24px 32px;
}

@media (max-width: 1285px) {
    .content-product .product-detail, .product-summary {
        width: 100%;
    }
}

.title-product-detail {
    font-size: 24px;
}

.product-detail-label {
    color: #898C94;
    font-size: 14px;
    margin-bottom: 4px;
}

.product-detail-image {
    max-width: 320px;
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #E5E5E5;
}

.product-detail-no-image {
    width: 320px;
    max-width: 100%;
    height: 320px;
    border-radius: 8px;
    border: 1px solid #E5E5E5;
    background-color: #F6F6F6;
    color: #898C94;
    font-size: 14px;
}

.product-section-title {
    font-weight: normal;
    margin-bottom: 8px;
}

.product-section-description {
    color: #4F4F4F;
}

.product-pdf-notice {
    font-size: 14px;
}

/* Purchase buttons (per FE-CAT-002 mock: green = cart/login purchase, yellow = guest purchase) */
.btn-add-cart, .btn-add-cart:hover, .btn-add-cart:focus {
    background: #FD8F46;
    color: white;
    font-weight: bold;
}

.btn-guest-purchase, .btn-guest-purchase:hover, .btn-guest-purchase:focus {
    background: #FFFF00;
    border: 1px solid #020202;
    color: #020202;
    font-weight: bold;
}

/* Responsive table scroll on mobile */
@media (max-width: 768px) {
    .table-responsive-custom {
        overflow-x: scroll;
        overflow-y: hidden;
    }

    .table-responsive-custom::-webkit-scrollbar {
        height: 3px;
    }

    .table-responsive-custom::-webkit-scrollbar-thumb {
        background-color: #aaa;
        border-radius: 6px;
    }

    .table-responsive-custom::-webkit-scrollbar-track {
        background-color: #f1f1f1;
    }

    .table-responsive-custom table {
        min-width: 900px;
    }
}
