/*
Theme Name: OuluPodi
Theme URI: https://macon.fi
Author: Macon Oy
Author URI: https://macon.fi
Description: OuluPodi podcast-sivusto — Macon Oy:n podcast-konsepti. Brand set -päivitetty teema.
Template: twentytwentyfive
Version: 2.0.0
License: Proprietary
Text Domain: oulupodi
Requires at least: 6.4
Requires PHP: 8.0
*/

/* ================================================================== */
/*  BASE                                                               */
/* ================================================================== */

html {
    font-family: var(--wp--preset--font-family--space-grotesk);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--wp--custom--gradient--body-blue),
        var(--wp--custom--gradient--body-red),
        var(--wp--preset--color--deep-navy);
    color: var(--wp--preset--color--ice-white);
    font-family: var(--wp--preset--font-family--space-grotesk);
}

:root {
    --op-font-size-2xs: 0.7rem;
    --op-font-size-xs: 0.75rem;
    --op-font-size-sm: 0.8rem;
    --op-font-size-md: 0.9rem;
    --op-font-size-lg: 0.95rem;
}

/* ================================================================== */
/*  SCROLL REVEAL ANIMATIONS                                         */
/* ================================================================== */

.op-reveal,
.is-style-op-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.op-reveal.is-visible,
.is-style-op-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.op-reveal-delay-1 {
    transition-delay: 0.1s;
}

.op-reveal-delay-2 {
    transition-delay: 0.2s;
}

.op-reveal-delay-3 {
    transition-delay: 0.3s;
}

.op-reveal-delay-4 {
    transition-delay: 0.4s;
}

/* Glass Panel – glassmorphism card for core/group */
.wp-block-group.is-style-op-glass-panel {
    padding: var(--wp--preset--spacing--40);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--wp--preset--color--border-light);
    background: linear-gradient(180deg, rgba(245, 249, 255, .06), rgba(245, 249, 255, .03));
    box-shadow: var(--wp--preset--shadow--soft);
    transition: border-color var(--wp--custom--transition);
}

.wp-block-group.is-style-op-glass-panel:hover {
    border-color: var(--wp--preset--color--stroke-hover);
}

/* ================================================================== */
/*  HEADER                                                            */
/* ================================================================== */

.op-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--wp--custom--color--overlay-light);
}

.op-header::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(10px);
    background: var(--wp--preset--color--navy-muted);
    z-index: -1;
}

.op-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
}

.op-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--wp--preset--color--white);
    font-weight: 700;
    letter-spacing: .2px;
}

.op-brand img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(var(--wp--custom--shadow--drop-logo));
}

.op-brand span {
    font-size: 18px;
    font-weight: 700;
}

/* Legacy logo support */
.op-logo {
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--wp--preset--color--white);
    text-decoration: none;
    letter-spacing: .2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.op-logo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--wp--preset--color--signal-orange);
    border-radius: 50%;
    animation: op-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes op-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

/* ================================================================== */
/*  CARDS (generic glassmorphism)                                     */
/* ================================================================== */

.op-card {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--wp--preset--color--border-light);
    background: var(--wp--preset--color--card-bg-solid);
}

.op-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    color: var(--wp--preset--color--ice-white);
}

.op-card p {
    margin: 0;
    color: var(--wp--custom--color--text-secondary);
    line-height: 1.5;
    font-size: 14px;
}

/* ================================================================== */
/*  SECTION TITLES                                                    */
/* ================================================================== */

.op-section-label {
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-size: var(--op-font-size-xs);
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--wp--preset--color--refined-red);
    margin-bottom: 0.75rem;
}

section h2 {
    margin: 0;
    font-size: clamp(22px, 2.2vw, 30px);
    letter-spacing: -.3px;
}

/* ================================================================== */
/*  HERO LANDING PATTERN                                              */
/* ================================================================== */

.op-hero-landing {
    padding-top: clamp(3rem, 6vw, 4rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.op-hero-landing-columns {
    gap: clamp(1rem, 2vw, 1.5rem);
}

.op-hero-landing-col-main {
    flex-basis: 55%;
}

.op-hero-landing-col-side {
    flex-basis: 45%;
}

.op-hero-landing-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
}

.op-hero-landing-lead {
    font-size: 1.1rem;
    line-height: 1.6;
}

.op-hero-landing-cover {
    border-radius: 16px;
    min-height: 360px;
    padding: var(--wp--preset--spacing--40);
}

.op-hero-landing-cover-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.op-hero-section {
    padding-top: clamp(3rem, 8vw, 6rem);
    padding-bottom: clamp(3rem, 8vw, 6rem);
}

.op-hero-section-title {
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
}

.op-hero-section-lead {
    font-size: 1.1rem;
}

.op-archive-hero {
    padding-top: clamp(3rem, 8vw, 6rem);
    padding-bottom: clamp(3rem, 8vw, 6rem);
}

.op-archive-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
}

.op-archive-hero-lead {
    font-size: 1.1rem;
}

.op-archive-content {
    padding-top: var(--wp--preset--spacing--70);
    padding-bottom: var(--wp--preset--spacing--70);
}

.op-index-main {
    padding-top: var(--wp--preset--spacing--70);
    padding-bottom: var(--wp--preset--spacing--70);
}

.op-index-post-card {
    border-bottom: 1px solid var(--wp--preset--color--border-light);
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.op-single-jakso-hero {
    padding-top: clamp(3rem, 8vw, 5rem);
    padding-bottom: clamp(3rem, 8vw, 5rem);
}

.op-single-jakso-content {
    padding-top: var(--wp--preset--spacing--60);
    padding-bottom: var(--wp--preset--spacing--70);
}

.op-single-jakso-nav {
    border-top: 1px solid var(--wp--preset--color--border-light);
    margin-top: 3rem;
    padding-top: 2rem;
}

.op-single-jakso-cta-wrap {
    padding-bottom: var(--wp--preset--spacing--70);
}

/* ================================================================== */
/*  EPISODE CARDS (glassmorphism style)                               */
/* ================================================================== */

.op-episode-card,
.op-ep {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--wp--preset--color--border-light);
    background: var(--wp--preset--gradient--glass-panel);
    transition: transform var(--wp--custom--transition), border-color var(--wp--custom--transition);
}

.op-episode-card:hover,
.op-ep:hover {
    transform: translateY(-2px);
    border-color: var(--wp--preset--color--stroke-hover);
}

.op-episode-card-img {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
    display: block;
    border-radius: var(--wp--custom--radius--default);
    margin-bottom: 16px;
}

.op-episode-card-body {
    padding: 0;
}

.op-episode-number {
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-size: var(--op-font-size-2xs);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--wp--preset--color--refined-red);
    margin-bottom: 0.5rem;
}

.op-episode-card-title {
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: var(--wp--preset--color--ice-white);
}

.op-episode-meta {
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-size: var(--op-font-size-sm);
    color: var(--wp--preset--color--text-subtle);
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.op-episode-actions {
    display: flex;
    gap: 0.75rem;
}

.op-episode-excerpt {
    font-size: var(--op-font-size-md);
}

.op-episode-empty {
    font-size: 1rem;
}

.op-episode-listen.wp-block-read-more {
    width: fit-content;
    text-decoration: none;
}

/* Image-first card style: guest photo with text overlay */
.op-episode-card--overlay {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(420px, 58vw, 560px);
    padding: 0;
    overflow: hidden;
    background: rgba(10, 31, 54, .25);
}

.op-episode-card--overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--wp--custom--gradient--overlay-dark);
}

.op-episode-card--overlay .op-episode-card-img {
    position: absolute;
    inset: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.op-episode-card--overlay .op-episode-card-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 24%;
    transform: scale(1.02);
}

.op-episode-card--overlay .op-episode-card-body {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: clamp(1.1rem, 2vw, 1.5rem);
}

.op-episode-card--overlay .op-episode-card-title,
.op-episode-card--overlay .op-episode-card-title a {
    color: var(--wp--preset--color--ice-white) !important;
}

.op-episode-card--overlay .op-episode-meta {
    color: var(--wp--preset--color--text-muted);
}

.op-episode-card--overlay .wp-block-post-excerpt__excerpt {
    color: var(--wp--preset--color--text-light);
}

.op-episode-card--overlay .op-episode-actions {
    margin-top: 1rem;
}

/* Tag pills */
.op-tagRow {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.op-tag {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: var(--wp--custom--radius--pill);
    border: 1px solid var(--wp--preset--color--stroke);
    background: var(--wp--preset--color--card-bg);
    color: var(--wp--preset--color--text-light);
}

.op-tag.red {
    border-color: var(--wp--custom--color--red-stroke);
    background: var(--wp--custom--color--red-tint);
}

.op-tag.blue {
    border-color: var(--wp--custom--color--blue-stroke);
    background: var(--wp--custom--color--blue-faint);
}

.ep .meta {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    color: var(--wp--preset--color--text-subtle);
    font-size: 12px;
}

/* ================================================================== */
/*  BUTTONS                                                           */
/* ================================================================== */

.op-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-size: var(--op-font-size-xs);
    font-weight: 700;
    text-decoration: none;
    padding: 9px 14px;
    border-radius: var(--wp--custom--radius--default);
    border: 1px solid var(--wp--custom--color--overlay-medium);
    background: var(--wp--preset--color--card-bg);
    color: var(--wp--preset--color--ice-white);
    cursor: pointer;
    box-shadow: var(--wp--preset--shadow--soft);
    transition: transform var(--wp--custom--transition), background var(--wp--custom--transition), border-color var(--wp--custom--transition);
}

.op-btn:hover {
    transform: translateY(-1px);
    background: var(--wp--custom--color--overlay-light);
    color: var(--wp--preset--color--white);
}

.op-btn-primary,
.op-btn.primary {
    border-color: var(--wp--custom--color--red-border);
    background: var(--wp--preset--gradient--red-cta);
    color: var(--wp--preset--color--white);
}

.op-btn-primary:hover,
.op-btn.primary:hover {
    background: var(--wp--custom--gradient--red-hover);
    transform: translateY(-1px);
    box-shadow: var(--wp--custom--shadow--red-glow);
}

/* ================================================================== */
/*  BLOCK STYLE VARIATIONS  (is-style-op-*)                           */
/* ================================================================== */

.wp-block-button.is-style-op-glass .wp-block-button__link,
.wp-block-button.is-style-op-primary .wp-block-button__link,
.wp-block-button.is-style-op-blue .wp-block-button__link,
.wp-block-button.is-style-op-outline .wp-block-button__link,
.wp-block-button.is-style-op-white .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-size: var(--op-font-size-xs);
    font-weight: 700;
    text-decoration: none;
    padding: 9px 14px;
    border-radius: var(--wp--custom--radius--default);
    box-shadow: var(--wp--preset--shadow--soft);
    transition: transform var(--wp--custom--transition), background var(--wp--custom--transition), border-color var(--wp--custom--transition);
}

/* Glass (default CTA) */
.wp-block-button.is-style-op-glass .wp-block-button__link {
    border: 1px solid var(--wp--custom--color--overlay-medium);
    background: var(--wp--preset--color--card-bg);
    color: var(--wp--preset--color--ice-white);
}

.wp-block-button.is-style-op-glass .wp-block-button__link:hover {
    transform: translateY(-1px);
    background: var(--wp--custom--color--overlay-light);
    color: var(--wp--preset--color--white);
}

/* Primary (red) */
.wp-block-button.is-style-op-primary .wp-block-button__link {
    border: 1px solid var(--wp--custom--color--red-border);
    background: var(--wp--preset--gradient--red-cta);
    color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-op-primary .wp-block-button__link:hover {
    background: var(--wp--custom--gradient--red-hover);
    transform: translateY(-1px);
    box-shadow: var(--wp--custom--shadow--red-glow);
}

/* Blue */
.wp-block-button.is-style-op-blue .wp-block-button__link {
    border: 1px solid var(--wp--custom--color--blue-border);
    background: var(--wp--preset--gradient--blue-cta);
    color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-op-blue .wp-block-button__link:hover {
    background: var(--wp--custom--gradient--blue-hover);
    transform: translateY(-1px);
}

/* Outline */
.wp-block-button.is-style-op-outline .wp-block-button__link {
    background: transparent;
    color: var(--wp--preset--color--ice-white);
    border: 1px solid var(--wp--preset--color--stroke);
}

.wp-block-button.is-style-op-outline .wp-block-button__link:hover {
    background: var(--wp--preset--color--card-bg);
    transform: translateY(-1px);
}

/* Ghost (arrow link) */
.wp-block-button.is-style-op-ghost .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-size: var(--op-font-size-xs);
    font-weight: 700;
    text-decoration: none;
    padding: 9px 0;
    border-radius: 0;
    background: transparent;
    color: var(--wp--preset--color--electric-blue);
    border: none;
    box-shadow: none;
    transition: color var(--wp--custom--transition);
}

.wp-block-button.is-style-op-ghost .wp-block-button__link:hover {
    color: var(--wp--preset--color--refined-red);
    background: transparent;
}

.wp-block-button.is-style-op-ghost .wp-block-button__link::after {
    content: '\2192';
    transition: transform var(--wp--custom--transition);
}

.wp-block-button.is-style-op-ghost .wp-block-button__link:hover::after {
    transform: translateX(4px);
}

/* White */
.wp-block-button.is-style-op-white .wp-block-button__link {
    background: var(--wp--preset--color--white);
    color: var(--wp--preset--color--deep-navy);
    border: 1px solid var(--wp--preset--color--white);
}

.wp-block-button.is-style-op-white .wp-block-button__link:hover {
    background: var(--wp--preset--color--ice-white);
    border-color: var(--wp--preset--color--ice-white);
    transform: translateY(-1px);
    box-shadow: var(--wp--preset--shadow--sm);
    color: var(--wp--preset--color--deep-navy);
}

/* ================================================================== */
/*  PARAGRAPH BLOCK STYLES  (is-style-op-*)                           */
/* ================================================================== */

/* Emphasis text */
.is-style-op-emphasis {
    margin: 0 0 1rem;
    max-width: 56ch;
    color: var(--wp--custom--color--text-emphasis);
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.5;
    font-style: italic;
}

/* Section label */
.is-style-op-section-label {
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-size: var(--op-font-size-xs);
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--wp--preset--color--refined-red);
    margin-bottom: 0.75rem;
}

/* ================================================================== */
/*  SITE LOGO BLOCK STYLING                                           */
/* ================================================================== */

.op-header .wp-block-site-logo {
    line-height: 0;
}

.op-header .wp-block-site-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.op-header .wp-block-site-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(var(--wp--custom--shadow--drop-logo));
}

.op-footer .wp-block-site-logo {
    line-height: 0;
    margin-bottom: 0.75rem;
}

.op-footer .wp-block-site-logo a {
    display: inline-flex;
}

.op-footer .wp-block-site-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(var(--wp--custom--shadow--drop-logo));
}

/* ================================================================== */
/*  FEATURE BAND (two-column split)                                   */
/* ================================================================== */

.op-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: stretch;
}

.op-band .op-panel {
    padding: 22px;
}

.op-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.op-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--wp--preset--color--text-light);
}

.op-bullet {
    width: 10px;
    height: 10px;
    border-radius: var(--wp--custom--radius--pill);
    background: var(--wp--preset--color--electric-blue);
    margin-top: 6px;
    box-shadow: var(--wp--custom--shadow--blue-ring);
    flex-shrink: 0;
}

.op-bullet.red {
    background: var(--wp--preset--color--refined-red);
    box-shadow: var(--wp--custom--shadow--red-ring);
}

.op-bullet.orange {
    background: var(--wp--preset--color--signal-orange);
    box-shadow: var(--wp--custom--shadow--orange-ring);
}

/* ================================================================== */
/*  SPONSOR STRIP                                                     */
/* ================================================================== */

.op-sponsors {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 14px;
    align-items: stretch;
}

.op-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.op-logoBox {
    height: 52px;
    border-radius: var(--wp--custom--radius--default);
    border: 1px dashed var(--wp--custom--color--overlay-medium);
    background: var(--wp--custom--color--overlay-faint);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--text-subtle);
    font-weight: 700;
    font-size: 12px;
}

/* ================================================================== */
/*  SERVICE / PRICING CARDS                                           */
/* ================================================================== */

.op-service-card {
    background: var(--wp--preset--gradient--glass-panel);
    border-radius: var(--wp--custom--radius--lg);
    padding: 2rem;
    box-shadow: var(--wp--preset--shadow--sm);
    border: 1px solid var(--wp--preset--color--border-light);
    transition: all var(--wp--custom--transition);
    display: flex;
    flex-direction: column;
}

.op-service-card:hover {
    box-shadow: var(--wp--preset--shadow--default);
    border-color: var(--wp--preset--color--stroke-hover);
}

.op-service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--wp--preset--color--electric-blue), var(--wp--preset--color--deep-navy));
    border-radius: var(--wp--custom--radius--default);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--white);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.op-service-title {
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--wp--preset--color--ice-white);
}

.op-service-desc {
    font-size: var(--op-font-size-lg);
    line-height: 1.6;
    color: var(--wp--preset--color--text-muted);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.op-service-price {
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wp--preset--color--ice-white);
    margin-bottom: 1.25rem;
}

.op-service-price span {
    font-size: var(--wp--preset--font-size--small);
    font-weight: 400;
    color: var(--wp--preset--color--text-muted);
}

.op-service-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Featured service */
.op-service-card--featured {
    background: var(--wp--preset--gradient--blue-accent);
    border-color: var(--wp--custom--color--blue-stroke);
}

.op-service-card--featured .op-service-title,
.op-service-card--featured .op-service-price {
    color: var(--wp--preset--color--white);
}

.op-service-card--featured .op-service-desc {
    color: var(--wp--preset--color--text-muted);
}

.op-service-card--featured .op-service-icon {
    background: rgba(211, 47, 47, .9);
}

/* ================================================================== */
/*  SINGLE EPISODE – TRANSCRIPTION                                    */
/* ================================================================== */

.op-episode-single-meta {
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--wp--preset--color--border-light);
}

.op-episode-single-meta strong {
    color: var(--wp--preset--color--ice-white);
    font-weight: 600;
}

.op-audio-player-wrap {
    background: var(--wp--custom--color--navy-panel);
    border: 1px solid var(--wp--preset--color--border-light);
    border-radius: var(--wp--custom--radius--lg);
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.op-audio-player-wrap audio {
    width: 100%;
}

.op-audio-player-label {
    color: #8baac5;
}

.op-spotify-embed {
    border-radius: var(--wp--custom--radius--default);
    margin-top: 0.75rem;
}

.op-audio-fallback {
    margin-top: 1rem;
}

.op-audio-fallback-summary {
    cursor: pointer;
    color: #8baac5;
    font-size: var(--wp--preset--font-size--small);
}

.op-audio-native {
    margin-top: 0.5rem;
}

.op-audio-native--standalone {
    margin-top: 0.75rem;
}

.op-embed-wrap {
    margin-top: 1.5rem;
}

.op-embed-frame-wrap {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: var(--wp--custom--radius--default);
}

.op-embed-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.op-episode-hero-image {
    margin: 0 0 2rem;
    border-radius: var(--wp--custom--radius--lg);
    overflow: hidden;
    border: 1px solid var(--wp--preset--color--border-light);
    box-shadow: var(--wp--preset--shadow--soft);
    background: rgba(245, 249, 255, .03);
}

.op-episode-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 18%;
    aspect-ratio: 4 / 3;
}

/* ================================================================== */
/*  HOST PROFILE CARDS                                                */
/* ================================================================== */

.op-host-card {
    background: var(--wp--preset--gradient--glass-panel);
    border-radius: var(--wp--custom--radius--lg);
    overflow: hidden;
    box-shadow: var(--wp--preset--shadow--sm);
    border: 1px solid var(--wp--preset--color--border-light);
    text-align: center;
    transition: all var(--wp--custom--transition);
}

.op-host-card:hover {
    box-shadow: var(--wp--preset--shadow--default);
    transform: translateY(-4px);
}

.op-host-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.op-host-info {
    padding: 1.5rem;
}

.op-host-name {
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
    color: var(--wp--preset--color--ice-white);
}

.op-host-role {
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-size: var(--op-font-size-sm);
    font-weight: 500;
    color: var(--wp--preset--color--refined-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.op-host-bio {
    font-size: var(--op-font-size-md);
    line-height: 1.6;
    color: var(--wp--preset--color--text-muted);
}

/* ================================================================== */
/*  STUDIO GALLERY                                                    */
/* ================================================================== */

.op-studio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.op-studio-gallery img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--wp--custom--radius--lg);
    transition: transform var(--wp--custom--transition);
}

.op-studio-gallery img:hover {
    transform: scale(1.02);
}

/* ================================================================== */
/*  STUDIO SPEC                                                       */
/* ================================================================== */

.op-studio-spec {
    background: var(--wp--custom--color--navy-dark);
    border-radius: var(--wp--custom--radius--lg);
    padding: 2rem;
    box-shadow: var(--wp--preset--shadow--sm);
    border: 1px solid var(--wp--preset--color--border-light);
}

.op-studio-spec h3 {
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-weight: 700;
    font-size: 1rem;
    color: var(--wp--preset--color--ice-white);
    margin-bottom: 1rem;
}

.op-studio-spec ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.op-studio-spec li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--wp--preset--color--border-light);
    font-size: var(--op-font-size-md);
    color: var(--wp--preset--color--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.op-studio-spec li::before {
    content: '\2713';
    color: var(--wp--preset--color--electric-blue);
    font-weight: 700;
}

/* ================================================================== */
/*  CTA SECTION                                                       */
/* ================================================================== */

.op-cta-section {
    background: var(--wp--preset--gradient--cta-section);
    color: var(--wp--preset--color--ice-white);
    border-radius: var(--wp--custom--radius--lg);
    border: 1px solid var(--wp--preset--color--border-light);
    padding: clamp(3rem, 6vw, 5rem);
    text-align: center;
    overflow: hidden;
}

.op-cta-section h2,
.op-cta-section h3 {
    color: var(--wp--preset--color--white);
    margin-bottom: 1rem;
    font-family: var(--wp--preset--font-family--space-grotesk);
}

.op-cta-section p {
    color: var(--wp--preset--color--text-light);
    max-width: 480px;
    margin: 0 auto 2rem;
}

.op-cta-section ul {
    text-align: left;
    max-width: 380px;
    margin: 0 auto 1.5rem;
    padding-left: 1.25rem;
}

.op-cta-section li {
    margin-bottom: 0.4rem;
    color: var(--wp--preset--color--text-light);
}

.op-cta-pattern-wrap {
    padding-bottom: var(--wp--preset--spacing--70);
}

.op-cta-pattern-title {
    font-size: 1.35rem;
}

.op-cta-pattern-lead {
    font-size: var(--op-font-size-lg);
}

/* ================================================================== */
/*  FOOTER                                                            */
/* ================================================================== */

.op-footer {
    padding: 26px 0 34px;
    border-top: 1px solid var(--wp--custom--color--overlay-light);
    background: var(--wp--custom--color--navy-deeper);
    margin-top: 22px;
    color: var(--wp--custom--color--text-footer);
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-size: var(--wp--preset--font-size--small);
}

.op-footer a {
    color: var(--wp--preset--color--ice-white);
    text-decoration: none;
    transition: color var(--wp--custom--transition);
}

.op-footer a:hover {
    color: var(--wp--preset--color--refined-red);
}

.op-footer-inner {
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
    padding: 3rem 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.op-footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--wp--preset--color--white);
    margin-bottom: 0.75rem;
}

.op-footer h4 {
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-size: var(--op-font-size-2xs);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--wp--preset--color--ice-white);
    margin-bottom: 1rem;
}

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

.op-footer li {
    margin-bottom: 0.5rem;
}

.op-footer-bottom {
    border-top: 1px solid var(--wp--preset--color--card-bg);
    padding: 1.5rem 0;
    text-align: center;
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
    font-size: var(--op-font-size-sm);
}

.op-footer .op-brand {
    margin-bottom: 10px;
}

.op-footer .op-brand img {
    height: 36px;
}

.op-footer-blurb {
    font-size: var(--op-font-size-md);
}

.op-footer-contact,
.op-footer-list {
    font-size: var(--wp--preset--font-size--small);
}

.op-footer-copyright {
    font-size: var(--op-font-size-sm);
}

.op-footer .small {
    color: var(--wp--custom--color--text-footer);
    font-size: 13px;
    line-height: 1.6;
}

/* ================================================================== */
/*  RESPONSIVE                                                        */
/* ================================================================== */

@media (max-width: 920px) {
    .op-band {
        grid-template-columns: 1fr;
    }

    .op-sponsors {
        grid-template-columns: 1fr;
    }

    .op-footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .op-episode-hero-image img {
        aspect-ratio: 3 / 4;
        object-position: center 14%;
    }

    .op-episode-card--overlay {
        min-height: 390px;
    }

    .op-episode-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .op-episode-card--overlay {
        min-height: 350px;
    }

    .op-episode-card--overlay .op-episode-card-img img {
        object-position: center 20%;
    }

    .op-service-actions {
        flex-direction: column;
    }
}

/* ================================================================== */
/*  NOISE / TEXTURE OVERLAY (subtle grain)                            */
/* ================================================================== */

.op-noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* ================================================================== */
/*  UTILITY                                                           */
/* ================================================================== */

.op-container {
    max-width: var(--wp--style--global--wide-size);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
}

.op-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.op-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.op-spacer-sm {
    height: clamp(2rem, 4vw, 3rem);
}

.op-spacer-md {
    height: clamp(3rem, 6vw, 5rem);
}

.op-spacer-lg {
    height: clamp(4rem, 8vw, 7rem);
}

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

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

@media (max-width: 920px) {
    .op-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ================================================================== */
/*  ACCESSIBILITY — WCAG 2.1 AA                                      */
/* ================================================================== */

/* Skip-to-content link (visually hidden until focused) */
.op-skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 10000;
    padding: 0.75rem 1.5rem;
    background: var(--wp--preset--color--refined-red);
    color: var(--wp--preset--color--white);
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-size: var(--op-font-size-md);
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--wp--custom--radius--default);
    transition: top var(--wp--custom--transition);
}

.op-skip-link:focus {
    top: 1rem;
    outline: 3px solid var(--wp--preset--color--electric-blue);
    outline-offset: 2px;
}

/* Visible focus outlines for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--wp--preset--color--electric-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Remove default outline only when not keyboard-navigating */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Prefers-reduced-motion: disable animations for users who opt out */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .op-reveal {
        opacity: 1;
        transform: none;
    }

    .op-logo-dot {
        animation: none;
    }
}

/* Prefers-contrast: boost contrast for users who need it */
@media (prefers-contrast: more) {
    :root {
        --wp--preset--color--text-light: rgba(255, 255, 255, .95);
        --wp--preset--color--text-muted: rgba(255, 255, 255, .88);
        --wp--preset--color--text-subtle: rgba(255, 255, 255, .80);
        --wp--preset--color--border-light: rgba(255, 255, 255, .25);
        --wp--preset--color--stroke: rgba(255, 255, 255, .28);
    }

    .op-panel,
    .op-card,
    .op-ep,
    .is-style-op-glass-panel {
        border-width: 2px;
    }
}

/* ================================================================== */
/*  WORDPRESS BLOCK OVERRIDES                                         */
/*  Fix WP Core block elements to match brand design system           */
/* ================================================================== */

/* Fix button styling — the WP block editor injects .wp-element-button
   with generic styles that break our glassmorphism theme */
.wp-block-button .wp-block-button__link.wp-element-button,
.wp-block-button__link.wp-element-button {
    font-family: var(--wp--preset--font-family--space-grotesk);
    border-radius: var(--wp--custom--radius--default);
    font-weight: 600;
    font-size: var(--op-font-size-xs);
    letter-spacing: 0.3px;
    line-height: 1.4;
    padding: 9px 16px;
    transition: all var(--wp--custom--transition);
    border: none;
    cursor: pointer;
}

/* Fix WP list styling on dark background */
.wp-block-group ul,
.wp-block-group ol {
    color: var(--wp--preset--color--text-light);
}

.wp-block-group ul li::marker {
    color: var(--wp--preset--color--electric-blue);
}

/* Fix post navigation links */
.wp-block-post-navigation-link a {
    color: var(--wp--preset--color--electric-blue);
    text-decoration: none;
    font-family: var(--wp--preset--font-family--space-grotesk);
    transition: color var(--wp--custom--transition);
}

.wp-block-post-navigation-link a:hover {
    color: var(--wp--preset--color--refined-red);
}

/* Fix old font references — fallback */
[style*="--op-font-heading"] {
    font-family: var(--wp--preset--font-family--space-grotesk) !important;
}

/* Fix post excerpt text on dark background */
.wp-block-post-excerpt,
.wp-block-post-excerpt__excerpt {
    color: var(--wp--preset--color--text-muted);
}

/* Fix post date on dark background */
.wp-block-post-date {
    color: var(--wp--preset--color--text-subtle);
}

/* Fix pagination */
.wp-block-query-pagination {
    color: var(--wp--preset--color--text-light);
}

.wp-block-query-pagination a {
    color: var(--wp--preset--color--electric-blue);
    text-decoration: none;
}

.wp-block-query-pagination a:hover {
    color: var(--wp--preset--color--refined-red);
}

/* ================================================================== */
/*  MOBILE RESPONSIVENESS FIXES                                       */
/* ================================================================== */

@media (max-width: 768px) {

    /* Hide header CTAs on mobile to prevent overflow. Links are in menu. */
    .op-header-actions {
        display: none !important;
    }
}

/* Mobile Navigation Overlay */

.wp-block-navigation__responsive-container.is-menu-open {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: var(--wp--preset--color--deep-navy);
    color: var(--wp--preset--color--ice-white);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    overflow-y: auto;
}

.wp-block-navigation__responsive-container.is-menu-open
.wp-block-navigation__responsive-container-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding-top: 2rem;
}

.wp-block-navigation__responsive-container.is-menu-open
.wp-block-navigation-item__content {
    display: block;
    padding: 1rem 0;
    font-size: 1.25rem;
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-weight: 600;
    color: var(--wp--preset--color--ice-white);
    text-decoration: none;
    border-bottom: 1px solid var(--wp--custom--color--overlay-light);
}

.wp-block-navigation__responsive-container.is-menu-open
.wp-block-navigation-item__content:hover {
    color: var(--wp--preset--color--electric-blue);
}

.wp-block-navigation__responsive-container-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: var(--wp--preset--color--ice-white);
    cursor: pointer;
    padding: 0.5rem;
}

.wp-block-navigation__responsive-container-close svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ================================================================== */
/*  SHOP — Varaa & Tilaa                                              */
/* ================================================================== */

.op-shop-wrap {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

/* Section titles inside shop */
.op-shop-section-title {
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-size: var(--op-font-size-xs);
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--wp--preset--color--text-muted);
    margin: 0 0 1rem;
}

.op-shop-section-title--addons {
    margin-top: 2.5rem;
}

.op-section-label--tight {
    margin: 0;
}

.op-is-hidden {
    display: none;
}

/* Product card */
.op-product-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--wp--preset--gradient--glass-panel);
    border: 1px solid var(--wp--preset--color--border-light);
    border-radius: var(--wp--custom--radius--lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.85rem;
    transition: border-color var(--wp--custom--transition), box-shadow var(--wp--custom--transition);
}

.op-product-card:hover {
    border-color: var(--wp--preset--color--stroke-hover);
    box-shadow: var(--wp--preset--shadow--sm);
}

.op-product-card.is-active {
    border-color: var(--wp--custom--color--blue-border);
    background: linear-gradient(135deg, var(--wp--custom--color--blue-faint), var(--wp--custom--color--overlay-faint));
}

.op-product-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    width: 48px;
    text-align: center;
}

.op-product-info {
    flex: 1;
    min-width: 0;
}

.op-product-name {
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-weight: 600;
    font-size: 1rem;
    color: var(--wp--preset--color--ice-white);
    margin-bottom: 0.2rem;
}

.op-product-desc {
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--text-muted);
    line-height: 1.5;
    margin-bottom: 0.35rem;
}

.op-product-price {
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--wp--preset--color--ice-white);
}

.op-product-price span {
    font-weight: 400;
    font-size: var(--op-font-size-sm);
    color: var(--wp--preset--color--text-muted);
}

/* Qty stepper */
.op-qty-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--wp--preset--color--stroke);
    border-radius: var(--wp--custom--radius--pill);
    overflow: hidden;
    flex-shrink: 0;
}

.op-qty-btn {
    background: var(--wp--preset--color--card-bg);
    border: none;
    color: var(--wp--preset--color--ice-white);
    font-size: 1.1rem;
    font-weight: 700;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: background var(--wp--custom--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.op-qty-btn:hover {
    background: rgba(30, 136, 229, .25);
}

.op-qty-value {
    min-width: 32px;
    text-align: center;
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-weight: 700;
    font-size: 1rem;
    color: var(--wp--preset--color--ice-white);
    padding: 0 4px;
}

/* Addon toggle */
.op-addon-toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    cursor: pointer;
    flex-shrink: 0;
}

.op-addon-check {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.op-addon-slider {
    position: absolute;
    inset: 0;
    background: var(--wp--preset--color--stroke);
    border-radius: var(--wp--custom--radius--pill);
    transition: background var(--wp--custom--transition);
    border: 1px solid var(--wp--preset--color--stroke);
}

.op-addon-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: var(--wp--preset--color--ice-white);
    border-radius: 50%;
    transition: transform var(--wp--custom--transition);
}

.op-addon-check:checked+.op-addon-slider {
    background: linear-gradient(135deg, var(--wp--preset--color--electric-blue), rgba(30, 136, 229, .7));
    border-color: rgba(30, 136, 229, .5);
}

.op-addon-check:checked+.op-addon-slider::before {
    transform: translateX(24px);
}

/* Host selector inside juontaja card */
.op-host-selector {
    margin-top: 0.75rem;
}

.op-host-label {
    font-size: var(--op-font-size-sm);
    font-weight: 600;
    color: var(--wp--preset--color--text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.op-host-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.op-host-option {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--ice-white);
    cursor: pointer;
    padding: 5px 12px;
    border: 1px solid var(--wp--preset--color--stroke);
    border-radius: var(--wp--custom--radius--pill);
    background: var(--wp--custom--color--overlay-faint);
    transition: background var(--wp--custom--transition), border-color var(--wp--custom--transition);
}

.op-host-option:has(input:checked) {
    border-color: rgba(30, 136, 229, .5);
    background: var(--wp--custom--color--blue-tint);
}

.op-host-option input {
    accent-color: var(--wp--preset--color--electric-blue);
}

/* Order Summary sidebar */
.op-shop-sidebar {
    position: sticky;
    top: 80px;
}

.op-shop-summary {
    background: var(--wp--custom--color--navy-panel);
    border: 1px solid var(--wp--preset--color--border-light);
    border-radius: var(--wp--custom--radius--lg);
    padding: 1.75rem;
    backdrop-filter: blur(12px);
}

.op-summary-header {
    margin-bottom: 1.25rem;
}

.op-summary-empty {
    padding: 2rem 0;
    text-align: center;
    color: var(--wp--preset--color--text-muted);
    font-size: var(--op-font-size-md);
}

.op-summary-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.op-summary-list .op-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--wp--preset--color--border-light);
    font-size: var(--op-font-size-md);
    color: var(--wp--preset--color--text-light);
    gap: 0.5rem;
}

.op-summary-item-name {
    flex: 1;
    min-width: 0;
}

.op-summary-item-price {
    font-weight: 600;
    white-space: nowrap;
    color: var(--wp--preset--color--ice-white);
}

.op-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 1.25rem;
    border-top: 2px solid var(--wp--custom--color--blue-stroke);
}

.op-summary-total span:first-child {
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--text-muted);
    font-weight: 500;
}

.op-total-amount {
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--wp--preset--color--ice-white);
}

/* Form */
.op-form-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0 1rem;
}

.op-form-divider::before,
.op-form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--wp--preset--color--border-light);
}

.op-form-divider span {
    font-size: var(--op-font-size-2xs);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--wp--preset--color--text-muted);
    white-space: nowrap;
}

.op-form-field {
    margin-bottom: 0.85rem;
}

.op-form-field label {
    display: block;
    font-size: var(--op-font-size-sm);
    font-weight: 600;
    color: var(--wp--preset--color--text-muted);
    margin-bottom: 0.35rem;
}

.op-form-field label span {
    color: var(--wp--preset--color--refined-red);
}

.op-form-field input,
.op-form-field textarea {
    width: 100%;
    background: var(--wp--custom--color--overlay-subtle);
    border: 1px solid var(--wp--preset--color--stroke);
    border-radius: var(--wp--custom--radius--default);
    padding: 10px 14px;
    color: var(--wp--preset--color--ice-white);
    font-family: var(--wp--preset--font-family--space-grotesk);
    font-size: var(--op-font-size-md);
    outline: none;
    transition: border-color var(--wp--custom--transition), background var(--wp--custom--transition);
    box-sizing: border-box;
}

.op-form-field input:focus,
.op-form-field textarea:focus {
    border-color: rgba(30, 136, 229, .55);
    background: rgba(30, 136, 229, .07);
}

.op-form-field input::placeholder,
.op-form-field textarea::placeholder {
    color: rgba(245, 249, 255, .30);
}

.op-form-field textarea {
    resize: vertical;
    min-height: 80px;
}

.op-form-field input[type="date"],
.op-form-field input[type="time"] {
    color-scheme: dark;
}

.op-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.op-submit-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: var(--op-font-size-lg);
    margin-top: 0.5rem;
    border-radius: var(--wp--custom--radius--default);
    justify-content: center;
    cursor: pointer;
}

.op-submit-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
}

.op-form-note {
    font-size: var(--op-font-size-xs);
    color: var(--wp--preset--color--text-subtle);
    text-align: center;
    margin-top: 0.75rem;
    line-height: 1.5;
}

/* Success / Error */
.op-order-success,
.op-order-error {
    border-radius: var(--wp--custom--radius--lg);
    padding: 1.5rem;
    text-align: center;
    margin-top: 1rem;
}

.op-order-success {
    background: var(--wp--custom--color--blue-faint);
    border: 1px solid var(--wp--custom--color--blue-stroke);
}

.op-success-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.op-order-success h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--wp--preset--color--ice-white);
}

.op-order-success p {
    margin: 0;
    font-size: var(--op-font-size-md);
    color: var(--wp--preset--color--text-muted);
}

.op-order-error {
    background: var(--wp--custom--color--red-tint);
    border: 1px solid var(--wp--custom--color--red-stroke);
    color: var(--wp--preset--color--red-light);
    font-size: var(--op-font-size-md);
}

/* Responsive */
@media (max-width: 900px) {
    .op-shop-wrap {
        grid-template-columns: 1fr;
    }

    .op-shop-sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .op-product-card {
        flex-wrap: wrap;
    }

    .op-qty-stepper {
        margin-left: auto;
    }

    .op-form-row {
        grid-template-columns: 1fr;
    }
}
