/* =====================================================
   ROOT
===================================================== */

:root {

    --primary: #00BCD4;
    --primary-dark: #0097A7;

    --text: #1F2937;
    --text-light: #6B7280;

    --background: #F8FAFC;
    --white: #FFFFFF;

    --border: #E5E7EB;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 2px 8px rgba(0,0,0,.04);
    --shadow-md: 0 10px 30px rgba(0,0,0,.07);
    --shadow-lg: 0 20px 50px rgba(0,0,0,.10);

    --transition: .3s ease;
}



/* =====================================================
   RESET
===================================================== */

*,
*::before,
*::after {

    box-sizing: border-box;

    margin: 0;
    padding: 0;

}



html {

    scroll-behavior: smooth;

}



body {

    font-family: "Estedad", sans-serif;

    background: var(--background);

    color: var(--text);

    line-height: 1.8;

    overflow-x: hidden;

}



/* =====================================================
   NAVBAR
===================================================== */

.product-navbar-wrapper {

    width: 100%;

    padding: 18px 0;

    position: relative;

    z-index: 100;

}



.product-navbar {

    width: 100%;

    min-height: 70px;

    background: rgba(255,255,255,.88);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(229,231,235,.8);

    border-radius: 18px;

    box-shadow: var(--shadow-sm);

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 10px 25px;

}



/* =====================================================
   BRAND
===================================================== */

.brand {

    text-decoration: none;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}



.brand-name {

    font-size: 22px;

    font-weight: 800;

    color: var(--primary-dark);

    line-height: 1.2;

}



.brand-subtitle {

    font-size: 10px;

    color: var(--text-light);

    margin-top: 2px;

}



/* =====================================================
   MENU
===================================================== */

.product-menu {

    display: flex;

    align-items: center;

    gap: 8px;

}



.product-menu a {

    position: relative;

    text-decoration: none;

    color: var(--text);

    font-size: 14px;

    font-weight: 600;

    padding: 10px 18px;

    border-radius: 10px;

    transition: var(--transition);

}



.product-menu a:hover {

    color: var(--primary-dark);

    background: #F1FCFD;

}



.product-menu a.active {

    color: var(--primary-dark);

    background: #ECFEFF;

}



.product-menu a.active::after {

    content: "";

    position: absolute;

    bottom: 4px;

    right: 18px;

    left: 18px;

    height: 2px;

    border-radius: 20px;

    background: var(--primary);

}



/* =====================================================
   HEADER
===================================================== */

.products-header {

    padding: 80px 0 65px;

    background: #0F172A;
    background: linear-gradient(212deg,
    rgba(15, 23, 42, 1) 0%,
    rgba(30, 41, 59, 1) 23%,
    rgba(255, 255, 255, 1) 100%);

}



.products-header-content {

    max-width: 750px;

    margin-right: auto;

    text-align: right;

}



.section-label {

    display: inline-block;

    font-size: 11px;

    letter-spacing: 3px;

    color: var(--primary-dark);

    font-weight: 700;

    margin-bottom: 10px;

}



.products-header h1 {

    font-size: clamp(32px, 5vw, 52px);

    font-weight: 800;

    color: #111827;

    margin-bottom: 15px;

}



.products-header p {

    color: var(--dark);

    font-size: 15px;

    max-width: 650px;

}



.header-line {

    width: 70px;

    height: 4px;

    border-radius: 20px;

    background: var(--primary);

    margin-top: 25px;

}



/* =====================================================
   PRODUCTS SECTION
===================================================== */

.products-section {

    padding: 20px 0 90px;

}



/* =====================================================
   PRODUCTS TOP
===================================================== */

.products-top {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 35px;

    padding-bottom: 18px;

    border-bottom: 1px solid var(--border);

}



.small-title {

    font-size: 12px;

    color: var(--primary-dark);

    font-weight: 700;

}



.products-top h2 {

    font-size: 25px;

    font-weight: 800;

    margin-top: 3px;

}



.product-count {

    color: var(--text-light);

    font-size: 13px;

}



.product-count span {

    color: var(--primary-dark);

    font-weight: 800;

    font-size: 18px;

}



/* =====================================================
   PRODUCT CARD
===================================================== */

.product-card {

    display: block;

    text-decoration: none;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    overflow: hidden;

    height: 100%;

    color: var(--text);

    box-shadow: var(--shadow-sm);

    transition:

            transform var(--transition),

            box-shadow var(--transition),

            border-color var(--transition);

}



.product-card:hover {

    transform: translateY(-5px);

    border-color: rgba(0,188,212,.35);

    box-shadow: var(--shadow-md);

}



/* =====================================================
   IMAGE
===================================================== */

.product-image {

    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    background: #F3F4F6;

    overflow: hidden;

}



.product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform .5s ease;

}



.product-card:hover .product-image img {

    transform: scale(1.04);

}



/* =====================================================
   NUMBER
===================================================== */

.product-number {

    position: absolute;

    top: 12px;

    left: 12px;

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255,255,255,.9);

    backdrop-filter: blur(8px);

    border: 1px solid rgba(255,255,255,.8);

    border-radius: 50%;

    color: var(--primary-dark);

    font-size: 11px;

    font-weight: 800;

}



/* =====================================================
   PRODUCT CONTENT
===================================================== */

.product-content {

    padding: 18px;

    text-align: right;

}



.product-category {

    display: block;

    font-size: 9px;

    letter-spacing: 2px;

    color: var(--primary-dark);

    font-weight: 800;

    margin-bottom: 5px;

}



.product-content h3 {

    font-size: 18px;

    font-weight: 700;

    color: #111827;

    margin-bottom: 18px;

}



/* =====================================================
   PRODUCT BOTTOM
===================================================== */

.product-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-top: 12px;

    border-top: 1px solid #F1F5F9;

    color: var(--text-light);

    font-size: 11px;

}



.arrow {

    width: 28px;

    height: 28px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #ECFEFF;

    color: var(--primary-dark);

    transition: var(--transition);

}



.product-card:hover .arrow {

    background: var(--primary);

    color: white;

}



/* =====================================================
   PAGINATION
===================================================== */

.pagination-wrapper {

    margin-top: 60px;

    padding-top: 25px;

    border-top: 1px solid var(--border);

    display: flex;

    flex-direction: column;

    align-items: center;

}


.custom-pagination {

    display: flex;

    align-items: center;

    gap: 8px;

    margin: 0;

}



.custom-pagination .page-link {

    width: 42px;

    height: 42px;

    padding: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    border: 1px solid var(--border);

    background: white;

    color: var(--text);

    font-size: 13px;

    font-weight: 700;

    box-shadow: none;

    transition: var(--transition);

}



.custom-pagination .page-link:hover {

    background: #ECFEFF;

    border-color: var(--primary);

    color: var(--primary-dark);

}



.custom-pagination .page-item.active .page-link {

    background: var(--primary);

    border-color: var(--primary);

    color: white;

    box-shadow: 0 6px 18px rgba(0,188,212,.25);

}



/* =====================================================
   FOOTER
===================================================== */

.product-footer {

    border-top: 1px solid var(--border);

    background: white;

    padding: 35px 0;

}



.footer-inner {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

}



.footer-inner strong {

    color: var(--primary-dark);

    font-size: 20px;

}



.footer-inner p {

    color: var(--text-light);

    font-size: 12px;

    margin-top: 5px;

}



.footer-copy {

    color: #9CA3AF;

    font-size: 11px;

}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {


    .product-navbar {

        padding: 12px 16px;

    }


    .product-menu {

        display: none;

    }


    .brand {

        margin: auto;

        align-items: center;

    }


    .products-header {

        padding: 55px 0 45px;

    }


    .products-header-content {

        text-align: center;

    }


    .products-header p {

        font-size: 13px;

        margin: auto;

    }


    .header-line {

        margin: 20px auto 0;

    }


    .products-top {

        align-items: center;

    }


    .products-top h2 {

        font-size: 21px;

    }


    .product-count {

        font-size: 11px;

    }


    .product-count span {

        font-size: 15px;

    }


    .product-content {

        padding: 13px;

    }


    .product-content h3 {

        font-size: 15px;

        margin-bottom: 14px;

    }


    .product-bottom {

        font-size: 9px;

    }


    .footer-inner {

        flex-direction: column;

        text-align: center;

    }

}

/* =========================
   SIMPLE IMAGE MODAL
========================= */

.image-modal {

    position: relative;

    background: #ffffff;

    border: none;

    border-radius: 18px;

    padding: 35px;

    overflow: hidden;

    box-shadow: 0 25px 70px rgba(0, 0, 0, .18);

}


.image-modal img {

    display: block;

    width: 100%;

    max-height: 75vh;

    object-fit: contain;

}


.modal-close {

    position: absolute;

    top: 12px;
    left: 12px;

    z-index: 10;

    width: 34px;
    height: 34px;

    border: none;

    border-radius: 50%;

    background: #f1f5f9;

    color: #334155;

    font-size: 25px;

    line-height: 30px;

    cursor: pointer;

    transition: .3s ease;

}


.modal-close:hover {

    background: var(--primary);

    color: #ffffff;

}


#imageModal .modal-dialog {

    max-width: 700px;

}


@media (max-width: 768px) {

    #imageModal .modal-dialog {

        margin: 15px;

    }

    .image-modal {

        padding: 25px;

        border-radius: 14px;

    }

    .image-modal img {

        max-height: 70vh;

    }

}