/*
Theme Name: Inhostify Pro
Theme URI: https://inhostify.in/themes/inhostify-pro
Author: Inhostify
Author URI: https://inhostify.in
Description: A modern, mobile-responsive eCommerce WordPress theme optimized for Elementor and WooCommerce. Features a stylish and clean user interface suitable for online shops with full customizability via WordPress Customizer.
Version: 1.0.1
Requires at least: 5.6
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: inhostify-pro
Tags: e-commerce, custom-colors, custom-menu, editor-style, responsive, rtl-support, Elementor-ready, WooCommerce-ready
*/

/* Base Styles */
:root {
    --primary-color: #03a9b1; /* Teal */
    --secondary-color: #ff6b6b; /* Coral */
    --text-color: #333333;
    --light-gray: #f7f7f7;
    --medium-gray: #eeeeee;
    --dark-gray: #777777;
    --white: #ffffff;
    --border-radius: 4px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

button,
.button,
.wp-block-button__link {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1;
}

button:hover,
.button:hover,
.wp-block-button__link:hover {
    background-color: var(--secondary-color);
    box-shadow: var(--box-shadow);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.site-header {
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Top Header */
.top-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-header-left a {
    color: var(--white);
}

.top-header-social {
    display: flex;
    gap: 15px;
}

/* Main Header */
.main-header {
    background-color: var(--white);
    padding: 20px 0;
}

.main-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.menu-item a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.menu-item a:hover {
    color: var(--primary-color);
}

.menu-item-has-children {
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 10px 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-toggle,
.wishlist-icon,
.cart-icon {
    font-size: 20px;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.search-toggle:hover,
.wishlist-icon:hover,
.cart-icon:hover {
    color: var(--primary-color);
}

.search-bar {
    position: relative;
}

.search-form {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 999;
    width: 300px;
    display: none;
}

.search-form.active {
    display: block;
}

.cta-button {
    background-color: var(--secondary-color);
}

/* Footer Styles */
.site-footer {
    background-color: #2c3e50;
    color: var(--white);
}

.footer-widgets {
    padding: 60px 0 40px;
}

.footer-widgets-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-widget {
    margin-bottom: 20px;
}

.footer-widget-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #ddd;
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    background-color: #1a252f;
    padding: 20px 0;
    font-size: 14px;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-icons {
    display: flex;
    gap: 10px;
}

.payment-icons img {
    height: 24px;
    opacity: 0.8;
    transition: var(--transition);
}

.payment-icons img:hover {
    opacity: 1;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
}

/* WooCommerce Styles */
.woocommerce ul.products li.product {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: var(--transition);
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.woocommerce ul.products li.product:hover {
    box-shadow: var(--box-shadow);
    transform: translateY(-5px);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 0 15px;
    font-size: 16px;
    font-weight: 500;
}

.woocommerce ul.products li.product .price {
    padding: 0 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.woocommerce ul.products li.product .button {
    margin: 0 15px;
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
}

.woocommerce ul.products li.product .button:hover {
    background-color: var(--secondary-color);
}

.woocommerce span.onsale {
    background-color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .footer-widgets-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .top-header-container,
    .main-header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-widgets-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
