/*
Theme Name: Liquid Glass
Description: A stunning glassmorphism WordPress theme with animated gradients, perfect for WooCommerce stores and modern websites. Features smooth animations, touch-friendly navigation, and a sophisticated glass aesthetic.
Version: 1.0
Author: AIYYO.AI
Text Domain: liquid-glass
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Nunito', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

body {
    line-height: 1.6;
    color: #ffffff;
    background: #000;
}

/* Optimized gradient background - replicated from vartaalap */
.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        #ff6b6b,
        #ff4757,
        #ff3838,
        #ff6348,
        #ffb347,
        #ffa726,
        #ff9800,
        #4ecdc4,
        #45b7d1,
        #367890,
        #772158,
        #7d457d,
        #c86b6b,
        #fc4f4f,
        #ca6767,
        #c63945,
        #ff3838,
        #ff6348
    );
    background-size: 400% 400%;
    animation: gradientShift 30s ease infinite;
    filter: blur(50px);
    z-index: -1;
    will-change: background-position;
    transform: translateZ(0);
}

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

/* Glassmorphism base class - optimized */
.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateZ(0);
    will-change: transform, opacity;
}

.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Main container */
.site-container {
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.7));
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    white-space: nowrap;
}

.main-navigation a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* WooCommerce header buttons */
.woo-header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
}

.header-cart-btn,
.header-checkout-btn {
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.header-cart-btn {
    padding: 0.5rem;
    min-width: 2.5rem;
    justify-content: center;
}

.header-cart-btn:hover,
.header-checkout-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
}

/* New single hero layout */
.hero-content-single {
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.featured-post-hero {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-post-image {
    overflow: hidden;
    border-radius: 1rem;
}

.hero-post-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-post-title {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
}

.hero-post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-post-title a:hover {
    color: #4ECDC4;
}

.hero-post-excerpt {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

.hero-post-meta {
    display: flex;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.hero-post-actions {
    margin-top: 1rem;
}

/* Shop CTA Section */
.shop-cta-section {
    display: flex;
    justify-content: center;
}

.shop-cta-button {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    transition: all 0.3s ease;
}

.shop-cta-button:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.shop-cta-content {
    text-align: center;
}

.shop-cta-content h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.shop-cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.hero-panel {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    text-decoration: none;
    color: inherit;
}

.hero-panel:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.hero-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-panel:hover::before {
    opacity: 1;
}

.hero-panel-content {
    text-align: center;
    z-index: 2;
}

.hero-panel h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    tracking-tight: -0.025em;
}

.hero-panel p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.hero-arrow {
    width: 24px;
    height: 24px;
    margin: 0 auto;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateY(0);
    }
    40%, 43% {
        transform: translateY(-30px);
    }
    70% {
        transform: translateY(-15px);
    }
    90% {
        transform: translateY(-4px);
    }
}

/* Content Sections */
.content-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    margin: 2rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.content-text h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.content-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 2rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.05);
}

/* Product Grid (WooCommerce) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.product-card {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
    color: #ffffff;
}

.product-card:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-card .price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4ECDC4;
    margin-bottom: 1rem;
}

/* Blog Posts */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.post-card {
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

.post-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-card .excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-meta {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Single Post/Page */
.single-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    margin-top: 80px;
}

.single-content .glass {
    padding: 3rem;
}

.single-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.single-content .content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.single-content .content h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: #ffffff;
}

.single-content .content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: #ffffff;
}

.single-content .content p {
    margin-bottom: 1.5rem;
}

.single-content .content a {
    color: #4ECDC4;
    text-decoration: underline;
}

.single-content .content a:hover {
    color: #45b7d1;
}

/* Footer */
.site-footer {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 3rem 2rem 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 1rem;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .main-navigation {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .main-navigation ul {
        flex-wrap: nowrap;
        gap: 0.5rem;
        min-width: max-content;
    }
    
    .main-navigation a {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .hero-section {
        padding: 1rem;
        margin-top: 120px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-panel {
        height: 200px;
        border-radius: 1rem;
    }
    
    .hero-panel h2 {
        font-size: 2rem;
    }
    
    /* New hero mobile styles */
    .featured-post-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.5rem;
    }
    
    .hero-post-title {
        font-size: 2rem;
    }
    
    .hero-post-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .shop-cta-content h3 {
        font-size: 1.5rem;
    }
    
    /* Header mobile adjustments */
    .woo-header-buttons {
        margin-left: 1rem;
        gap: 0.5rem;
    }
    
    .header-checkout-btn {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .content-text h1 {
        font-size: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .single-content {
        padding: 2rem 1rem;
    }
    
    .single-content .glass {
        padding: 2rem;
    }
    
    .single-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-panel h2 {
        font-size: 1.5rem;
    }
    
    .hero-panel p {
        font-size: 0.9rem;
    }
    
    .content-text h1 {
        font-size: 2rem;
    }
    
    .content-text p {
        font-size: 1rem;
    }
    
    /* WooCommerce mobile adjustments */
    .woocommerce form.cart .quantity {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        margin-bottom: 1rem;
    }
    
    .woocommerce form.cart .quantity input.qty {
        width: 3rem;
    }
    
    .woocommerce table.cart th,
    .woocommerce table.cart td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .woocommerce .cart-collaterals .cart_totals {
        padding: 1rem;
    }
    
    .woocommerce form.checkout input[type="text"],
    .woocommerce form.checkout input[type="email"],
    .woocommerce form.checkout input[type="tel"],
    .woocommerce form.checkout textarea,
    .woocommerce form.checkout select {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Animation utilities */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* WooCommerce specific styles */
.woocommerce .products .product {
    margin-bottom: 2rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #ffffff;
}

.woocommerce ul.products li.product .price {
    color: #4ECDC4;
}

/* Product grid improvements - Protected from widget CSS */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.woocommerce ul.products li.product {
    position: relative !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    display: block !important;
}

/* Sale badge positioning */
.woocommerce span.onsale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff6b6b;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
    line-height: 1;
    min-width: auto;
    min-height: auto;
    width: auto;
    height: auto;
}

.woocommerce .button,
.woocommerce input[type="submit"],
.woocommerce button[type="submit"] {
    background: rgba(78, 205, 196, 0.8) !important;
    border: 1px solid #4ECDC4 !important;
    color: #ffffff !important;
    border-radius: 2rem !important; /* Pill shape */
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-shadow: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.woocommerce .button:hover,
.woocommerce input[type="submit"]:hover,
.woocommerce button[type="submit"]:hover {
    background: #4ECDC4 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3) !important;
}

/* Shop page layout - optimized */
.woocommerce-shop-page {
    padding: 0;
    margin-top: 80px;
}

/* Shop main content area */
.woocommerce-shop-page main {
    padding-bottom: 8rem; /* Space for footer */
}

/* Fix shop pagination positioning */
.woocommerce nav.woocommerce-pagination {
    margin-top: 1rem;
    margin-bottom: 1rem;
    clear: both;
    position: relative;
    z-index: 10;
}

/* Prevent content overflow */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    margin-bottom: 1rem;
}

.shop-header {
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 2rem;
}

.shop-header h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.shop-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

/* WooCommerce Cart and Checkout Styling */
.woocommerce form.cart {
    margin-bottom: 2rem;
}

.woocommerce form.cart .quantity {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.25rem;
    margin-right: 1rem;
}

.woocommerce form.cart .quantity input.qty {
    background: transparent;
    border: none;
    color: #ffffff;
    text-align: center;
    width: 4rem;
    padding: 0.5rem;
    font-size: 1rem;
}

.woocommerce form.cart .quantity input.qty:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

/* Quantity buttons styling */
.woocommerce .quantity .qty-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 2rem;
    height: 2rem;
    border-radius: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.woocommerce .quantity .qty-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Single product add to cart */
.woocommerce div.product form.cart .button {
    background: rgba(78, 205, 196, 0.8);
    border: 1px solid #4ECDC4;
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.woocommerce div.product form.cart .button:hover {
    background: #4ECDC4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

/* Cart table styling */
.woocommerce table.cart,
.woocommerce-checkout-review-order-table {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    margin-bottom: 2rem;
}

.woocommerce table.cart th,
.woocommerce table.cart td,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 1rem;
    vertical-align: middle;
}

.woocommerce table.cart th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: #4ECDC4;
}

/* Cart totals */
.woocommerce .cart-collaterals .cart_totals {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.woocommerce .cart-collaterals .cart_totals h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.woocommerce .cart-collaterals .cart_totals table {
    background: transparent;
    border: none;
}

.woocommerce .cart-collaterals .cart_totals table th,
.woocommerce .cart-collaterals .cart_totals table td {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 0;
}

/* Checkout form styling */
.woocommerce form.checkout {
    color: #ffffff;
}

.woocommerce form.checkout h3 {
    color: #4ECDC4;
    margin-bottom: 1.5rem;
}

.woocommerce form.checkout input[type="text"],
.woocommerce form.checkout input[type="email"],
.woocommerce form.checkout input[type="tel"],
.woocommerce form.checkout textarea,
.woocommerce form.checkout select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 0.5rem;
    width: 100%;
    margin-bottom: 1rem;
}

.woocommerce form.checkout input:focus,
.woocommerce form.checkout textarea:focus,
.woocommerce form.checkout select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #4ECDC4;
}

.woocommerce form.checkout input::placeholder,
.woocommerce form.checkout textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Checkout place order button */
.woocommerce #place_order {
    background: rgba(78, 205, 196, 0.8);
    border: 1px solid #4ECDC4;
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.woocommerce #place_order:hover {
    background: #4ECDC4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

/* Checkout review order */
.woocommerce-checkout-review-order {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Payment methods */
.woocommerce form.checkout #payment {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-top: 2rem;
}

.woocommerce form.checkout #payment ul.payment_methods {
    border: none;
    background: transparent;
}

.woocommerce form.checkout #payment div.payment_box {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
}

/* Notices and messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: #ffffff;
    padding: 1rem;
    margin-bottom: 1rem;
}

.woocommerce-message {
    border-left: 4px solid #4ECDC4;
}

.woocommerce-error {
    border-left: 4px solid #ff6b6b;
}

.woocommerce-info {
    border-left: 4px solid #FFB347;
}

/* Single Product Page Improvements */
.single-product .woocommerce div.product {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.single-product .woocommerce div.product .images {
    max-width: 300px;
    margin: 0;
}

.single-product .woocommerce div.product .images img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    max-height: 300px;
    object-fit: cover;
}

.single-product .woocommerce div.product .summary {
    padding-left: 2rem;
}

/* Center product form elements */
.single-product .woocommerce div.product form.cart,
.single-product .woocommerce div.product .product_meta {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.single-product .woocommerce div.product .product_meta {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.single-product .woocommerce div.product .product_meta span {
    display: block;
    margin-bottom: 0.5rem;
}

/* SPECIFIC cart button styling - avoid checkout page interference */
.woocommerce-cart .wc-proceed-to-checkout a,
.woocommerce .cart-collaterals .wc-proceed-to-checkout a,
.woocommerce-cart a.checkout-button,
.woocommerce .cart_totals .wc-proceed-to-checkout a {
    background: rgba(78, 205, 196, 0.8) !important;
    border: 1px solid #4ECDC4 !important;
    color: #ffffff !important;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    width: 100% !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    text-shadow: none !important;
}

/* Hover effects for cart buttons only */
.woocommerce-cart .wc-proceed-to-checkout a:hover,
.woocommerce .cart-collaterals .wc-proceed-to-checkout a:hover,
.woocommerce-cart a.checkout-button:hover,
.woocommerce .cart_totals .wc-proceed-to-checkout a:hover {
    background: #4ECDC4 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Force any link in cart totals to be a button */
.woocommerce .cart_totals .wc-proceed-to-checkout,
.woocommerce-cart .cart_totals .wc-proceed-to-checkout {
    margin-top: 1rem;
}

.woocommerce .cart_totals .wc-proceed-to-checkout a,
.woocommerce-cart .cart_totals .wc-proceed-to-checkout a {
    background: rgba(78, 205, 196, 0.8) !important;
    color: #ffffff !important;
    border: 1px solid #4ECDC4 !important;
    padding: 1rem 2rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    text-decoration: none !important;
}

/* SAFE cart page link styling - only for cart page */
.woocommerce-cart a:not(.button):not([type="submit"]) {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* Only style actual proceed to checkout buttons */
.woocommerce-cart .wc-proceed-to-checkout a {
    background: rgba(78, 205, 196, 0.8) !important;
    color: #ffffff !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.5rem !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border: 1px solid #4ECDC4 !important;
    display: inline-block !important;
}
