/* Technical Sheets Frontend Styles - New Modern Layout */

/* ================================
   HERO SECTION
   ================================ */

.ts-hero-section {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    margin: 0;
    overflow: hidden;
}

.ts-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.ts-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.ts-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ts-hero-text {
    color: #fff;
}

.ts-hero-title {
    font-size: 46px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 40px 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ts-hero-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.ts-hero-spec-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 10px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.ts-hero-spec-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.ts-hero-spec-label {
    font-size:11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ts-hero-spec-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.ts-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ts-hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* ================================
   MAIN CONTENT SECTION
   ================================ */

.ts-main-content-section {
    padding: 80px 0;
    background: #fff;
}

.ts-main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.ts-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.ts-content-left {
    position: sticky;
    top: 80px;
}

.ts-main-image-wrapper {
    background: #f8f9fa;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ts-main-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Gallery Slider Styles */
.ts-gallery-slider {
    position: relative;
}

.ts-slider-container {
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.ts-slider-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.ts-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ts-slide.active {
    z-index: 2;
    opacity: 1;
}

.ts-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.ts-slide-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.ts-slide-link:hover .ts-slide-image {
    transform: scale(1.02);
}

.ts-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    font-size: 14px;
    line-height: 1.4;
}

/* Slider Navigation Buttons */
.ts-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
}

.ts-slider-btn:hover {
    background: rgba(242, 106, 33, 0.9);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.ts-slider-prev {
    left: 15px;
}

.ts-slider-next {
    right: 15px;
}

/* Slider Dots */
.ts-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.ts-slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.ts-slider-dot:hover,
.ts-slider-dot.active {
    background: #f26a21;
    border-color: #f26a21;
    transform: scale(1.2);
}

.ts-featured-image {
    text-align: center;
}

.ts-featured-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.ts-content-right {
    padding: 20px 0;
}

.ts-description-section {
    margin-bottom: 50px;
}

.ts-description-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f26a21;
}

.ts-description-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.ts-description-content p {
    margin-bottom: 15px;
}

.ts-specifications-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f26a21;
}

.ts-specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
}

.ts-specs-table tr {
    border-bottom: 1px solid #e9ecef;
}

.ts-specs-table tr:last-child {
    border-bottom: none;
}

.ts-specs-table th,
.ts-specs-table td {
    padding: 18px 15px;
    text-align: left;
}

.ts-specs-table th {
    font-weight: 600;
    color: #333;
    width: 40%;
    font-size: 1rem;
}

.ts-specs-table td {
    color: #666;
    font-size: 1rem;
}

.ts-specs-table tr:hover {
    background: #f8f9fa;
}

/* ================================
   DETAILS SECTION (Accordion + Download)
   ================================ */

.ts-details-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.ts-details-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.ts-accordion-wrapper {
    margin-bottom: 60px;
}

.ts-accordion-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* Accordion Styles */
.ts-accordion {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ts-accordion-item {
    border-bottom: 1px solid #e9ecef;
}

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

.ts-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ts-accordion-header:hover {
    background: #f8f9fa;
}

.ts-accordion-header.active {
    background: #f26a21;
}

.ts-accordion-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.ts-accordion-header.active h4 {
    color: #fff;
}

.ts-accordion-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f26a21;
    transition: all 0.3s ease;
    transform: rotate(0deg);
}

.ts-accordion-header.active .ts-accordion-icon {
    transform: rotate(90deg);
    color: #fff;
}

.ts-accordion-content {
    padding: 0 30px;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ts-accordion-content.active {
    padding: 30px;
    max-height: 2000px;
}

.ts-accordion-image {
    float: left;
    margin: 0 20px 20px 0;
    max-width: 250px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.ts-accordion-text {
    line-height: 1.8;
    color: #555;
    font-size: 1rem;
}

/* Download Section */
.ts-download-wrapper {
    text-align: center;
}

.ts-download-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.ts-download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ts-print-button,
.ts-pdf-export-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    background-color: #f26a21;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(242, 106, 33, 0.3);
}

.ts-print-button:hover,
.ts-pdf-export-button:hover {
    background-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(51, 51, 51, 0.4);
}

.ts-pdf-export-button {
    background-color: #ffe500;
    color: #333;
    box-shadow: 0 4px 15px rgba(255, 229, 0, 0.3);
}

.ts-pdf-export-button:hover {
    background-color: #333;
    color: #fff;
    box-shadow: 0 6px 20px rgba(51, 51, 51, 0.4);
}

/* ================================
   DISCLAIMER SECTION
   ================================ */

.ts-disclaimer-section {
    background: #fff;
    padding: 60px 0;
    border-top: 1px solid #e9ecef;
}

.ts-disclaimer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.ts-disclaimer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.ts-disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #666;
    line-height: 1.8;
}

.ts-disclaimer-content p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1200px) {
    .ts-hero-title {
        font-size: 2.8rem;
    }
    
    .ts-hero-specs {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .ts-content-grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .ts-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .ts-hero-image {
        order: -1;
    }
    
    .ts-content-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .ts-content-left {
        position: relative;
        top: 0;
    }
    
    .ts-hero-specs {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ts-hero-section {
        padding: 60px 0;
    }
    
    .ts-hero-container,
    .ts-main-container,
    .ts-details-container,
    .ts-disclaimer-container {
        padding: 0 20px;
    }
    
    .ts-hero-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    
    .ts-hero-specs {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ts-hero-spec-item {
        padding: 20px;
    }
    
    .ts-main-content-section {
        padding: 50px 0;
    }
    
    .ts-description-section h2,
    .ts-specifications-section h2 {
        font-size: 1.6rem;
    }
    
    .ts-specs-table th,
    .ts-specs-table td {
        padding: 15px 10px;
        font-size: 0.95rem;
    }
    
    .ts-specs-table th {
        width: 45%;
    }
    
    .ts-details-section {
        padding: 50px 0;
    }
    
    .ts-accordion-header {
        padding: 20px 15px;
    }
    
    .ts-accordion-header h4 {
        font-size: 1.05rem;
    }
    
    .ts-accordion-content.active {
        padding: 20px 15px;
    }
    
    .ts-accordion-image {
        float: none;
        margin: 0 auto 20px auto;
        max-width: 100%;
        display: block;
    }
    
    .ts-download-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .ts-print-button,
    .ts-pdf-export-button {
        padding: 16px 30px;
        font-size: 1rem;
    }
    
    .ts-disclaimer-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .ts-hero-title {
        font-size: 1.8rem;
    }
    
    .ts-hero-spec-value {
        font-size: 1.3rem;
    }
    
    .ts-description-section h2,
    .ts-specifications-section h2,
    .ts-accordion-wrapper h2,
    .ts-download-wrapper h2 {
        font-size: 1.4rem;
    }
    
    .ts-specs-table th,
    .ts-specs-table td {
        padding: 12px 8px;
        font-size: 0.9rem;
    }
}

/* ================================
   PRINT STYLES
   ================================ */

@media print {
    .ts-hero-section {
        padding: 20px 0;
        background: #fff !important;
    }
    
    .ts-hero-overlay {
        display: none;
    }
    
    .ts-hero-title {
        color: #000 !important;
        text-shadow: none;
    }
    
    .ts-download-wrapper,
    .ts-print-button,
    .ts-pdf-export-button {
        display: none !important;
    }
    
    .ts-accordion-content {
        display: block !important;
        max-height: none !important;
        padding: 20px 0 !important;
    }
    
    .ts-accordion-header {
        background: transparent !important;
    }
    
    .ts-accordion-icon {
        display: none;
    }
    
    .ts-content-left {
        position: relative;
        top: 0;
    }
}

/* ================================
   OLD STYLES COMPATIBILITY
   (Manteniamo solo le parti necessarie per archivio e widget)
   ================================ */


.ts-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ts-nav-previous,
.ts-nav-next {
    flex: 1;
}

.ts-nav-next {
    text-align: right;
}

.ts-nav-previous a,
.ts-nav-next a {
    display: inline-block;
    text-decoration: none;
    color: #f26a21;
    font-weight: 500;
    transition: color 0.3s ease;
}

.ts-nav-previous a:hover,
.ts-nav-next a:hover {
    color: #005a87;
}

.nav-subtitle {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.nav-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Archive Page */
.ts-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.ts-archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.ts-archive-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

/* Filters */
.ts-filters-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 40px;
    border: 1px solid #e9ecef;
}

.ts-filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.ts-filter-group {
    display: flex;
    flex-direction: column;
}

.ts-filter-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.ts-filter-select,
.ts-filter-input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 0.9rem;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ts-filter-select:focus,
.ts-filter-input:focus {
    outline: none;
    border-color: #f26a21;
    box-shadow: 0 0 0 1px #f26a21;
}

.ts-filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ts-filter-button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    line-height: 1;
    height: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.ts-apply-button {
    background: #f26a21;
    color: #fff;
}

.ts-apply-button:hover {
    background: #005a87;
    transform: translateY(-1px);
}

.ts-clear-button {
    background: #6c757d;
    color: #fff;
}

.ts-clear-button:hover {
    background: #545b62;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

.ts-active-filters {
    margin-top: 15px;
    padding: 12px;
    background: #e3f2fd;
    border-radius: 6px;
    border-left: 4px solid #f26a21;
    font-size: 0.9rem;
}

.ts-active-filters-label {
    font-weight: 600;
    color: #333;
    margin-right: 8px;
}

/* Responsive filters */
@media (max-width: 768px) {
    .ts-filters-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ts-filter-actions {
        justify-content: stretch;
    }
    
    .ts-filter-button {
        flex: 1;
    }
}

/* Widget Styles */
.ts-filters-widget {

    margin-bottom: 30px;
}

.ts-filters-widget .widget-title {
    display: none;
    background: #f8f9fa;
    padding: 15px;
    margin: 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 1rem;
    font-weight: 600;
}

.ts-filters-widget-content {
    /*padding: 15px;*/
    margin-bottom: 30px;
}

.ts-widget-form .ts-filter-group {
    margin-bottom: 15px;
}

.ts-widget-form .ts-filter-group:last-of-type {
    margin-bottom: 20px;
}

.ts-widget-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 0.85rem;
    color: #555;
}

.ts-widget-form .ts-filter-select,
.ts-widget-form .ts-filter-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    background: #fff;
    line-height: 1.4;
    min-height: 40px;
    box-sizing: border-box;
}

.ts-widget-form .ts-filter-actions {
    display: flex;
    gap: 8px;
}

.ts-widget-form .ts-filter-button {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.8rem;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ts-widget-form .ts-apply-button {
    background: #f26a21;
    color: #fff;
}

.ts-widget-form .ts-apply-button:hover {
    background: #005a87;
}

.ts-widget-form .ts-clear-button {
    background: #f1f1f1;
    color: #666;
}

.ts-widget-form .ts-clear-button:hover {
    background: #e0e0e0;
    text-decoration: none;
}

.ts-active-filters-count {
    margin-top: 10px;
    padding: 8px;
    background: #e3f2fd;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #f26a21;
    text-align: center;
}

/* Recent Sheets Widget */
.ts-recent-sheets-widget {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
}

.ts-recent-sheets-widget .widget-title {
    display: none;
    background: #f8f9fa;
    padding: 15px;
    margin: 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 1rem;
    font-weight: 600;
}

.ts-recent-sheets-list {
    padding: 15px;
}

.ts-recent-sheet-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.ts-recent-sheet-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ts-recent-sheet-thumbnail {
    flex-shrink: 0;
}

.ts-recent-sheet-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.ts-recent-sheet-content {
    flex: 1;
    min-width: 0;
}

.ts-recent-sheet-title {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.ts-recent-sheet-title a {
    color: #333;
    text-decoration: none;
    display: block;
}

.ts-recent-sheet-title a:hover {
    color: #f26a21;
}

.ts-recent-sheet-excerpt {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 6px;
}

.ts-recent-sheet-meta {
    font-size: 0.75rem;
    color: #999;
}

.ts-recent-sheets-footer {
    padding: 10px 15px;
    background: #f8f9fa;
    border-top: 1px solid #e5e5e5;
    text-align: center;
}

.ts-view-all-link {
    color: #f26a21;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.ts-view-all-link:hover {
    color: #005a87;
    text-decoration: underline;
}

/* Shortcode Styles */
.ts-filters-shortcode {
    margin-bottom: 30px;
}

.ts-filters-shortcode .ts-filters-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

.ts-filters-compact .ts-filters-form {
    padding: 15px;
}

.ts-filters-inline .ts-filters-form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 15px;
    background: none;
    padding: 0;
    border: none;
}

.ts-filters-inline .ts-filter-group {
    margin: 0;
}

.ts-filters-inline .ts-filter-actions {
    margin: 0;
}

@media (max-width: 768px) {
    .ts-filters-inline .ts-filters-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ts-recent-sheet-item {
        flex-direction: column;
        text-align: center;
    }
    
    .ts-recent-sheet-thumbnail {
        align-self: center;
    }
}

.ts-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.ts-archive-item {
    background: #fff;
    border-radius: 8px;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.ts-archive-item:hover {
    transform: translateY(-5px);
}

.ts-item-thumbnail {
    position: relative;
    flex-grow: 1;
}

.ts-item-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
}

.ts-no-image {
    width: 100%;
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.1rem;
}

.ts-no-image a {
    color: #999;
    text-decoration: none;
}

.ts-item-content {
    display: flex;
    flex-grow: 1;
    padding: 20px;
    flex-direction: column;
}

.ts-item-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.ts-item-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ts-item-title a:hover {
    color: #f26a21;
}

.ts-item-meta {
    margin-bottom: 15px;
}

.ts-item-meta .ts-sheet-types,
.ts-item-meta .ts-sheet-brands {
    font-size: 0.8rem;
    margin-right: 10px;
    margin-bottom: 5px;
}

.ts-item-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ts-item-actions a{
    width:50%;
    justify-content: center;
}

input[type="text"].ts-filter-input {
    height: 50px;
}

.ts-item-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    /*flex-wrap: wrap;*/
    flex-direction: row;
}

.ts-view-button,
.ts-pdf-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.ts-view-button {
    background: #f26a21;
    color: #fff;
}

.ts-view-button:hover {
    background: #f26a21;
    color: #fff;
}

.ts-pdf-button {
    background: #dc3545;
    color: white;
}

.ts-pdf-button:hover {
    background: #c82333;
    color: white;
}

/* Shortcode Styles */
.ts-shortcode-container {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.ts-columns-1 {
    grid-template-columns: 1fr;
}

.ts-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.ts-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.ts-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.ts-shortcode-item {
    background: #fff;
    border-radius: 8px;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    overflow: hidden;
    transition: transform 0.3s ease;
}

.ts-shortcode-item:hover {
    transform: translateY(-5px);
}

.ts-single-shortcode {
    background: #fff;
    border-radius: 8px;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    padding: 30px;
    margin-bottom: 30px;
}

/* Pagination */
.ts-pagination {
    text-align: center;
    margin-top: 40px;
}

.ts-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: #f8f9fa;
    color: #f26a21;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ts-pagination .page-numbers:hover,
.ts-pagination .page-numbers.current {
    background: #f26a21;
    color: white;
}

.ts-pagination .page-numbers.dots {
    background: transparent;
    color: #666;
}

.ts-pagination .page-numbers.dots:hover {
    background: transparent;
    color: #666;
}

/* No posts message */
.ts-no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.ts-no-posts p {
    font-size: 1.2rem;
    margin: 0;
}

/* Download section */
.ts-download-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.ts-download-section h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.2em;
    font-weight: 600;
}

.ts-download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.ts-download-buttons .ts-print-button,
.ts-download-buttons .ts-pdf-export-button {
    border: 1px solid #f26a21;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #f26a21;
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.ts-download-buttons .ts-print-button:hover,
.ts-download-buttons .ts-pdf-export-button:hover {
    background-color: #fff;
    color: #f26a21;
}

.ts-download-buttons .ts-print-button i,
.ts-download-buttons .ts-pdf-export-button i {
    font-size: 16px;
}

/* Hide download section when printing */
@media print {
    .ts-download-section,
    .no-print {
        display: none !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .ts-container {
        padding: 15px;
    }
    
    .ts-row {
        margin: 0 -10px;
    }
    
    .ts-column {
        padding: 0 10px;
        width: 100%;
    }
    
    .ts-title {
        font-size: 2rem;
    }
    
    .ts-header {
        padding: 20px;
    }
    
    .ts-content-wrapper {
        padding: 20px;
    }
    
    .ts-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ts-slider-wrapper {
        height: 300px;
    }
    
    .ts-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .ts-slider-prev {
        left: 10px;
    }
    
    .ts-slider-next {
        right: 10px;
    }
    
    .ts-slider-dots {
        bottom: 15px;
        gap: 8px;
    }
    
    .ts-slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .ts-basic-info-table th,
    .ts-basic-info-table td {
        padding: 10px;
    }
    
    .ts-accordion-header {
        padding: 15px;
    }
    
    .ts-accordion-content {
        padding: 15px;
    }
    
    .ts-accordion-image {
        float: none;
        margin: 0 0 15px 0;
        max-width: 100%;
    }
    
    .ts-archive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ts-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .ts-nav-next {
        text-align: left;
    }
    
    .ts-shortcode-container {
        grid-template-columns: 1fr;
    }
    
    .ts-item-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .ts-title {
        font-size: 1.5rem;
    }
    
    .ts-archive-title {
        font-size: 2rem;
    }
    
    .ts-slider-wrapper {
        height: 250px;
    }
    
    .ts-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .ts-slider-prev {
        left: 8px;
    }
    
    .ts-slider-next {
        right: 8px;
    }
    
    .ts-slider-dots {
        bottom: 10px;
        gap: 6px;
    }
    
    .ts-slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .ts-basic-info-table th {
        width: 35%;
    }
    
    .ts-basic-info-table th,
    .ts-basic-info-table td {
        padding: 8px;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .ts-container {
        max-width: none;
        padding: 0;
    }
    
    .ts-single-sheet {
        box-shadow: none;
    }
    
    .ts-section {
        page-break-inside: avoid;
    }
    
    .ts-gallery-item {
        break-inside: avoid;
    }
    
    .ts-accordion-content {
        display: block !important;
    }
    
    .ts-accordion-header {
        background: transparent !important;
    }
    
    .ts-accordion-icon {
        display: none;
    }
}

/* Responsive styles for download section */
@media (max-width: 768px) {
    .ts-download-section {
        padding: 15px;
    }
    
    .ts-download-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .ts-download-buttons .ts-print-button,
    .ts-download-buttons .ts-pdf-export-button {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .ts-download-section h3 {
        font-size: 1.1em;
    }
    
    .ts-download-buttons .ts-print-button,
    .ts-download-buttons .ts-pdf-export-button {
        font-size: 13px;
        padding: 12px 16px;
    }
}

/* Disclaimer Styles */
.ts-disclaimer {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0 20px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
}

.ts-disclaimer h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 8px;
}

.ts-disclaimer p {
    margin: 0 0 12px 0;
}

.ts-disclaimer p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: #495057;
}

/* Navigation Styles */
.ts-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.ts-nav-previous,
.ts-nav-next {
    flex: 1;
    max-width: 45%;
}

.ts-nav-next {
    text-align: right;
}

.ts-nav-previous a,
.ts-nav-next a {
    display: block;
    text-decoration: none;
    color: #495057;
    transition: color 0.3s ease;
}

.ts-nav-previous a:hover,
.ts-nav-next a:hover {
    color: #f26a21;
}

.nav-subtitle {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: #6c757d;
}

.nav-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

/* Widget Styles - Reset Button */
.ts-widget-form .ts-reset-button {
    background: #f44336;
    color: #fff;
}

.ts-widget-form .ts-reset-button:hover {
    background: #d32f2f;
}

/* Taxonomy List Widget */
.ts-taxonomy-list-widget {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
}

.ts-taxonomy-list-widget .widget-title {
    display: none;
    background: #f8f9fa;
    padding: 15px;
    margin: 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 1rem;
    font-weight: 600;
}

.ts-taxonomy-list-content {
    padding: 15px;
}

.ts-taxonomy-reset {
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: center;
}

.ts-reset-filters-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: #f44336;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: background 0.3s ease;
}

.ts-reset-filters-link:hover {
    background: #d32f2f;
    color: #fff;
    text-decoration: none;
}

.ts-reset-filters-link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.ts-taxonomy-section {
    margin-bottom: 25px;
}

.ts-taxonomy-section:last-child {
    margin-bottom: 0;
}

.ts-taxonomy-title {
    margin: 0 0 12px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #f26a21;
    padding-bottom: 5px;
}

.ts-taxonomy-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ts-taxonomy-item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.ts-taxonomy-link {
    display: block !important;
    padding: 8px 12px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.ts-taxonomy-link:hover {
    color: #f26a21;
    background: #f8f9fa;
    text-decoration: none;
    padding-left: 18px;
}

.ts-taxonomy-item.active .ts-taxonomy-link {
    display: block;
    background: #f26a21;
    color: #fff;
    font-weight: 600;
}

.ts-taxonomy-item.active .ts-taxonomy-link:hover {
    background: #005a87;
    color: #fff;
}

.ts-active-filters-summary {
    margin-top: 20px;
    padding: 15px;
    background: #e3f2fd;
    border-radius: 6px;
    border-left: 4px solid #f26a21;
}

.ts-active-filters-summary h5 {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
}

.ts-active-filters-summary ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ts-active-filters-summary li {
    font-size: 0.85rem;
    color: #f26a21;
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.-ts-active-filters-summary li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #f26a21;
    font-weight: bold;
}

.ts-active-filters-summary li:last-child {
    margin-bottom: 0;
}

/* Layout Variations */
.ts-layout-horizontal .ts-taxonomy-section {
    display: inline-block;
    width: 48%;
    margin-right: 4%;
    vertical-align: top;
}

.ts-layout-horizontal .ts-taxonomy-section:nth-child(even) {
    margin-right: 0;
}

.ts-layout-compact .ts-taxonomy-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.ts-layout-compact .ts-taxonomy-item {
    border: none;
    flex: none;
}

.ts-layout-compact .ts-taxonomy-link {
    display: block;
    padding: 5px 10px;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.ts-layout-compact .ts-taxonomy-link:hover {
    background: #f26a21;
    color: #fff;
    padding-left: 10px;
}

@media (max-width: 768px) {
    .ts-disclaimer {
        padding: 15px;
        font-size: 13px;
    }
    
    .ts-disclaimer h4 {
        font-size: 15px;
    }
    
    .ts-navigation {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .ts-nav-previous,
    .ts-nav-next {
        max-width: 100%;
        text-align: center;
    }
    
    .ts-layout-horizontal .ts-taxonomy-section {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .ts-layout-compact .ts-taxonomy-list {
        gap: 3px;
    }
    
    .ts-layout-compact .ts-taxonomy-link {
        display: block;
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .ts-taxonomy-reset {
        margin-bottom: 15px;
    }
    
    .ts-reset-filters-link {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Select2 Custom Styles for Technical Sheets */
.select2-container--default .select2-selection--single {
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
    color: #333;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px;
}


.select2-dropdown {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin-top: -16px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
}

.ts-filter-select {
    width: 100%;
}
