@import url('https://fonts.googleapis.com/css2?family=Merienda&display=swap');

:root {
    --primary: #BC9578;
    --secondary: #2c4c9c;
    --secondary-transparent: #2c4c9c70;
    --bg-section-light: #fff1e6;
    --bs-offcanvas-transition-custom: transform 0.5s ease-in-out;
    --custom-offcanvas-width: 300px;
    --swiper-pagination-bullet-size: 12px;
    --swiper-pagination-bullet-inactive-color: var(var(--secondary))
}

* {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
}

.merienda {
    font-family: "Merienda", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/*------------------- COMMON -------------------- */

.section {
    padding: 60px 0;
}

.section-light {
    background-color: var(--bg-section-light);
}

.bg-gold {
    background-color: var(--primary);
}

.bg-blue {
    background-color: var(--secondary);
}

.text-gold {
    color: var(--primary)
}

.text-blue {
    color: var(--secondary)
}

.border-gold {
    border-color: var(--primary);
}

.border-top-gold{
    border-top:1px solid var(--bg-section-light);
}

.font-5 {
    font-size: 1.125rem !important
}

.page-heading::after {
    content: "";
    width: 40%;
    height: 3px;
    position: absolute;
    background-color: var(--primary);
    top: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, -50%) scale(1.2, 1);
}

.text-justify {
    text-align: justify !important;
}


/* ----------------Header-------------------- */

.navbar img.logo {
    max-height: 48px
}

.offcanvas img.logo {
    max-height: 38px
}

.navbar .icon-bar {
    width: 30px;
    background: #000;
    height: 2px;
}

.offcanvas.offcanvas-start {
    width: var(--custom-offcanvas-width);
}

.offcanvas {
    transition: var(--bs-offcanvas-transition-custom);
}


/* ---------- --------------- -------------- Swiper JS ---------------- ------------------ -------*/

.swiper-wrapper {
    max-height: calc(100vh - 64px);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*----------------------  Fabrics --------------------------- */

#fabrics .name {
    inset: auto 0 0 0;
}


/* ====================== SALERNO ======================== */
.salerno-brand-logo {
    max-height: 70%
}

@media (max-width:576px) {
    .salerno-brand-logo {
        max-height: 60%
    }
}


/*----------------------- ABOUT --------------------------- */

.inner-container {
    width: 50%;
    padding: 50px 65px;
}

.inner-container .text {
    line-height: 24px;
    text-align: justify;
}


/*----------------------------- SUITING ----------------------------------*/

#suiting .card {
    padding: 2em 1.5em;
    background: linear-gradient(#ffffff 50%, var(--primary) 50%);
    background-size: 100% 200%;
    background-position: 0 2.5%;
    transition: 0.5s;
}

#suiting .icon-wrapper {
    background-color: var(--primary);
    height: 2.5em;
    width: 2.5em;
    color: #fff;
    place-items: center;
    transition: 0.5s;
}

#suiting .card:hover {
    background-position: 0 100%;
}

#suiting .card:hover .icon-wrapper {
    background-color: #ffffff;
    color: var(--primary);
}

#suiting .card:hover h5 {
    color: #ffffff;
}

#suiting .card:hover p {
    color: #f0f0f0;
}


/* --------------------------------  PRODUCTS ----------------------------------*/

.products .feature .title,
.products .feature .description {
    float: right;
    width: 80%;
    padding-left: 20px;
    padding-right: 25px;
}

.products .feature .description p {
    font-size: 15px;
    color: #535353;
    text-align: justify;
}

.products .feature .image {
    height: 100%;
    float: left;
    width: 20%;
}

.products .feature .image img,
.products .feature .image-right img {
    height: 100%;
    max-width: 100%;
}

.products .feature .image-right {
    height: 100%;
    float: right;
    width: 20%;
}

@media(max-width:991px) {

    .products .feature .title,
    .products .feature .description {
        width: 100%;
        padding-left: 20px;
        padding-right: 25px;
    }

    .products .feature .description p {
        font-size: 15px;
        color: #535353;
        text-align: justify;
    }

    .products .feature .image,
    .products .feature .image-right {
        height: 200px;
        width: 100%;
        margin-bottom: 22px;
    }

    .products .feature .image img,
    .products .feature .image-right img {
        display: none;
    }

    .product-1,
    .product-2,
    .product-3,
    .product-4,
    .product-5 {
        background-size: cover !important;
    }

    .product-1 {
        background: url(../img/products/catonic-viscose-hor.jpg);
    }

    .product-2 {
        background: url(../img/products/poly-viscose-hor.jpg);
    }

    .product-3 {
        background: url(../img/products/poly-cotton.jpg);
    }

    .product-4 {
        background: url(../img/products/pv-lycra-hor.jpg);
    }

    .product-5 {
        background: url(../img/products/cotton-hor.jpg);
    }

}


/* -------------------------- CONTACT ------------------------------------- */

.contact .info-box {
    padding: 16px 0 28px 0;
}

.contact .info-box .icon svg {
    color: var(--secondary);
    border: 2px dotted var(--secondary-transparent);
}

.contact .info-box p {
    font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: var(--primary);
}

.contact .php-email-form input {
    padding: 10px 15px;
}

.contact .php-email-form textarea {
    padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
    background: var(--secondary);
    color: #fff;
    transition: 0.3s;
}

.contact .php-email-form button[type=submit]:hover {
    background: var(--primary);
}


/* ---------- ABOUT PAGE ------------ */

.expertise li {
    font-weight: 500;
}

.expertise li::before {
    content: "✓";
    font-weight: 900;
    color: var(--primary);
    margin-right: 7px;
}


/*================= GALLERY ================== */
.ag-format-container {
    width: 1142px;
    margin: 0 auto;
}

.ag-photo-gallery_list {
    display: -ms-grid;
    display: grid;

    grid-gap: 28px;

    -ms-grid-columns: 1fr .9375rem 1fr .9375rem 1fr .9375rem 1fr .9375rem 1fr .9375rem 1fr .9375rem 1fr .9375rem 1fr .9375rem 1fr .9375rem 1fr .9375rem 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;

    -ms-grid-rows: 22.125rem .9375rem 22.125rem .9375rem 22.125rem .9375rem 22.125rem .9375rem 22.125rem .9375rem 22.125rem .9375rem 22.125rem .9375rem 22.125rem .9375rem 22.125rem .9375rem 22.125rem .9375rem 22.125rem .9375rem 22.125rem;
    grid-template-rows: 22.125rem 22.125rem 22.125rem 22.125rem 22.125rem 22.125rem 22.125rem 22.125rem 22.125rem 22.125rem 22.125rem 22.125rem;

    margin-bottom: 65px;
}

.ag-photo-gallery_item {
    -ms-grid-column-span: 4;
    grid-column-end: span 4;

    cursor: pointer;

    overflow: hidden;

    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;

    position: relative;
}

.ag-photo-gallery_item__wide {
    -ms-grid-column-span: 7;
    grid-column-end: span 7;
}

.ag-photo-gallery_item__middle {
    -ms-grid-column-span: 5;
    grid-column-end: span 5;
}

.ag-photo-gallery_item__narrow {
    -ms-grid-column-span: 3;
    grid-column-end: span 3;
}

.ag-photo-gallery_figure {
    width: 100%;
    height: 100%;

    overflow: hidden;
}

.ag-photo-gallery_img {
    height: 100%;
    width: 100%;

    -o-object-fit: cover;
    object-fit: cover;

    -o-object-position: 50% 50%;
    object-position: 50% 50%;
}


@media only screen and (max-width: 767px) {
    .ag-format-container {
        width: 96%;
    }

    .ag-photo-gallery_list {
        grid-gap: 10px;

        -ms-grid-rows: 14rem .9375rem 14rem .9375rem 14rem .9375rem 14rem .9375rem 14rem .9375rem 14rem .9375rem 14rem .9375rem 14rem .9375rem 14rem .9375rem 14rem .9375rem 14rem .9375rem 14rem;
        grid-template-rows: 14rem 14rem 14rem 14rem 14rem 14rem 14rem 14rem 14rem 14rem 14rem 14rem;
    }
}

@media only screen and (max-width: 639px) {}

@media only screen and (max-width: 479px) {}

@media (min-width: 768px) and (max-width: 979px) {
    .ag-format-container {
        width: 750px;
    }

}

@media (min-width: 980px) and (max-width: 1161px) {
    .ag-format-container {
        width: 960px;
    }

}