/* ========================================
   KINGWORK - Detail Pages Styles
   Product, Case, News Detail Pages
   ======================================== */

/* ========================================
   PRODUCT DETAIL PAGE
   ======================================== */

/* Product Detail Section */
.product-detail {
    padding: 60px 0;
    background: #fff;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f9fa;
    margin-bottom: 20px;
}

.product-main-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary-gradient);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-thumbnails {
    display: flex;
    gap: 12px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.active,
.thumbnail:hover {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info {
    padding: 20px 0;
}

.product-category {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.product-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 12px;
    border: 1px solid #eee;
}

.highlight-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.highlight-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 3px;
}

.highlight-item span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.product-description {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.product-description p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.product-actions .btn {
    flex: 1;
}

.product-contact-quick {
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a7aa8 100%);
    border-radius: 12px;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    margin-bottom: 10px;
}

.quick-contact-item:last-child {
    margin-bottom: 0;
}

.quick-contact-item i {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Product Tabs */
.product-tabs-section {
    background: #f8f9fa;
}

.product-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0;
}

.product-tab {
    padding: 15px 30px;
    background: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.product-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-tab:hover,
.product-tab.active {
    color: var(--primary-color);
}

.product-tab.active::after {
    transform: scaleX(1);
}

.product-tab-content {
    display: none;
}

.product-tab-content.active {
    display: block;
}

/* Overview Tab */
.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.overview-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.overview-content h4 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
    color: var(--text-dark);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: var(--text-light);
}

.feature-list li i {
    color: #28a745;
    font-size: 1.1rem;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.type-card {
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.type-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.type-card h5 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.type-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.overview-image {
    border-radius: 16px;
    overflow: hidden;
}

.overview-image img {
    width: 100%;
    height: auto;
}

/* Specifications Tab */
.specs-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.specs-table th,
.specs-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.specs-table th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.specs-table tr:hover {
    background: #f8f9fa;
}

.specs-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #fff3cd;
    border-radius: 8px;
    color: #856404;
    font-size: 0.9rem;
}

/* Applications Tab */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.application-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.application-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.application-card:hover img {
    transform: scale(1.1);
}

.application-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.application-card-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.application-card-content p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

/* Downloads Tab */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.download-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.download-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.download-icon .fa-drafting-compass {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a7aa8 100%);
}

.download-info {
    flex: 1;
}

.download-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.download-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.download-size {
    font-size: 0.8rem;
    color: #999;
}

/* Related Products */
.related-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* ========================================
   CASE DETAIL PAGE
   ======================================== */

/* Case Banner */
.case-detail-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.case-banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.case-banner-content {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    color: #fff;
}

.case-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.case-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.case-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
}

/* Case Overview */
.case-overview {
    padding: 60px 0;
    background: #fff;
}

.case-overview-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.case-info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.case-info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 12px;
    border: 1px solid #eee;
}

.case-info-icon {
    width: 55px;
    height: 55px;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.case-info-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 3px;
}

.case-info-content strong {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.case-products-supplied {
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a7aa8 100%);
    border-radius: 16px;
    color: #fff;
}

.case-products-supplied h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.products-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.product-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 30px;
    font-size: 0.95rem;
}

/* Case Content */
.case-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.case-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.case-main-content h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 40px 0 20px;
}

.case-main-content h2:first-child {
    margin-top: 0;
}

.case-main-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
}

/* Challenges Grid */
.challenges-grid {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.challenge-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    border-left: 4px solid #dc3545;
}

.challenge-item.solution {
    border-left-color: #28a745;
}

.challenge-icon {
    width: 50px;
    height: 50px;
    background: #fff3f3;
    color: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.challenge-item.solution .challenge-icon {
    background: #e8f5e9;
    color: #28a745;
}

.challenge-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.challenge-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* Case Gallery */
.case-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Client Testimonial */
.client-testimonial {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    margin: 30px 0;
}

.client-testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.client-testimonial cite {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Case Sidebar */
.case-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.sidebar-card h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    color: var(--text-dark);
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.specs-list li span {
    color: var(--text-light);
}

.specs-list li strong {
    color: var(--text-dark);
}

.standards-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.standard-badge {
    padding: 8px 16px;
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f0 100%);
    color: var(--primary-color);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a7aa8 100%);
    color: #fff;
}

.cta-card h4 {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.2);
}

.cta-card p {
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Related Cases */
.related-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ========================================
   NEWS DETAIL PAGE
   ======================================== */

/* News Article */
.news-article {
    padding: 60px 0;
    background: #fff;
}

.news-article-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

/* News Header */
.news-header {
    margin-bottom: 30px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.news-category {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.news-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 15px;
}

.news-excerpt {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* News Featured Image */
.news-featured-image {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
}

.news-featured-image img {
    width: 100%;
    height: auto;
}

/* News Content */
.news-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-light);
}

.news-content p {
    margin-bottom: 20px;
}

.news-content p.lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
}

.news-content h2 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin: 40px 0 20px;
}

.news-content ul {
    margin: 20px 0;
    padding-left: 25px;
}

.news-content ul li {
    margin-bottom: 10px;
}

.news-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Highlight Box */
.highlight-box {
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin: 30px 0;
}

.highlight-box h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.highlight-box ul {
    padding-left: 20px;
    margin: 0;
}

/* Cert Badges Inline */
.cert-badges-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a7aa8 100%);
    color: #fff;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* News Figure */
.news-figure {
    margin: 40px 0;
}

.news-figure img {
    width: 100%;
    border-radius: 12px;
}

.news-figure figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 12px;
    font-style: italic;
}

/* News CTA Box */
.news-cta-box {
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a7aa8 100%);
    border-radius: 16px;
    color: #fff;
    margin: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.news-cta-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.news-cta-box::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.news-cta-box h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.news-cta-box p {
    opacity: 0.9;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.news-cta-box .btn {
    position: relative;
    z-index: 1;
    background: #fff;
    color: var(--primary-color);
    border: none;
    padding: 14px 35px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.news-cta-box .btn:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* News Footer */
.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tag-label,
.share-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.news-tag {
    padding: 6px 14px;
    background: #f0f0f0;
    color: var(--text-light);
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-tag:hover {
    background: var(--primary-color);
    color: #fff;
}

.news-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* News Sidebar */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.recent-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-news-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.recent-news-item:hover {
    background: #f8f9fa;
}

.recent-news-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.recent-news-info h5 {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-news-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-list li a:hover {
    color: var(--primary-color);
}

.category-list li a span {
    margin-left: auto;
    background: #f0f0f0;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.sidebar-newsletter input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Support CTA Card */
.support-cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a7aa8 100%);
    color: #fff;
    text-align: center;
    padding: 35px 25px;
    position: relative;
    overflow: hidden;
}

.support-cta-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.support-cta-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.support-cta-card h4 {
    color: #fff;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.support-cta-card p {
    opacity: 0.9;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.support-cta-card .btn-white {
    background: #fff;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.support-cta-card .btn-white:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1200px) {
    .product-detail-grid {
        gap: 40px;
    }
    
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        position: static;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-content-grid,
    .news-article-grid {
        grid-template-columns: 1fr;
    }
    
    .case-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-cases-grid,
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 2rem;
    }
    
    .product-highlights {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-tabs {
        flex-wrap: wrap;
    }
    
    .product-tab {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .downloads-grid {
        grid-template-columns: 1fr;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .case-detail-banner {
        height: 400px;
    }
    
    .case-title {
        font-size: 2rem;
    }
    
    .case-info-cards {
        grid-template-columns: 1fr;
    }
    
    .news-title {
        font-size: 1.8rem;
    }
    
    .news-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .related-cases-grid,
    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .types-grid {
        grid-template-columns: 1fr;
    }
    
    .case-gallery {
        grid-template-columns: 1fr;
    }
    
    .challenges-grid {
        gap: 15px;
    }
    
    .challenge-item {
        flex-direction: column;
        text-align: center;
    }
}
