/*
Theme Name: Proste Zmiany
Theme URI: https://prostezmiany.pl
Author: Radek Konieczniak
Author URI: https://prostezmiany.pl
Description: Motyw dla trenera personalnego - Proste Zmiany. Zawiera sekcje Hero, O mnie, Sklep, Testimoniale i Kontakt.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: proste-zmiany
Tags: fitness, health, personal trainer, wellness, diet, coaching
*/

/* ==========================================================================
   WordPress Required Styles
   ========================================================================== */

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

/* ==========================================================================
   Theme Custom Styles
   ========================================================================== */

/* Base Styles */
:root {
    --primary-color: #22c55e;
    --primary-dark: #16a34a;
    --primary-darker: #15803d;
    --font-sans: 'Poppins', sans-serif;
    --font-display: 'Sora', sans-serif;
}

body {
    font-family: var(--font-sans);
    color: #1f2937;
    line-height: 1.6;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Button Styles */
.btn-modern {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-modern:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.4);
}

.btn-modern:active {
    transform: translateY(0) scale(0.98);
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--primary-darker) 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    animation: gradientShift 1s ease infinite;
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.5);
}

/* Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all 0.5s ease;
}

.site-header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 0.5rem 1rem;
    color: #374151;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    color: var(--primary-color);
    background-color: #f0fdf4;
}

/* Mega Menu */
.mega-menu-wrapper {
    position: static;
}

.mega-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    margin-top: 0.5rem;
    width: 100vw;
    max-width: 56rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mega-menu-wrapper:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Sections */
.section-hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    background: linear-gradient(to bottom right, #f0fdf4, #ffffff);
}

.section-why-us {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.section-why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.section-about {
    background: linear-gradient(to bottom right, #ffffff, #f0fdf4);
}

.section-shop {
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
}

.section-testimonials {
    background-color: #14532d;
    color: #ffffff;
}

.section-contact {
    background-color: #ffffff;
}

.section-footer {
    background: linear-gradient(to bottom right, #111827, #14532d, #111827);
}

/* Cards */
.feature-card {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Product Cards */
.product-card {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background: linear-gradient(135deg, transparent, rgba(34, 197, 94, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.product-card:hover::before {
    opacity: 1;
}

/* Category Badge */
.product-card .product-cat-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 15;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card .book-3d {
    perspective: 1000px;
    transform-style: preserve-3d;
    transform: rotateY(-30deg) rotateX(10deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.2);
    border-radius: 4px 12px 12px 4px;
}

.product-card:hover .book-3d {
    transform: rotateY(0deg) rotateX(0deg) scale(1.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), 0 0 40px rgba(34, 197, 94, 0.1);
}

/* Sale and Out of Stock Badges on Product Card */
.product-card .product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Page Edges Effect */
.product-card .page-edges {
    transition: opacity 0.3s ease;
}

.product-card:hover .page-edges {
    opacity: 0.4;
}

/* Product Title Hover Effect */
.product-card .product-title {
    position: relative;
    display: inline-block;
}

.product-card .product-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transition: width 0.3s ease;
}

.product-card:hover .product-title::after {
    width: 100%;
}

/* Price Hover Effect */
.product-card .product-price {
    position: relative;
    display: inline-block;
}

.product-card .product-price del {
    transition: all 0.3s ease;
}

.product-card:hover .product-price del {
    opacity: 0.6;
    text-decoration: line-through;
}

/* Button Hover Effects */
.product-card .btn-detail {
    position: relative;
    overflow: hidden;
}

.product-card .btn-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.product-card .btn-detail:hover::before {
    left: 100%;
}

/* Testimonials Slider */
.testimonial-slide {
    min-width: 100%;
    padding: 0 1rem;
}

/* Form Styles */
.form-input,
.woocommerce-input-wrapper .input-text,
.woocommerce-input-wrapper textarea,
.woocommerce-input-wrapper select {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.875rem 1.25rem;
    width: 100%;
    font-size: 0.875rem;
    color: #1f2937;
    transition: all 0.3s ease;
}

.form-input:focus,
.woocommerce-input-wrapper .input-text:focus,
.woocommerce-input-wrapper textarea:focus,
.woocommerce-input-wrapper select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
    background-color: #ffffff;
}

/* Select2 Styling to match inputs */
.select2-container .select2-selection--single {
    background-color: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 0.75rem !important;
    height: 3.5rem !important; /* ~56px to match padding 0.875rem + line-height */
    display: flex !important;
    align-items: center !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    color: #1f2937 !important;
    font-size: 0.875rem !important;
    padding-left: 1.25rem !important;
    padding-right: 2rem !important;
    line-height: normal !important;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
    right: 1rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #9ca3af transparent transparent transparent !important;
    border-style: solid !important;
    border-width: 5px 4px 0 4px !important;
}

.select2-container--open .select2-selection--single {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1) !important;
    background-color: #ffffff !important;
}

.select2-dropdown {
    border: 1px solid #e5e7eb !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
    z-index: 9999 !important;
}

.select2-results__option {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.875rem !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* Responsive */
@media (max-width: 768px) {
    .section-hero {
        padding-top: 6rem;
    }

    .mobile-menu {
        display: none;
    }

    .mobile-menu.active {
        display: block;
    }
}

/* Product Grid Responsive */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .product-grid article {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-grid article {
        max-width: 100%;
    }

    /* Adjust book dimensions for mobile */
    .book-3d {
        width: 180px !important;
        height: 250px !important;
    }

    .book-3d.w-\\[200px\\].sm:w-\\[220px\\] {
        width: 180px;
        height: 250px;
    }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(2rem);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* ==========================================================================
   WooCommerce Product Page Styles
   ========================================================================== */

/* 3D Book Effect for Products */
.book-perspective {
    perspective: 1000px;
}

.book-3d {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-30deg) rotateX(10deg);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.2);
    border-radius: 4px 12px 12px 4px;
    overflow: hidden;
}

.book-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
    pointer-events: none;
}

.book-3d::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.2);
    filter: blur(4px);
    z-index: 3;
    pointer-events: none;
}

.book-3d img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px 12px 12px 4px;
    transform: translateZ(10px);
}

.book-perspective:hover .book-3d {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

/* Product Gallery */
.product-gallery-main {
    position: relative;
    overflow: hidden;
}

.product-gallery-main img {
    transition: transform 0.5s ease;
}

.product-gallery-main:hover img {
    transform: scale(1.05);
}

/* Tab Styles */
.tab-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.tab-btn.active::after {
    background-color: var(--primary-color);
}

.tab-btn:hover {
    color: #1f2937;
}

.tab-pane {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tab-pane.active {
    display: block;
    animation: fadeInUp 0.4s ease-out;
}

/* Product Price */
.woocommerce-price-wrapper {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.woocommerce-price-wrapper del {
    color: #9ca3af;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.woocommerce-price-wrapper ins {
    text-decoration: none;
    color: var(--primary-color);
}

/* Add to Cart Button */
.single_add_to_cart_button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white !important;
    padding: 1rem 2.5rem !important;
    border-radius: 9999px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    border: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
}

.single_add_to_cart_button:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

/* Quantity Input */
    display: inline-flex;
    align-items: center;

.quantity input[type="number"] {
    width: 80px;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    -moz-appearance: textfield;
}

.quantity input[type="number"]::-webkit-outer-spin-button,
.quantity input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Product Meta */
.woocommerce-product-attributes {
    width: 100%;
}

.woocommerce-product-attributes-item {
    border-bottom: 1px solid #e5e7eb;
}

.woocommerce-product-attributes-item:last-child {
    border-bottom: none;
}

.woocommerce-product-attributes-item__label {
    font-weight: 500;
    color: #6b7280;
}

.woocommerce-product-attributes-item__value {
    color: #1f2937;
}

/* Related Products */
.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.related-product-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.related-product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Breadcrumb Styles */
.woocommerce-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.woocommerce-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce-breadcrumb a:hover {
    color: var(--primary-color);
}

.woocommerce-breadcrumb .breadcrumb-separator {
    color: #d1d5db;
}

/* Product Categories Tags */
.product-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-cat-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: #f0fdf4;
    color: #15803d;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.product-cat-tag:hover {
    background-color: #dcfce7;
    color: #166534;
}

/* Social Share */
.social-share-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: white;
    transition: all 0.2s ease;
}

.social-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* WooCommerce Message */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.woocommerce-message {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.woocommerce-info {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.woocommerce-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

/* Star Rating */
.star-rating {
    display: inline-flex;
    color: #fbbf24;
}

.star-rating span {
    overflow: hidden;
}

/* Review Form */
.comment-respond {
    margin-top: 2rem;
}

.comment-reply-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.comment-form {
    display: grid;
    gap: 1rem;
}

.comment-form-rating label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.comment-form-comment textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    resize: vertical;
    min-height: 150px;
}

.comment-form-author input,
.comment-form-email input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
}

.form-submit .submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit .submit:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    transform: translateY(-2px);
}

/* Responsive for Product Page */
@media (max-width: 1024px) {
    .product-gallery-main {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .product-gallery-main {
        max-width: 100%;
    }

    .product-gallery-main img {
        height: 400px;
    }

    .tab-btn {
        padding: 1rem 1.5rem;
        font-size: 0.875rem;
    }

    .single-product-title {
        font-size: 2rem;
    }
}

/* Sale Badge Animation */
.sale-badge {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Out of Stock */
.stock.out-of-stock {
    color: #dc2626;
    font-weight: 500;
}

.stock.in-stock {
    color: #16a34a;
    font-weight: 500;
}

/* Hide WooCommerce sidebar on all pages */
.woocommerce .sidebar,
#sidebar-1,
.sidebar {
    display: none !important;
}

.woocommerce .content-area,
.woocommerce #primary,
.woocommerce main,
.site-content {
    width: 100% !important;
    float: none !important;
}

/* Ensure full width on WooCommerce pages */
.woocommerce-page .site-content,
.woocommerce .site-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce .entry-content,
.woocommerce-page .entry-content {
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove default WooCommerce wrappers */
.woocommerce .woocommerce-breadcrumb {
    margin-bottom: 2rem;
}

/* Product content wrapper */
.woocommerce div.product {
    margin-bottom: 0;
}

/* Ensure product page content takes full width */
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
    float: none !important;
    width: 100% !important;
    margin-bottom: 3rem;
}

@media (min-width: 992px) {
    .woocommerce div.product div.images,
    .woocommerce div.product div.summary {
        width: 48% !important;
    }

    .woocommerce div.product div.summary {
        margin-left: 4%;
    }
}

/* ==========================================================================
   Newsletter Page Styles
   ========================================================================== */

.page-template-newsletter .site-content,
.page-newsletter .site-content {
    padding: 0;
}

/* Newsletter Hero Section */
.newsletter-hero {
    position: relative;
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #f0fdf4 100%);
}

/* Newsletter Form Styles */
.newsletter-form-wrapper {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.newsletter-form-wrapper input[type="text"],
.newsletter-form-wrapper input[type="email"] {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    width: 100%;
    font-size: 1rem;
    color: #1f2937;
    transition: all 0.3s ease;
}

.newsletter-form-wrapper input[type="text"]:focus,
.newsletter-form-wrapper input[type="email"]:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
    background-color: #ffffff;
    transform: translateY(-2px);
}

.newsletter-form-wrapper input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.25rem;
    accent-color: #22c55e;
}

/* Newsletter Benefits List */
.newsletter-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.newsletter-benefits li {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    color: #374151;
}

.newsletter-benefits li .check-icon {
    width: 2rem;
    height: 2rem;
    background-color: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    color: #22c55e;
    flex-shrink: 0;
}

/* Newsletter Testimonials */
.newsletter-testimonials {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.newsletter-testimonial-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.newsletter-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Social Proof Section */
.newsletter-social-proof {
    padding: 1.5rem 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 1.5rem;
}

.newsletter-social-proof .avatar-stack {
    display: flex;
    align-items: center;
}

.newsletter-social-proof .avatar-stack .avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-left: -0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    color: #ffffff;
}

.newsletter-social-proof .avatar-stack .avatar:first-child {
    margin-left: 0;
}

/* Newsletter Loading State */
.newsletter-loading {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Newsletter Success/Error Messages */
.newsletter-message {
    padding: 1rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    text-align: center;
}

.newsletter-message.success {
    background-color: #dcfce7;
    color: #166534;
}

.newsletter-message.error {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Newsletter Page Specific Animations */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Reveal on Scroll Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-200 {
    transition-delay: 0.2s;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .newsletter-hero {
        padding: 4rem 0 3rem;
    }
    
    .newsletter-form-wrapper {
        padding: 1.5rem;
    }
    
    .newsletter-testimonials {
        padding: 3rem 0;
    }
    
    .newsletter-benefits li {
        font-size: 0.95rem;
    }
}

/* Button hover effects */
.newsletter-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.newsletter-btn:active {
    transform: translateY(0);
}

/* Floating animation for cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}
