/*
Theme Name: Marie Ayodele
Theme URI: https://example.com/lartiste
Author: Folaju Oyegbesan
Author URI: https://example.com
Description: A premium, minimalist WordPress theme for professional artists.
Version: 1.0.2
Text Domain: lartiste
*/

:root {
    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --font-accent: 'Playfair Display', serif;

    /* Colors */
    --color-bg-main: #F4F1EA;
    /* Warm Paper */
    --color-bg-secondary: #EBE7DE;
    /* Darker Paper Surface */
    --color-text-main: #2B2B2B;
    /* Soft Ink */
    --color-text-secondary: #5C5C5C;
    /* Faded Ink */
    --color-accent: #C15B4D;
    /* Terracotta */
    --color-accent-rgb: 193, 91, 77;
    --color-accent-rgba: rgba(var(--color-accent-rgb), 1);
    --color-border: rgba(43, 43, 43, 0.15);
    /* Soft Ink line */

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;
    --spacing-2xl: 128px;

    /* Layout */
    --container-width: 1440px;
    --header-height: 80px;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Responsive Typography */
@media (max-width: 1199px) {
    h1 {
        font-size: 2.625rem;
    }

    /* -25% */
    h2 {
        font-size: 1.875rem;
    }

    /* -25% */
    h3 {
        font-size: 1.3125rem;
    }

    /* -25% */
}

@media (max-width: 767px) {
    h1 {
        font-size: 1.75rem;
    }

    /* -50% */
    h2 {
        font-size: 1.25rem;
    }

    /* -50% */
    h3 {
        font-size: 0.875rem;
    }

    /* -50% */
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

blockquote {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-main);
    padding: var(--spacing-lg);
    border-left: 2px solid var(--color-accent);
    margin: var(--spacing-xl) 0;
}

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

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.site-main {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.home .site-main {
    padding-top: 0;
    padding-bottom: 0;
}

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 1px solid var(--color-text-main);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--color-text-main);
    color: var(--color-bg-main);
}

/* Header & Navigation */
.site-header {
    padding: var(--spacing-md) 0;
    transition: all 0.3s ease;
    width: 100%;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.site-branding {
    z-index: 1001;
    /* Ensure logo is above mobile menu */
}

.site-title {
    font-family: var(--font-serif);
    /* Or use an image logo if they have one */
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    line-height: 1;
}

.custom-logo-link {
    display: inline-block;
}

.custom-logo {
    max-height: 80px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.custom-logo-link:hover {
    opacity: 0.8;
}

.site-title a {
    text-decoration: none;
}

/* Shop Filters */
.shop-filter-bar {
    margin-bottom: var(--spacing-xl);
    text-align: right;
}

.shop-filter-dropdown {
    padding: 10px 20px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-main);
    background-color: transparent;
    border: 1px solid var(--color-border);
    border-radius: 0;
    /* Sharp edges for minimalist look */
    cursor: pointer;
    min-width: 200px;
    appearance: none;
    /* Remove default arrow */
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.shop-filter-dropdown:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Desktop Navigation */
.main-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--spacing-lg);
}

.main-navigation ul li a {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-main);
    position: relative;
}

.home .main-navigation ul li a {
    color: white;
}

.home .scrolled .main-navigation ul li a {
    color: var(--color-text-main);
}

.main-navigation ul li.current-menu-item a,
.main-navigation ul li a:hover {
    color: var(--color-accent);
}

.main-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    transition: width 0.3s ease;
}

.main-navigation ul li.current-menu-item a::after,
.main-navigation ul li a:hover::after {
    width: 100%;
    background-color: var(--color-accent);
}

/* Hamburger Menu (Hidden by default on Desktop) */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-main);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Tablet & Mobile Styles (Max-width: 1024px) */
@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
        margin-left: var(--spacing-md);
        order: 10;
        /* Ensure hamburger is last */
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        /* Slide out */
        width: 100%;
        height: 100vh;
        background-color: var(--color-bg-main);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
    }

    .main-navigation.toggled {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-xl);
    }

    .main-navigation ul li a {
        font-size: 1.5rem;
        /* Larger for touch */
    }

    /* Hamburger Animation */
    .menu-toggle.toggled .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.toggled .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.toggled .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Ensure body doesn't scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

/* Static Hero */
.hero-static {
    position: relative;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Header Overrides for Homepage */
.home .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    /* Slight tint initially */
    z-index: 100;
    transition: all 0.3s ease;
    color: #fff;
    /* White text on hero */
    backdrop-filter: blur(0px);
}

.home .site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    /* Slightly transparent on scroll */
    color: var(--color-text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    /* Glass effect */
}

.hero-static::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-static .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-static .hero-title {
    font-size: 5rem;
    margin-bottom: var(--spacing-sm);
}

.hero-static .hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: flex-end;
    padding-bottom: var(--spacing-2xl);
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    /* Overlay for text readability */
    z-index: -1;
}

.slide-content {
    color: #fff;
    z-index: 2;
    position: relative;
}

.slide-counter {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
    opacity: 0.8;
}

.slide-title {
    font-size: 5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 300;
}

.btn-ghost {
    border-color: #fff;
    color: #fff;
}

.btn-ghost:hover {
    background-color: #fff;
    color: #000;
}

.carousel-nav {
    position: absolute;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    z-index: 10;
}

.carousel-nav button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    margin-left: var(--spacing-sm);
    transition: all 0.3s ease;
}

.carousel-nav button:hover {
    border-color: #fff;
}

/* Portfolio Single (Centered) */
.portfolio-single-centered {
    text-align: center;
}

.portfolio-image-wrapper {
    margin-bottom: var(--spacing-lg);
}

.portfolio-image-wrapper img {
    max-height: 85vh;
    /* Ensure it fits on screen nicely */
    width: auto;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.portfolio-info-centered {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--color-text-main);
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.6;
}

.artwork-title {
    font-weight: 700;
    /* Bold title */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: var(--spacing-xs);
}

.artwork-year,
.artwork-medium,
.artwork-dimensions {
    color: var(--color-text-secondary);
    font-family: var(--font-serif);
    /* Keep it serif like reference */
    font-style: italic;
    /* Optional: reference looks slightly italic or just serif */
}

.portfolio-actions-centered {
    margin-top: var(--spacing-lg);
}

.btn-text {
    border: none;
    border-bottom: 1px solid var(--color-text-main);
    padding: 0 0 2px 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    background: transparent;
    cursor: pointer;
}

.btn-text:hover {
    opacity: 0.6;
    background: transparent;
    color: var(--color-text-main);
}

/* Portfolio Collections */
.collection-section {
    margin-bottom: var(--spacing-2xl);
}

.collection-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--spacing-sm);
    display: inline-block;
}

.collection-desc {
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    color: var(--color-text-secondary);
}

/* Shop Grid */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

/* Remove WooCommerce clearfix pseudo-elements that break Grid */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

@media (min-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: var(--spacing-xl) var(--spacing-lg);
    }
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0;
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    /* Portrait aspect ratio common for art */
    object-fit: cover;
    margin-bottom: var(--spacing-sm);
    transition: opacity 0.3s ease;
}

.woocommerce ul.products li.product a:hover img {
    opacity: 0.9;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-main);
    margin-bottom: 4px;
    padding: 0;
}

.woocommerce ul.products li.product .price {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-text-light);
    display: block;
}

.woocommerce ul.products li.product .price del {
    opacity: 0.5;
    margin-right: 5px;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

/* Portfolio Archive */
.portfolio-archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .portfolio-archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    /* Changed to 3:4 Ratio */
    overflow: hidden;
    background-color: #f0f0f0;
}

.portfolio-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure image fills the ratio */
    transition: transform 0.7s ease;
}

.header-action-btn:hover {
    color: var(--color-text-secondary);
}

.header-action-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5px;
}

.header-user-greeting {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: capitalize;
    color: var(--color-text-secondary);
    margin-right: var(--spacing-sm);
    letter-spacing: 0.05em;
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -4px;
    background-color: #000;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 1px;
    z-index: 2;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    /* Slight dark tint for text contrast */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    /* Always visible per reference style, or hover? Let's do hover for interaction but keep text visible */
    transition: background 0.3s ease;
}

.portfolio-link:hover .portfolio-thumbnail img {
    transform: scale(1.05);
}

.portfolio-link:hover .portfolio-overlay {
    background: rgba(193, 91, 77, 0.5);
}

.portfolio-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #fff;
    /* White text */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 0 var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Commission Page */
.commission-container {}

.commission-form-wrapper {
    margin-top: var(--spacing-xl);
    max-width: 800px;
}

.commission-form .form-group {
    margin-bottom: var(--spacing-lg);
}

.commission-form label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-secondary);
}

.commission-form .radio-label {
    margin-bottom: 0;
}

.commission-form input,
.commission-form textarea,
.commission-form select {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-sm) 0;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    background: transparent;
    transition: border-color 0.3s ease;
    border-radius: 0;
    /* Reset iOS styles */
}

.commission-form input:focus,
.commission-form textarea:focus,
.commission-form select:focus {
    outline: none;
    border-bottom-color: var(--color-text-main);
}

.commission-form textarea {
    resize: vertical;
}

.commission-form .btn {
    margin-top: var(--spacing-md);
    background-color: var(--color-accent);
    color: var(--color-bg-main);
    padding: var(--spacing-md) var(--spacing-xl);
    border: 0;
    border-radius: 4px;
    width: auto;
}

.commission-form .btn:hover {
    background-color: rgba(193, 91, 77, 0.8);
}

/* WooCommerce Overrides */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-top: var(--spacing-md);
    color: var(--color-text-main);
}

.woocommerce ul.products li.product .price {
    font-family: var(--font-sans);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    display: block;
    margin-top: var(--spacing-xs);
}

.woocommerce ul.products li.product img {
    transition: opacity 0.3s ease;
}

.woocommerce ul.products li.product:hover img {
    opacity: 0.8;
}

/* Single Product */
.woocommerce div.product {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

@media (min-width: 768px) {
    .woocommerce div.product {
        grid-template-columns: 1fr 1fr;
    }
}

.woocommerce div.product .product_title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.woocommerce div.product .price {
    font-size: 1.5rem;
    color: var(--color-accent) !important;
    margin-bottom: var(--spacing-lg);
}

.woocommerce div.product form.cart .button {
    background-color: var(--color-accent);
    color: var(--color-bg-main);
    border: 1px solid var(--color-accent);
    padding: var(--spacing-md) var(--spacing-xl);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
    border-radius: 0;
}

/* Sticky Footer Layout */
#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#primary {
    flex-grow: 1;
}

/* Footer */
.site-footer {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--color-border);
    margin-top: auto;
    /* Ensure it pushes to bottom if flex fails for some reason */
    background-color: var(--color-bg-main);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
    }
}

.footer-copyright {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-navigation-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.header-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

/* Footer Menu (Legal/Shop) */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--spacing-md);
}

.footer-menu li a {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-menu li a:hover {
    color: var(--color-text-main);
}

/* Social Menu (Icons) */
.social-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.social-menu li a {
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.social-menu li a:hover {
    transform: translateY(-2px);
    opacity: 0.7;
}

/* About Page */
.bio-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.bio-image {
    width: 100%;
    height: auto;
    min-height: 400px;
    /* Fallback/Mobile height */
}

.bio-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 768px) {
    .bio-content-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-2xl);
        align-items: stretch;
    }

    .bio-image {
        position: relative;
        width: 100%;
        height: auto;
        /* Reset height */
        min-height: 0;
        /* Allow shrinking */
    }

    .bio-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Commission Form */


.commission-form .form-group {
    margin-bottom: var(--spacing-md);
}

.commission-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background-color: transparent;
    /* Or #f9f9f9 */
    color: var(--color-text-main);
}

.commission-form .form-control:focus {
    outline: none;
    border-color: var(--color-accent);
}

.commission-form textarea.form-control {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--color-accent);
}

.radio-label {
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.hidden {
    display: none;
}

.optional-fields-section {
    border-radius: 8px;
    margin-bottom: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.section-label {
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    display: block;
}

.payment-terms-section {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

.payment-label {
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    margin-top: 3px;
    /* Align with first line of text */
    cursor: pointer;
    accent-color: var(--color-accent);
}

.checkbox-label {
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text-main);
}

.required {
    color: #d93025;
}

.btn-block {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.bio-text .page-title {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
    font-size: 3rem;
}

.bio-text .entry-content {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-main);
}

/* Artist CV Section */
.artist-cv-section {
    padding-top: var(--spacing-xl);
    /* Wider to accommodate side-by-side */
    margin: 0 auto;
}

.cv-heading {
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: var(--spacing-md);
}

.cv-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile first: stacked */
    gap: var(--spacing-xl);
}

@media (min-width: 768px) {
    .cv-grid {
        grid-template-columns: 1fr 1fr;
        /* Desktop: Side by side */
        gap: var(--spacing-2xl);
    }
}

.cv-category {
    margin-bottom: var(--spacing-xl);
}

.cv-category-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.cv-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cv-item {
    display: flex;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid transparent;
    /* Placeholder for alignment */
}

.cv-year {
    width: 60px;
    /* Fixed width for year */
    flex-shrink: 0;
    font-weight: 600;
    color: var(--color-text-main);
}

.cv-details {
    color: var(--color-text-secondary);
}

.cv-exhibition-title {
    font-style: italic;
    color: var(--color-text-main);
}

.cv-separator {
    margin-right: 4px;
}

/* Single Product Page */
.single-product div.product {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    align-items: start;
}

@media (min-width: 992px) {
    .single-product div.product {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xl);
    text-transform: capitalize;
}

.portfolio-breadcrumb {
    text-align: left;
}

.woocommerce-breadcrumb a {
    color: var(--color-text-light);
    text-decoration: none;
}

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

/* Product Gallery */
.woocommerce-product-gallery {
    position: relative;
    margin-bottom: 0;
    width: 100% !important;
    /* Override Woo defaults */
    float: none !important;
    /* Override Woo defaults */
}

.woocommerce-product-gallery figure {
    margin: 0;
    padding: 0;
}

.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    margin: 0;
    padding: 0;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image {
    width: 100%;
    aspect-ratio: 3/4;
    /* Portrait aspect ratio */
    overflow: hidden;
}

.woocommerce-product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crop to fill */
    display: block;
}

/* Product Gallery Thumbnails */
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    margin-top: var(--spacing-sm);
    padding: 0;
    list-style: none;
    gap: 10px;
    margin-top: 20px !important;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    width: calc(20% - 8px);
    /* 5 thumbnails per row with gap */
    cursor: pointer;
    margin-bottom: 0;
}

.woocommerce-product-gallery .flex-control-thumbs img {
    width: 100%;
    height: auto;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs img:hover {
    opacity: 1;
}

/* Product Summary (Sticky) */
.single-product .entry-summary {
    padding-top: 0;
    position: sticky;
    top: 120px;
    width: 100% !important;
    /* Account for fixed header */
}

.single-product .product_title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.single-product .price {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: var(--spacing-lg);
    display: block;
}

.single-product .woocommerce-product-details__short-description {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    color: var(--color-text-main);
}

.single-product .woocommerce-product-details__short-description ul {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.single-product .woocommerce-product-details__short-description li {
    margin-bottom: 12px;
    padding-left: 1.2em;
    position: relative;
}

.single-product .woocommerce-product-details__short-description li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-text-main);
}

.single-product .woocommerce-product-details__short-description strong {
    font-weight: 600;
}

/* Add to Cart Section */
.single-product form.cart {
    margin-top: var(--spacing-xl);
    border-top: 1px solid var(--color-border);
    padding-top: var(--spacing-lg);
}

.single-product .variations {
    width: 100%;
    margin-bottom: var(--spacing-lg);
    border: none;
}

.single-product .variations tr {
    display: block;
    margin-bottom: var(--spacing-md);
}

.single-product .variations td {
    display: block;
    padding: 0;
}

.single-product .variations label {
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: block;
    color: var(--color-text-main);
}

.single-product .variations select {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    background-color: var(--color-bg-main);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.single-product .quantity {
    margin-bottom: var(--spacing-md);
    display: block;
}

.single-product .quantity .qty {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--color-border);
    text-align: left;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    border-radius: 0;
}

/* Hide Quantity Label if it exists (Woo usually hides it or puts it inside) */
.single-product .quantity label {
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: block;
}

.single-product button.single_add_to_cart_button {
    width: 100%;
    background-color: #1a1a1a;
    color: #fff;
    padding: 18px;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: var(--spacing-sm);
}

.single-product button.single_add_to_cart_button:hover {
    background-color: #000;
    transform: translateY(-1px);
}

/* Meta Data (SKU, Categories) - Hide */
.single-product .product_meta {
    display: none;
}

/* Portfolio Grid Template */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-link {
    display: block;
    position: relative;
}

.portfolio-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 125%;
    /* 4:5 Aspect Ratio */
    overflow: hidden;
}

.portfolio-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    text-align: center;
    padding: var(--spacing-md);
}

.portfolio-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-category {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

/* Hover Effects */
.portfolio-item:hover .portfolio-thumbnail img {
    transform: scale(1.05);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-title,
.portfolio-item:hover .portfolio-category {
    transform: translateY(0);
}

/* Contact Page (Light Theme) */
.contact-page {
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
}

.contact-page .page-title {
    margin-bottom: var(--spacing-xl);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
}

/* Contact Form - Generic Plugin Styling */
.contact-form-column input[type="text"],
.contact-form-column input[type="email"],
.contact-form-column input[type="tel"],
.contact-form-column textarea,
.contact-form-column select,
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
    width: 100%;
    background-color: var(--color-bg-main);
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    padding: 16px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s ease;
    margin-bottom: var(--spacing-md);
}

.contact-form-column input:focus,
.contact-form-column textarea:focus {
    border-color: #000;
}

.contact-form-column input::placeholder,
.contact-form-column textarea::placeholder {
    color: #999;
}

.contact-form-column input[type="submit"],
.contact-form-column button[type="submit"],
.wpcf7-submit {
    background-color: var(--color-accent);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: inline-block;
    width: auto;
}

.contact-form-column input[type="submit"]:hover,
.contact-form-column button[type="submit"]:hover,
.wpcf7-submit:hover {
    opacity: 0.8;
}

/* Contact Info */
.contact-info-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 10px;
    /* Align with form inputs */
}

.contact-details p {
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-sans);
    font-size: 1rem;
}

.contact-details a {
    color: var(--color-text-main);
    text-decoration: none;
}

.contact-details a:hover {
    opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .contact-page .page-title {
        font-size: 2.5rem;
    }
}

/* Hero Slider (Simple Fade) */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Fallback Static Hero */
.hero-static {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

/* Checkout Page */
.woocommerce-checkout .col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    width: 100%;
    float: none;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    float: none;
    width: 100%;
    max-width: 100%;
    flex: none;
}

@media (max-width: 768px) {
    .woocommerce-checkout .col2-set {
        grid-template-columns: 1fr;
    }
}

.woocommerce-checkout h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-lg);
    text-transform: none;
    letter-spacing: -0.01em;
}

/* Form Fields (Reuse Contact Page Styles) */
.woocommerce-checkout .form-row {
    margin-bottom: var(--spacing-md);
    display: block;
    width: 100%;
}

.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100%;
    background-color: var(--color-bg-main);
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    padding: 16px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    height: auto;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: var(--color-accent);
}

/* Order Review */
#order_review_heading {
    margin-top: var(--spacing-2xl);
    font-family: var(--font-serif);
    font-size: 1.8rem;
}

.woocommerce-checkout-review-order-table {
    border: none;
    margin-bottom: var(--spacing-xl);
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border: none;
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-md) 0;
    font-family: var(--font-sans);
}

.woocommerce-checkout-review-order-table thead th {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding-bottom: var(--spacing-sm);
}

.woocommerce-checkout-review-order-table .product-name {
    color: var(--color-text-main);
}

.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table .cart-subtotal td,
.woocommerce-checkout-review-order-table .order-total td {
    text-align: right;
    font-weight: 600;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    border-bottom: 2px solid var(--color-text-main);
    font-size: 1.1rem;
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
}

/* Payment Section */
#payment {
    background: var(--color-bg-secondary);
    padding: var(--spacing-xl);
    border-radius: 0;
}

#payment ul.payment_methods {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

#payment div.payment_box {
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    padding: var(--spacing-md);
    margin: var(--spacing-sm) 0;
    font-size: 0.9rem;
    border: 1px solid var(--color-border);
}

/* Place Order Button */
#place_order {
    width: 100%;
    background-color: var(--color-text-main);
    color: #fff;
    padding: 20px;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: var(--spacing-md);
}

#place_order:hover {
    background-color: #000;
    transform: translateY(-1px);
}

/* Coupon */
.woocommerce-form-coupon-toggle .woocommerce-info {
    background-color: transparent;
    border: 1px dashed var(--color-border);
    color: var(--color-text-main);
    padding: var(--spacing-md);
    font-family: var(--font-sans);
    margin-bottom: var(--spacing-xl);
}

.woocommerce-form-coupon-toggle .woocommerce-info::before {
    display: none;
    /* Remove default icon */
}

.woocommerce-form-coupon-toggle a {
    color: var(--color-text-main);
    text-decoration: underline;
}

.checkout_coupon {
    margin-bottom: var(--spacing-2xl);
    border: 1px solid var(--color-border);
    padding: var(--spacing-lg);
}