/**
 * MiriamPope Pet Clothing - Main Stylesheet
 * Prefix: paw-
 */

/* CSS Variables */
:root {
    --paw-primary: #ff8fa3;
    --paw-primary-dark: #ff6b85;
    --paw-secondary: #a8d8ea;
    --paw-accent: #ffd93d;
    --paw-bg: #fff9fb;
    --paw-bg-alt: #f8f9fa;
    --paw-text: #4a4a4a;
    --paw-text-light: #888;
    --paw-border: #e8e8e8;
    --paw-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --paw-shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --paw-radius: 16px;
    --paw-radius-sm: 8px;
    --paw-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--paw-bg);
    color: var(--paw-text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.paw-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.paw-nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--paw-border);
    z-index: 100;
}

.paw-nav .paw-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.paw-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    color: var(--paw-primary-dark);
}

.paw-logo-icon {
    font-size: 28px;
}

.paw-nav-links {
    display: flex;
    gap: 32px;
}

.paw-nav-links a {
    font-weight: 600;
    color: var(--paw-text);
    transition: var(--paw-transition);
    position: relative;
}

.paw-nav-links a:hover {
    color: var(--paw-primary-dark);
}

.paw-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--paw-primary);
    transition: var(--paw-transition);
}

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

.paw-nav-actions {
    display: flex;
    gap: 16px;
}

.paw-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--paw-transition);
    position: relative;
}

.paw-icon-btn:hover {
    background: var(--paw-bg-alt);
}

.paw-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--paw-primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.paw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--paw-transition);
}

.paw-btn-primary {
    background: var(--paw-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 143, 163, 0.4);
}

.paw-btn-primary:hover {
    background: var(--paw-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 143, 163, 0.5);
}

.paw-btn-secondary {
    background: white;
    color: var(--paw-text);
    border: 2px solid var(--paw-border);
}

.paw-btn-secondary:hover {
    border-color: var(--paw-primary);
    color: var(--paw-primary);
}

.paw-btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

/* Hero Section */
.paw-hero {
    position: relative;
    overflow: hidden;
}

.paw-carousel {
    position: relative;
    height: 600px;
}

.paw-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.paw-slide-active {
    opacity: 1;
    visibility: visible;
}

.paw-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.paw-slide-content {
    flex: 1;
    padding: 0 60px;
    max-width: 600px;
}

.paw-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--paw-primary);
    color: white;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.paw-tag-secondary {
    background: var(--paw-secondary);
    color: var(--paw-text);
}

.paw-tag-accent {
    background: var(--paw-accent);
    color: var(--paw-text);
}

.paw-hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--paw-text);
}

.paw-hero-text {
    font-size: 18px;
    color: var(--paw-text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.paw-slide-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.paw-slide-image img {
    max-height: 450px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

.paw-carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 60px;
    display: flex;
    gap: 12px;
}

.paw-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    transition: var(--paw-transition);
}

.paw-dot-active {
    background: var(--paw-primary);
    transform: scale(1.2);
}

/* Features Section */
.paw-features {
    padding: 60px 0;
    background: white;
}

.paw-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.paw-feature-item {
    text-align: center;
}

.paw-feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.paw-feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.paw-feature-text {
    color: var(--paw-text-light);
    font-size: 14px;
}

/* Products Section */
.paw-products {
    padding: 80px 0;
}

.paw-products-alt {
    background: white;
}

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

.paw-section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.paw-section-subtitle {
    color: var(--paw-text-light);
    font-size: 18px;
    margin-bottom: 16px;
}

.paw-link {
    color: var(--paw-primary-dark);
    font-weight: 600;
    transition: var(--paw-transition);
}

.paw-link:hover {
    color: var(--paw-primary);
}

/* Product Grid */
.paw-product-grid {
    display: grid;
    gap: 32px;
}

.paw-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.paw-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.paw-product-card {
    background: white;
    border-radius: var(--paw-radius);
    overflow: hidden;
    box-shadow: var(--paw-shadow);
    transition: var(--paw-transition);
}

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

.paw-product-link {
    display: block;
}

.paw-product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--paw-bg-alt);
}

.paw-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--paw-transition);
}

.paw-product-card:hover .paw-product-image img {
    transform: scale(1.05);
}

.paw-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    background: linear-gradient(135deg, var(--paw-bg) 0%, var(--paw-secondary) 100%);
}

.paw-badge-sale,
.paw-badge-new {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.paw-badge-sale {
    background: #ff4757;
    color: white;
}

.paw-badge-new {
    background: var(--paw-accent);
    color: var(--paw-text);
}

.paw-product-info {
    padding: 20px;
}

.paw-product-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.paw-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--paw-primary-dark);
}

.paw-price-sale {
    font-size: 18px;
    font-weight: 700;
    color: #ff4757;
}

.paw-price-original {
    font-size: 14px;
    color: var(--paw-text-light);
    text-decoration: line-through;
}

.paw-product-card .paw-btn {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
}

/* Testimonials */
.paw-testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--paw-secondary) 0%, var(--paw-bg) 100%);
}

.paw-testimonials .paw-section-title {
    text-align: center;
    margin-bottom: 48px;
}

.paw-testimonial-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.paw-testimonial {
    background: white;
    padding: 32px;
    border-radius: var(--paw-radius);
    text-align: center;
    box-shadow: var(--paw-shadow);
}

.paw-testimonial-avatar {
    font-size: 48px;
    margin-bottom: 16px;
}

.paw-testimonial-text {
    font-style: italic;
    color: var(--paw-text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.paw-testimonial-author {
    font-weight: 700;
    margin-bottom: 8px;
}

.paw-testimonial-rating {
    font-size: 14px;
}

/* Newsletter */
.paw-newsletter {
    padding: 80px 0;
    background: var(--paw-primary);
}

.paw-newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.paw-newsletter-title {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.paw-newsletter-text {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin-bottom: 32px;
}

.paw-newsletter-form {
    display: flex;
    gap: 16px;
    max-width: 480px;
    margin: 0 auto;
}

.paw-input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
}

.paw-newsletter-form .paw-btn {
    background: var(--paw-text);
    color: white;
}

.paw-newsletter-form .paw-btn:hover {
    background: #333;
}

/* Footer */
.paw-footer {
    background: #2d2d2d;
    color: white;
    padding: 60px 0 30px;
}

.paw-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.paw-logo-footer {
    color: white;
    margin-bottom: 16px;
}

.paw-footer-text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
    line-height: 1.7;
}

.paw-social-links {
    display: flex;
    gap: 16px;
}

.paw-social-links a {
    font-size: 24px;
    transition: var(--paw-transition);
}

.paw-social-links a:hover {
    transform: scale(1.1);
}

.paw-footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.paw-footer-links,
.paw-footer-contact {
    list-style: none;
}

.paw-footer-links li,
.paw-footer-contact li {
    margin-bottom: 12px;
}

.paw-footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--paw-transition);
}

.paw-footer-links a:hover {
    color: var(--paw-primary);
}

.paw-footer-contact li {
    color: rgba(255,255,255,0.7);
}

.paw-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.paw-payment-icons {
    display: flex;
    gap: 12px;
    font-size: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .paw-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .paw-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .paw-nav-links {
        display: none;
    }
    
    .paw-carousel {
        height: auto;
        min-height: 500px;
    }
    
    .paw-slide {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .paw-slide-content {
        padding: 40px 24px;
    }
    
    .paw-hero-title {
        font-size: 36px;
    }
    
    .paw-slide-image {
        padding: 24px;
    }
    
    .paw-slide-image img {
        max-height: 250px;
    }
    
    .paw-carousel-dots {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .paw-feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .paw-grid-3,
    .paw-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .paw-testimonial-carousel {
        grid-template-columns: 1fr;
    }
    
    .paw-newsletter-form {
        flex-direction: column;
    }
    
    .paw-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .paw-footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .paw-grid-3,
    .paw-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .paw-feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Pet Style Guide Section */
.paw-style-guide {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff9fb 0%, #f0f8ff 100%);
}

.paw-style-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.paw-style-card {
    background: white;
    border-radius: var(--paw-radius);
    overflow: hidden;
    box-shadow: var(--paw-shadow);
    transition: var(--paw-transition);
    display: block;
}

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

.paw-style-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffe4e1 0%, #fff0f5 100%);
}

.paw-style-card[data-paw-style="summer"] .paw-style-image {
    background: linear-gradient(135deg, #e6f3ff 0%, #f0f8ff 100%);
}

.paw-style-card[data-paw-style="autumn"] .paw-style-image {
    background: linear-gradient(135deg, #fff8dc 0%, #ffe4c4 100%);
}

.paw-style-card[data-paw-style="winter"] .paw-style-image {
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
}

.paw-style-emoji {
    font-size: 64px;
    line-height: 1;
}

.paw-style-content {
    padding: 24px;
    text-align: center;
}

.paw-style-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--paw-text);
}

.paw-style-text {
    font-size: 14px;
    color: var(--paw-text-light);
    margin-bottom: 16px;
    line-height: 1.5;
}

.paw-style-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--paw-primary);
    transition: var(--paw-transition);
}

.paw-style-card:hover .paw-style-link {
    color: var(--paw-primary-dark);
}

@media (max-width: 992px) {
    .paw-style-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .paw-style-grid {
        grid-template-columns: 1fr;
    }
}

/* Search Overlay */
.paw-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
}

.paw-search-container {
    background: white;
    padding: 40px;
    border-radius: var(--paw-radius);
    width: 90%;
    max-width: 600px;
    position: relative;
}

.paw-search-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--paw-text-light);
    line-height: 1;
}

.paw-search-close:hover {
    color: var(--paw-text);
}

.paw-search-form {
    display: flex;
    gap: 12px;
}

.paw-search-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--paw-border);
    border-radius: var(--paw-radius-sm);
    font-size: 16px;
    font-family: inherit;
}

.paw-search-input:focus {
    outline: none;
    border-color: var(--paw-primary);
}

@media (max-width: 480px) {
    .paw-search-form {
        flex-direction: column;
    }
    
    .paw-search-container {
        padding: 24px;
    }
}
