/** 页面顶部导航 下拉菜单 */
.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    min-width: 16rem;
    z-index: 50;
    padding: 0.5rem 0;
}

.nav-dropdown .block {
    display: block !important;
}

.nav-dropdown-item {
    position: relative;
}

.nav-dropdown-item > a {
    display: block;
    padding: 0.5rem 1rem;
    color: #374151;
    transition: all 0.2s ease;
}

.nav-dropdown-item > a:hover {
    background-color: #fef3c7;
    color: #92400e;
}

.nav-dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    min-width: 16rem;
    z-index: 50;
    padding: 0.5rem 0;
}

.nav-dropdown-item:hover .nav-dropdown-submenu {
    display: block;
}

.nav-item:hover .nav-dropdown {
    display: block;
}

.nav-dropdown-item.has-children > a::after {
    content: "▶";
    float: right;
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.nav-dropdown-item.has-children:hover > a::after {
    transform: translateX(2px);
}

/** 产品详情页面 */
.product-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.product-images {
    flex: 0 0 50%;
}

.main-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.thumbnail-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 10px;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 5px 0;
    flex: 1;
    position: relative;
}

.thumbnail-container.centered {
    justify-content: center;
}

.thumbnail-container:not(.centered) {
    justify-content: flex-start;
}

.thumbnail-nav {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.thumbnail-nav:hover {
    background: #f5f5f5;
}

.thumbnail-nav.hidden {
    display: none;
}

.thumbnail-nav-prev {
    margin-right: 5px;
}

.thumbnail-nav-next {
    margin-left: 5px;
}

.thumbnail {
    width: 80px;
    min-width: 80px;
    height: 80px;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    visibility: visible;
}

.thumbnail.active {
    border-color: #e67e22;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-nav.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

.thumbnail-nav.disabled:hover {
    background: #f5f5f5;
    cursor: not-allowed;
}

.option-item-button {
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    border-width: 2px;
    border-radius: .5rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    width: 100px;
}

.option-item-button:hover {
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var();
}

.option-item-button-active {
    --tw-border-opacity: 1;
    border-color: rgb(245 158 11 / var(--tw-border-opacity, 1));
    border-style: solid;
    border-width: 2px;
    border-radius: .5rem;
}

.option-item-button .truncate-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    display: inline-block;
}

.option-item-img {
    width: 80%;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.features {
    margin-bottom: 20px;
}

.features-title {
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity, 1));
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-bottom: .75rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
}

.feature-item label {
    font-size: 1rem;
    line-height: 1rem;
    font-weight: 500;
    color: #999999;
}

.feature-item span {
    font-size: 1rem;
    line-height: 1rem;
}

.feature-icon {
    color: #27ae60;
    margin-right: 8px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.add-to-cart {
    flex: 1;
    padding: 12px;
    background-color: #e67e22;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart:hover {
    background-color: #d35400;
}

/* Tabs */
.product-detail-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.product-detail-tab {
    padding: 8px 15px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.product-detail-tab span {
    font-weight: 500;
}

.product-detail-tab.active {
    border-bottom-color: #f59e0b;
    color: #d97706;
}

.tab-content {
    padding: 20px 0;
}

.tab-content h3 {
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 1.2rem;
}

.tab-content p {
    font-size: 16px;
    line-height: 26px;
    color: #555;
    padding: 0;
}

.tab-content table {
    max-width: 100%;
    border-spacing: 0;
}

.tab-content img {
    display: block;
    margin: auto;
    padding: 10px 0;
    max-width: 100%;
}

.tab-content tr {
    height: 50px;
    border-bottom: 1px solid #ddd;
}

.tab-content th {
    font-size: 14px;
    font-weight: 600;
    padding: 3px;
    text-align: left;
    color: #4b5563;
}

.tab-content td {
    padding: 0 40px;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    color: #4b5563;
}

.tab-content td:nth-child(odd) {
    background-color: #fbfcfd;
}

.tab-content li {
    color: #4b5563;
}

.specifications {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.spec-label {
    font-weight: 600;
}

.product-items {
    font-size: 16px;
    line-height: 35px;
    color: #666;
    margin-left: auto;
    margin-right: auto;
    padding-left: 23px;
}

.product-items ul {
    list-style: circle;
}

.product-info-content {
    margin-left: auto;
    margin-right: auto;
    padding-left: 23px;
}

/** 页面补充完善 */
.ftb1-item {
    width: 680px;
    height: 550px !important;
    float: left;
    margin-left: 20px;
    padding: 100px 0px;
}

.ftb1-item .tit {
    font-size: 24px;
    line-height: 26px;
    width: 400px;
    margin: 0px auto;
    font-family: Poppins
}

.ftb1-item .text {
    font-size: 14px;
    line-height: 22px;
    margin: 18px auto;
    width: 400px;
    font-family: Poppins
}

.ftb1-item .link {
    width: 400px;
    margin: 0px auto;
    font-family: Poppins
}

.ftb1-item .link li {
    float: left;
    width: 50%;
    list-style: disc;
    margin-top: 15px;
}

.ftb1-item .link li a {
    color: #1e3d80;

    font-size: 14px;
    line-height: 24px;
    transition: 0.3s;
    font-family: Poppins
}

.ftb1-item .link li a:hover {
    font-weight: 700;
}

.ftb1-item .tit, .ftb1-item .text, .ftb1-item .link li a {
    Color: #333;
}