@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bellota:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

* {
    font-family: "Bellota", system-ui;
    margin: 0;
    padding: 0;
    scroll-padding-top: 2rem;
    scroll-behavior: smooth;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;    
}

:root {
    --main-color: #fd4646;
    --text-color: #171427;
    --bg-color: #fff;
}

img {
    width: 100%;
}

body {
    /*background: rgba(235, 242, 247, 1); */
    /*background: linear-gradient(rgba(35, 242, 247, 0.05),rgba(35, 242, 247, 0.02)), url(../img/020.jpg) repeat;*/
    background: #fff;          
    color: var(--text-color);
    overflow-X: clip;
}

.container {
    max-width: 1280px;
    margin: auto;
    width: 100%;
}

section {
    padding: 2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    box-shadow: 0 1px 4px hsl(0 4% 15% / 10%);
    z-index: 100;
}

.banner {        
    background: url(../img/banner-header.jpg) center/cover no-repeat;
    background-size: 100% 100%;
    height: 80vh;
    width: 100%;
    margin-bottom: 6rem;
    opacity: 95%;        
    filter: brightness(40%);
    /*rgba(245, 147, 42,0.8) rgba(245, 226, 135,0.9)*/
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 2.5rem;
    width: 100%;
}

.logo {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
}

#cart-icon {
    font-size: 1.8rem;
    cursor: pointer;
}

/* Cart */
.cart {
    position: fixed;
    top: 4.36rem;
    right: -100%;
    width: 100%;
    min-height: 100vh;
    padding: 20px;
    opacity: 0;
    background: rgba(246, 245, 252, 0.96); /*rgba(250, 248, 237,0.96)*/
    box-shadow: -2px 0 4px hsl(0 4% 15% / 10%);
    border-top: 1px solid #000;
    fill: white;    
    backdrop-filter: blur(3px);    
    transition: 0.3s;
}

.cart.active {
    opacity: 1;
    right: 0;
}

.cart-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
}

.cart-box {
    display: grid;
    grid-template-columns: 32% 50% 18%;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.cart-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    padding: 10px;
}

.detail-box {
    display: grid;
    row-gap: 0.5rem;
}

.cart-product-title {
    font-size: 1rem;
    text-transform: uppercase;
}

.cart-price {
    font-weight: 500;
}

.cart-quantity {
    border: 1px solid var(--text-color);
    outline-color: var(--main-color);
    width: 2.4rem;
    text-align: center;
    font-size: 1rem;
}

.cart-remove {
    font-size: 24px;
    color: var(--main-color);
    cursor: pointer;
}

.total {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
    border-top: 1px solid var(--text-color);
}

.total-title {
    font-size: 1rem;
    font-weight: 600;
}

.total-price {
    margin-left: 0.5rem;
}

.btn-buy {
    display: flex;
    margin: 1.5rem auto 0 auto;
    padding: 20px 30px;
    border: none;
    background: var(--main-color);
    color: var(--bg-color);
    border-bottom: 2px solid transparent;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.4s;
}

.btn-buy:hover {
    opacity: 0.98;
    border-bottom: 2px solid var(--text-color);
}

#close-cart {
    position: absolute;
    top: 1rem;
    right: 0.8rem;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    transition: 0.4s;
}

#close-cart:hover {
    opacity: 0.8;    
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
}

.shop {
    margin-top: 2rem;
    margin-bottom: 6rem;
    min-height: 100vh;
}

/* Shop Content */
.product-box-gradient {
    /*display: flex;
    justify-content: center;
    align-items: center;*/
    position: relative;
    width: 280px;
    height: 430px;
    margin-bottom: 1.5rem;
    background: #fff; /*#0284db*/
    overflow: hidden;
    border-radius: 8px;
}

.product-box-gradient::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 140%;
    background: linear-gradient(#f0e3c0, #00ccff50);  /*#00ccff, #d400d4, #ffbc0060, #f1e8d0*/
    /*animation: animate 4s linear infinite;*/
}

.product-box-gradient:hover::before {    
    animation: animate 4s linear infinite;
}

.product-box-gradient::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: #faf8f2; /*#fcfcfa, #faf8f2*/
    border-radius: 8px;    
}

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.shop-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2.5rem;
}

.product-box {
    position: relative;
    background: transparent;
    margin: 6px;
    padding: 5px;
    /*border: 1px solid transparent;    
	box-shadow: 0px 2px 5px rgba(200, 200, 200, 1);*/
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.4s;
    z-index: 1;    
}

.product-box:hover {
    /*padding: 10px;*/
    /*border: 1px solid var(--text-color);
    box-shadow: 9px 5px 5px rgba(200, 200, 200, 1); */   
}

.product-box img {
    /*border-top-left-radius: 0px;
    border-top-right-radius: 0px;*/
    border-radius: 3px;
    filter: brightness(80%);
    height: 280px;
}

/*.filtro   {
    height: 189px;    
    background-color: rgba(14, 4, 87,0.8);
}*/

.product-img {
    width: 100%;
    height: auto;
    margin-bottom: 0rem;
}

.product-title {
    position: relative;
    font-size: 1.1rem;
    font-weight: 300;
    text-transform: capitalize;
    padding-top: 1.85rem;
    text-align: center;
    color: #0e1538;
    z-index: 1;
}

.title-bottom {
    margin-bottom: 20px;
}

.price h2 {
    position: relative;
    font-size: 18px;
    font-weight: 500;
    margin-top: 1rem;
    text-align: center;
    color: #0e1538;
    z-index: 1;   
}

.add-cart {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(15deg, #745bf560, #a190f5);
    color: var(--bg-color);
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 10px 5px 0;
    border: 0px solid var(--text-color);
    transition: 0.3s;
    z-index: 1;
}

.add-cart:hover {
    opacity: 0.85;
    color: #0e153860;
}

/*.add-cart:active {
    transform: scale(.96);
}*/

/* Search Input */
/*.search {
    width: 250px;
    height: 40px;
    background-color: rgba(245,245,245,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    padding: 0px 20px;
    box-shadow: 5px 10px 15px rgba(0,0,0,0.1);
}

.search i {
    color: var(--text-color);
    cursor: pointer;
}*/

input {
    width: 150px;    
    height: 30px;    
    outline: none;    
    border: none;
    border-radius: 0px;
    color: var(--text-color);
    border-bottom: 1px solid var(--text-color);
    background-color: transparent;
}

/* Card Tailor */
.card-container-tailor {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 100px;
}

.card-tailor {
    width: 350px;
    background-color: #faf8f290;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 2px 4px #f0e3c080;
    margin: 30px;
}

/*.card-tailor img {
    width: 100%;
    height: 400px;
}*/

.card-tailor-img {
    width: 100%;
    height: 400px;   
    overflow: hidden;    
}

.card-tailor-img img {
    width: 100%;
    height: 100%;    
    transition: 0.5s;        
}

.card-tailor:hover .card-tailor-img img {
    transform: scale(1.1);
}

.card-content-tailor {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 25px;
}

.card-content-tailor h3 {
    font-size: 30px;
    margin-bottom: 10px;
}

.card-content-tailor p {
    color: #111;
    font-size: 15px;
    line-height: 30px;
}

.card-content-tailor .btn {
    display: inline-block;            
    padding: 15px 30px;
    background: linear-gradient(15deg, #745bf560, #a190f5);
    text-decoration: none;
    border-radius: 3px;
    margin-top: 20px;
    color: #fff;
    cursor: pointer;
    transition: 0.5s;    
}

.card-content-tailor .btn:hover {
    opacity: 0.85;
}

/* Sale Text */
.banner-sale {        
    background: url(../img/banner-sale.jpg) center/cover no-repeat;
    background-size: 100% 100%;
    height: 80vh;
    width: 100%;    
    margin-top: -2rem;    
    opacity: 95%;        
    filter: brightness(40%);
    /*rgba(245, 147, 42,0.8) rgba(245, 226, 135,0.9)*/
}

.sale-text {
    margin-top: 6rem;
}

.sale-text h2 {
    background: #010e24;
    text-align: center;
    font-size: 80px;
    color: #fff;
    padding: 6.5rem 0 1.5rem 0;    
}

.sale-text h3 {
    background: #010e24;
    text-align: center;
    font-size: 30px;
    color: #fff;
    line-height: 80px;
    padding: 1.5rem 6rem 6.5rem 6rem;    
}

/* Sale Cards */
.container-sale {    
    background: linear-gradient(rgba(206, 198, 245, 0.28),rgba(206, 198, 245, 0.28)), url(../img/banner-pattern.jpg) repeat;       
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 100px;
    background-color: #fff;
    backdrop-filter: blur(20px);   
}

.container-sale .box-sale {
    position: relative;
    width: 320px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 100px 15px;
    cursor: pointer;    
    transition: 0.5s;
}

.container-sale .box-sale::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    width: 50%;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    transform: skewX(0deg);
    width: calc(100% - 90px);
    transition: 0.5s;
}

.container-sale .box-sale::after {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    width: 50%;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    transform: skewX(0deg);
    filter: blur(30px);
    width: calc(100% - 90px);
    transition: 0.5s;
}

.container-sale .box-sale::before,
.container-sale .box-sale::after {
    background: linear-gradient(15deg, #f1e8d010, #f7e0ab00, #f1e8d010);    
    /*background: linear-gradient(15deg, #f1e8d060, rgba(172, 156, 247, 0.85));*/                                      
}

.container-sale .box-sale:hover:before,
.container-sale .box-sale:hover:after {
    background: linear-gradient(15deg, #f1e8d010, #f7e0ab10, #f1e8d010);    
    transform: skewX(0deg);
    left: 5px;
    width: calc(100% - 65px);
    filter: blur(10px);
}
   
.container-sale .box-sale .content img {
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center; 
}

@keyframes animate-sale {
    0%, 100% {
        transform: translateY(10px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.container-sale .box-sale .content {
    position: relative;
    left: 0;
    padding: 20px 40px;
    background: rgba(255,255,255,0.25);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    backdrop-filter: blur(1px);
    z-index: 1;
    transition: 0.5s;
    color: #fff;
}

.container-sale .box-sale .content {
    left: -25px;
    padding: 60px 40px;
    border: 2px solid #64282c30;
}

.container-sale .box-sale .content h2 {
    font-size: 1.5em;
    color: #0e1538;
    margin-bottom: 20px;
    text-align: center;
}

/* Footer */
.banner-terno {
    max-width: 100%;
    overflow: hidden;
}
.banner-terno img {            
    /*background-attachment: fixed;*/
    height: 60vh;
    width: 25.1%;
    margin: 0 -5px -5px 0;    
    opacity: 95%;    
    filter: brightness(50%);
    overflow: hidden;
    /*rgba(245, 147, 42,0.8) rgba(245, 226, 135,0.9)*/
}

.midias {
    background: linear-gradient(rgba(206, 198, 245, 0.28),rgba(206, 198, 245, 0.28)), url(../img/banner-pattern.jpg) repeat;       
    display: flex;
    justify-content: center;
    align-items: center;        
    padding: 8rem 0 6.5rem 0;        
}

ul {
    margin: 0;
    padding: 0;
    display: flex;
}

ul li {
    position: relative;
    list-style: none;
    width: 80px;
    height: 80px;
    margin: 0 20px;
    border-radius: 50%;
    box-sizing: border-box;            
}

ul li:before,
ul li:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    background: #000;
    border-radius: 50%;
    filter: blur(50px);            
    opacity: 0;
    transition: 1s;
    z-index: -1;
}

ul li:after {
    filter: blur(40px);
}

ul li:hover:before,
ul li:hover:after {
    opacity: 0.25;
}

ul li a {
    position: absolute;
    top: -5px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    text-align: center;
    line-height: 80px;
    color: #fff;
    background: #000;
    font-size: 25px;
    border-radius: 50%;
}

ul li a .bi {
    text-shadow: 0 2px 5px rgba(0,0,0.2);
    transition: 0.5s;
    transform: rotateY(0deg) scale(0.8);
    opacity: 0.5;
}

ul li a:hover .bi {
    opacity: 1;
    transform: scale(1.1);
}

ul li:nth-child(n) a,
ul li:nth-child(n):before,
ul li:nth-child(n):after {
    background: linear-gradient(15deg, #745bf560, #a190f5);
    border: 1px solid #010e2420;
    transition: 0.5s;
}

ul li:nth-child(n) a:hover {
    opacity: 0.85;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;        
    padding: 6rem 0 4rem 0;    
    background-color: #010e24;
}

footer h2 {
    font-size: 30px;
    color: #fff;
}

/* Breakpoints - Making Responsive */
@media (max-width: 1080px) {
    /*.nav {
        padding: 15px;
    }*/

    section {
        padding: 3rem 0 2rem;
    }

    .container {
        margin: 0 auto;
        /*width: 100%;*/
    }

    .shop {
        margin-top: 2rem !important;
    }
}

@media (max-width: 600px) {
    /*.nav {
        padding: 11px;
    }

    .logo {
        font-size: 1rem;
    }

    .cart {
        width: 320px;
    }*/

    .nav {
        padding: 21px 10px;
    }

    .banner {
        margin-bottom: 2rem;
    }

    section:nth-child(3) {
        padding: 0.3rem 0.5rem 4rem 0.3rem;
    }

    .product-box-gradient {
        width: 146px;
        height: 260px;
        gap: 0.5rem;
    }

    .product-box-gradient::before {
        width: 100px;
    }

    .product-box {
        padding: 1px;
    }

    .product-box img {
        height: 125px;
    }

    .product-title {
        font-size: 0.8rem;
        margin-top: -0.25rem;
        
    }

    .price h2 {
        margin-top: 0.4rem;
        margin-left: 5px;
    }

    .add-cart {
        bottom: -50px;
        right: 30%;
        padding: 10px;
        margin: 0 6px 6px 0;
    }

    input {
        width: 120px;
        height: 23px;
    }

    .shop-content {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        padding: 4rem 0 4rem 0;
        gap: 1rem;
    }

    .title-bottom {
        margin-top: -15px;
        margin-bottom: 10px;
    }

    .container-sale .box-sale {    
        margin-left: 68px;    
    }
   
    .sale-text h2 {        
        font-size: 35px;
        padding: 6.5rem 0 3.5rem 0;        
    }

    .sale-text h3 {       
        font-size: 20px;        
        line-height: 60px;
        padding: 0rem 2rem 6.5rem 2rem;    
    }

    .banner-terno img {                    
        width: 50%;
        margin-top: -5px;       
    }

    ul li {
        margin: 0 10px;
    }

    footer {              
        padding: 6rem 0 5rem 0;           
    }
    
}

/*@media (max-width: 360px) {
    .shop {
        margin-top: 1rem !important;
    }

    .cart {
        width: 280px;
    }
}*/
