/*
Theme Name: Shoptimizer Child Theme
Theme URI:
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI:
Template: shoptimizer
Version: 1.2.2
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/

input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
textarea {
    border-color: #5c0173;
}

.input-text:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="url"]:focus,
textarea:focus {
    border-color: #4a015c;
}

.site-search input[type="search"] {
    border: 1px solid #5c0173;
}

.select2-container--default .select2-selection--single {
    border-color: #5c0173;
}

.product p.price {
    font-weight: 700;
}

.woocommerce-cart ul.checkout-bar li.active::before,
.woocommerce-checkout ul.checkout-bar li.active::before,
.woocommerce-checkout ul.checkout-bar li.next::before {
    background: #5c0173;
}

.page-template-template-homepage .content-area {
    width: 100%;
    clear: both;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    text-align: center;
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-badge:nth-child(1) .material-symbols-outlined { color: var(--primary); }
.trust-badge:nth-child(2) .material-symbols-outlined { color: #ef4444; }
.trust-badge:nth-child(3) .material-symbols-outlined { color: var(--accent); }

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-title span {
    color: var(--primary);
    font-style: italic;
    font-family: serif;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 48rem;
    margin: 0 auto 4rem;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.category-card {
    position: relative;
    display: block;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #f3f4f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1 / 1.25;
    transition: box-shadow 0.3s ease;
}

.category-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.1) 50%, transparent);
    transition: opacity 0.3s ease;
}

.category-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem;
    text-align: center;
}

.category-card-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

@media (min-width: 993px) {
    .col-full.main-header {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .site-header .custom-logo-link img {
        height: 90px !important;
    }
}
