/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

img,
picture,
video,
iframe {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-grey);
    background-color: #f9f9f9;
}

:root {
    --color-dark-blue: #1e3a8a;
    --color-grey: #666666;
    --color-white: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background: #232b36;
    color: var(--color-white);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: top 0.3s ease;
}

.header.hidden {
    top: -90px;
}

.header .container {
    max-width: 1200px;
    padding: 0 20px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    flex: none;
}

.site-logo {
    height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
}

.header-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fbbf24;
    color: var(--color-dark-blue);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.header-contact-btn:hover {
    background: #f59e0b;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .site-logo {
        height: 42px;
    }

    .header-contact-btn {
        padding: 8px 14px;
        font-size: 14px;
    }
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products {
    padding: 80px 20px;
    background-color: white;
}

.products .container h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--color-dark-blue);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.12);
    border-color: #007185;
}

.product-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
    background-color: #f0f2f2;
    display: block;
    border-bottom: 1px solid #eef2f7;
}

.product-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-card-content h3 {
    color: #111111;
    margin-bottom: 4px;
    font-size: 24px;
    line-height: 1.2;
}

.product-card-content p {
    color: #565959;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.5;
}

.product-card-price {
    color: #b12704;
    font-size: 24px;
    font-weight: 800;
    margin: 2px 0 4px;
}

.product-card-actions {
    margin: 6px 0 12px;
    display: flex;
    align-items: center;
}

.checkout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffd814 0%, #f1b500 100%);
    color: #111111;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 6px 14px rgba(17, 24, 39, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.checkout-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(17, 24, 39, 0.12);
}

.checkout-btn--detail {
    padding: 12px 22px;
    font-size: 15px;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 0 24px;
}

.product-price-tag {
    color: var(--color-dark-blue);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-specs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding: 12px 14px;
    background-color: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.card-spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #565959;
    gap: 8px;
}

.spec-key {
    font-weight: 700;
    color: #111111;
    min-width: 78px;
}

.spec-val {
    color: #007185;
    font-weight: 600;
    text-align: right;
}


/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */

.product-detail {
    padding: 32px 20px 64px;
    background: linear-gradient(180deg, #f6f7fb 0%, #ffffff 100%);
    min-height: calc(100vh - 200px);
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #007185;
    text-decoration: none;
    margin-bottom: 16px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #0f1111;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: #565959;
    font-size: 13px;
}

.product-breadcrumb a {
    color: #007185;
    text-decoration: none;
}

.product-breadcrumb a:hover {
    text-decoration: underline;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.detail-gallery-card,
.product-summary-card,
.detail-side-card,
.product-specs-card,
.inquiry-section {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.detail-gallery-card {
    padding: 0;
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.product-badges span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f7f7f7;
    color: #565959;
    border: 1px solid #e6e6e6;
    font-size: 12px;
    font-weight: 700;
}

.product-media {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background-color: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 440px;
    border: 1px solid #e6e6e6;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0;
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    gap: 10px;
}

.thumbnail {
    width: 100%;
    height: 78px;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease;
    background-color: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #007185;
    background-color: #f0f2f2;
    box-shadow: 0 2px 8px rgba(0, 113, 133, 0.15);
}

.videos-section {
    background-color: #f8fafc;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.videos-section h3 {
    color: #111827;
    margin-bottom: 16px;
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.video-player {
    border-radius: 10px;
    overflow: hidden;
    background-color: black;
    aspect-ratio: 16 / 9;
}

.video-player video {
    width: 100%;
    height: 100%;
    display: block;
}

.detail-info-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-summary-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-brand {
    display: inline-block;
    color: #007185;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.product-summary-card h2 {
    color: #111111;
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.product-description {
    color: #565959;
    font-size: 15px;
    line-height: 1.6;
}

.product-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.product-price-tag {
    color: #b12704;
    font-size: 30px;
    font-weight: 800;
    margin: 0;
}

.price-pill {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f0f2f2;
    color: #111111;
    font-size: 12px;
    font-weight: 700;
}

.variant-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.variant-btn {
    border: 1px solid #d5d9d9;
    background-color: #ffffff;
    color: #111111;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}

.variant-btn:hover,
.variant-btn.active {
    background-color: #f0f2f2;
    color: #111111;
    border-color: #007185;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

.checkout-btn--detail {
    padding: 14px 22px;
    font-size: 15px;
    border-radius: 999px;
    background: #ffd814;
    color: #111111;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.checkout-btn:hover,
.checkout-btn--detail:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.product-highlights {
    display: grid;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid #e6e6e6;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #232f3e;
    font-size: 14px;
}

.detail-side-card {
    padding: 0;
    background: transparent;
    border-color: transparent;
}

.detail-side-card h3 {
    color: #111111;
    margin-bottom: 8px;
}

.detail-side-card p {
    color: #565959;
    line-height: 1.6;
}

.secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #007185;
    color: #007185;
    font-weight: 700;
    text-decoration: none;
}

.secondary-action:hover {
    background: #f0f2f2;
}

.detail-content-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
}

.detail-tabs {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 8px;
}

.detail-tab {
    border: 0;
    background: transparent;
    color: #565959;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.detail-tab:hover {
    background: #f3f4f6;
    color: #111111;
}

.detail-tab.active {
    background: #111111;
    color: #ffffff;
}

.product-specs-card {
    padding: 0;
    background: transparent;
    border: 0;
}

.detail-panel {
    display: none;
}

.detail-panel.active {
    display: block;
}

.product-specs {
    background: transparent;
    padding: 0;
    margin: 0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.spec-label {
    font-weight: 700;
    color: #111111;
}

.spec-value {
    color: #565959;
    text-align: right;
}

/* Inquiry Form */

.inquiry-section {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    margin-top: 0;
}

.inquiry-section h3 {
    color: #111111;
    margin-bottom: 18px;
    font-size: 22px;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px 13px;
    border: 1px solid #d5d9d9;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #f7f7f7;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007185;
    box-shadow: 0 0 0 3px rgba(0, 113, 133, 0.12);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(180deg, #ffd814 0%, #f1b500 100%);
    color: #111111;
    padding: 14px 18px;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

.submit-btn:active {
    transform: scale(0.98);
}

.form-note {
    font-size: 12px;
    color: #565959;
    text-align: left;
}

.success-message {
    background-color: #ecfdf3;
    border-left: 4px solid #16a34a;
    color: #111111;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 960px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .product-detail {
        padding: 24px 16px 48px;
    }

    .detail-gallery-card,
    .product-summary-card,
    .detail-side-card,
    .product-specs-card,
    .inquiry-section {
        border-radius: 14px;
    }

    .main-image {
        min-height: 300px;
    }

    .product-summary-card h2 {
        font-size: 24px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--color-dark-blue);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f6c84c;
    box-shadow: 0 0 0 4px rgba(246, 200, 76, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(180deg, #f6c84c 0%, #d99a15 100%);
    color: var(--color-dark-blue);
    padding: 14px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
    box-shadow: 0 12px 25px rgba(217, 154, 21, 0.2);
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(217, 154, 21, 0.25);
}

.submit-btn:active {
    transform: scale(0.98);
}

.form-note {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    text-align: center;
}

.success-message {
    background-color: #dcfce7;
    border-left: 4px solid #22c55e;
    color: var(--color-white);
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    text-align: center;
}

.contact .container h2 {
    font-size: 36px;
    color: var(--color-dark-blue);
    margin-bottom: 20px;
}

.contact .container > p {
    font-size: 18px;
    color: var(--color-grey);
    margin-bottom: 40px;
}

.contact .inquiry-section {
    max-width: 650px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
    text-align: left;
}

.contact .inquiry-section h3 {
    margin-bottom: 20px;
    color: var(--color-dark-blue);
}

.contact .inquiry-section .inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact .inquiry-section .form-group label {
    color: var(--color-dark-blue);
}

.contact .inquiry-section .form-group input,
.contact .inquiry-section .form-group textarea {
    width: 100%;
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.contact .inquiry-section .submit-btn {
    background-color: #2563eb;
    color: var(--color-white);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.18);
}

.contact .inquiry-section .submit-btn:hover {
    background-color: #1e40af;
}

.contact .inquiry-section .form-note {
    color: var(--color-grey);
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.contact-info p {
    margin: 15px 0;
    font-size: 16px;
}

.contact-info a {
    color: var(--color-dark-blue);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: #232b36;
    color: var(--color-white);
    text-align: center;
    padding: 30px 20px;
}

.footer p {
    margin: 0;
}

/* ============================================
   GALLERY CONTAINER & NAVIGATION
   ============================================ */

.variant-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.variant-btn {
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    color: var(--color-dark-blue);
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.variant-btn:hover,
.variant-btn.active {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 400px;
    max-height: 600px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: zoom-in;
}

.main-image img,
.main-image video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    z-index: 1;
}

.main-image img {
    padding: 0;
}

.main-image video {
    pointer-events: auto;
}

/* Gallery navigation buttons */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--color-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 100;
    pointer-events: auto;
}

.gallery-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-btn.prev {
    left: 15px;
}

.gallery-nav-btn.next {
    right: 15px;
}

/* Thumbnails styling */
.thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.thumbnail {
    width: 100%;
    height: 80px;
    border: 3px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-thumbnail {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-grey);
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #2563eb;
    background-color: #eff6ff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* ============================================
   IMAGE MODAL / LIGHTBOX
   ============================================ */

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    gap: 20px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 1001;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.modal-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 90vw;
    max-height: 70vh;
    position: relative;
    width: 100%;
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    animation: zoomIn 0.3s ease-in-out;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 6px;
}

/* Modal navigation buttons */
.modal-nav-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.modal-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.modal-nav-btn.prev {
    left: 20px;
}

.modal-nav-btn.next {
    right: 20px;
}

/* Modal thumbnails */
.modal-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 90vw;
    padding: 0 20px;
}

.modal-thumbnail {
    width: 70px;
    height: 70px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.modal-thumbnail:hover,
.modal-thumbnail.active {
    border-color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.1);
}

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

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 0 16px;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav a {
        padding: 8px 12px;
        font-size: 14px;
    }

    .hero {
        padding: 80px 16px 60px;
    }

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

    .hero-content p {
        font-size: 15px;
    }

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

    .product-detail {
        padding: 30px 16px;
    }

    .thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }

    .main-image {
        min-height: 260px;
    }

    .inquiry-section {
        padding: 20px;
    }

    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .gallery-expand-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .modal-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 16px 0 8px;
    }

    .header .container {
        gap: 12px;
    }

    .site-logo {
        height: 140px;
        max-height: 160px;
    }

    .hero {
        padding: 60px 14px 40px;
    }

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

    .products .container h2,
    .contact .container h2 {
        font-size: 24px;
    }

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

    .product-info h2 {
        font-size: 24px;
    }

    .product-detail {
        padding: 22px 14px;
    }

    .product-detail-fullwidth,
    .product-detail-content,
    .contact .inquiry-section,
    .inquiry-section {
        gap: 18px;
    }


    .contact .inquiry-section {
        padding: 22px;
    }
}
