/* ==========================================================================
   VientoMosse — Main Layout & Components
   ========================================================================== */

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--vm-bg-elevated);
    border-bottom: 1px solid var(--vm-border);
    transition: box-shadow var(--vm-transition);
}

.site-header.scrolled {
    box-shadow: 0 1px 0 var(--vm-border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--vm-header-height);
    gap: var(--vm-space-lg);
}

/* Branding */
.site-branding {
    display: flex;
    align-items: center;
    gap: var(--vm-space-md);
    flex-shrink: 0;
}

.site-logo img,
.site-logo__img {
    max-height: 52px;
    height: auto;
    width: auto;
    display: block;
}

.site-branding__logo-link {
    display: block;
    line-height: 0;
}

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

.site-title--sr a {
    display: block;
}

.site-title {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0;
    line-height: 1;
}

.site-title a {
    color: var(--vm-text);
    text-decoration: none;
}

.site-title a:hover {
    color: var(--vm-text-muted);
}

.site-description {
    font-size: 0.75rem;
    color: var(--vm-text-muted);
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

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

.primary-menu {
    display: flex;
    list-style: none;
    gap: var(--vm-space-xs);
    margin: 0;
    padding: 0;
}

.primary-menu li {
    position: relative;
}

.primary-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--vm-text);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color var(--vm-transition);
}

.primary-menu li a:hover {
    color: var(--vm-text-muted);
}

.primary-menu li.current-menu-item a,
.primary-menu li.current_page_item a {
    color: var(--vm-text-muted);
}

/* Dropdown submenus */
.primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--vm-bg-elevated);
    min-width: 200px;
    padding: var(--vm-space-sm) 0;
    border: 1px solid var(--vm-border);
    list-style: none;
    z-index: 100;
}

.primary-menu li:hover > .sub-menu {
    display: block;
}

.primary-menu .sub-menu li a {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 400;
}

.primary-menu .sub-menu li a::after {
    display: none;
}

/* Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--vm-space-sm);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.hamburger__line {
    display: block;
    height: 2px;
    background: var(--vm-deep-navy);
    border-radius: 2px;
    transition: all var(--vm-transition);
}

/* Header Cart */
.header-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-cart {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--vm-deep-navy);
    padding: var(--vm-space-sm);
    transition: color var(--vm-transition);
}

.header-cart:hover {
    color: var(--vm-text-muted);
}

.header-cart__count {
    position: absolute;
    top: 0;
    right: -2px;
    background: var(--vm-text);
    color: var(--vm-bg-elevated);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-color: var(--vm-deep-navy);
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: var(--vm-bg-elevated);
    padding: var(--vm-space-2xl) var(--vm-space-lg);
    max-width: 640px;
}

.hero__logo {
    display: inline-block;
    margin-bottom: var(--vm-space-lg);
    line-height: 0;
}

.hero__logo img {
    max-height: 80px;
    width: auto;
    display: block;
}

.hero__subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--vm-space-sm);
    opacity: 0.8;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--vm-bg-elevated);
    margin-bottom: var(--vm-space-md);
    line-height: 1.1;
}

.hero__tagline {
    font-size: clamp(0.9375rem, 1.5vw, 1rem);
    opacity: 0.85;
    margin-bottom: var(--vm-space-xl);
    font-weight: 400;
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    gap: var(--vm-space-md);
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero__edge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    height: 1px;
    background: var(--vm-border);
}

.hero__edge img {
    display: none;
}

/* ==========================================================================
   Featured Works Grid
   ========================================================================== */

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: var(--vm-space-lg);
}

.featured-card {
    overflow: hidden;
    background: var(--vm-bg-elevated);
    border: 1px solid var(--vm-border);
    transition: border-color var(--vm-transition);
}

.featured-card:hover {
    border-color: var(--vm-border-strong);
}

.featured-card--1 {
    grid-row: span 2;
}

.featured-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.featured-card__image-wrap {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}

.featured-card--1 .featured-card__image-wrap {
    min-height: 100%;
}

.featured-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--vm-transition-slow);
}

.featured-card:hover .featured-card__image {
    transform: scale(1.05);
}

.featured-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: var(--vm-space-lg);
    opacity: 0;
    transition: opacity var(--vm-transition);
}

.featured-card:hover .featured-card__overlay {
    opacity: 1;
}

.featured-card__view {
    color: var(--vm-bg-elevated);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.featured-card__title {
    padding: var(--vm-space-md) var(--vm-space-lg);
    font-size: 1.1rem;
    margin: 0;
}

.featured-card--1 .featured-card__title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--vm-bg-elevated);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    padding: var(--vm-space-xl) var(--vm-space-lg) var(--vm-space-lg);
    z-index: 1;
    font-size: 1.25rem;
    font-weight: 600;
}

/* ==========================================================================
   About Teaser
   ========================================================================== */

.about-teaser__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--vm-space-2xl);
    align-items: center;
}

.about-teaser__image {
    border: 1px solid var(--vm-border);
}

.about-teaser__image-placeholder {
    aspect-ratio: 3/4;
    background: var(--vm-bg);
    border: 1px solid var(--vm-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--vm-text-muted);
}

.about-teaser__kicker {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--vm-text-muted);
    margin-bottom: var(--vm-space-sm);
}

.about-teaser__title {
    margin-bottom: var(--vm-space-md);
}

.about-teaser__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--vm-text-muted);
    margin-bottom: var(--vm-space-lg);
}

/* ==========================================================================
   Shop Preview
   ========================================================================== */

.shop-preview__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--vm-space-lg);
}

.shop-card {
    background: var(--vm-bg-elevated);
    border: 1px solid var(--vm-border);
    overflow: hidden;
    transition: border-color var(--vm-transition);
}

.shop-card:hover {
    border-color: var(--vm-border-strong);
}

.shop-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.shop-card__image-wrap {
    overflow: hidden;
    aspect-ratio: 4/5;
}

.shop-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--vm-transition-slow);
}

.shop-card:hover .shop-card__image {
    transform: scale(1.05);
}

.shop-card__info {
    padding: var(--vm-space-md) var(--vm-space-lg);
}

.shop-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--vm-space-xs);
}

.shop-card__price {
    color: var(--vm-text);
    font-weight: 500;
    font-size: 0.9375rem;
}

.shop-preview__cta {
    text-align: center;
    margin-top: var(--vm-space-xl);
}

/* ==========================================================================
   World Map Section
   ========================================================================== */

.world-map-section__subtitle {
    text-align: center;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--vm-space-xl);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.world-map-section__iframe {
    width: 100%;
    height: 500px;
    border: none;
    background: rgba(0, 0, 0, 0.2);
}

.world-map-section__placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Post Cards Grid
   ========================================================================== */

.vm-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--vm-space-xl);
    margin-bottom: var(--vm-space-xl);
}

.vm-post-card {
    background: var(--vm-bg-elevated);
    border: 1px solid var(--vm-border);
    overflow: hidden;
    transition: border-color var(--vm-transition);
}

.vm-post-card:hover {
    border-color: var(--vm-border-strong);
}

.vm-post-card__image-wrap {
    overflow: hidden;
    aspect-ratio: 1;
}

.vm-post-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--vm-transition-slow);
}

.vm-post-card:hover .vm-post-card__image {
    transform: scale(1.04);
}

.vm-post-card__content {
    padding: var(--vm-space-lg);
}

.vm-post-card__meta {
    font-size: 0.75rem;
    color: var(--vm-text-muted);
    letter-spacing: 0.02em;
    margin-bottom: var(--vm-space-sm);
}

.vm-post-card__title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: var(--vm-space-sm);
}

.vm-post-card__title a {
    color: var(--vm-text);
    text-decoration: none;
}

.vm-post-card__title a:hover {
    color: var(--vm-text-muted);
}

.vm-post-card__excerpt {
    color: var(--vm-text-muted);
    font-size: 0.875rem;
    margin-bottom: var(--vm-space-md);
}

.vm-post-card__read-more {
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--vm-text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--vm-space-xs);
    transition: color var(--vm-transition);
}

.vm-post-card__read-more:hover {
    color: var(--vm-text-muted);
}

/* ==========================================================================
   Single Post
   ========================================================================== */

.vm-single__hero {
    max-height: 60vh;
    overflow: hidden;
}

.vm-single__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vm-single__header {
    margin-bottom: var(--vm-space-xl);
    padding-bottom: var(--vm-space-lg);
    border-bottom: 1px solid var(--vm-border);
}

.vm-single__meta {
    display: flex;
    gap: var(--vm-space-md);
    color: var(--vm-text-muted);
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    margin-bottom: var(--vm-space-md);
}

.vm-single__title {
    margin-bottom: var(--vm-space-md);
}

.vm-single__content {
    font-size: 1.1rem;
    line-height: 1.85;
}

.vm-single__content p {
    margin-bottom: var(--vm-space-lg);
}

.vm-single__content img {
    margin: var(--vm-space-lg) 0;
}

.vm-single__footer {
    margin-top: var(--vm-space-xl);
    padding-top: var(--vm-space-lg);
    border-top: 1px solid var(--vm-border);
}

.tags-links a {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: var(--vm-bg);
    border: 1px solid var(--vm-border);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    margin: 0.25rem;
    color: var(--vm-text);
    text-decoration: none;
    transition: border-color var(--vm-transition), color var(--vm-transition);
}

.tags-links a:hover {
    border-color: var(--vm-text);
    color: var(--vm-text);
}

/* Post navigation */
.post-navigation {
    margin-top: var(--vm-space-2xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--vm-space-lg);
    padding: var(--vm-space-lg) 0;
    border-top: 1px solid var(--vm-border);
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.85rem;
    color: var(--vm-text-light);
    margin-bottom: var(--vm-space-xs);
}

.post-navigation .nav-title {
    font-weight: 500;
    color: var(--vm-text);
}

.post-navigation a {
    text-decoration: none;
}

.post-navigation a:hover .nav-title {
    color: var(--vm-text-muted);
}

.post-navigation .nav-next {
    text-align: right;
}

/* ==========================================================================
   Page Templates
   ========================================================================== */

/* Page Hero */
.vm-page__hero,
.about-hero {
    position: relative;
    max-height: 50vh;
    min-height: 300px;
    overflow: hidden;
}

.vm-page__hero-image,
.about-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vm-page__hero-overlay,
.about-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    display: flex;
    align-items: flex-end;
    padding-bottom: var(--vm-space-2xl);
}

.vm-page__title {
    color: var(--vm-bg-elevated);
    margin: 0;
}

.about-hero__title {
    color: var(--vm-bg-elevated);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: var(--vm-space-sm);
}

.about-hero__subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

/* About Bio */
.about-bio__content {
    font-size: 1.1rem;
    line-height: 1.9;
}

/* About Quote */
.about-quote .about-quote__text {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--vm-text-muted);
    border: none;
    text-align: center;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    background: none;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--vm-space-lg) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--vm-border-strong);
    transform: translateX(-50%);
}

.timeline__item {
    position: relative;
    width: 50%;
    padding: var(--vm-space-md) var(--vm-space-xl);
}

.timeline__item--left {
    padding-right: var(--vm-space-2xl);
    text-align: right;
}

.timeline__item--right {
    margin-left: 50%;
    padding-left: var(--vm-space-2xl);
}

.timeline__marker {
    position: absolute;
    top: var(--vm-space-lg);
    width: 10px;
    height: 10px;
    background: var(--vm-text);
    border: 2px solid var(--vm-bg);
}

.timeline__item--left .timeline__marker {
    right: -7px;
}

.timeline__item--right .timeline__marker {
    left: -7px;
}

.timeline__country {
    font-size: 1.25rem;
    margin-bottom: var(--vm-space-xs);
}

.timeline__year {
    font-size: 0.8125rem;
    color: var(--vm-text-muted);
    letter-spacing: 0.02em;
}

/* ==========================================================================
   Gallery Page
   ========================================================================== */

.gallery-filters__bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--vm-space-sm);
    justify-content: center;
    padding: var(--vm-space-md) 0;
}

.gallery-filter {
    background: transparent;
    border: 1px solid var(--vm-border);
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--vm-text);
    cursor: pointer;
    transition: border-color var(--vm-transition), color var(--vm-transition);
}

.gallery-filter:hover,
.gallery-filter.active {
    border-color: var(--vm-text);
    color: var(--vm-text);
}

.gallery-masonry {
    columns: 3;
    column-gap: var(--vm-space-md);
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: var(--vm-space-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--vm-border);
}

.gallery-item__link {
    display: block;
    text-decoration: none;
}

.gallery-item__image {
    width: 100%;
    display: block;
    transition: transform var(--vm-transition-slow);
}

.gallery-item:hover .gallery-item__image {
    transform: scale(1.03);
}

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: var(--vm-space-lg);
    opacity: 0;
    transition: opacity var(--vm-transition);
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__title {
    color: var(--vm-bg-elevated);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--vm-space-xs);
}

.gallery-item__category {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox[hidden] {
    display: none;
}

.lightbox__close {
    position: absolute;
    top: var(--vm-space-lg);
    right: var(--vm-space-lg);
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: var(--vm-space-sm);
    opacity: 0.7;
    transition: opacity var(--vm-transition);
    z-index: 10;
}

.lightbox__close:hover {
    opacity: 1;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: var(--vm-space-md);
    opacity: 0.7;
    transition: opacity var(--vm-transition);
    z-index: 10;
}

.lightbox__nav:hover {
    opacity: 1;
}

.lightbox__nav--prev {
    left: var(--vm-space-lg);
}

.lightbox__nav--next {
    right: var(--vm-space-lg);
}

.lightbox__content {
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

.lightbox__image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox__title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-top: var(--vm-space-md);
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--vm-space-2xl);
    align-items: start;
}

.contact-form-col h2 {
    margin-bottom: var(--vm-space-lg);
}

/* Style Contact Form 7 / WPForms */
.contact-form .wpcf7-form input[type="text"],
.contact-form .wpcf7-form input[type="email"],
.contact-form .wpcf7-form textarea,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--vm-border);
    font-family: var(--vm-font-body);
    font-size: 0.9375rem;
    background: var(--vm-bg-elevated);
    transition: border-color var(--vm-transition);
    margin-bottom: var(--vm-space-md);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--vm-border-strong);
    outline: none;
}

.contact-form .wpcf7-submit,
.contact-form input[type="submit"] {
    background: var(--vm-text);
    color: var(--vm-bg-elevated);
    border: 1px solid var(--vm-text);
    padding: 0.75rem 1.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--vm-transition);
}

.contact-form .wpcf7-submit:hover,
.contact-form input[type="submit"]:hover {
    background: var(--vm-accent-hover);
}

.contact-info-card {
    background: var(--vm-bg);
    padding: var(--vm-space-xl);
    border: 1px solid var(--vm-border);
}

.contact-info-card h3 {
    margin-bottom: var(--vm-space-lg);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--vm-space-md);
    margin-bottom: var(--vm-space-md);
}

.contact-info-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--vm-text-muted);
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--vm-space-md);
}

.social-links--vertical {
    flex-direction: column;
    gap: var(--vm-space-sm);
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: var(--vm-space-sm);
    color: var(--vm-text);
    text-decoration: none;
    transition: color var(--vm-transition);
    padding: var(--vm-space-xs);
    font-size: 0.875rem;
}

.social-link:hover {
    color: var(--vm-text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: var(--vm-text);
    color: rgba(255, 255, 255, 0.7);
    padding-top: var(--vm-space-2xl);
}

.footer-divider {
    display: none;
}

.brushstroke-divider {
    display: none;
}

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

.footer-logo-link {
    display: inline-block;
    margin-bottom: var(--vm-space-md);
    line-height: 0;
}

.footer-logo {
    max-height: 48px;
    width: auto;
    display: block;
}

.footer-widget-area .widget-title {
    color: var(--vm-bg-elevated);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--vm-space-md);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-bottom: var(--vm-space-sm);
}

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

.footer-menu li {
    margin-bottom: var(--vm-space-sm);
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--vm-transition);
    font-size: 0.875rem;
}

.footer-menu li a:hover {
    color: var(--vm-bg-elevated);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--vm-space-lg) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--vm-space-md);
}

.copyright {
    font-size: 0.8125rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-credit {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Footer social links */
.site-footer .social-link {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer .social-link:hover {
    color: var(--vm-bg-elevated);
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-404 {
    padding: var(--vm-space-3xl) 0;
}

.error-404__logo {
    display: inline-block;
    margin-bottom: var(--vm-space-xl);
    line-height: 0;
}

.error-404__logo img {
    max-height: 64px;
    width: auto;
    display: block;
}

.error-404__title {
    font-size: 6rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: var(--vm-text);
    line-height: 1;
    margin-bottom: var(--vm-space-sm);
}

.error-404__subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vm-text-muted);
    margin-bottom: var(--vm-space-md);
}

.error-404__message {
    font-size: 0.9375rem;
    color: var(--vm-text-muted);
    max-width: 440px;
    margin: 0 auto var(--vm-space-xl);
    line-height: 1.6;
}

.error-404__actions {
    display: flex;
    gap: var(--vm-space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--vm-space-xl);
}

.error-404__search {
    max-width: 400px;
    margin: 0 auto;
}

.error-404__search p {
    color: var(--vm-text-light);
    margin-bottom: var(--vm-space-md);
}

/* ==========================================================================
   Search Form
   ========================================================================== */

.search-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.search-form .search-field {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--vm-border);
    border-right: none;
    font-family: var(--vm-font-body);
    font-size: 0.9375rem;
    background: var(--vm-bg-elevated);
}

.search-form .search-field:focus {
    border-color: var(--vm-border-strong);
    outline: none;
}

.search-form .search-submit {
    padding: 0.75rem 1.5rem;
    background: var(--vm-text);
    color: var(--vm-bg-elevated);
    border: 1px solid var(--vm-text);
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--vm-transition);
}

.search-form .search-submit:hover {
    background: var(--vm-accent-hover);
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    gap: var(--vm-space-sm);
    margin-top: var(--vm-space-xl);
}

.pagination .page-numbers,
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0.5rem 1rem;
    border: 2px solid var(--vm-border);
    border-radius: var(--vm-radius-sm);
    font-weight: 600;
    color: var(--vm-deep-navy);
    text-decoration: none;
    transition: all var(--vm-transition);
}

.pagination .page-numbers:hover,
.nav-links .page-numbers:hover {
    border-color: var(--vm-text);
    color: var(--vm-text);
}

.pagination .page-numbers.current,
.nav-links .page-numbers.current {
    background: var(--vm-text);
    border-color: var(--vm-text);
    color: var(--vm-bg-elevated);
}

/* ==========================================================================
   Sidebar Widgets
   ========================================================================== */

.widget-area .widget {
    margin-bottom: var(--vm-space-xl);
    padding: var(--vm-space-lg);
    background: var(--vm-bg-elevated);
    border: 1px solid var(--vm-border);
}

.widget-area .widget-title {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding-bottom: var(--vm-space-sm);
    border-bottom: 1px solid var(--vm-border);
    margin-bottom: var(--vm-space-md);
}

.widget-area .widget ul {
    list-style: none;
    padding: 0;
}

.widget-area .widget ul li {
    padding: var(--vm-space-sm) 0;
    border-bottom: 1px solid var(--vm-border);
}

.widget-area .widget ul li:last-child {
    border-bottom: none;
}

.widget-area .widget ul li a {
    text-decoration: none;
    color: var(--vm-text);
    transition: color var(--vm-transition);
    font-size: 0.875rem;
}

.widget-area .widget ul li a:hover {
    color: var(--vm-text-muted);
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */

[data-vm-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-vm-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    [data-vm-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   Shop Controls
   ========================================================================== */

.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--vm-space-xl);
    padding-bottom: var(--vm-space-md);
    border-bottom: 1px solid var(--vm-border);
}

.woocommerce-result-count {
    color: var(--vm-text-muted);
    margin: 0;
    font-size: 0.875rem;
}

.woocommerce-ordering select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--vm-border);
    font-family: var(--vm-font-body);
    font-size: 0.875rem;
    background: var(--vm-bg-elevated);
    cursor: pointer;
}
