/*
 Theme Name:   Pure Joy Arts
 Theme URI:    https://purejoyarts.com
 Description:  Custom child theme for Pure Joy Arts ecommerce store
 Author:       Pure Joy Arts
 Author URI:   https://purejoyarts.com
 Template:     astra
 Version:      1.0.1
 Text Domain:  purejoyarts
*/

/* ==========================================================================
   Pure Joy Arts Brand Colors & Variables
   ========================================================================== */
:root {
    --pja-pink: #e8c4c4;
    --pja-pink-light: #f5e6e6;
    --pja-pink-dark: #d4a5a5;
    --pja-gold: #c9a86c;
    --pja-gold-light: #ddc9a3;
    --pja-gold-dark: #b8975b;
    --pja-blue: #8faabe;
    --pja-cream: #fdfbf8;
    --pja-cream-dark: #f5f0e8;
    --pja-text: #5c5c5c;
    --pja-text-light: #888888;
    --pja-text-dark: #3d3d3d;
    --pja-white: #ffffff;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);

    /* Transitions */
    --transition: all 0.3s ease;

    /* Override Astra container width */
    --ast-normal-container-width: 1200px;
}

/* ==========================================================================
   Typography - Google Fonts loaded in functions.php
   ========================================================================== */
body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--pja-cream);
    color: var(--pja-text);
    font-size: 16px;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--pja-text-dark);
    font-weight: 500;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }

a {
    color: var(--pja-gold-dark);
    transition: var(--transition);
}

a:hover {
    color: var(--pja-gold);
}

/* ==========================================================================
   Header - Colorful Cherry Blossom Theme
   ========================================================================== */
.ast-primary-header-bar {
    background: linear-gradient(90deg,
        rgba(245, 200, 200, 0.4) 0%,
        rgba(255, 240, 245, 0.6) 15%,
        rgba(255, 255, 255, 0.9) 30%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0.9) 70%,
        rgba(230, 245, 255, 0.6) 85%,
        rgba(180, 210, 235, 0.4) 100%
    ) !important;
    border-bottom: 4px solid transparent !important;
    border-image: linear-gradient(90deg,
        #f5a0b0, #f8c8d4, #e8b8c8, #c9a86c, #a8cce8, #7eb8d8, #a8cce8, #c9a86c, #e8b8c8, #f8c8d4, #f5a0b0
    ) 1 !important;
    box-shadow:
        0 4px 20px rgba(232, 196, 196, 0.3),
        inset 0 -10px 30px rgba(245, 200, 210, 0.1),
        inset 0 10px 30px rgba(180, 210, 235, 0.1);
    position: relative;
    overflow: visible;
}

/* Header butterfly - emerges from logo, gentle flight, fades out */
@keyframes butterflyFromLogo {
    0% {
        left: 190px;
        top: 35%;
        opacity: 0;
        transform: rotate(5deg) scale(0.5);
    }
    20% {
        left: 240px;
        top: 28%;
        opacity: 0.7;
        transform: rotate(10deg) scale(1);
    }
    50% {
        left: 320px;
        top: 38%;
        opacity: 0.65;
        transform: rotate(-5deg);
    }
    80% {
        left: 400px;
        top: 30%;
        opacity: 0.35;
        transform: rotate(8deg);
    }
    100% {
        left: 460px;
        top: 32%;
        opacity: 0;
        transform: rotate(5deg) scale(0.7);
    }
}

.ast-primary-header-bar::before {
    content: '🦋';
    position: absolute;
    font-size: 1.4rem;
    animation:
        butterflyFromLogo 12s ease-in-out infinite,
        wingFlutter 0.3s ease-in-out infinite;
    z-index: 10;
    pointer-events: none;
}

/* Header center - tagline with flowers */
.ast-primary-header-bar::after {
    content: '🌸 ✿ Art made simple. Feel pure joy. ✿ 🌸';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.95rem;
    font-style: italic;
    color: var(--pja-gold-dark);
    opacity: 0.9;
    white-space: nowrap;
    letter-spacing: 1px;
}

/* Hide tagline on smaller screens */
@media (max-width: 1200px) {
    .ast-primary-header-bar::after {
        display: none;
    }
}

.ast-header-break-point .ast-mobile-header-wrap .ast-primary-header-bar {
    background: linear-gradient(135deg, #fff9f9 0%, #fff 50%, #f9fdff 100%) !important;
}

/* Site title/logo area */
.ast-site-identity {
    padding: 10px 0;
}

/* Align header content with page content */
.site-primary-header-wrap.ast-container {
    padding-left: 15px !important;
}

/* Logo size and blend */
.custom-logo,
.ast-site-identity img,
.site-logo-img,
.astra-logo-svg,
img.custom-logo {
    max-height: 110px !important;
    height: 110px !important;
    width: auto !important;
    transform: scale(1.2);
    transform-origin: left center;
}

.site-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
}

/* Tagline styling */
.site-description {
    font-family: 'Lato', sans-serif;
    color: var(--pja-text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* Navigation links */
.ast-nav-menu a {
    color: var(--pja-text-dark) !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.5px;
    padding: 10px 18px !important;
    position: relative;
}

.ast-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pja-pink), var(--pja-gold));
    transition: var(--transition);
    transform: translateX(-50%);
}

.ast-nav-menu a:hover::after,
.ast-nav-menu li.current-menu-item a::after {
    width: 70%;
}

.ast-nav-menu a:hover {
    color: var(--pja-pink-dark) !important;
}

/* Nav item flower accent on hover */
.ast-nav-menu li a::before {
    content: '✿';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scale(0);
    font-size: 0.7rem;
    color: var(--pja-pink);
    transition: var(--transition);
    opacity: 0;
}

.ast-nav-menu li a:hover::before {
    transform: translateY(-50%) scale(1);
    opacity: 0.8;
}

/* ==========================================================================
   Buttons - Refined & Elegant
   ========================================================================== */
.ast-button,
.button,
button:not(.ast-search-submit),
input[type="submit"],
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button,
.woocommerce #respond input#submit {
    background: linear-gradient(135deg, var(--pja-gold) 0%, var(--pja-gold-dark) 100%) !important;
    color: var(--pja-white) !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition) !important;
    box-shadow: 0 4px 15px rgba(201, 168, 108, 0.3);
}

.ast-button:hover,
.button:hover,
button:not(.ast-search-submit):hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce .button:hover,
.woocommerce #respond input#submit:hover {
    background: linear-gradient(135deg, var(--pja-gold-dark) 0%, var(--pja-gold) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 108, 0.4);
}

/* Secondary/Alt buttons */
.woocommerce a.button.alt,
.woocommerce button.button.alt {
    background: linear-gradient(135deg, var(--pja-pink-dark) 0%, var(--pja-pink) 100%) !important;
    box-shadow: 0 4px 15px rgba(212, 165, 165, 0.3);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    background: linear-gradient(135deg, var(--pja-pink) 0%, var(--pja-pink-dark) 100%) !important;
    box-shadow: 0 6px 20px rgba(212, 165, 165, 0.4);
}

/* Outline button style */
.button-outline {
    background: transparent !important;
    border: 2px solid var(--pja-gold) !important;
    color: var(--pja-gold) !important;
    box-shadow: none;
}

.button-outline:hover {
    background: var(--pja-gold) !important;
    color: var(--pja-white) !important;
}

/* ==========================================================================
   Homepage Hero Section
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--pja-cream) 0%, var(--pja-pink-light) 100%);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--pja-pink) 0%, transparent 70%);
    opacity: 0.3;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--pja-gold-light) 0%, transparent 70%);
    opacity: 0.3;
}

.hero-section h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--pja-text);
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Shop Page - Beautiful Product Grid
   ========================================================================== */
.woocommerce-page .site-content {
    padding: 40px 0;
}

/* Page title */
.woocommerce-products-header__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.woocommerce-products-header__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--pja-pink), var(--pja-gold));
    border-radius: 2px;
}

/* Results count & ordering */
.woocommerce-result-count {
    display: none; /* Hide "Showing X results" */
}

.woocommerce-ordering select {
    font-size: 0.9rem;
    color: var(--pja-text-light);
    padding: 10px 35px 10px 15px !important;
    min-width: 200px;
    height: auto !important;
    line-height: 1.4 !important;
    background-position: right 10px center;
}

/* Or hide sorting dropdown entirely for cleaner look */
.woocommerce-ordering {
    display: none;
}

/* Product cards */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.woocommerce ul.products li.product {
    background: var(--pja-white);
    padding: 0;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    margin: 0 !important;
    width: 100% !important;
}

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

/* Product image container */
.woocommerce ul.products li.product a img {
    border-radius: 0;
    transition: var(--transition);
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.05);
}

.woocommerce ul.products li.product .attachment-woocommerce_thumbnail {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* Product info area */
.woocommerce ul.products li.product {
    text-align: center;
}

/* Hide category/tag on product cards */
.woocommerce ul.products li.product .ast-woo-product-category,
.woocommerce ul.products li.product .posted_in,
.astra-shop-summary-wrap .ast-woo-product-category {
    display: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--pja-text-dark);
    font-size: 1.2rem;
    padding: 20px 20px 10px;
    margin: 0;
}

/* Price styling */
.woocommerce ul.products li.product .price {
    color: var(--pja-gold-dark);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0 20px 10px;
}

.woocommerce ul.products li.product .price del {
    color: var(--pja-text-light);
    font-weight: 400;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: var(--pja-gold-dark);
}

/* Add to cart button */
.woocommerce ul.products li.product .button {
    margin: 0 20px 20px !important;
    width: calc(100% - 40px) !important;
}

/* Sale badge */
.woocommerce span.onsale {
    background: linear-gradient(135deg, var(--pja-pink-dark) 0%, var(--pja-pink) 100%) !important;
    color: var(--pja-white);
    border-radius: 0 0 20px 0;
    padding: 10px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    margin: 0 !important;
    line-height: 1;
    min-height: auto !important;
    min-width: auto !important;
}

/* ==========================================================================
   Single Product Page
   ========================================================================== */
.woocommerce div.product {
    background: var(--pja-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    margin: 20px 0;
}

.woocommerce div.product div.images {
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce div.product .product_title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    color: var(--pja-text-dark);
    margin-bottom: 15px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--pja-gold-dark);
    font-size: 1.8rem;
    font-weight: 700;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--pja-text);
    border-left: 3px solid var(--pja-pink);
    padding-left: 20px;
    margin: 25px 0;
}

/* Quantity input */
.woocommerce .quantity .qty {
    border: 2px solid var(--pja-pink) !important;
    border-radius: 10px !important;
    padding: 12px !important;
    font-size: 1rem;
    width: 80px;
}

/* Product meta */
.woocommerce div.product .product_meta {
    border-top: 1px solid var(--pja-pink-light);
    padding-top: 20px;
    margin-top: 30px;
    font-size: 0.9rem;
    color: var(--pja-text-light);
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs {
    margin-top: 40px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    border-bottom: 2px solid var(--pja-pink-light);
    padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent;
    border: none;
    margin: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    color: var(--pja-text-light);
    padding: 15px 25px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--pja-gold-dark);
    border-bottom: 3px solid var(--pja-gold);
}

/* ==========================================================================
   Cart Page - Clean Simple Layout
   ========================================================================== */

/* Show Cart page title */
.woocommerce-cart .entry-title,
.woocommerce-cart .page-title {
    text-align: center;
    margin-bottom: 30px;
}

/* Simple open layout like homepage */
.woocommerce-cart .site-content {
    padding: 20px;
}

/* Cart table styling */
.woocommerce-cart table.cart {
    background: var(--pja-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

/* Cart totals - full width */
.woocommerce-cart .cart-collaterals {
    width: 100%;
}

.woocommerce-cart .cart_totals {
    background: var(--pja-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 25px;
    width: 100%;
}

.woocommerce-cart .cart_totals h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--pja-pink-light);
}

.woocommerce-cart .cart_totals table {
    width: 100%;
}

.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td {
    padding: 12px 8px;
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
    font-weight: 700;
    font-size: 1.1rem;
    border-top: 2px solid var(--pja-pink-light);
    padding-top: 15px;
}

.woocommerce table.shop_table {
    border: none !important;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.woocommerce table.shop_table th {
    background: linear-gradient(135deg, var(--pja-cream-dark) 0%, var(--pja-pink-light) 100%);
    color: var(--pja-text-dark);
    font-family: 'Playfair Display', Georgia, serif;
    padding: 18px;
    border: none;
}

.woocommerce table.shop_table td {
    padding: 20px;
    border-bottom: 1px solid var(--pja-pink-light) !important;
    vertical-align: middle;
}

.woocommerce table.shop_table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Cart totals */
.woocommerce .cart-collaterals .cart_totals {
    background: var(--pja-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.woocommerce .cart-collaterals .cart_totals h2 {
    font-family: 'Playfair Display', Georgia, serif;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--pja-pink-light);
}

/* ==========================================================================
   Checkout Page
   ========================================================================== */
.woocommerce-checkout .site-content {
    padding: 20px;
}

.woocommerce-checkout #payment {
    background: var(--pja-cream) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: var(--shadow-sm);
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid var(--pja-pink-light);
    padding-bottom: 20px;
}

.woocommerce-checkout #payment div.place-order {
    padding-top: 20px;
}

.woocommerce form .form-row label {
    font-weight: 500;
    color: var(--pja-text-dark);
}

/* ==========================================================================
   Form Inputs - Elegant & Clean
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select,
.woocommerce-input-wrapper input,
.woocommerce-input-wrapper textarea {
    border: 2px solid var(--pja-pink-light) !important;
    border-radius: 10px !important;
    background-color: var(--pja-white);
    padding: 14px 18px !important;
    font-size: 1rem;
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: var(--pja-gold) !important;
    box-shadow: 0 0 0 3px rgba(201, 168, 108, 0.1);
    outline: none;
}

/* ==========================================================================
   Footer - Clean & Informative
   ========================================================================== */
.site-footer {
    background: linear-gradient(135deg, var(--pja-text-dark) 0%, #2d2d2d 100%);
    color: var(--pja-cream);
    padding: 0 !important;
    min-height: auto !important;
}

.ast-footer-overlay {
    background: transparent;
}

.site-footer a {
    color: var(--pja-pink);
    transition: var(--transition);
}

.site-footer a:hover {
    color: var(--pja-gold);
}

.ast-small-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
}

/* Hide ALL footer credits completely */
.ast-small-footer,
.ast-footer-copyright,
.site-below-footer-wrap,
.ast-builder-footer-grid-columns,
.site-footer .ast-builder-grid-row {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Custom footer - compact */
.site-footer {
    position: relative;
    padding: 12px 0 30px !important;
    min-height: auto !important;
}

/* Footer decoration line */
.site-footer::before {
    content: '✿  ✿  ✿';
    display: block;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 10px;
    padding-bottom: 8px;
    color: var(--pja-pink);
    opacity: 0.5;
}

/* Footer copyright */
.site-footer::after {
    content: '© 2026 Pure Joy Arts';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--pja-cream);
    font-size: 0.75rem;
    opacity: 0.8;
}

/* ==========================================================================
   Utility Classes for Homepage/Pages
   ========================================================================== */
.section-padding {
    padding: 60px 20px;
}

.text-center {
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--pja-text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--pja-text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.decorative-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--pja-pink), var(--pja-gold));
    margin: 20px auto;
    border-radius: 2px;
}

/* Feature boxes */
.feature-box {
    background: var(--pja-white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-box h3 {
    font-family: 'Playfair Display', Georgia, serif;
    margin: 20px 0 15px;
}

/* Testimonial style */
.testimonial {
    background: var(--pja-white);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial::before {
    content: '"';
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 5rem;
    color: var(--pja-pink-light);
    position: absolute;
    top: 10px;
    left: 30px;
    line-height: 1;
}

/* ==========================================================================
   About Page Styling
   ========================================================================== */
.page-id-35 .entry-content,
.page-template-default .entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 30px;
    background: var(--pja-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.page-id-35 .entry-title,
.page-template-default .entry-title {
    text-align: center;
    margin-bottom: 30px;
}

.page-id-35 h2,
.page-id-35 h3 {
    color: var(--pja-text-dark);
    margin-top: 30px;
}

.page-id-35 h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--pja-pink), var(--pja-gold));
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-id-35 ul li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.page-id-35 hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--pja-pink), var(--pja-gold), var(--pja-pink), transparent);
    margin: 30px 0;
}

/* Center the contact section at end of About page */
.page-id-35 .entry-content > p:last-of-type,
.page-id-35 .entry-content > p:nth-last-of-type(2) {
    text-align: center;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .hero-section {
        padding: 50px 20px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
        padding: 10px;
    }

    .woocommerce div.product {
        padding: 20px;
    }

    .section-padding {
        padding: 40px 15px;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ==========================================================================
   Decorative Floral & Butterfly Elements
   ========================================================================== */

/* Animations */
@keyframes flutter {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(10px) rotate(-3deg); }
    50% { transform: translateY(5px) rotate(3deg); }
    75% { transform: translateY(15px) rotate(-2deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes sway {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(10px) rotate(3deg); }
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(5px, -10px); }
    50% { transform: translate(-5px, -5px); }
    75% { transform: translate(8px, -15px); }
}

/* ==========================================================================
   Realistic Flying Butterflies & Floating Flowers
   ========================================================================== */

/* Wing fluttering animation */
@keyframes wingFlutter {
    0%, 100% { transform: scaleX(1) rotate(0deg); }
    50% { transform: scaleX(0.6) rotate(3deg); }
}

/* Butterfly flying across screen - left to right */
@keyframes flyLeftToRight {
    0% {
        left: -50px;
        top: 30%;
        transform: rotate(15deg);
    }
    25% {
        left: 25%;
        top: 25%;
        transform: rotate(-10deg);
    }
    50% {
        left: 50%;
        top: 35%;
        transform: rotate(20deg);
    }
    75% {
        left: 75%;
        top: 28%;
        transform: rotate(-15deg);
    }
    100% {
        left: calc(100% + 50px);
        top: 32%;
        transform: rotate(10deg);
    }
}

/* Butterfly flying across screen - right to left */
@keyframes flyRightToLeft {
    0% {
        right: -50px;
        top: 60%;
        transform: scaleX(-1) rotate(15deg);
    }
    25% {
        right: 25%;
        top: 55%;
        transform: scaleX(-1) rotate(-10deg);
    }
    50% {
        right: 50%;
        top: 65%;
        transform: scaleX(-1) rotate(20deg);
    }
    75% {
        right: 75%;
        top: 58%;
        transform: scaleX(-1) rotate(-15deg);
    }
    100% {
        right: calc(100% + 50px);
        top: 62%;
        transform: scaleX(-1) rotate(10deg);
    }
}

/* Diagonal flight path */
@keyframes flyDiagonal {
    0% {
        left: -50px;
        top: 80%;
        transform: rotate(30deg);
    }
    50% {
        left: 50%;
        top: 40%;
        transform: rotate(-20deg);
    }
    100% {
        left: calc(100% + 50px);
        top: 20%;
        transform: rotate(25deg);
    }
}

/* Gentle floating for flowers */
@keyframes gentleFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(8px, -12px) rotate(5deg); }
    50% { transform: translate(-5px, -20px) rotate(-3deg); }
    75% { transform: translate(10px, -8px) rotate(4deg); }
}

/* ===== SUBTLE BODY BUTTERFLIES ===== */

/* One gentle butterfly - lower area */
body::before {
    content: '🦋';
    position: fixed;
    font-size: 1.4rem;
    opacity: 0.4;
    animation:
        flyLeftToRight 25s linear infinite,
        wingFlutter 0.3s ease-in-out infinite;
    pointer-events: none;
    z-index: 50;
}

/* Remove extra flying butterflies - let header be the star */
body::after {
    content: '';
    display: none;
}

.site-content::before {
    content: '🌸';
    position: fixed;
    top: 300px;
    left: 25px;
    font-size: 1.4rem;
    opacity: 0.45;
    animation: gentleFloat 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* ===== FLOATING FLOWERS (scattered naturally) ===== */

/* Left side - varied positions */
.site-main::before {
    content: '🌸';
    position: fixed;
    top: 220px;
    left: 20px;
    font-size: 1.4rem;
    opacity: 0.5;
    animation: gentleFloat 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

#page::before {
    content: '🌸';
    position: fixed;
    top: 420px;
    left: 55px;
    font-size: 1.2rem;
    opacity: 0.4;
    animation: gentleFloat 7s ease-in-out infinite;
    animation-delay: 2s;
    pointer-events: none;
    z-index: 1;
}

#content::before {
    content: '✿';
    position: fixed;
    top: 600px;
    left: 15px;
    font-size: 1.3rem;
    opacity: 0.45;
    color: var(--pja-pink);
    animation: gentleFloat 8s ease-in-out infinite;
    animation-delay: 1s;
    pointer-events: none;
    z-index: 1;
}

#primary::before {
    content: '🌸';
    position: fixed;
    top: 320px;
    left: 70px;
    font-size: 1.1rem;
    opacity: 0.35;
    animation: gentleFloat 9s ease-in-out infinite;
    animation-delay: 3.5s;
    pointer-events: none;
    z-index: 1;
}

/* Right side - varied positions */
.site-content::after {
    content: '🌸';
    position: fixed;
    top: 180px;
    right: 25px;
    font-size: 1.3rem;
    opacity: 0.45;
    animation: gentleFloat 7s ease-in-out infinite;
    animation-delay: 3s;
    pointer-events: none;
    z-index: 1;
}

.site-main::after {
    content: '🌸';
    position: fixed;
    top: 380px;
    right: 60px;
    font-size: 1.4rem;
    opacity: 0.4;
    animation: gentleFloat 6s ease-in-out infinite;
    animation-delay: 1.5s;
    pointer-events: none;
    z-index: 1;
}

#page::after {
    content: '✿';
    position: fixed;
    top: 520px;
    right: 18px;
    font-size: 1.2rem;
    opacity: 0.45;
    color: var(--pja-pink);
    animation: gentleFloat 8s ease-in-out infinite;
    animation-delay: 4s;
    pointer-events: none;
    z-index: 1;
}

#content::after {
    content: '🌸';
    position: fixed;
    top: 680px;
    right: 50px;
    font-size: 1.1rem;
    opacity: 0.35;
    animation: gentleFloat 5s ease-in-out infinite;
    animation-delay: 2.5s;
    pointer-events: none;
    z-index: 1;
}

#primary::after {
    content: '✿';
    position: fixed;
    top: 280px;
    right: 40px;
    font-size: 1rem;
    opacity: 0.38;
    color: var(--pja-pink);
    animation: gentleFloat 7s ease-in-out infinite;
    animation-delay: 5s;
    pointer-events: none;
    z-index: 1;
}

/* Subtle background pattern with cherry blossom tint */
body {
    background-image:
        radial-gradient(circle at 5% 15%, rgba(232, 196, 196, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 95% 85%, rgba(143, 170, 190, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(232, 196, 196, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(143, 170, 190, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 20% 80%, rgba(232, 196, 196, 0.1) 0%, transparent 25%);
    background-attachment: fixed;
}

/* Product card - cherry blossom on hover */
.woocommerce ul.products li.product {
    position: relative;
}

.woocommerce ul.products li.product::before {
    content: '🌸';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1rem;
    opacity: 0;
    transition: var(--transition);
    z-index: 10;
}

.woocommerce ul.products li.product::after {
    content: '🦋';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1rem;
    opacity: 0;
    transition: var(--transition);
    z-index: 10;
}

.woocommerce ul.products li.product:hover::before {
    opacity: 0.7;
    top: 15px;
    left: 15px;
}

.woocommerce ul.products li.product:hover::after {
    opacity: 0.7;
}

/* ==========================================================================
   Selection & Scrollbar
   ========================================================================== */
::selection {
    background-color: var(--pja-pink);
    color: var(--pja-text-dark);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--pja-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--pja-pink);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pja-pink-dark);
}

/* ==========================================================================
   WooCommerce Notices - Theme Matching
   ========================================================================== */

/* Success messages (Cart updated, etc.) */
.woocommerce-message {
    background: linear-gradient(135deg, var(--pja-cream) 0%, var(--pja-pink-light) 100%) !important;
    border: 2px solid var(--pja-gold) !important;
    border-radius: 8px !important;
    color: var(--pja-text-dark) !important;
    padding: 15px 20px 15px 50px !important;
    box-shadow: var(--shadow-sm);
    position: relative;
    outline: none !important;
}

/* Style the checkmark icon */
.woocommerce-message::before {
    color: var(--pja-gold) !important;
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Override any Astra/WooCommerce notice borders */
.woocommerce .woocommerce-message,
.woocommerce-cart .woocommerce-message,
div.woocommerce-message {
    border-color: var(--pja-gold) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Common notice styles - icon positioning */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    position: relative !important;
    padding-left: 50px !important;
    border-radius: 8px !important;
    color: var(--pja-text-dark) !important;
    box-shadow: var(--shadow-sm);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 1.2rem;
}

/* Info messages */
.woocommerce-info {
    background: linear-gradient(135deg, var(--pja-cream) 0%, rgba(143, 170, 190, 0.2) 100%) !important;
    border: none !important;
    border-left: 4px solid var(--pja-blue) !important;
}

.woocommerce-info::before {
    color: var(--pja-blue) !important;
}

/* Error messages */
.woocommerce-error {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%) !important;
    border: none !important;
    border-left: 4px solid #d4a5a5 !important;
}

.woocommerce-error::before {
    color: var(--pja-pink-dark) !important;
}

/* Remove any blue loading bar on notices */
.woocommerce-message .blockUI,
.woocommerce .blockOverlay {
    background: var(--pja-gold) !important;
}

/* Cart block loading overlay */
.wc-block-components-loading-mask {
    background: rgba(253, 251, 248, 0.7) !important;
}

.wc-block-components-loading-mask::after {
    border-color: var(--pja-gold) transparent transparent transparent !important;
}
