/*
Theme Name: ArtGallery Marketplace
Theme URI: https://github.com/yourusername/artgallery-marketplace
Author: ArtGallery Dev
Author URI: https://github.com/yourusername
Description: A premium art marketplace theme inspired by Saatchi Art. Built for WordPress + WooCommerce + Dokan. Features artwork grid layouts, artist portfolios, AJAX filtering, Art Advisory CTA, and responsive design optimized for selling art online.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: artgallery
Tags: art, marketplace, ecommerce, woocommerce, dokan, two-columns, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   CSS Variables & Design Tokens
   ========================================================================== */
:root {
    /* Colors */
    --color-primary: #1a1a2e;
    --color-secondary: #16213e;
    --color-accent: #e94560;
    --color-accent-hover: #c73652;
    --color-gold: #d4a853;
    --color-text: #2d2d2d;
    --color-text-light: #6b6b6b;
    --color-text-muted: #999999;
    --color-bg: #ffffff;
    --color-bg-light: #f8f8f8;
    --color-bg-warm: #faf8f5;
    --color-border: #e5e5e5;
    --color-border-light: #f0f0f0;

    /* Typography */
    --font-heading: "Century Gothic", AppleGothic, CenturyGothic, sans-serif;
    --font-body: "Century Gothic", AppleGothic, CenturyGothic, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.25rem;
    --space-2xl: 3.5rem;
    --space-3xl: 4.5rem;
    --space-4xl: 6.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);

    /* Border Radius */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;

    /* Layout */
    --container-max: 100%;
    --container-narrow: 1200px;
    --header-top-height: 62px;
    /* row 1: logo + search */
    --header-nav-height: 42px;
    /* row 2: nav links */
    --header-height: 104px;
    /* total sticky height */
}

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

html {
    font-size: 20.8px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-hover);
}

ul,
ol {
    list-style: none;
}

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

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.375rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

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

.text-muted {
    color: var(--color-text-muted);
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* Specific width for Single Product Page Content */
.single-product .container {
    max-width: 80%;
}

/* Ensure Header and Footer remain full-width on all pages */
.site-header .container,
.site-footer .container,
.header-top-inner,
.header-nav-inner {
    max-width: 100% !important;
}

.container-narrow {
    max-width: var(--container-narrow);
}

.site-content {
    min-height: calc(100vh - var(--header-height) - 300px);
    padding: var(--space-lg) 0 var(--space-3xl);
}

.woocommerce-breadcrumb,
.breadcrumb {
    margin: var(--space-sm) 0 var(--space-md);
    font-size: 0.75rem;
}

/* Specific adjustment for single product to bring it closer to header */
.single-product .site-content {
    padding-top: var(--space-xs);
}

/* ==========================================================================
   Header & Navigation  —  Two-Row Layout
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-bg);
    transition: box-shadow var(--transition-base);
    /* total height = top row + nav row */
    height: var(--header-height);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

/* ── Row 1: Logo + Search + Icons ─────────────────────────────────────── */
.header-top {
    height: var(--header-top-height);
    border-bottom: 1px solid var(--color-border-light);
}

.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ── Row 2: Navigation ────────────────────────────────────────────────── */
.header-nav-bar {
    height: var(--header-nav-height);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg);
}

.header-nav-inner {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* Logo */
.site-logo a {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-logo a:hover {
    color: var(--color-accent);
}

/* Primary Nav  – sits in row 2 */
.primary-nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    height: 100%;
}

.primary-nav>li {
    display: flex;
    align-items: center;
    height: 100%;
    list-style: none;
}

.primary-nav>li>a {
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    padding: 0 0.35rem;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.primary-nav>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.primary-nav>li>a:hover::after,
.primary-nav>li>a.current::after {
    width: 100%;
}

.primary-nav>li>a:hover {
    color: var(--color-primary);
}

/* Header actions – search, cart, account */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex: 1;
    justify-content: flex-end;
}

.header-search {
    position: relative;
    margin-right: var(--space-lg);
}

.header-search input[type="search"] {
    width: 280px;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: all var(--transition-base);
    background: #F4F4F4;
    color: #333;
}

.header-search input[type="search"]:focus {
    width: 320px;
    outline: none;
    background: #EBEBEB;
}

.header-search .search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    display: flex;
    align-items: center;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.tool-btn {
    background: none;
    border: none;
    padding: 8px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast), transform var(--transition-fast);
    position: relative;
    text-decoration: none;
}

.tool-btn:hover {
    color: var(--color-accent);
}

.cart-btn .cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #1a1a1a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-btn:hover .cart-badge {
    background: var(--color-accent);
}


/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    margin-left: auto;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* ==========================================================================
   Mega Menu  —  Links LEFT · Images RIGHT
   ========================================================================== */

/* Top-level <li> trigger */
.primary-nav>li.mega-menu {
    position: static;
}

/* Trigger link: add a small chevron */
.primary-nav>li.mega-menu>a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Remove the underline pseudo-element and replace with chevron */
.primary-nav>li.mega-menu>a::after {
    content: '\25BE';
    /* ▾ */
    position: static;
    width: auto;
    height: auto;
    background: none;
    font-size: 0.7rem;
    opacity: 0.55;
    transition: transform var(--transition-base), opacity var(--transition-base);
    display: inline-block;
    margin-left: 2px;
    color: var(--color-text-light);
}

.primary-nav>li.mega-menu:hover>a,
.primary-nav>li.mega-menu>a:hover {
    color: var(--color-accent);
}

.primary-nav>li.mega-menu:hover>a::after {
    transform: rotate(-180deg);
    opacity: 1;
    color: var(--color-accent);
}

/* ── Full-width drop panel ─────────────────────────────────────────────── */
.primary-nav>li.mega-menu>.mega-menu-wrapper {
    display: none;
    position: absolute;
    /* Changed from fixed to absolute to prevent admin bar/zoom issues */
    /* top is relative to .site-header, so 100% is the exact bottom of the header */
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 300px;
    background: #fff;
    border-top: 3px solid var(--color-accent);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
    z-index: 998;
    flex-direction: row;
    align-items: stretch;
    animation: megaMenuFadeIn 0.2s ease;
}

.primary-nav>li.mega-menu>.mega-menu-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.primary-nav>li.mega-menu:hover>.mega-menu-wrapper {
    display: flex;
}

/* ── Invisible bridge to prevent hover gap between nav item and panel ── */
.primary-nav>li.mega-menu {
    padding-bottom: 0;
    margin-bottom: 0;
}

@keyframes megaMenuFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── LEFT column: grouped sub-links ───────────────────────────────────── */
.mega-menu-left {
    flex: 0 0 auto;
    width: 42%;
    min-width: 300px;
    max-width: 500px;
    padding: 2rem 3rem;
    border-right: 1px solid var(--color-border-light);
    display: flex;
    align-items: flex-start;
}

/* The groups <ul> — one column per depth-1 item */
ul.mega-groups {
    display: flex;
    gap: 3.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    flex-wrap: nowrap;
}

/* Each group <li> (depth=1) */
li.mega-group-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 90px;
}

/* Column heading (e.g. "Style") */
.mega-group-heading {
    display: block;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--color-text-muted);
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border-light);
    text-decoration: none;
    cursor: default;
    white-space: nowrap;
}

a.mega-group-heading:hover {
    color: var(--color-accent);
    cursor: pointer;
}

/* Links list under each heading */
ul.mega-group-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.mega-group-links li {
    margin: 0;
}

ul.mega-group-links li a {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-text);
    padding: 0.42rem 0.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    line-height: 1.4;
    transition: color var(--transition-fast), background var(--transition-fast), padding-left var(--transition-fast);
    white-space: nowrap;
}

ul.mega-group-links li a:hover {
    color: var(--color-accent);
    background: rgba(233, 69, 96, 0.07);
    padding-left: 0.9rem;
}

/* ── RIGHT column: image cards ────────────────────────────────────────── */
.mega-menu-right {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.mega-menu-right::-webkit-scrollbar {
    display: none;
}

/* Single image card */
.mega-image-card {
    flex: 0 0 auto;
    width: 185px;
}

.mega-image-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.mega-image-card-thumb {
    width: 185px;
    height: 130px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-bg-light);
    margin-bottom: 0.6rem;
}

.mega-image-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.mega-image-card-link:hover .mega-image-card-thumb img {
    transform: scale(1.06);
}

/* Caption below each image */
.mega-image-caption {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--color-text);
    margin: 0;
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.mega-image-card-link:hover .mega-image-caption {
    color: var(--color-accent);
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--color-primary);
    height: 560px;
}

.hero-slides {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background image fills the right side */
.hero-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center;
    transition: transform 8s ease;
}

.hero-slide.is-active .hero-slide-bg img {
    transform: scale(1.06);
}

/* Dark left overlay for text readability */
.hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(10, 10, 25, 0.82) 0%,
            rgba(10, 10, 25, 0.55) 55%,
            rgba(10, 10, 25, 0.15) 100%);
}

/* Content block */
.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-slide-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.hero-slide-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.12;
    color: #fff;
    max-width: 560px;
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease 0.35s, transform 0.6s ease 0.35s;
}

.hero-slide-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 440px;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.hero-slide-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease 0.65s, transform 0.6s ease 0.65s;
}

/* Animate in when slide is active */
.hero-slide.is-active .hero-slide-eyebrow,
.hero-slide.is-active .hero-slide-title,
.hero-slide.is-active .hero-slide-desc,
.hero-slide.is-active .hero-slide-cta {
    opacity: 1;
    transform: translateY(0);
}

/* ── Navigation arrows ─────────────────────────────────────────────────── */
.hero-slider-prev,
.hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-base), transform var(--transition-base);
    backdrop-filter: blur(4px);
}

.hero-slider-prev {
    left: 1.5rem;
}

.hero-slider-next {
    right: 1.5rem;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: translateY(-50%) scale(1.08);
}

/* ── Dot indicators ────────────────────────────────────────────────────── */
.hero-slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition-base), transform var(--transition-base);
}

.hero-dot.is-active {
    background: #fff;
    transform: scale(1.35);
}

/* ── Progress bar ──────────────────────────────────────────────────────── */
.hero-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--color-accent);
    z-index: 10;
    transition: width linear;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-slider {
        height: 420px;
    }

    .hero-slide-title {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   Hero Section  (static fallback, kept for non-front pages)
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #fff;
    padding: var(--space-4xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/hero-pattern.svg') repeat;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.hero-content h1 {
    color: #fff;
    font-size: 3.25rem;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--space-2xl);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    gap: var(--space-sm);
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
    border: 2px solid var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.btn-dark {
    background: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary);
}

.btn-dark:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #fff;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
}

/* ==========================================================================
   Home Page Sections (Screenshot Implementation)
   ========================================================================== */

/* ── 1. Filter Bar ───────────────────────────────────────────────────── */
.home-filter-bar {
    background: #F4F3EF;
    /* Light beige from screenshot */
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border-light);
}

.filter-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #333;
}

.filter-select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    font-size: 0.9375rem;
    color: #333;
    outline: none;
    cursor: pointer;
}

.search-btn {
    padding: 0.5rem 2rem;
    background: #A09E96;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #85837A;
}


/* ── 2. Curated Categories ────────────────────────────────────────────── */
.section-curated {
    padding: 5rem 0;
}

.curated-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.curated-links a {
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    padding-bottom: 4px;
}

.curated-links a:hover {
    color: #000;
    border-bottom: 1px solid #000;
}

.curated-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.curated-card {
    text-align: left;
    color: #000;
    text-decoration: none;
}

.curated-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    margin-bottom: 1rem;
    transition: transform 0.4s ease;
}

.curated-card:hover img {
    transform: scale(1.02);
}

.curated-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.curated-card span {
    font-size: 0.875rem;
    color: #666;
}


/* ── 3. Why Buy Original Art (Features) ───────────────────────────────── */
.section-features {
    padding: 5rem 0;
    background: #FAF9F6;
}

.features-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.features-left {
    position: sticky;
    top: 140px;
}

.features-left h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.features-left p {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.6;
}

.features-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature-item {
    background: #fff;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.feature-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.feature-text h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 0.9375rem;
    color: #666;
}


/* ── 4. Horizontal Tags ───────────────────────────────────────────────── */
.section-tags {
    padding: 3rem 0;
    border-bottom: 1px solid #EAEAEA;
}

.tags-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.tag-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid #EAEAEA;
    padding: 0.5rem 1rem;
    min-width: 200px;
}

.tag-img-wrap {
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 50%;
}

.tag-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tag-card h4 {
    font-size: 0.875rem;
    margin: 0;
}


/* ── 5. Product Carousels ─────────────────────────────────────────────── */
.section-products {
    padding: 5rem 0;
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.carousel-header h2 {
    font-size: 1.75rem;
}

.carousel-nav button {
    background: none;
    border: 1px solid #ccc;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

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

.artwork-carousel {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.artwork-card {
    color: #000;
    text-decoration: none;
}

.artwork-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f4f4f4;
    margin-bottom: 1rem;
}

.artwork-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artwork-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.artist-name {
    font-size: 0.8125rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.artwork-title {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.artwork-size {
    font-size: 0.8125rem;
    color: #888;
}

.artwork-price {
    font-weight: 600;
    margin-top: 0.25rem;
}


/* ── 6. Spotlight Section ─────────────────────────────────────────────── */
.section-spotlight {
    padding: 6rem 0;
}

.spotlight-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.spotlight-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.spotlight-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.spotlight-text p {
    font-size: 1.25rem;
    font-style: italic;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.artwork-price .original {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: var(--space-xs);
}

.artwork-meta-tags {
    display: flex;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
    flex-wrap: wrap;
}

.artwork-meta-tags span {
    font-size: 0.6875rem;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: var(--color-bg-light);
    color: var(--color-text-muted);
}

/* ==========================================================================
   Single Artwork Page
   ========================================================================== */
.artwork-single {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    padding: var(--space-3xl) 0;
}

.artwork-single-image {
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
    align-self: start;
}

.artwork-single-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.artwork-single-details {
    padding-top: var(--space-md);
}

.artwork-single-details h1 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.artwork-single-details .artist-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

.artwork-single-details .artist-link:hover {
    color: var(--color-accent);
}

.artwork-single-details .price-section {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
}

.artwork-single-details .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.artwork-single-details .price-note {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
}

.artwork-single-details .add-to-cart-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.0625rem;
    margin-bottom: var(--space-md);
}

.artwork-single-details .inquiry-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.0625rem;
}

.artwork-metadata {
    margin: var(--space-xl) 0;
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.artwork-metadata table {
    width: 100%;
    border-collapse: collapse;
}

.artwork-metadata th {
    text-align: left;
    padding: var(--space-sm) var(--space-md) var(--space-sm) 0;
    font-weight: 600;
    color: var(--color-text-light);
    font-size: 0.875rem;
    width: 40%;
    vertical-align: top;
}

.artwork-metadata td {
    padding: var(--space-sm) 0;
    font-size: 0.9375rem;
}

.artwork-description {
    margin-top: var(--space-xl);
}

.artwork-description h3 {
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
}

/* ==========================================================================
   Art Advisory Section
   ========================================================================== */
.advisory-section {
    background: var(--color-bg-warm);
    padding: var(--space-4xl) 0;
    text-align: center;
}

.advisory-content {
    max-width: 640px;
    margin: 0 auto;
}

.advisory-content h2 {
    margin-bottom: var(--space-md);
}

.advisory-content p {
    color: var(--color-text-light);
    margin-bottom: var(--space-2xl);
}

.advisory-features {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

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

.advisory-feature .icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.advisory-feature h4 {
    font-size: 0.9375rem;
    margin-bottom: var(--space-xs);
}

.advisory-feature p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    opacity: 0.7;
}

.footer-col h4 {
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-col ul a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    opacity: 0.6;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.125rem;
}

.footer-social a:hover {
    color: #fff;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb {
    padding: var(--space-md) 0;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

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

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

.breadcrumb span {
    margin: 0 var(--space-sm);
}

/* ==========================================================================
   Sidebar & Widgets
   ========================================================================== */
.site-sidebar {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.widget {
    margin-bottom: var(--space-xl);
}

.widget:last-child {
    margin-bottom: 0;
}

.widget h3 {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-accent);
}

.widget ul li {
    margin-bottom: var(--space-xs);
}

.widget ul a {
    color: var(--color-text-light);
    font-size: 0.875rem;
    display: flex;
    justify-content: space-between;
    padding: var(--space-xs) 0;
}

.widget ul a:hover {
    color: var(--color-accent);
}

.widget ul .count {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Price Range Widget */
.price-range-inputs {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.price-range-inputs input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.price-range-inputs span {
    color: var(--color-text-muted);
}

/* ==========================================================================
   Search Results & 404
   ========================================================================== */
.page-header {
    text-align: center;
    padding: var(--space-3xl) 0;
}

.page-header h1 {
    margin-bottom: var(--space-md);
}

.page-header p {
    color: var(--color-text-light);
    font-size: 1.125rem;
}

.no-results {
    text-align: center;
    padding: var(--space-4xl) 0;
}

.no-results .icon-large {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
    opacity: 0.3;
}

.no-results h2 {
    margin-bottom: var(--space-md);
}

.no-results p {
    color: var(--color-text-light);
    max-width: 500px;
    margin: 0 auto var(--space-xl);
}

/* ==========================================================================
   WooCommerce Overrides
   ========================================================================== */
.woocommerce-breadcrumb {
    padding: var(--space-md) 0;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

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

.woocommerce-result-count {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.woocommerce-ordering select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.woocommerce-pagination {
    text-align: center;
    margin-top: var(--space-3xl);
}

.woocommerce-pagination ul {
    display: inline-flex;
    gap: var(--space-xs);
}

.woocommerce-pagination li a,
.woocommerce-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--color-border);
    color: var(--color-text-light);
    transition: all var(--transition-fast);
}

.woocommerce-pagination li a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.woocommerce-pagination li span.current {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

/* Single Product Tabs */
.woocommerce-tabs {
    margin-top: var(--space-3xl);
}

.woocommerce-tabs ul.tabs {
    display: flex;
    gap: var(--space-xl);
    border-bottom: 2px solid var(--color-border);
    margin-bottom: var(--space-xl);
}

.woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: var(--space-md) 0;
    font-weight: 600;
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    margin-bottom: -2px;
}

/* ==========================================================================
   Dokan Overrides
   ========================================================================== */
.dokan-dashboard-wrap .dokan-dash-sidebar {
    background: var(--color-primary);
}

.dokan-dashboard-wrap .dokan-dash-sidebar ul.dokan-dashboard-menu li a {
    color: rgba(255, 255, 255, 0.7);
}

.dokan-dashboard-wrap .dokan-dash-sidebar ul.dokan-dashboard-menu li a:hover,
.dokan-dashboard-wrap .dokan-dash-sidebar ul.dokan-dashboard-menu li.active a {
    background: var(--color-accent);
    color: #fff;
}

.dokan-store-header {
    background: var(--color-bg-warm);
    padding: var(--space-2xl) 0;
}

/* ==========================================================================
   Form Styles
   ========================================================================== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    transition: border-color var(--transition-fast);
    background: var(--color-bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

.animate-fade-in {
    animation: fadeIn 0.4s ease forwards;
}

/* Lazy load image reveal */
img[data-src] {
    opacity: 0;
    transition: opacity var(--transition-base);
}

img.loaded {
    opacity: 1;
}

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

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

@media (max-width: 992px) {

    /* Hide mega menu on tablet/mobile — falls back to normal mobile nav */
    .primary-nav>li.mega-menu>.mega-menu-wrapper {
        display: none !important;
    }

    .primary-nav>li.mega-menu>a::after {
        display: none;
    }

    /* Hide the nav bar row entirely on mobile — replaced by mobile overlay */
    .header-nav-bar {
        display: none;
    }

    /* Mobile nav overlay */
    .header-nav-bar.open {
        display: block;
        position: fixed;
        top: var(--header-top-height);
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        background: var(--color-bg);
        border-top: 1px solid var(--color-border);
        animation: fadeIn 0.25s ease;
        overflow-y: auto;
    }

    .header-nav-bar.open .header-nav-inner {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        padding: var(--space-xl);
    }

    .header-nav-bar.open .primary-nav {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        gap: 0;
    }

    .primary-nav>li {
        height: auto;
        border-bottom: 1px solid var(--color-border-light);
    }

    .primary-nav>li>a {
        font-size: 1rem;
        padding: var(--space-md) 0;
        height: auto;
    }

    .primary-nav>li>a::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-search input[type="search"] {
        width: 150px;
    }

    .header-search input[type="search"]:focus {
        width: 190px;
    }

    .artwork-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .artwork-single {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .artwork-single-image {
        position: relative;
        top: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .advisory-features {
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.375rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .artwork-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .collections-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .header-search {
        display: none;
    }

    .account-link span {
        display: none;
    }

    .filter-bar {
        gap: var(--space-xs);
    }

    .filter-btn {
        padding: 0.375rem 0.875rem;
        font-size: 0.8125rem;
    }

    .advisory-features {
        flex-direction: column;
        gap: var(--space-lg);
    }
}

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

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Custom Page Templates: About Us & Projects
   ========================================================================== */

/* ── About Us ── */
.about-hero {
    position: relative;
    padding: 8rem 0;
    color: #fff;
    margin-bottom: 4rem;
}

.about-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
}

.about-hero .page-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #fff;
}

.about-hero .hero-subtitle {
    font-size: 1.5rem;
    font-style: italic;
    font-family: var(--font-heading);
}

.about-mission h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.about-stats {
    padding: 6rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-team {
    padding: 6rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

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

.team-image {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    background: #f4f4f4;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Projects / Exhibitions ── */
.projects-header {
    padding: 6rem 0 3rem;
}

.projects-header .page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.projects-subtitle {
    font-size: 1.25rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.projects-filter {
    margin-bottom: 4rem;
}

.projects-filter .filter-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.projects-filter a {
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    padding-bottom: 4px;
}

.projects-filter a.active,
.projects-filter a:hover {
    color: #000;
    border-bottom: 2px solid #000;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 2rem;
}

.masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.masonry-item.item-large {
    grid-row: span 2;
    grid-column: span 2;
}

.masonry-item.item-medium {
    grid-row: span 1;
    grid-column: span 1;
}

.masonry-item.item-tall {
    grid-row: span 2;
    grid-column: span 1;
}

.project-card {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    color: #fff;
}

.project-image {
    width: 100%;
    height: 100%;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 2.5rem;
    opacity: 1;
    transition: background 0.3s ease;
}

.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

.project-category {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: #f4f4f4;
}

.project-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.project-card .btn {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.project-card:hover .btn {
    opacity: 1;
    transform: translateY(0);
}

/* Make sure btn-outline-white exists */
.btn-outline-white {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

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

.project-highlight .eyebrow {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1rem;
}

.project-highlight h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.alignwide {
    margin-left: -80px;
    margin-right: -80px;
    max-width: calc(100% + 160px);
}

.alignfull {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {

    .site-header,
    .site-footer,
    .site-sidebar,
    .artwork-overlay,
    .hero-section .btn {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .artwork-single {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Shop & Category Page (Saatchi Art Style)
   ========================================================================== */

/* Masonry Grid */
.artwork-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    align-items: flex-start;
}

/* Sidebar Filters */
.shop-filters {
    font-family: var(--font-body);
}

.filter-section {
    border-bottom: 1px solid var(--color-border-light);
    padding: 20px 0;
}

.filter-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #333;
    margin-bottom: 15px;
    cursor: default;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-title.collapsible {
    cursor: pointer;
}

.filter-title.collapsible::after {
    content: '+';
    /* Plus sign */
    font-size: 1rem;
    font-weight: 400;
}

.filter-title.collapsible.active::after {
    content: '−';
    /* Minus sign */
}

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

.filter-list li {
    margin-bottom: 12px;
}

.filter-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
    color: #444;
    text-decoration: none;
    transition: color 0.2s;
}

.filter-list li a:hover {
    color: #000;
}

/* Custom Input Looks */
.radio-dot {
    width: 14px;
    height: 14px;
    border: 1px solid #ccc;
    border-radius: 50%;
    position: relative;
}

.radio-look li.active .radio-dot::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-box {
    width: 14px;
    height: 14px;
    border: 1px solid #ccc;
    background: #fff;
}

.show-more-btn,
.link-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 0.6875rem;
    font-weight: 700;
    text-decoration: underline;
    padding: 0;
    margin-top: 10px;
    cursor: pointer;
    text-transform: uppercase;
}

/* Toggles */
.toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 15px 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #eee;
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #333;
}

input:checked+.slider:before {
    transform: translateX(20px);
}

/* Artwork Card Refinement */
.artwork-card {
    background: #fff;
    transition: transform 0.3s ease;
}

.artwork-card:hover {
    transform: translateY(-5px);
}

.artwork-image {
    background: #f9f9f9;
    margin-bottom: 15px;
}

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

.artwork-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.artwork-price .price {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #333;
}

.artwork-actions-icons {
    display: flex;
    gap: 12px;
}

.icon-btn {
    color: #999;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.icon-btn:hover {
    color: #333;
}

.artwork-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 4px;
}

.artwork-title a {
    color: #333;
    text-decoration: none;
}

.artwork-artist {
    font-size: 0.8125rem;
    color: #666;
    margin-bottom: 8px;
}

.artwork-artist a {
    color: inherit;
    text-decoration: none;
}

.artwork-technical-meta {
    font-size: 0.75rem;
    color: #999;
}

/* Pagination Styling */
.shop-pagination-row .page-numbers {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    justify-content: center;
}

.shop-pagination-row .page-numbers li span,
.shop-pagination-row .page-numbers li a {
    padding: 8px 12px;
    font-size: 0.875rem;
    color: #333;
    text-decoration: none;
    border: 1px solid transparent;
}

.shop-pagination-row .page-numbers li span.current {
    font-weight: 700;
    border-bottom: 2px solid #333;
}

.btn-outline-dark {
    background: transparent;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 700;
}

.btn-outline-dark:hover {
    background: #f9f9f9;
    border-color: #333;
}

/* ==========================================================================
   Single Project Details Page
   ========================================================================== */
.project-hero {
    padding: var(--space-4xl) 0;
    background: #fdfdfd;
}

.project-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.project-hero .project-title {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: var(--space-2xl);
}

.project-featured-image {
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
}

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

.project-story {
    padding: var(--space-4xl) 0;
}

.entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #444;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

.header-divider {
    width: 60px;
    height: 2px;
    background: var(--color-accent);
    margin: 0 auto var(--space-2xl);
}

.project-footer {
    padding: var(--space-4xl) 0;
    border-top: 1px solid var(--color-border-light);
}

/* Project Banner Layout */
.project-hero-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: #000;
    overflow: hidden;
}

.project-hero-banner .banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.project-hero-banner .banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.project-hero-banner .banner-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.project-hero-banner .project-title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 0;
}

.project-hero-no-banner {
    padding: var(--space-4xl) 0;
    background: #fdfdfd;
    border-bottom: 1px solid var(--color-border-light);
}

/* Request Quote Styles in Project Grid */
.single-project .price {
    display: none !important;
    /* Hide original price */
}

.single-project .quote-only {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.single-project .add-to-cart-btn,
.single-project .button.add_to_cart_button {
    background: #333 !important;
    border-color: #333 !important;
    color: #fff !important;
    font-size: 0.75rem !important;
    border-radius: 0 !important;
    padding: 10px 20px !important;
}

.single-project .add-to-cart-btn:hover,
.single-project .button.add_to_cart_button:hover {
    background: #000 !important;
}

/* Tighten gaps on Single Project page */
.project-single-page .project-story {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-lg);
}

.project-single-page .project-collection {
    padding-top: 0;
    /* Remove top padding to close gap with story/banner */
}

.project-single-page .section-header {
    margin-bottom: var(--space-xl);
}

.project-hero-banner+.project-story {
    padding-top: var(--space-xl);
}

/* If story is empty or very short, reduce gap further */
.project-single-page .entry-content:empty {
    display: none;
}

/* ==========================================================================
   Social Login Styling (Saatchi Art Style)
   ========================================================================== */
.saatchi-social-login-container {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    border-radius: 4px;
}

.social-login-btn:hover {
    background: #f9f9f9;
    border-color: #bbb;
}

.social-login-btn img {
    width: 20px;
    height: 20px;
}

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #999;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.login-divider:not(:empty)::before {
    margin-right: 1rem;
}

.login-divider:not(:empty)::after {
    margin-left: 1rem;
}

/* WooCommerce Login Form Adjustments */
.woocommerce-form-login {
    border: 1px solid #eee;
    padding: 2rem;
    background: #fff;
}

/* ==========================================================================
   Enhanced Project Layout Styles
   ========================================================================== */

.project-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: var(--color-primary);
    overflow: hidden;
}

.project-hero.no-banner {
    height: 40vh;
    min-height: 300px;
}

.project-hero-bg {
    position: absolute;
    inset: 0;
}

.project-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.project-hero-content {
    position: relative;
    z-index: 10;
    color: #fff;
    max-width: 800px;
}

.project-hero-content .project-title {
    color: #fff;
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.project-breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.project-breadcrumb .sep {
    margin: 0 10px;
    opacity: 0.5;
}

.project-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
}

/* Intro Grid */
.intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 100px;
    align-items: flex-start;
}

.intro-meta {
    padding-left: 50px;
    border-left: 1px solid var(--color-border);
}

.meta-item {
    margin-bottom: 30px;
}

.meta-item .label {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.meta-item .value {
    font-size: 0.875rem;
    color: var(--color-text);
}

/* Collection Grid */
.collection-header {
    margin-bottom: 60px;
    text-align: center;
}

.project-masonry-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.project-artwork-item {
    grid-column: span 4;
}

.project-artwork-item.large {
    grid-column: span 8;
}

.project-artwork-item.tall {
    grid-column: span 4;
    grid-row: span 2;
}

.project-artwork-item .artwork-card {
    height: 100%;
}

/* Navigation */
.nav-links-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
}

.nav-links-wrap>div {
    flex: 1;
}

.nav-prev a,
.nav-next a {
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--color-primary);
    background: var(--color-black);
    color: var(--color-white);
}

.nav-prev a:hover,
.nav-next a:hover {
    background: #222;
    border-color: var(--color-accent);
}

.nav-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 5px;
}

.nav-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-all {
    text-align: center;
    flex: 0 0 100px !important;
}

.btn-all {
    display: inline-flex;
    padding: 15px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.btn-all:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Animations */
.reveal-text {
    animation: revealUp 1s cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-meta {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--color-border);
        padding-top: 40px;
    }

    .project-hero-content .project-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {

    .project-artwork-item,
    .project-artwork-item.large,
    .project-artwork-item.tall {
        grid-column: span 12;
    }
}

/* ==========================================================================
   Homepage Projects Showcase
   ========================================================================== */

.section-projects-showcase {
    background-color: #fff;
    padding: var(--space-4xl) 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.project-card-home {
    position: relative;
    overflow: hidden;
    display: block;
    aspect-ratio: 4/5;
    background: #eee;
}

.project-card-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: #fff;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.project-cat {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
    color: var(--color-gold);
}

.project-card-title {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.project-card-link {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 2px solid #fff;
    width: fit-content;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card-home:hover img {
    transform: scale(1.05);
}

.project-card-home:hover .project-card-link {
    transform: translateY(0);
    opacity: 1;
}

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

@media (max-width: 640px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}



/* ==========================================================================
   Single Product Page (Saatchi Art Premium Style)
   ========================================================================== */

.artwork-single {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 10px;
    justify-content: center;
    align-items: flex-start;
}

.artwork-single-image-container {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    max-width: 700px;
}

.artwork-gallery-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 60px;
    flex-shrink: 0;
}

.gallery-thumb {
    width: 60px;
    height: 60px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: border 0.3s;
}

.gallery-thumb.active {
    border: 1px solid #000;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artwork-main-image {
    flex: 1;
}

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

.artwork-single-details {
    width: 400px;
    flex-shrink: 0;
}

.artwork-header h1 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.artist-attribution {
    margin-bottom: 30px;
}

.artist-name-link {
    font-size: 1.125rem;
    color: #333;
    text-decoration: underline;
    font-weight: 600;
}

.artist-location {
    font-size: 0.8125rem;
    color: #999;
    margin-top: 4px;
}

.artwork-meta-sidebar {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-bottom: 30px;
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
}

/* Action Box */
.artwork-action-box-dark {
    background: #000;
    color: #fff;
    padding: 30px;
    margin-bottom: 30px;
}

.price-display {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.action-buttons-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.add-to-cart-btn {
    background: #000;
    border: 1px solid #fff;
    color: #fff;
    width: 100%;
    padding: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.add-to-cart-btn:hover {
    background: #fff;
    color: #000;
}

.btn-make-offer {
    background: transparent;
    border: none;
    color: #fff;
    text-decoration: underline;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    cursor: pointer;
}

/* Trust Box */
.artwork-trust-box {
    border: 1px solid #eee;
    padding: 25px;
    font-size: 0.875rem;
}

.viewing-now {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    margin-bottom: 20px;
}

.trust-indicators {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.indicator.trustpilot .stars {
    color: #00b67a;
}

.stats-row {
    display: flex;
    gap: 30px;
    color: #999;
    font-size: 0.75rem;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.recognition-box {
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    padding: 15px;
    margin-bottom: 20px;
}

.recog-title {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.recog-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.8125rem;
}

.btn-see-more {
    width: 100%;
    margin-top: 10px;
}

/* Tabs */
.artwork-content-tabs {
    margin-top: 80px;
    border-top: 1px solid #eee;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 25px 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #999;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: #000;
    border-bottom: 2px solid #000;
}

.tab-content-wrapper {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.artwork-description-text {
    line-height: 1.8;
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

.read-more {
    display: block;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background: linear-gradient(to bottom, transparent, #fff 80%);
    position: absolute;
    bottom: 0;
    border: none;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
}

.artwork-spec-meta table {
    width: 100%;
    border-collapse: collapse;
}

.artwork-spec-meta th {
    text-align: left;
    width: 200px;
    padding: 15px 0;
    font-weight: 700;
    font-size: 0.8125rem;
    color: #999;
}

.artwork-spec-meta td {
    padding: 15px 0;
    font-size: 0.8125rem;
}

/* FAQ / Alby */
.artwork-faq-section {
    margin-top: 60px;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
}

.faq-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.faq-tags button {
    background: #fff;
    border: 1px solid #eee;
    padding: 8px 15px;
    font-size: 0.8125rem;
    border-radius: 20px;
    cursor: pointer;
}

.faq-input {
    position: relative;
}

.faq-input input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 0.875rem;
}

.powered-by {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6875rem;
    color: #999;
}

@media (max-width: 1024px) {
    .artwork-single {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Shop Layout Refinements
   ========================================================================== */

.site-content-padding {
    padding-top: 40px;
    padding-bottom: 80px;
}

.shop-breadcrumb {
    margin-bottom: 30px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
}

.shop-breadcrumb a {
    color: inherit;
}

.shop-breadcrumb .sep {
    margin: 0 10px;
    opacity: 0.5;
}

.shop-breadcrumb .current {
    color: #000;
    font-weight: 700;
}

.shop-header {
    margin-bottom: 40px;
}

.header-main-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
}

.shop-header .page-title {
    font-size: 2.5rem;
    font-weight: 400;
    margin: 0;
}

.shop-results-count {
    font-size: 0.8125rem;
    color: #999;
}

.term-description {
    max-width: 800px;
    font-size: 1rem;
    line-height: 1.6;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.btn-toolbar {
    background: #000;
    border: 1px solid #000;
    color: #fff;
    padding: 10px 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-toolbar:hover {
    border-color: #000;
}

.shop-main-layout {
    display: flex;
    gap: 60px;
}

.shop-sidebar-active {
    width: 240px;
    flex-shrink: 0;
    display: block;
}

#shop-sidebar:not(.shop-sidebar-active) {
    display: none;
}

.shop-content-area {
    flex-grow: 1;
}

.sidebar-sticky-wrap {
    position: sticky;
    top: 120px;
}

.no-results-found {
    text-align: center;
    padding: 100px 0;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-results-found h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.no-results-found p {
    color: #999;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .shop-main-layout {
        flex-direction: column;
    }

    .shop-sidebar-active {
        width: 100%;
    }
}

/* ==========================================================================
   Sidebar Widget Styling
   ========================================================================== */

#shop-sidebar .widget {
    margin-bottom: 40px;
}

#shop-sidebar .widget-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

#shop-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#shop-sidebar ul li {
    padding: 8px 0;
    font-size: 0.875rem;
}

#shop-sidebar ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

#shop-sidebar ul li a:hover {
    color: #000;
}

#shop-sidebar .count {
    font-size: 0.75rem;
    color: #ccc;
    margin-left: 5px;
}

/* WooCommerce Filter Specifics */
.widget_price_filter .price_slider_wrapper {
    padding: 10px 0;
}

.widget_price_filter .ui-slider {
    background: #eee;
    height: 4px;
    border: none;
}

.widget_price_filter .ui-slider-range {
    background: #000;
}

.widget_price_filter .ui-slider-handle {
    background: #000;
    border: 2px solid #fff;
    border-radius: 50%;
    top: -6px;
    cursor: pointer;
}

/*
Theme Name: Saatchi Art Premium Feel
Description: Adopting the Saatchi Art typography and aesthetic.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Playfair Display', serif;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-grey-light: #f7f7f7;
    --color-grey-medium: #eeeeee;
    --color-grey-text: #666666;
    --spacing-base: 20px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    /* text-transform: uppercase;
    letter-spacing: 0.15em; */
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.serif-text {
    font-family: var(--font-serif);
    text-transform: none;
    letter-spacing: normal;
    font-style: italic;
}

/* Links */
a {
    color: var(--color-black);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.7;
}

/* Buttons - Saatchi Style */
.btn,
.button,
button,
input[type="submit"] {
    background-color: var(--color-black);
    color: var(--color-white) !important;
    border: 1px solid var(--color-black);
    padding: 15px 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover,
.button:hover {
    background-color: transparent;
    color: var(--color-black) !important;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-black) !important;
}

.btn-outline:hover {
    background-color: var(--color-black);
    color: var(--color-white) !important;
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Product Card - Saatchi Grid */
.artwork-masonry-grid .product {
    padding: 0;
    border: none;
    transition: transform 0.3s ease;
}

.artwork-masonry-grid .artwork-title {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-top: 15px;
    margin-bottom: 5px;
}

.artwork-masonry-grid .artwork-artist {
    font-size: 0.75rem;
    color: var(--color-grey-text);
    text-transform: none;
    letter-spacing: normal;
}

.artwork-masonry-grid .artwork-price {
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Single Product Page - Editorial Feel */
.artwork-header h1 {
    font-size: 2rem;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.artist-attribution {
    margin-bottom: 30px;
}

.artist-name-link {
    font-size: 1.1rem;
    text-decoration: underline;
}

.artwork-meta-sidebar p {
    font-size: 0.875rem;
    color: var(--color-grey-text);
    margin-bottom: 8px;
}

/* Tabs */
.tabs-header {
    border-bottom: 1px solid var(--color-grey-medium);
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.tab-btn {
    background: none !important;
    border: none !important;
    color: var(--color-grey-text) !important;
    padding: 20px 0 !important;
    font-size: 0.7rem !important;
    border-bottom: 2px solid transparent !important;
}

.tab-btn.active {
    color: var(--color-black) !important;
    border-bottom: 2px solid var(--color-black) !important;
}

/* Action Box */
.artwork-action-box-dark {
    background: #000;
    color: #fff;
    padding: 40px;
}

.price-display {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Gallery Fade Effect */
#main-artwork-img {
    transition: opacity 0.3s ease-in-out;
}

/* ==========================================================================
   Saatchi Footer Styles - REFINED
   ========================================================================== */
.saatchi-footer {
    background-color: rgb(51, 51, 51) !important;
    color: #ffffff;
    font-size: 14px;
    font-family: var(--font-primary);
    padding: 0;
    margin: 0;
    width: 100%;
}

.footer-top-categories {
    background-color: #000;
    padding: 20px 0;
    border-bottom: 1px solid #444;
}

.top-cats-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.top-cats-label {
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 12px;
    white-space: nowrap;
    color: #fff;
}

.top-cats-nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.top-cats-nav a {
    color: #fff;
    opacity: 0.8;
    text-transform: capitalize;
    font-weight: 400;
    font-size: 13px;
}

.top-cats-nav a:hover {
    opacity: 1;
}

.footer-main {
    padding: 60px 0;
    background-color: rgb(51, 51, 51);
}

.saatchi-footer .footer-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 60px !important;
    width: 100% !important;
}

.footer-newsletter-section {
    flex: 0 0 350px;
    max-width: 100%;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo h2 {
    color: #fff !important;
    margin: 0;
    letter-spacing: 0.2em;
    font-weight: 700;
    font-size: 24px;
}

.newsletter-title {
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 600;
    color: #fff !important;
}

.newsletter-desc {
    margin-bottom: 25px;
    opacity: 0.9;
    color: #fff !important;
    font-size: 14px;
}

.newsletter-form {
    margin-bottom: 25px;
}

.newsletter-form .input-group {
    display: flex;
    border-bottom: 1px solid #fff;
    padding-bottom: 5px;
    max-width: 100%;
    align-items: center;
}

.newsletter-form input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    flex: 1;
    padding: 10px 0;
    outline: none !important;
    font-size: 14px;
    box-shadow: none !important;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 5px;
}

.newsletter-disclaimer {
    font-size: 11px;
    line-height: 1.6;
    opacity: 0.7;
    color: #fff !important;
}

.newsletter-disclaimer a {
    color: #fff !important;
    text-decoration: underline;
}

.footer-social-icons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.footer-social-icons a {
    color: #fff !important;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.footer-social-icons a:hover {
    opacity: 1;
}

.footer-links-grid {
    display: flex !important;
    flex-direction: row !important;
    gap: 40px !important;
    flex: 1 !important;
    justify-content: space-between !important;
}

.saatchi-footer .footer-col {
    flex: 1;
    min-width: 150px;
}

.saatchi-footer .footer-col h4 {
    color: #fff !important;
    font-size: 13px;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.saatchi-footer .footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.saatchi-footer .footer-col ul li {
    margin-bottom: 15px;
}

.saatchi-footer .footer-col ul li a {
    color: #fff !important;
    opacity: 0.8;
    font-size: 13px;
    transition: opacity 0.2s;
    text-transform: none;
    letter-spacing: normal;
}

.saatchi-footer .footer-col ul li a:hover {
    opacity: 1;
}

.footer-bottom-bar {
    background-color: rgb(51, 51, 51);
    padding: 40px 0 80px;
    border-top: 1px solid #444;
}

.bottom-links {
    display: flex !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    margin-bottom: 30px;
}

.bottom-links a {
    color: #fff !important;
    opacity: 0.7;
    font-size: 12px;
    text-transform: none;
    letter-spacing: normal;
    margin-right: 20px !important;
    display: inline-block !important;
}

.bottom-links a:last-child {
    margin-right: 0 !important;
}

.bottom-selectors {
    margin-bottom: 30px;
}

.country-selector {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #555;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    color: #fff !important;
    font-size: 13px;
}

.footer-copyright-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 12px;
    opacity: 0.6;
    color: #fff !important;
    gap: 40px;
}

.footer-copyright-info p {
    margin: 0;
    line-height: 1.6;
}

.footer-copyright-info a {
    color: #fff !important;
    text-decoration: underline;
}


/* Category Page Gap Adjustment - FULL WIDTH with 50px Padding */
.site-content-padding.container,
.shop-page .container,
.tax-product_cat .container,
.post-type-archive-product .container {
    padding-left: 50px !important;
    padding-right: 50px !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Ensure any internal shop layouts also stretch */
.shop-main-layout {
    width: 100% !important;
    max-width: 100% !important;
}

/* Mobile Responsive Footer */
@media (max-width: 1024px) {
    .saatchi-footer .footer-grid {
        flex-direction: column;
        gap: 60px;
    }

    .footer-newsletter-section {
        flex: 1;
        max-width: 400px;
    }

    .footer-links-grid {
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-col {
        min-width: 200px;
    }

    .footer-copyright-info {
        flex-direction: column;
        gap: 20px;
    }
}

/* ==========================================================================
   Minimalist Footer Styles (Saatchi Art Look)
   ========================================================================== */

.saatchi-footer-minimal {
    background-color: #000;
    color: #fff;
    font-family: var(--font-primary);
    padding: 0;
}

/* 1. Newsletter Centered */
.footer-newsletter-minimal {
    padding: 100px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.newsletter-title-minimal {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    text-transform: none;
    color: #fff !important;
}

.newsletter-desc-minimal {
    font-size: 1.1rem;
    opacity: 0.6;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.newsletter-form-minimal {
    max-width: 450px;
    margin: 0 auto;
}

.input-group-minimal {
    display: flex;
    border-bottom: 2px solid #fff;
    padding-bottom: 10px;
}

.input-group-minimal input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    flex: 1;
    font-size: 1rem;
    outline: none !important;
    padding: 10px 0;
}

.input-group-minimal button {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 10px;
}

/* 2. Links Grid */
.footer-links-minimal {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-col-title {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff !important;
}

.footer-menu-minimal {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-minimal li {
    margin-bottom: 12px;
}

.footer-menu-minimal li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu-minimal li a:hover {
    color: #fff;
}

.social-link-minimal {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.social-link-minimal:hover {
    color: #fff;
}

/* 3. Bottom Bar */
.footer-bottom-minimal {
    padding: 5px 0 5px;
    text-align: center;
}

.bottom-flex-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title-minimal {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.footer-legal-minimal {
    display: flex;
    align-items: center;
    gap: 30px;
}

.legal-menu-minimal {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
}

.legal-menu-minimal li a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    text-decoration: none;
}

.copyright-minimal {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

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

    .bottom-flex-minimal {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-legal-minimal {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 640px) {
    .footer-grid-minimal {
        grid-template-columns: 1fr;
    }

    .newsletter-title-minimal {
        font-size: 1.75rem;
    }
}

/* 2-Row Footer Adjustments */
.footer-main-minimal {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-col {
    max-width: 350px;
}

.newsletter-desc-small {
    font-size: 0.875rem;
    opacity: 0.5;
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer-grid-minimal {
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
}

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

    .newsletter-col {
        max-width: 100%;
    }
}

/* ==========================================================================
   Comprehensive Theme Button Override (Saatchi Premium)
   ========================================================================== */

.woocommerce button.button,
.woocommerce-page button.button,
.woocommerce a.button,
.woocommerce-page a.button,
.woocommerce input.button,
.woocommerce-page input.button,
.woocommerce #respond input#submit,
.woocommerce a.checkout-button,
.woocommerce button.single_add_to_cart_button,
.woocommerce-page button.single_add_to_cart_button,
.woocommerce .place-order button#place_order,
.btn,
.button,
button,
input[type="submit"],
.btn-primary,
.add-to-cart-btn {
    background-color: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
    padding: 16px 32px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

/* Force Icons to be White inside Buttons */
button svg,
.btn svg,
.button svg,
[type="submit"] svg,
button i,
.btn i,
.button i,
.material-symbols-outlined {
    fill: #fff !important;
    stroke: #fff !important;
    color: #fff !important;
}

/* Hover States */
.woocommerce button.button:hover,
.woocommerce-page button.button:hover,
.woocommerce a.button:hover,
.woocommerce-page a.button:hover,
.btn:hover,
.button:hover,
button:hover,
input[type="submit"]:hover,
.add-to-cart-btn:hover {
    background-color: #222 !important;
    color: #fff !important;
    border-color: #222 !important;
    opacity: 1 !important;
}

.artwork-action-box-dark .btn,
.artwork-action-box-dark button,
.artwork-action-box-dark .btn-make-offer {
    border-color: #fff !important;
    color: #fff !important;
    background-color: #000 !important;
}

.artwork-action-box-dark .btn:hover,
.artwork-action-box-dark button:hover {
    background-color: #fff !important;
    color: #000 !important;
}