/*
Theme Name: Pawfect Store
Theme URI: https://pawfect.store
Description: متجر احترافي للحيوانات الأليفة - يعمل مع Pawfect Dropshipping Plugin
Version: 1.0.0
Author: Pawfect Team
Author URI: https://pawfect.store
Text Domain: pawfect-theme
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ========================================
   RESET & BASE STYLES
   ======================================== */

:root {
    --primary: #FF6B35;
    --primary-dark: #E85A2A;
    --secondary: #4ECDC4;
    --accent: #FFE66D;
    --dark: #2D3047;
    --light: #FFF8F0;
    --gray: #8D99AE;
    --success: #06D6A0;
    
    --shadow-sm: 0 2px 8px rgba(45, 48, 71, 0.08);
    --shadow-md: 0 4px 16px rgba(45, 48, 71, 0.12);
    --shadow-lg: 0 8px 32px rgba(45, 48, 71, 0.16);
    --shadow-xl: 0 16px 48px rgba(45, 48, 71, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Readex Pro', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.top-bar {
    background: var(--dark);
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo::before {
    content: "🐾";
    font-size: 36px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a:hover::after {
    width: 100%;
}

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

.header-icon {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s;
}

.header-icon:hover {
    transform: scale(1.15);
}

.cart-count {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #FFE66D 0%, #FF6B35 100%);
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 40px;
}

.cta-button {
    padding: 18px 40px;
    background: var(--dark);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Products Grid */
.products-section {
    padding: 80px 40px;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
}

.products-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
}

.product-card {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #FFE66D, #4ECDC4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.product-badge.new {
    background: var(--success);
}

.product-info {
    padding: 25px;
}

.product-category {
    color: var(--gray);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.stars {
    color: var(--accent);
}

.rating-count {
    color: var(--gray);
    font-size: 14px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.current-price {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
}

.old-price {
    font-size: 18px;
    color: var(--gray);
    text-decoration: line-through;
}

.add-to-cart-btn {
    width: 100%;
    padding: 14px;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.add-to-cart-btn:hover {
    background: var(--primary);
    transform: scale(1.02);
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: white;
    padding: 60px 40px 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }
}
