/* ========================================
   Products Archive Styles
   ======================================== */
.products-archive {
    padding-top: 0;
}

.products-header {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 25px 0;
    margin-top: var(--header-height);
}

.products-header #crumbs {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.products-header #crumbs a {
    color: rgba(255, 255, 255, 0.9);
}

.products-header #crumbs a:hover {
    color: #ffffff;
}

.products-header #crumbs .current {
    color: #ffffff;
}

.products-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.products-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

.products-main {
    padding: 40px 0;
}

.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
}

/* Products Sidebar */
.products-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    height: fit-content;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 5px;
}

.sidebar-content {
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    overflow: hidden;
}

.category-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-item {
    border-bottom: 1px solid var(--border-color);
}

.category-item:last-child {
    border-bottom: none;
}

.category-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: var(--text-color);
    transition: all var(--transition-fast);
}

.category-item a:hover {
    background-color: var(--background-color);
    color: var(--primary-color);
}

.category-item.current a {
    background-color: rgba(0, 102, 204, 0.08);
    color: var(--primary-color);
    font-weight: 500;
    border-left: 3px solid var(--primary-color);
}

.category-name {
    font-size: 0.95rem;
}

.category-count {
    background-color: var(--background-color);
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 10px;
}

.category-item.current .category-count {
    background-color: var(--primary-color);
    color: #ffffff;
}

.sidebar-mobile-select {
    display: none;
}

.category-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    cursor: pointer;
}

/* Products Content */
.products-content {
    min-width: 0;
}

.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.results-count {
    color: var(--text-light);
    font-size: 0.95rem;
}

.toolbar-right .search-form form {
    display: flex;
    align-items: center;
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.toolbar-right .search-form form:focus-within {
    border-color: var(--primary-color);
}

.toolbar-right .search-form input[type="search"] {
    border: none;
    padding: 10px 15px;
    font-size: 0.95rem;
    width: 200px;
    outline: none;
}

.toolbar-right .search-form button {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.toolbar-right .search-form button:hover {
    background-color: var(--primary-dark);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.product-link {
    display: block;
    color: inherit;
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--background-color);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.product-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 153, 170, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-detail {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 20px;
    border: 2px solid #ffffff;
    border-radius: var(--border-radius-md);
}

.product-info {
    padding: 20px;
}

.product-category {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--primary-color);
    background-color: rgba(0, 102, 204, 0.08);
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-sku {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Products Pagination */
.products-pagination {
    margin-top: 40px;
}

.products-pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.products-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    font-size: 0.95rem;
    color: var(--text-color);
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
}

.products-pagination .page-numbers:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.products-pagination .page-numbers.current {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.products-pagination .page-numbers.prev,
.products-pagination .page-numbers.next {
    padding: 0 15px;
}

/* No Products */
.no-products {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--background-white);
    border-radius: var(--border-radius-lg);
}

.no-products-icon {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.no-products h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.no-products p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* ========================================
   Product Single Styles
   ======================================== */
.product-single-wrapper {
    padding-top: 0;
}

.product-header {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 40%, #115e59 70%, #134e4a 100%);
    padding: 40px 0;
    margin-top: var(--header-height);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.25);
}

.product-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(13, 148, 136, 0.2) 0%, transparent 55%);
    pointer-events: none;
}

.product-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(6, 182, 212, 0.5) 20%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(6, 182, 212, 0.5) 80%,
        transparent 100%
    );
}

.product-header .container {
    position: relative;
    z-index: 1;
}

.product-header .page-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0;
    letter-spacing: 0.03em;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Product Edit Bar */
.product-edit-bar {
    background-color: #f0f7ff;
    border-bottom: 1px solid #dbeafe;
    padding: 12px 0;
}

.product-edit-bar .container {
    display: flex;
    justify-content: flex-end;
}

.btn-edit-product {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
}

.btn-edit-product:hover {
    background-color: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.btn-edit-product svg {
    flex-shrink: 0;
}

.product-header #crumbs {
    color: var(--text-light);
}

.product-main {
    padding: 25px 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 30px;
    margin-bottom: 30px;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    height: fit-content;
    z-index: 1;
}

.gallery-main {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 15px;
}

.gallery-main-slider {
    position: relative;
}

.gallery-slide {
    display: none;
    position: relative;
    aspect-ratio: 1;
}

.gallery-slide.active {
    display: block;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-slide .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.gallery-zoom {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-zoom:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px;
}

.thumb-item {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    min-width: 44px;
    min-height: 44px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: none;
    transition: border-color var(--transition-fast);
}

.thumb-item:hover,
.thumb-item.active {
    border-color: var(--primary-color);
}

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

/* Product Summary */
.product-summary {
    padding: 0;
    overflow: visible;
    max-width: 100%;
    z-index: 1;
}

.product-short-description {
    line-height: 1.8;
    color: var(--text-color);
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.product-meta-top {
    margin-bottom: 15px;
}

.product-category-badge {
    display: inline-block;
    font-size: 0.85rem;
    color: #ffffff;
    background-color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 15px;
    transition: background-color var(--transition-fast);
}

.product-category-badge:hover {
    background-color: var(--primary-dark);
    color: #ffffff;
}

.product-summary .product-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-sku {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.product-sku .label {
    font-weight: 500;
    color: var(--text-color);
}

.product-short-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.product-specs-quick {
    margin-bottom: 25px;
}

.product-specs-quick h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.specs-table th {
    width: 40%;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
}

.specs-table td {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.btn-inquiry {
    flex: 1;
    min-width: 180px;
}

.document-dropdown {
    position: relative;
}

.btn-documents {
    min-width: 150px;
}

.document-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    z-index: 10;
    margin-top: 5px;
}

.document-dropdown:hover .document-list,
.document-dropdown:focus-within .document-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.document-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: background-color var(--transition-fast);
}

.document-item:hover {
    color: var(--primary-color);
}

.document-item:first-child {
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

.document-item:last-child {
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
}

/* Product Share */
.product-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.share-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    color: var(--text-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.share-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.share-wechat:hover {
    background-color: #07c160;
}

.share-weibo:hover {
    background-color: #e6162d;
}

.share-linkedin:hover {
    background-color: #0077b5;
}

/* Product Details Tabs */
.product-details {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 50px;
}

.details-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.tab-btn {
    padding: 18px 30px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary-color);
}

.details-content {
    padding: 30px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.features-content {
    line-height: 1.8;
    color: var(--text-color);
}

.features-content h1,
.features-content h2,
.features-content h3,
.features-content h4,
.features-content h5,
.features-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.features-content h1:first-child,
.features-content h2:first-child,
.features-content h3:first-child {
    margin-top: 0;
}

.features-content p {
    margin-bottom: 1em;
}

.features-content ul,
.features-content ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.features-content ul {
    list-style-type: disc;
}

.features-content ol {
    list-style-type: decimal;
}

.features-content li {
    margin-bottom: 0.5em;
}

.applications-content {
    line-height: 1.8;
    color: var(--text-color);
}

.specifications-content {
    line-height: 1.8;
    color: var(--text-color);
}

.specifications-content {
    max-width: 600px;
}

.specs-table-full {
    width: 100%;
    border-collapse: collapse;
}

.specs-table-full th,
.specs-table-full td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.specs-table-full th {
    width: 35%;
    font-weight: 500;
    color: var(--text-color);
}

.specs-table-full td {
    color: var(--text-light);
}

.no-content {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

/* Product Related */
.product-related {
    margin-bottom: 50px;
}

.related-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.related-slider {
    position: relative;
    overflow: hidden;
}

.related-track {
    display: flex;
    gap: 20px;
    transition: transform var(--transition-normal);
}

.related-item {
    flex: 0 0 calc(25% - 15px);
    background-color: var(--background-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.related-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.related-link {
    display: block;
    color: inherit;
}

.related-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.related-item:hover .related-image img {
    transform: scale(1.05);
}

.related-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.related-info {
    padding: 15px;
}

.related-category {
    font-size: 0.75rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.related-name {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-sku {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.slider-nav:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

/* Product Inquiry */
.product-inquiry {
    border-radius: var(--border-radius-lg);
    padding: 40px;
}

.inquiry-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.inquiry-desc {
    color: var(--text-light);
    margin-bottom: 30px;
}

.inquiry-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.inquiry-form .form-group {
    margin-bottom: 20px;
}

.inquiry-form .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.inquiry-form .required {
    color: #e53935;
}

.inquiry-form .form-actions {
    margin-top: 10px;
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #ffffff;
    cursor: pointer;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity var(--transition-fast);
    z-index: 10;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #ffffff;
    cursor: pointer;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity var(--transition-fast);
}

.lightbox-nav:hover {
    opacity: 0.7;
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

@media screen and (max-width: 768px) {
    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }
}

/* ========================================
   Responsive Styles - Tablet
   ======================================== */
@media screen and (max-width: 1024px) {
    .product-header {
        padding: 36px 0;
    }

    .product-header .page-title {
        font-size: 1.95rem;
    }

    .products-layout {
        grid-template-columns: 220px 1fr;
        gap: 25px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .product-layout {
        grid-template-columns: 52% 48%;
        gap: 25px;
    }

    .related-item {
        flex: 0 0 calc(33.333% - 14px);
    }
}

/* ========================================
   Responsive Styles - Mobile
   ======================================== */
@media screen and (max-width: 768px) {
    .products-header {
        padding: 30px 0;
        margin-top: var(--header-height-mobile);
    }

    .product-header {
        margin-top: var(--header-height-mobile);
        padding: 32px 0;
    }

    .product-header .page-title {
        font-size: 1.65rem;
        letter-spacing: 0.02em;
    }

    .products-title {
        font-size: 1.5rem;
    }

    .products-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        position: static;
    }

    .sidebar-header {
        border-radius: var(--border-radius-md);
    }

    .sidebar-header .sidebar-toggle {
        display: block;
    }

    .sidebar-content {
        display: none;
        border: 1px solid var(--border-color);
        border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
        margin-top: -1px;
    }

    .sidebar-content.active {
        display: block;
    }

    .sidebar-mobile-select {
        display: block;
        margin-top: 15px;
    }

    .products-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-right .search-form input[type="search"] {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-info {
        padding: 15px;
    }

    .product-title {
        font-size: 0.9rem;
    }

    .products-pagination ul {
        flex-wrap: wrap;
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-gallery {
        position: static;
    }

    .product-summary {
        overflow: visible;
    }

    .product-short-description {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .product-summary {
        overflow: visible;
    }

    .product-short-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .product-summary .product-title {
        font-size: 1.5rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .btn-inquiry {
        width: 100%;
    }

    .document-dropdown {
        width: 100%;
    }

    .btn-documents {
        width: 100%;
    }

    .document-list {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 10px;
        display: none;
    }

    .document-dropdown.active .document-list {
        display: block;
    }

    .details-tabs {
        padding: 0 15px;
    }

    .tab-btn {
        padding: 15px 20px;
        font-size: 0.95rem;
        min-height: 44px;
    }

    .details-content {
        padding: 20px;
    }

    .related-item {
        flex: 0 0 calc(50% - 10px);
        min-width: 140px;
    }

    .slider-nav {
        display: none;
    }

    .related-slider {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .related-slider::-webkit-scrollbar {
        display: none;
    }

    .related-track {
        flex-wrap: nowrap;
    }

    .product-inquiry {
        padding: 25px;
    }

    .inquiry-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .specs-table th,
    .specs-table td {
        display: block;
        width: 100%;
    }

    .specs-table th {
        padding-bottom: 5px;
    }

    .specs-table td {
        padding-top: 0;
        padding-bottom: 12px;
    }

    .specs-table-full th,
    .specs-table-full td {
        display: block;
        width: 100%;
    }

    .specs-table-full th {
        padding-bottom: 5px;
    }

    .specs-table-full td {
        padding-top: 0;
        padding-bottom: 15px;
    }
}

/* ========================================
   Responsive Styles - Small Mobile
   ======================================== */
@media screen and (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        display: flex;
        flex-direction: row;
    }

    .product-image {
        width: 120px;
        flex-shrink: 0;
        aspect-ratio: 1;
    }

    .product-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .gallery-thumbs {
        gap: 8px;
        padding: 5px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .gallery-thumbs::-webkit-scrollbar {
        display: none;
    }

    .thumb-item {
        width: 60px;
        height: 60px;
        min-width: 44px;
        min-height: 44px;
    }

    .related-item {
        flex: 0 0 85%;
        min-width: 140px;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .share-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    /* 移动端产品详情页优化 */
    .product-summary {
        overflow: visible;
    }

    .product-short-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .product-summary .product-title {
        font-size: 1.25rem;
    }

    .product-header {
        padding: 26px 0;
    }

    .product-header .page-title {
        font-size: 1.4rem;
        letter-spacing: 0.01em;
    }

    .product-short-description {
        font-size: 0.9rem;
    }

    .specs-table th,
    .specs-table td {
        font-size: 0.85rem;
        padding: 8px 10px;
    }

    .btn-inquiry,
    .btn-documents {
        min-height: 44px;
        font-size: 0.9rem;
    }

    .document-item {
        min-height: 44px;
        padding: 10px 12px;
    }

    .tab-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
        min-height: 44px;
    }

    .details-content {
        padding: 15px;
    }

    .features-content,
    .applications-content {
        font-size: 0.9rem;
    }

    .features-content h1,
    .features-content h2,
    .features-content h3 {
        font-size: 1.1rem;
    }

    .gallery-slide {
        aspect-ratio: 1;
    }

    .gallery-slide img {
        object-fit: contain;
    }

    .gallery-zoom {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }
}

/* ========================================
   Landscape Mobile Adjustments
   ======================================== */
@media screen and (max-width: 767px) and (orientation: landscape) {
    .product-header {
        padding: 22px 0;
    }

    .product-header .page-title {
        font-size: 1.35rem;
        letter-spacing: 0.01em;
    }

    .product-layout {
        grid-template-columns: 45% 55%;
        gap: 20px;
    }

    .product-gallery {
        position: sticky;
        top: calc(var(--header-height-mobile) + 10px);
    }

    .gallery-slide {
        aspect-ratio: 4 / 3;
    }

    .product-summary {
        overflow: visible;
    }

    .product-short-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .product-summary .product-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .product-short-description {
        font-size: 0.85rem;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .product-specs-quick {
        margin-bottom: 15px;
    }

    .product-specs-quick h4 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .specs-table th,
    .specs-table td {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .product-actions {
        flex-direction: row;
        gap: 10px;
        margin-bottom: 15px;
    }

    .btn-inquiry,
    .btn-documents {
        flex: 1;
        min-width: auto;
        padding: 10px 15px;
        font-size: 0.85rem;
        min-height: 40px;
    }

    .details-tabs {
        padding: 0 10px;
    }

    .tab-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
        min-height: 40px;
    }

    .details-content {
        padding: 15px;
    }

    .related-item {
        flex: 0 0 calc(33.333% - 14px);
    }
}
