* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f9fafc;
    color: #1e2b37;
    line-height: 1.5;
    scroll-behavior: smooth;
}

/* container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* header */
.site-header {
    background: #0b2b3c;
    color: white;
    padding: 12px 0;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-short {
    background: #eab308;
    color: #0b2b3c;
    font-weight: 800;
    font-size: 2rem;
    line-height: 1;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px 4px 16px 4px;
    box-shadow: 0 6px 0 #9e7e0e;
    transition: 0.2s;
}

.company-name h1 {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.company-name span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #cbd5e1;
    display: block;
}

/* main menu + submenu (desktop) */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 6px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    font-size: 1rem;
}

.nav-link i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.nav-link:hover,
.nav-item.active .nav-link {
    background: #1f4b5e;
}

/* submenu (dropdown) */
.dropdown-content {
    position: absolute;
    top: 48px;
    left: 0;
    background: white;
    min-width: 240px;
    border-radius: 16px;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.25);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s;
    z-index: 100;
}

.nav-item.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    color: #1e2b37;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: 0.1s;
}

.dropdown-content a i {
    width: 22px;
    color: #0b2b3c;
    font-size: 1rem;
}

.dropdown-content a:hover {
    background: #eef2f6;
    color: #0b2b3c;
}

/* mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 1.8rem;
    padding: 6px 14px;
    border-radius: 40px;
    cursor: pointer;
}

/* hero */
.hero {
    background: url('images/distillation_column_banner.jpg');
    background-size: cover;
    color: white;
    padding: 48px 0 300px;
    margin-bottom: 40px;
    border-bottom: 6px solid #eab308;
}

.hero-content {
    max-width: 700px;
    margin: 25px auto;
}

.hero h2 {
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero .sse-tag {
    color: #eab308;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-top: 20px;
    opacity: 0.9;
}

/* product section */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 48px 0 28px;
    color: #0b2b3c;
    position: relative;
}

button {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

button:active {
    transform: translateY(0);
}

.section-title:after {
    content: '';
    display: block;
    width: 90px;
    height: 4px;
    background: #eab308;
    margin-top: 8px;
    border-radius: 4px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.product-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.25s;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 40px rgba(0, 44, 60, 0.18);
}

.product-img {
    height: 220px;
    background: #eef2f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c4b5a;
    font-size: 1rem;
    flex-direction: column;
    gap: 12px;
    border-bottom: 3px solid #eab308;
}

.product-img i {
    font-size: 4rem;
    color: #1f4b5e;
    opacity: 0.7;
}

.product-img span {
    background: #1f4b5e20;
    padding: 6px 16px;
    border-radius: 40px;
    font-weight: 500;
}

.product-img img {
    width: 100%;
    height: 100%;
}

.product-detail {
    padding: 20px 18px 22px;
}

.product-detail h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0b2b3c;
}

.product-detail .badge {
    background: #eab30820;
    color: #864e0e;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 40px;
    display: inline-block;
    margin: 8px 0 12px;
}

.product-detail p {
    color: #3a4f5c;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.btn-small {
    background: none;
    border: 2px solid #0b2b3c;
    color: #0b2b3c;
    padding: 8px 18px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.btn-small:hover {
    background: #0b2b3c;
    color: white;
}

/* footer */
.site-footer {
    background: #0f1f28;
    color: #b0c4d1;
    padding: 48px 0 28px;
    margin-top: 80px;
    border-top: 5px solid #eab308;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-about h3 {
    color: white;
    margin-bottom: 12px;
}

.footer-about .sse-badge {
    background: #eab308;
    color: #0b2b3c;
    font-weight: 800;
    font-size: 2rem;
    display: inline-block;
    padding: 6px 18px;
    border-radius: 40px 8px 40px 8px;
}

.feature-grids {
    display: flex;
    column-gap: 15cqmax;
}

/* mobile collapse */
@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        width: 100%;
        display: none;
    }

    .main-nav.show {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        background: #114455;
        border-radius: 28px;
        padding: 20px;
        margin-top: 16px;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0 0 0 18px;
        min-width: auto;
        margin-top: 5px;
        display: none;
        /* hidden by default in mobile, can be toggled with js if needed, but we keep simplicity: hover doesn't work well on touch, we use click but for demo we show submenu items inline?  */
    }

    /* make submenu appear inline for demonstration – better usability */
    .nav-item.dropdown .dropdown-content {
        display: none;
        /* we avoid hover on mobile, we'll just show them as static below? 
        but to keep demo clean, we display them inline in mobile under parent */
    }

    /* redesign mobile: make subitems always visible under parent (simpler) */
    .nav-item.dropdown .dropdown-content {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 0;
        border-left: 2px solid #eab308;
    }

    .dropdown-content a {
        color: white;
        padding: 8px 10px;
    }

    .dropdown-content a i {
        color: #eab308;
    }

    .nav-link i {
        display: none;
        /* hide arrow on mobile */
    }
}

@media (max-width: 600px) {
    .header-row {
        flex-wrap: wrap;
    }

    .logo-area {
        width: 100%;
        justify-content: space-between;
    }

    .hero h2 {
        font-size: 2rem;
    }
}

/* helper */
.mt-2 {
    margin-top: 8px;
}

.text-center {
    text-align: center;
}

.py-4 {
    padding-top: 24px;
    padding-bottom: 24px;
}


.contact-section {
    margin: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #0b2b3c;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #eab308;
    width: 30px;
    margin-top: 4px;
}

.contact-item p {
    color: #3a4f5c;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: #0b2b3c;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #0b2b3c;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #eab308;
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input[type="file"] {
    padding: 8px;
}

.btn-submit {
    background: #0b2b3c;
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
}

.btn-submit:hover {
    background: #1f4b5e;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-hero {
    background: url('images/ms-ss-storage-tank.jpg');
    color: rgb(121, 5, 5);
    padding: 80px 0;
    text-align: center;
    border-bottom: 6px solid #eab308;
    animation: fadeInDown 0.8s ease-out;
}

.about-hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.about-section {
    margin: 60px 0 80px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #0b2b3c;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.05rem;
    color: #3a4f5c;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-box {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #eab308 0%, #f0c94a 100%);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: #0b2b3c;
    opacity: 0.9;
    box-shadow: 0 30px 60px rgba(11, 43, 60, 0.2);
}

.about-image .image-box img {
    height: 100% !important;
    height: 100% !important;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f5f9;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(11, 43, 60, 0.15);
    border-color: #eab308;
}

.feature-icon {
    font-size: 3rem;
    color: #eab308;
    margin-bottom: 16px;
}

.feature-card h4 {
    font-size: 1.3rem;
    color: #0b2b3c;
    margin-bottom: 12px;
}

.feature-card p {
    color: #3a4f5c;
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline {
    margin-top: 40px;
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.timeline-marker {
    background: #eab308;
    color: #0b2b3c;
    font-weight: 800;
    font-size: 1.5rem;
    width: 100px;
    padding: 12px 0;
    border-radius: 12px;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.3);
}

.timeline-content {
    background: white;
    padding: 24px;
    border-radius: 16px;
    flex: 1;
    border-left: 4px solid #eab308;
}

.timeline-content h4 {
    font-size: 1.3rem;
    color: #0b2b3c;
    margin-bottom: 8px;
}

.timeline-content p {
    color: #3a4f5c;
    font-size: 0.95rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.team-card {
    background: white;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(11, 43, 60, 0.15);
}

.team-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #eab308 0%, #f0c94a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #0b2b3c;
    margin: 0 auto 16px;
}

.team-image img {
    width: 100%;
    height: auto;
}

.team-card h4 {
    font-size: 1.2rem;
    color: #0b2b3c;
    margin-bottom: 6px;
}

.team-card p {
    color: #1f4b5e;
    font-weight: 600;
    margin-bottom: 8px;
}

.team-card span {
    color: #7a8f99;
    font-size: 0.85rem;
}

.btn {
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary {
    background: #ff7b00;
    color: white;
}

.btn-primary:hover {
    background: #ff9500;
    transform: scale(1.05);
}

.hero-img {
    flex: 1;
    text-align: center;
    animation: slideRight 1s ease;
}

.hero-img img {
    width: 90%;
    max-width: 450px;
    transition: 0.5s;
}

.hero-img img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* ===== GALLERY ===== */
.gallery {
    padding: 60px 5%;
    text-align: center;
}

.gallery h2 {
    margin-bottom: 30px;
    font-size: 32px;
}

.main-image {
    max-width: 500px;
    width: 100%;
    margin-bottom: 20px;
    transition: 0.4s;
}

.thumbnails {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.thumbnails img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 10px;
    transition: 0.3s;
}

.thumbnails img:hover {
    transform: scale(1.1);
    border: 2px solid #ff7b00;
}

/* ===== SPECIFICATIONS ===== */
.specifications {
    padding: 60px 5%;
    background: white;
}

.specifications h2 {
    text-align: center;
    margin-bottom: 30px;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th,
td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background: #203a43;
    color: white;
}

tr:nth-child(even) {
    background: #f2f2f2;
}

/* ===== FEATURES ===== */
.features {
    padding: 60px 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    opacity: 0;
    transform: translateY(40px);
}

.feature-box.active {
    opacity: 1;
    transform: translateY(0);
}

.feature-box:hover {
    transform: translateY(-10px);
}

/* ===== ANIMATIONS ===== */
@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.fade-in {
    animation: fadeInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.slide-up {
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

.float-up {
    animation: floatUp 0.7s ease-out forwards;
    opacity: 0;
}

@media (max-width: 768px) {
    .about-hero-content h2 {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .image-box {
        width: 250px;
        height: 250px;
        font-size: 5rem;
    }

    .timeline-item {
        gap: 20px;
    }

    .timeline-marker {
        width: 80px;
        font-size: 1rem;
    }
}

/* main card — soft elevation, airy */
.product-detail {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    padding: 2.5rem;
    transition: all 0.2s ease;
}

/* two images grid — modern & balanced */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    border-radius: 2rem;
    overflow: hidden;
    background: #f1f5f9;
    aspect-ratio: 4/3;
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 30px -10px rgba(0, 60, 130, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* description + metadata row */
.desc-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    background: #f8fafc;
    border-radius: 2rem;
    padding: 2rem;
    border: 1px solid #e9eef3;
}

.product-badge {
    background: #dbeafe;
    color: #1e4a8b;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    display: inline-block;
    letter-spacing: 0.3px;
    margin-bottom: 1rem;
}

.description-text {
    flex: 2;
    min-width: 280px;
}

.description-full-text {
    flex: 2;
    min-width: 100%;
}

.description-full-text,
.description-text h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0f2b45;
    letter-spacing: -0.02em;
}

.description-text p {
    font-size: 1.1rem;
    color: #334155;
    max-width: 600px;
}

.description-full-text p {
    font-size: 1.1rem;
    color: #334155;
    max-width: 100%;
}

.highlight-meta {
    flex: 1;
    min-width: 200px;
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 6px 14px rgba(0, 20, 40, 0.03);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #eef2f6;
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #e6f0fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 1.2rem;
}

/* ---------- specification table (complex nested) ---------- */
.spec-section {
    margin-top: 2rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.section-title i {
    font-size: 2rem;
    color: #2563eb;
    background: #e3eeff;
    padding: 0.8rem;
    border-radius: 1.5rem;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #0b2a44;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 2rem;
    border: 1px solid #dee7ef;
    background: white;
    box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.05);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px;
    /* ensures nested columns stay readable */
    font-size: 0.95rem;
    white-space: nowrap;
}

.spec-table th {
    background: #f0f6fe;
    color: #1f3a64;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 0.8rem;
    text-align: center;
    border: 1px solid #d4e0ec;
    vertical-align: middle;
}

.spec-table td {
    padding: 1rem 0.6rem;
    border: 1px solid #dee7f0;
    text-align: center;
    background-color: white;
    color: #1e2f44;
}

/* nested header background for better hierarchy */
.nested-group {
    background-color: #e8f0fa;
    font-weight: 600;
    color: #10355e;
}

.sub-header {
    background-color: #f4f9ff;
    font-weight: 500;
    font-size: 0.88rem;
}

.spec-table tbody tr:hover td {
    background-color: #fafdff;
}

/* subtle accent for first column */
.spec-table td:first-child,
.spec-table th:first-child {
    font-weight: 500;
    background-color: #f9fcff;
    border-left: hidden;
}

/* style for empty placeholders (optional) */
.dim-light {
    color: #6b7c93;
    font-size: 0.9rem;
}

/* responsive touches */
@media (max-width: 800px) {
    .product-detail {
        padding: 1.5rem;
    }

    .image-gallery {
        gap: 1rem;
    }

    .desc-row {
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    body {
        padding: 1rem;
    }

    .gallery-item {
        border-radius: 1.2rem;
    }
}

/* advanced JS / interactive zoom hint (optional) */
.image-hint {
    text-align: right;
    font-size: 0.85rem;
    color: #6a7f9f;
    margin-top: 0.3rem;
    margin-bottom: -1rem;
}

.image-hint i {
    margin-right: 0.3rem;
}