/*
Theme Name: Awaray 360 Store
Author: Awaray Dev
Description: Tienda en linea Premium para la marca Awaray.
Version: 2.2
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@400;500;700&display=swap');

:root {
    --primary-color: #9c1523;
    --secondary-color: #c42335;
    --bg-dark: #f8f9fa;
    --bg-card: #ffffff;
    --text-main: #222222;
    --text-muted: #666666;
    --border-color: #e5e5e5;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

/* Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.site-branding { margin-left: 5%; }
.site-logo { max-height: 50px; width: auto; }
.main-navigation { margin-right: 5%; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.main-navigation a { color: var(--text-main); text-decoration: none; font-weight: 500; transition: color 0.3s ease; font-size: 15px; }
.main-navigation a:hover { color: var(--primary-color); }

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 40px;
    background: var(--primary-color);
    color: white;
}
.hero-section h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; max-width: 900px; }
.hero-section p { font-size: 1.25rem; color: rgba(255,255,255,0.9); max-width: 600px; margin-bottom: 40px; line-height: 1.6; }

.btn-premium {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    background: white;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

/* Main Shop Grid Area */
.site-main { max-width: 1300px; margin: 0 auto; padding: 80px 20px; }
.section-title { text-align: center; font-size: 3rem; margin-bottom: 50px; font-weight: 700; color: var(--primary-color); }

/* ==== WOOCOMMERCE GRID FIXES ==== */
body.woocommerce .site-main ul.products,
body .site-main ul.products,
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

body.woocommerce ul.products li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

body.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
    border-color: #d0d0d0 !important;
}

body.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product a img {
    border-radius: 8px !important;
    width: 100% !important;
    height: 250px !important;
    object-fit: contain !important;
    margin: 0 auto 20px auto !important;
    box-shadow: none !important;
    display: block !important;
    background: #fff !important;
}

body.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 1.15rem !important;
    color: #111 !important;
    margin: 0 0 15px 0 !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    font-family: 'Inter', sans-serif !important;
}

body.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price {
    display: block !important;
    font-weight: 800 !important;
    color: #9c1523 !important;
    font-size: 1.5rem !important;
    margin-bottom: 20px !important;
}

/* Amazon style Add to cart button */
body.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.product_type_simple,
.woocommerce a.button.product_type_variable {
    background: #FFD814 !important;
    color: #0F1111 !important;
    border: 1px solid #FCD200 !important;
    padding: 12px 25px !important;
    border-radius: 50px !important;
    font-weight: 500 !important;
    width: 100% !important;
    display: block !important;
    margin-top: auto !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    font-family: 'Inter', sans-serif !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    text-transform: none !important;
}

body.woocommerce a.button.add_to_cart_button:hover,
.woocommerce a.button.add_to_cart_button:hover,
.woocommerce a.button.product_type_simple:hover {
    background: #F7CA00 !important;
    border-color: #F2C200 !important;
}
