/* Hero Secondary (for inner pages) */
.hero-secondary {
    min-height: 350px;
    background-image: url('https://images.unsplash.com/photo-1517420879692-8d92d798ab9f?w=1920&h=600&fit=crop&q=80');
}

.hero-secondary .hero-content h2 {
    font-size: 42px;
}

.products-hero {
    min-height: 450px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    padding-top: 80px;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
}

.products-hero .hero-overlay {
    background: transparent;
}

.products-hero .hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.products-hero .hero-content h2 {
    font-size: 48px;
    color: #000;
    margin-bottom: 20px;
    font-weight: 700;
}

.products-hero .hero-content p {
    font-size: 18px;
    color: #000;
    margin-bottom: 15px;
}

.products-hero .hero-content .hero-subtext {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 30px;
    line-height: 1.7;
}

.products-hero .hero-content .btn-primary {
    background-color: #000;
    color: #ffd700;
    border: none;
    font-weight: 600;
    padding: 15px 40px;
    font-size: 16px;
}

.products-hero .hero-content .btn-primary:hover {
    background-color: #333;
    color: #ffd700;
    transform: translateY(-2px);
}

/* Video Showcase Section */
.video-showcase-section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.video-showcase-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
/* New structured wrapper for hero video (see products.html) */
.product-video-wrapper { margin: 20px auto 10px; }
.video-aspect-ratio { position: relative; width: 100%; padding-top: 56.25%; background:#000; border-radius: 12px; overflow: hidden; box-shadow:0 10px 40px rgba(0,0,0,0.25); }
.video-aspect-ratio video,
.video-aspect-ratio iframe { position:absolute; top:0; left:0; width:100%; height:100%; object-fit:contain; display:block; border:0; }
.video-aspect-ratio video:not(.is-playing) { filter: brightness(0.8) contrast(0.95); }
.video-control-btn { position:absolute; bottom:18px; right:18px; background:rgba(0,0,0,0.55); color:#fff; border:none; padding:12px 14px; border-radius:50%; cursor:pointer; font-size:18px; line-height:1; display:flex; align-items:center; justify-content:center; transition:background .25s, transform .25s; }
.video-control-btn:hover { background:rgba(0,0,0,0.75); transform:scale(1.05); }
.video-control-btn:focus { outline:2px solid #ffd700; outline-offset:3px; }
.video-control-btn.autoplay-failed { background:rgba(255,0,0,0.65); box-shadow:0 0 0 2px rgba(255,0,0,0.4); }
.video-control-btn.autoplay-failed:hover { background:rgba(255,0,0,0.8); }
.video-caption { font-size:14px; margin-top:12px; text-align:center; color:#333; }
.visually-hidden { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0 0 0 0) !important; white-space:nowrap !important; border:0 !important; }
@media (max-width:640px){ .video-control-btn{ bottom:12px; right:12px; padding:10px 11px; font-size:16px; } }

/* Hero Split Layout */
.hero-split {
    min-height: 500px;
    background: var(--white);
    padding: 0;
}

.hero-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    min-height: 500px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-split-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}

.hero-split-left .hero-content {
    max-width: 550px;
    text-align: left;
}

.hero-split-left .hero-content h2 {
    font-size: 48px;
    color: #000;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-split-left .hero-content p {
    font-size: 18px;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.6;
}

.hero-split-left .hero-content .hero-subtext {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-split-left .hero-content .btn-primary {
    background-color: #000;
    color: #ffd700;
    border: none;
    font-weight: 600;
}

.hero-split-left .hero-content .btn-primary:hover {
    background-color: #333;
    color: var(--white);
}

.hero-split-right {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    padding: 30px;
}

.video-container {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container video {
    width: 100%;
    height: auto;
    max-height: 440px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-split-container {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    
    .hero-split-left {
        order: 1;
    }
    
    .hero-split-right {
        order: 2;
    }
    
    .hero-split-left .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-split-left .hero-content p {
        font-size: 16px;
    }
    
    .hero-split-left .hero-content .hero-subtext {
        font-size: 14px;
    }
    
    .hero-split {
        min-height: auto;
        overflow: hidden;
    }
    
    .hero-split-left {
        min-height: auto;
        width: 100%;
        padding: 40px 25px;
    }
    
    .hero-split-right {
        min-height: 250px;
        width: 100%;
        padding: 20px;
    }
    
    .video-container {
        max-width: 100%;
        padding: 0;
    }
    
    .video-container video {
        max-height: 300px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-split-left {
        padding: 30px 20px;
    }
    
    .hero-split-left .hero-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .hero-split-left .hero-content p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .hero-split-left .hero-content .hero-subtext {
        font-size: 12px;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .hero-split-right {
        min-height: 200px;
        padding: 15px;
    }
    
    .video-container video {
        max-height: 200px;
        border-radius: 8px;
    }
}

@media (max-width: 768px) {
    .products-hero {
        min-height: 450px;
        padding: 100px 0 50px 0;
    }
    
    .products-hero .hero-content {
        padding: 20px;
    }
    
    .products-hero .hero-content h2 {
        font-size: 32px;
    }
    
    .products-hero .hero-content p {
        font-size: 16px;
    }
    
    .products-hero .hero-content .hero-subtext {
        font-size: 14px;
    }
    
    .video-showcase-section {
        padding: 25px 0;
    }
    
    .video-showcase-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .video-showcase-container video {
        max-height: 220px;
        border-radius: 8px;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .products-hero {
        min-height: 420px;
        padding: 90px 0 40px 0;
    }
    
    .products-hero .hero-content {
        padding: 15px;
    }
    
    .products-hero .hero-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .products-hero .hero-content p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .products-hero .hero-content .hero-subtext {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .video-showcase-section {
        padding: 20px 0;
    }
    
    .video-showcase-container {
        padding: 0 15px;
    }
    
    .video-showcase-container video {
        max-height: 180px;
        object-fit: contain;
    }
}

/* =======================
   PRODUCTS PAGE STYLES
   ======================= */

.products-filter-section {
    padding: 40px 0;
    background-color: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.search-input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-select {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    background-color: var(--white);
    cursor: pointer;
    transition: border-color 0.3s;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.product-categories-section {
    padding: 80px 0;
    background-color: var(--white);
}

.category-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-showcase {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    text-align: center;
    background-color: var(--light-bg);
    padding: 20px;
}

.category-showcase:hover {
    transform: translateY(-5px);
}

.category-showcase-image {
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.category-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-showcase:hover .category-showcase-image img {
    transform: scale(1.1);
}

.products-grid-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.products-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card-large {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid #FFD700;
}

.product-image-large {
    height: 300px;
    overflow: hidden;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-image-large img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

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

.product-info-large {
    padding: 20px;
    text-align: center;
}

.product-info-large h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--secondary-color);
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info-large .rating {
    color: var(--primary-color);
    font-size: 13px;
    margin-bottom: 8px;
}

.product-description {
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 12px;
    min-height: 40px;
    max-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
    font-size: 16px;
}

.featured-tools-section {
    padding: 80px 0;
    background-color: var(--white);
}

.featured-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.featured-tool {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.featured-tool:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #FFD700;
}

.tool-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.tool-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
}

.tool-badge.gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.featured-tool img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.tool-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
}

.featured-tool h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.tool-specs {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 10px;
}

.tool-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.products-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2a2a2a 100%);
    color: var(--white);
    text-align: center;
}

.products-cta .cta-content h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.products-cta .cta-content p {
    color: #ddd;
    margin-bottom: 30px;
}

.products-cta .btn {
    margin: 0 10px;
}

.products-cta .btn-secondary {
    background-color: #FFC700;
    color: #000000;
    border: 2px solid #FFC700;
}

.products-cta .btn-secondary:hover {
    background-color: #ffb700;
    color: #000000;
    border-color: #ffb700;
}

/* =======================
   MODAL STYLES
   ======================= */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 30px auto;
    border-radius: 10px;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    font-size: 32px;
    font-weight: bold;
    color: var(--text-color);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-body-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px;
    max-width: 600px;
}

.modal-media {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    width: 450px;
    height: 450px;
    padding: 10px;
}

.modal-media img {
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
    margin: auto;
}

.modal-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 8px;
}

.modal-sku {
    font-size: 11px;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 5px;
}

.modal-rating {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-rating i {
    color: #ffc107;
}

.modal-desc {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-price {
    display: none;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-actions .btn {
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10px;
        max-width: calc(100% - 20px);
        max-height: 95vh;
        border-radius: 8px;
    }
    
    .modal-body-wrapper {
        padding: 15px;
        gap: 10px;
    }

    .modal-media {
        width: 100%;
        height: auto;
        min-height: 250px;
        max-height: 300px;
        padding: 10px;
    }
    
    .modal-media img {
        max-height: 280px;
    }
    
    .modal-close {
        right: 10px;
        top: 10px;
        font-size: 28px;
        width: 36px;
        height: 36px;
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
    }
    
    .modal-title {
        font-size: 16px;
        margin-bottom: 8px;
        padding-right: 30px;
    }
    
    .modal-sku {
        font-size: 10px;
    }
    
    .modal-rating {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .modal-desc {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .modal-actions {
        gap: 8px;
    }
    
    .modal-actions .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-controls {
        flex-direction: column;
    }

    .filter-select {
        width: 100%;
    }

    .products-grid-large {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .category-showcase-grid {
        grid-template-columns: 1fr;
    }

    /* Products Hero Mobile Adjustments */
    .products-hero {
        min-height: auto;
        padding-top: 50px;
        padding-bottom: 40px;
    }

    .products-hero .hero-content {
        padding: 20px 15px;
    }

    .products-hero .hero-content h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .products-hero .hero-content p {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .products-hero .hero-content .hero-subtext {
        font-size: 14px;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .products-hero .hero-content .btn-primary {
        padding: 12px 30px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .products-grid-large {
        grid-template-columns: 1fr;
    }

    .featured-tools-grid {
        grid-template-columns: 1fr;
    }

    .hero-secondary .hero-content h2 {
        font-size: 28px;
    }

    /* Products Hero Small Mobile Adjustments */
    .products-hero {
        padding-top: 40px;
        padding-bottom: 35px;
    }

    .products-hero .hero-content {
        padding: 15px 10px;
    }

    .products-hero .hero-content h2 {
        font-size: 26px;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .products-hero .hero-content p {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .products-hero .hero-content .hero-subtext {
        font-size: 13px;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .products-hero .hero-content .btn-primary {
        padding: 12px 25px;
        font-size: 14px;
        width: auto;
        display: inline-block;
    }
}

.view-details {
    background-color: #FFD700 !important;
    color: #000 !important;
    border-color: #FFD700 !important;
}

.view-details:hover {
    background-color: #FFA500 !important;
    color: #000 !important;
    border-color: #FFA500 !important;
}
/* Elite Cutting & Tooling Systems Section */
.elite-cutting-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.elite-cutting-section .section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.elite-cutting-section .section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tooling-category {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
    padding: 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tooling-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.tooling-category.reverse {
    grid-template-columns: 1.5fr 1fr;
}

.tooling-category.reverse .category-image {
    order: 2;
}

.tooling-category.reverse .category-content {
    order: 1;
}

.category-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.category-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 350px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.category-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ffd700;
    display: inline-block;
}

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

.tooling-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.tooling-card:hover {
    border-color: #ffd700;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
}

.tooling-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}

.tooling-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Elite Cutting Section */
@media (max-width: 1024px) {
    .tooling-category,
    .tooling-category.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tooling-category.reverse .category-image,
    .tooling-category.reverse .category-content {
        order: unset;
    }

    .category-image img {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .elite-cutting-section {
        padding: 50px 0;
    }

    .elite-cutting-section .section-title {
        font-size: 32px;
    }

    .tooling-category {
        padding: 25px;
        margin-bottom: 50px;
    }

    .category-title {
        font-size: 24px;
    }

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

@media (max-width: 480px) {
    .elite-cutting-section .section-title {
        font-size: 26px;
    }

    .elite-cutting-section .section-subtitle {
        font-size: 16px;
    }

    .category-title {
        font-size: 20px;
    }

    .tooling-card {
        padding: 20px;
    }
}

/* Additional styles for single product descriptions */
.tooling-description {
    margin-top: 20px;
}

.tooling-description p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.tooling-description .main-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

/* Dormer Pramet Product Range Section */
.dormer-pramet-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.dormer-header {
    text-align: center;
    margin-bottom: 60px;
}

.dormer-header .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.dormer-header .section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.dormer-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dormer-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.dormer-product-image {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    border-bottom: 3px solid #ffd700;
}

.dormer-product-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 220px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

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

.dormer-product-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dormer-product-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    line-height: 1.3;
}

.dormer-product-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.dormer-product-content .btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    align-self: flex-start;
}

/* Responsive Design for Dormer Pramet Section */
@media (max-width: 1024px) {
    .dormer-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .dormer-header .section-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .dormer-pramet-section {
        padding: 50px 0;
    }

    .dormer-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dormer-header .section-title {
        font-size: 30px;
    }

    .dormer-header .section-subtitle {
        font-size: 16px;
    }

    .dormer-product-image {
        min-height: 200px;
        padding: 20px;
    }

    .dormer-product-image img {
        max-height: 180px;
    }

    .dormer-product-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .dormer-header .section-title {
        font-size: 26px;
    }

    .dormer-product-content h3 {
        font-size: 18px;
    }

    .dormer-product-content .btn {
        width: 100%;
    }
}

