/* =========================================================
   OYA HEALTH CARE
   COMPLETE STYLE
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "DM Sans", sans-serif;
    background: #f5f2e9;
    color: #171c1a;
    overflow-x: hidden;
}


img {
    display: block;
    max-width: 100%;
}


button,
a {
    font: inherit;
}


button {
    border: 0;
    cursor: pointer;
}


a {
    text-decoration: none;
    color: inherit;
}


:root {
    --green: #075c50;
    --green-dark: #043f38;
    --cream: #f5f2e9;
    --muted: #737875;
    --line: #d4d5cf;
    --gold: #ad8c4b;
    --white: #ffffff;
}



/* =========================================================
   HEADER
========================================================= */

.topbar {
    display: none;
}



/* =========================================================
   HOME
========================================================= */

.home-company {
    max-width: 1450px;
    margin: auto;

    padding:
        55px 55px 25px;

    display: flex;

    gap: 35px;

    align-items: flex-start;
}


.company-logo {
    width: 105px;
    height: 105px;

    object-fit: contain;

    flex-shrink: 0;

    border-radius: 20px;
}


.company-copy {
    max-width: 800px;
}


.company-copy h1 {
    font-family: Georgia, serif;

    color: var(--green);

    font-size:
        clamp(40px, 5vw, 65px);

    line-height: 1;

    margin-bottom: 22px;
}


.company-copy p {
    color: var(--muted);

    font-size: 18px;

    line-height: 1.65;
}



/* =========================================================
   CONTACT
========================================================= */

.contact-info {
    max-width: 1450px;

    margin: auto;

    padding:
        20px 55px 40px;

    border-bottom:
        1px solid var(--line);

    display: flex;

    flex-direction: column;

    gap: 17px;
}


.contact-info div {
    display: flex;

    gap: 12px;

    color: var(--muted);

    font-size: 16px;
}


.contact-info div > span:first-child {
    color: var(--gold);

    font-size: 21px;
}



/* =========================================================
   BANNER
========================================================= */

.banner {
    max-width: 1450px;

    margin: auto;

    padding:
        40px 55px 20px;
}


.banner img {
    width: 100%;

    max-height: 350px;

    object-fit: cover;

    border-radius: 20px;
}



/* =========================================================
   CATALOGUE
========================================================= */

.catalogue {
    max-width: 1450px;

    margin: auto;

    padding:
        60px 55px 90px;
}


.catalogue-heading {
    border-bottom:
        1px solid var(--line);

    padding-bottom: 20px;

    margin-bottom: 35px;
}


.catalogue-heading span {
    color: var(--green);

    font-family: Georgia, serif;

    font-style: italic;

    font-size: 17px;

    letter-spacing: 6px;
}


.catalogue-heading h2 {
    font-family: "Manrope", sans-serif;

    font-size: 35px;

    margin-top: 12px;
}



/* =========================================================
   CATEGORY GRID
========================================================= */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        40px 25px;
}


.category-card {
    cursor: pointer;

    transition:
        transform .25s ease;
}


.category-card:hover {
    transform:
        translateY(-5px);
}


.category-image {
    width: 100%;

    aspect-ratio: 1 / .80;

    background:
        white;

    border-radius: 18px;

    overflow: hidden;

    margin-bottom: 14px;

    padding: 20px;
}


.category-image img {
    width: 100%;

    height: 100%;

    object-fit: contain;
}


.category-label {
    color: var(--green);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 6px;
}


.category-card h3 {
    font-family:
        "Manrope",
        sans-serif;

    font-size: 22px;

    line-height: 1.15;
}


.category-bottom {
    border-top:
        1px solid var(--line);

    margin-top: 12px;

    padding-top: 8px;

    display: flex;

    justify-content:
        space-between;

    align-items: center;
}


.category-bottom span {
    color: var(--green);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;
}


.category-bottom strong {
    color: var(--gold);

    font-size: 20px;
}



/* =========================================================
   ABOUT / CONTACT
========================================================= */

.about,
.contact {
    max-width: 1450px;

    margin: auto;

    padding:
        75px 55px;

    border-top:
        1px solid var(--line);
}


.about > span,
.contact > span {
    color: var(--green);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;
}


.about h2,
.contact h2 {
    max-width: 750px;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(35px, 5vw, 60px);

    line-height: 1.05;

    margin-top: 15px;
}


.about p {
    max-width: 650px;

    color: var(--muted);

    margin-top: 20px;

    font-size: 17px;

    line-height: 1.6;
}



/* =========================================================
   CONTACT BUTTONS
========================================================= */

.contact-buttons {
    display: flex;

    gap: 12px;

    margin-top: 28px;
}


.contact-buttons a {
    padding:
        13px 22px;

    border-radius: 40px;

    background:
        var(--green);

    color: white;

    font-weight: 700;
}


.contact-buttons a:last-child {
    background:
        #dcebe6;

    color:
        var(--green);
}


.contact p {
    color:
        var(--muted);

    margin-top: 20px;
}



/* =========================================================
   CATEGORY PAGE
========================================================= */

.category-view {
    display: none;

    max-width: 1450px;

    margin: auto;

    padding:
        30px 55px 80px;
}


.category-view.active {
    display: block;
}


.category-top {
    height: 55px;

    border-bottom:
        1px solid var(--line);

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    margin-bottom: 45px;
}


.category-top > span {
    color: #777;

    font-size: 11px;

    letter-spacing: 4px;

    font-weight: 700;
}


.back-button {
    background:
        transparent;

    color: #777;

    font-size: 16px;
}


.back-button:hover {
    color:
        var(--green);
}


.category-heading {
    display: flex;

    justify-content:
        space-between;

    align-items: flex-end;

    border-bottom:
        1px solid var(--line);

    padding-bottom: 25px;

    margin-bottom: 35px;
}


.category-heading small {
    color: var(--green);

    font-size: 10px;

    letter-spacing: 3px;

    font-weight: 700;
}


.category-heading h2 {
    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(38px, 5vw, 60px);

    margin-top: 10px;
}


.category-heading p {
    color:
        var(--muted);

    max-width: 650px;

    margin-top: 12px;

    line-height: 1.6;
}


.category-heading > strong {
    color:
        var(--green);

    font-size: 12px;

    letter-spacing: 2px;
}



/* =========================================================
   CATEGORY PRODUCT GRID
========================================================= */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        40px 25px;
}


.product-card {
    cursor: pointer;

    transition:
        transform .2s ease;
}


.product-card:hover {
    transform:
        translateY(-4px);
}


.product-card-image {
    background:
        white;

    border-radius: 18px;

    overflow: hidden;

    aspect-ratio:
        1 / .85;

    margin-bottom: 13px;
}


.product-card-image img {
    width: 100%;

    height: 100%;

    object-fit: contain;
}


.product-card small {
    color:
        var(--green);

    font-size: 9px;

    letter-spacing: 1.5px;

    font-weight: 700;
}


.product-card h3 {
    font-family:
        "Manrope",
        sans-serif;

    font-size: 21px;

    margin-top: 6px;
}


.product-card p {
    color:
        var(--muted);

    font-size: 13px;

    line-height: 1.5;

    margin-top: 6px;
}



/* =========================================================
   PRODUCT DETAIL PAGE
========================================================= */

.product-view {
    display: none;

    min-height: 100vh;

    background:
        #ffffff;
}


.product-view.active {
    display: block;
}



/* =========================================================
   PRODUCT HEADER
========================================================= */

.product-header {
    max-width: 1100px;

    height: 58px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    border-bottom:
        1px solid #d8d8d8;
}


.product-header .back-button {
    justify-self:
        start;

    background:
        transparent;

    color:
        #777;

    font-size: 15px;

    padding: 0;
}


.product-header span {
    justify-self:
        center;

    color:
        #888;

    font-size: 10px;

    letter-spacing: 3px;

    font-weight: 700;
}



/* =========================================================
   PRODUCT PAGE
   BIG IMAGE ON TOP
========================================================= */

.product-page {
    max-width:
        900px;

    margin:
        0 auto;

    padding-bottom:
        80px;
}


.product-gallery {
    width: 100%;
}



/* =========================================================
   BIG IMAGE (made smaller / more compact)
========================================================= */

.main-image-box {
    width: 100%;

    max-width: 480px;

    margin: 0 auto;

    aspect-ratio:
        1 / .8;

    max-height: 340px;

    background:
        #f7f7f5;

    overflow: hidden;

    border-radius:
        0 0 18px 18px;
}


.main-image-box img {
    width: 100%;

    height: 100%;

    object-fit:
        contain;
}



/* =========================================================
   SMALL PRODUCT CARDS
========================================================= */

.thumbnail-container {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap:
        14px;

    padding:
        18px 0 10px;
}


.thumbnail {
    width: 100%;

    min-width: 0;

    padding: 7px;

    background:
        #ffffff;

    border:
        1px solid #deded9;

    border-radius:
        12px;

    overflow: hidden;

    cursor: pointer;

    display: flex;

    flex-direction: column;

    gap: 7px;

    text-align: left;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.thumbnail:hover {
    transform:
        translateY(-3px);

    border-color:
        var(--green);

    box-shadow:
        0 8px 20px
        rgba(0,0,0,.07);
}


.thumbnail.active {
    border:
        2px solid var(--green);

    box-shadow:
        0 5px 18px
        rgba(7,92,80,.12);
}


.thumbnail img {
    width: 100%;

    height: 115px;

    object-fit:
        contain;

    background:
        #f7f7f5;

    border-radius:
        8px;
}


.thumbnail span {
    color:
        #222;

    font-size:
        11px;

    line-height:
        1.3;

    font-weight:
        700;

    padding:
        2px 2px 4px;
}



/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.product-information {
    padding:
        35px 10px 0;
}


.product-category {
    display:
        block;

    color:
        var(--green);

    font-size:
        9px;

    letter-spacing:
        3px;

    font-weight:
        700;
}


.product-information h1 {
    font-family:
        "Manrope",
        sans-serif;

    font-size:
        38px;

    line-height:
        1.12;

    font-weight:
        700;

    color:
        #111;

    margin-top:
        10px;

    margin-bottom:
        20px;
}


.product-information > p {
    color:
        #6d6d6d;

    font-size:
        16px;

    line-height:
        1.75;

    max-width:
        700px;
}


.product-information hr {
    border:
        0;

    border-top:
        1px solid #d8d8d8;

    margin:
        35px 0;
}


.product-info-section {
    max-width:
        700px;
}


.info-row {
    display:
        flex;

    flex-direction:
        column;

    align-items:
        flex-start;

    gap:
        8px;
}


.info-row:not(:first-child) {
    margin-top:
        22px;
}


.info-row span {
    color:
        #888;

    font-size:
        9px;

    letter-spacing:
        2px;

    font-weight:
        700;
}


.info-row strong {
    display:
        inline-flex;

    align-items:
        center;

    min-height:
        36px;

    padding:
        7px 13px;

    border:
        1px solid #777;

    border-radius:
        8px;

    color:
        #111;

    background:
        #ffffff;

    font-size:
        13px;

    font-weight:
        600;
}



/* =========================================================
   ENQUIRY
========================================================= */

.enquiry-label {
    color:
        #888;

    font-size:
        10px;

    letter-spacing:
        2px;

    font-weight:
        700;

    margin-bottom:
        15px;
}


.product-actions {
    display:
        flex;

    gap:
        10px;
}


.product-actions a {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        42px;

    padding:
        10px 20px;

    border:
        1px solid #222;

    border-radius:
        5px;

    font-size:
        13px;

    font-weight:
        700;
}


.product-actions a:first-child {
    background:
        #111;

    color:
        #ffffff;
}


.product-actions a:last-child {
    background:
        #dcebe6;

    color:
        var(--green);
}



/* =========================================================
   FOOTER
========================================================= */

footer {
    max-width:
        1450px;

    margin:
        auto;

    padding:
        30px 55px;

    border-top:
        1px solid var(--line);

    display:
        flex;

    justify-content:
        space-between;
}


footer strong {
    color:
        var(--green);

    font-size:
        12px;

    letter-spacing:
        2px;
}


footer span {
    color:
        var(--muted);

    font-size:
        12px;
}



/* =========================================================
   PAGE STATES
========================================================= */

body.category-open .home,
body.category-open .catalogue,
body.category-open .about,
body.category-open .contact,
body.category-open footer {
    display:
        none;
}


body.product-open .home,
body.product-open .catalogue,
body.product-open .category-view,
body.product-open .about,
body.product-open .contact,
body.product-open footer {
    display:
        none;
}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {


    /* HEADER */

    .topbar {
        position:
            sticky;

        top:
            0;

        z-index:
            1000;

        height:
            64px;

        display:
            flex;

        align-items:
            center;

        justify-content:
            space-between;

        padding:
            7px 15px;

        background:
            rgba(255,255,255,.97);

        border-bottom:
            1px solid #ddd;
    }


    .mini-brand {
        color:
            var(--green);

        font-family:
            "Manrope",
            sans-serif;

        font-weight:
            800;

        font-size:
            20px;

        letter-spacing:
            2px;
    }


    .topbar-title {
        display:
            none;
    }


    .menu-btn {
        width:
            45px;

        height:
            45px;

        border-radius:
            50%;

        background:
            #dcebe6;

        color:
            var(--green);

        font-size:
            24px;
    }


    .mobile-nav {
        position:
            absolute;

        top:
            64px;

        left:
            0;

        right:
            0;

        display:
            none;

        flex-direction:
            column;

        background:
            white;

        border-bottom:
            1px solid #ddd;
    }


    .mobile-nav.active {
        display:
            flex;
    }


    .mobile-nav a {
        padding:
            16px 20px;

        border-bottom:
            1px solid #eee;

        color:
            var(--green);

        font-weight:
            600;
    }



    /* HOME */

    .home-company {
        display:
            block;

        padding:
            30px 18px 20px;
    }


    .company-logo {
        width:
            82px;

        height:
            82px;

        margin-bottom:
            20px;
    }


    .company-copy h1 {
        font-size:
            34px;

        margin-bottom:
            15px;
    }


    .company-copy p {
        font-size:
            14px;

        line-height:
            1.55;
    }


    .contact-info {
        padding:
            17px 18px 25px;
    }


    .contact-info div {
        font-size:
            12px;
    }


    .banner {
        padding:
            22px 18px 15px;
    }


    .banner img {
        border-radius:
            12px;
    }



    /* CATALOGUE */

    .catalogue {
        padding:
            30px 12px 55px;
    }


    .catalogue-heading {
        margin-bottom:
            22px;

        padding:
            0 6px 18px;
    }


    .catalogue-heading span {
        font-size:
            12px;

        letter-spacing:
            3px;
    }


    .catalogue-heading h2 {
        font-size:
            21px;
    }


    /*
       THREE CATEGORIES
       IN ONE ROW
    */

    .category-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap:
            22px 7px;
    }


    .category-image {
        aspect-ratio:
            1 / .80;

        border-radius:
            9px;

        margin-bottom:
            7px;

        padding:
            10px;
    }


    .category-label {
        font-size:
            5px;

        letter-spacing:
            .7px;

        margin-bottom:
            3px;
    }


    .category-card h3 {
        font-size:
            11px;

        line-height:
            1.15;
    }


    .category-bottom {
        margin-top:
            5px;

        padding-top:
            5px;
    }


    .category-bottom span {
        font-size:
            5px;

        letter-spacing:
            .5px;
    }


    .category-bottom strong {
        font-size:
            12px;
    }



    /* CATEGORY PAGE */

    .category-view {
        padding:
            18px 12px 55px;
    }


    .category-top {
        height:
            45px;

        margin-bottom:
            22px;
    }


    .category-top > span {
        font-size:
            7px;

        letter-spacing:
            1.5px;
    }


    .back-button {
        font-size:
            13px;
    }


    .category-heading {
        display:
            block;

        padding-bottom:
            18px;

        margin-bottom:
            22px;
    }


    .category-heading small {
        font-size:
            7px;

        letter-spacing:
            2px;
    }


    .category-heading h2 {
        font-size:
            27px;
    }


    .category-heading p {
        font-size:
            12px;
    }


    .category-heading > strong {
        display:
            block;

        margin-top:
            10px;

        font-size:
            8px;
    }



    /* CATEGORY PRODUCTS */

    .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            25px 9px;
    }


    .product-card-image {
        aspect-ratio:
            1 / .82;

        border-radius:
            10px;

        margin-bottom:
            8px;
    }


    .product-card small {
        font-size:
            5px;
    }


    .product-card h3 {
        font-size:
            13px;

        line-height:
            1.15;
    }


    .product-card p {
        font-size:
            8px;

        line-height:
            1.35;
    }



    /* PRODUCT HEADER */

    .product-header {
        height:
            55px;

        padding:
            0 15px;

        grid-template-columns:
            1fr auto 1fr;
    }


    .product-header span {
        font-size:
            7px;

        letter-spacing:
            1.5px;
    }



    /* BIG PRODUCT IMAGE (smaller on mobile too) */

    .product-page {
        width:
            100%;

        padding-bottom:
            55px;
    }


    .main-image-box {
        width:
            84%;

        max-width:
            320px;

        margin:
            0 auto;

        aspect-ratio:
            1 / .85;

        max-height:
            230px;

        border-radius:
            14px;

        margin-top:
            14px;
    }


    .main-image-box img {
        object-fit:
            contain;
    }



    /* SMALL PRODUCTS */

    .thumbnail-container {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap:
            8px;

        padding:
            12px 10px 8px;
    }


    .thumbnail {
        padding:
            5px;

        border-radius:
            9px;

        gap:
            5px;
    }


    .thumbnail img {
        height:
            78px;

        border-radius:
            7px;
    }


    .thumbnail span {
        font-size:
            8px;

        line-height:
            1.25;

        padding:
            2px;
    }



    /* PRODUCT INFORMATION */

    .product-information {
        padding:
            28px 18px 0;
    }


    .product-category {
        font-size:
            8px;

        letter-spacing:
            2px;
    }


    .product-information h1 {
        font-size:
            29px;

        margin-top:
            9px;

        margin-bottom:
            0;
    }


    .product-information > p {
        font-size:
            14px;

        line-height:
            1.6;

        margin-top:
            18px;
    }


    .product-information hr {
        margin:
            26px 0;
    }


    .info-row {
        gap:
            9px;
    }


    .info-row:not(:first-child) {
        margin-top:
            20px;
    }


    .info-row span {
        font-size:
            7px;
    }


    .info-row strong {
        font-size:
            11px;

        min-height:
            34px;
    }


    .product-actions {
        display:
            grid;

        grid-template-columns:
            1fr 1fr;
    }


    .product-actions a {
        padding:
            11px 5px;

        text-align:
            center;

        font-size:
            11px;
    }



    /* ABOUT */

    .about,
    .contact {
        padding:
            45px 18px;
    }


    .about h2,
    .contact h2 {
        font-size:
            30px;
    }


    .about p {
        font-size:
            14px;
    }


    .contact-buttons {
        display:
            grid;

        grid-template-columns:
            1fr;
    }



    /* FOOTER */

    footer {
        padding:
            25px 18px;

        display:
            flex;

        flex-direction:
            column;

        gap:
            6px;
    }

}



/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .category-card h3 {
        font-size:
            10px;
    }


    .category-bottom span {
        font-size:
            4.5px;
    }


    .thumbnail img {
        height:
            68px;
    }


    .thumbnail span {
        font-size:
            7px;
    }

}
