/*
Theme Name: Velamar Theme
Author: Gabriel Castro
Version: 2.0
*/

/* ==========================
   VARIABLES
========================== */

:root{
    --primary:#2CC5D9;
    --secondary:#F18B3A;
    --dark:#222;
    --light:#fff;
    --gray:#f5f5f5;
}

/* ==========================
   GENERAL
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Poppins,Arial,sans-serif;
    background:#fff;
    color:#333;
    line-height:1.6;
}

.container{
    width:90%;
    max-width:1300px;
    margin:auto;
}

a{
    text-decoration:none;
}

/* ==========================
   HEADER
========================== */

.header{
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:999;
}

.header .container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:15px 0;
}

/* LOGO */

.header-logo img,
.custom-logo{
    max-width:140px;
    height:auto;
}

/* MENU */

.header-nav{
    flex:1;
    display:flex;
    justify-content:center;
}

.menu{
    display:flex;
    list-style:none;
    gap:30px;
}

.menu a{
    color:#222;
    font-weight:600;
    font-size:16px;
    transition:.3s;
}

.menu a:hover{
    color:var(--primary);
}

/* HERRAMIENTAS */

.header-tools{
    display:flex;
    align-items:center;
    gap:15px;
}

/* BUSCADOR */

.search-form{
    display:flex;
}

.search-form input{
    width:220px;
    padding:10px;
    border:1px solid #ddd;
    border-radius:8px 0 0 8px;
}

.search-form button{
    background:var(--primary);
    color:#fff;
    border:none;
    padding:10px 15px;
    border-radius:0 8px 8px 0;
    cursor:pointer;
}

/* ICONOS */

.header-icon,
.social-link{
    font-size:22px;
    color:var(--primary);
    transition:.3s;
}

.header-icon:hover,
.social-link:hover{
    color:var(--secondary);
}

/* ==========================
   HERO
========================== */

.hero{
    background:linear-gradient(
        135deg,
        #2CC5D9,
        #22b7ca
    );
    color:white;
    padding:100px 0;
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
}

.hero h1{
    font-size:60px;
    line-height:1.1;
    margin-bottom:20px;
}

.hero p{
    font-size:22px;
    margin-bottom:25px;
}

.hero img{
    width:100%;
    border-radius:20px;
}

/* BOTON */

.btn,
.button,
.wp-element-button{
    background:var(--secondary) !important;
    color:#fff !important;
    padding:14px 30px !important;
    border-radius:10px !important;
    display:inline-block;
    font-weight:600;
    border:none;
}

.btn:hover,
.button:hover{
    opacity:.9;
}

/* ==========================
   CATEGORIAS
========================== */

.categorias{
    padding:80px 0;
    text-align:center;
}

.categorias h2{
    margin-bottom:40px;
}

.product-category{
    text-align:center;
}

.product-category img{
    width:220px;
    height:220px;
    object-fit:cover;
    border-radius:20px;
    transition:.3s;
}

.product-category img:hover{
    transform:scale(1.05);
}

.count{
    display:none;
}

/* ==========================
   PRODUCTOS
========================== */

.products li{
    background:#fff;
    padding:15px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.products li:hover{
    transform:translateY(-5px);
}

.products img{
    border-radius:10px;
}

.price{
    color:var(--secondary)!important;
    font-weight:bold;
}

/* ==========================
   FOOTER
========================== */

.site-footer{
    background:#111;
    color:#fff;
    text-align:center;
    padding:50px 0;
}

.site-footer a{
    color:#fff;
}

/* ==========================
   MOVIL
========================== */

@media(max-width:768px){

.header .container{
    flex-direction:column;
    gap:20px;
}

.menu{
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
}

.search-form{
    width:100%;
    justify-content:center;
}

.search-form input{
    width:180px;
}

.header-tools{
    justify-content:center;
    flex-wrap:wrap;
}

.hero{
    padding:60px 20px;
}

.hero-grid{
    grid-template-columns:1fr;
}

.hero h1{
    font-size:36px;
}

.hero p{
    font-size:18px;
}

.product-category img{
    width:160px;
    height:160px;
}

}