
/* =================================
   HANGING DIGITAL SIGNAGE PAGE
================================= */

.hds-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: #252525;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
    box-sizing: border-box;
}

.hds-page *,
.hds-page *::before,
.hds-page *::after {
    box-sizing: border-box;
}

.hds-page img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hds-page h1,
.hds-page h2,
.hds-page h3,
.hds-page p {
    margin-top: 0;
}

.hds-page h1 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 18px;
}

.hds-page h2 {
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 15px;
}

.hds-page h3 {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.hds-page p {
    font-size: 15px;
    color: #666;
    margin-bottom: 0;
}

.hds-section {
    margin-bottom: 65px;
}

/* =================================
   01. HERO BANNER
   Image Only - 1672 x 941 px
================================= */

.hds-hero {
    width: 100%;
    margin: 25px 0 60px;
    overflow: hidden;
    border-radius: 8px;
}

.hds-hero img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1672 / 941;
    object-fit: contain;
}

/* =================================
   02. INTRODUCTION
================================= */

.hds-intro {
    max-width: 950px;
    margin: 0 auto 65px;
    text-align: center;
}

.hds-intro p {
    max-width: 900px;
    margin: 0 auto;
}

/* =================================
   03. PRODUCT TYPES
================================= */

.hds-section-heading {
    text-align: center;
    margin-bottom: 32px;
}

.hds-section-heading p {
    max-width: 750px;
    margin: 0 auto;
}

.hds-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.hds-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.hds-product-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.hds-product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f4f4f4;
}

.hds-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hds-product-card:hover .hds-product-image img {
    transform: scale(1.04);
}

.hds-product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

.hds-product-info h3 {
    color: #222;
    margin-bottom: 12px;
}

.hds-product-info p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.hds-size-label {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-top: auto;
    margin-bottom: 12px;
}

.hds-size-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.hds-size-item {
    display: inline-block;
    padding: 6px 13px;
    border: 1px solid #dedede;
    border-radius: 4px;
    font-size: 13px;
    color: #444;
    background: #fafafa;
    white-space: nowrap;
}

/* =================================
   04. APPLICATIONS
================================= */

.hds-applications {
    margin-bottom: 65px;
}

.hds-application-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.hds-application-item {
    overflow: hidden;
    border-radius: 6px;
    background: #f5f5f5;
}

.hds-application-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hds-application-item h3 {
    font-size: 16px;
    text-align: center;
    padding: 13px 8px;
    margin: 0;
    background: #fff;
}

/* =================================
   05. TABLET RESPONSIVE
================================= */

@media (max-width: 900px) {

    .hds-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .hds-application-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* =================================
   06. MOBILE RESPONSIVE
================================= */

@media (max-width: 600px) {

    .hds-page {
        padding: 0 12px;
    }

    .hds-section {
        margin-bottom: 45px;
    }

    .hds-hero {
        margin: 15px 0 40px;
        border-radius: 5px;
    }

    .hds-intro {
        margin-bottom: 45px;
    }

    .hds-product-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .hds-product-info {
        padding: 20px;
    }

    .hds-product-info h3 {
        font-size: 19px;
    }

    .hds-size-item {
        padding: 6px 12px;
        font-size: 13px;
    }

    .hds-application-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .hds-application-item h3 {
        font-size: 14px;
        padding: 10px 5px;
    }

}
