/*
 * Print Commerce storefront.
 *
 * Colours, rounding and font come from Print Settings > Design, printed as CSS
 * custom properties after this file. Themes can also set them in their own CSS.
 */

:root {
    --opc-primary: #111827;
    --opc-on-primary: #ffffff;
    --opc-accent: #0f9d6b;
    --opc-text: #111827;
    --opc-muted: #6b7280;
    --opc-surface: #f6f7f9;
    --opc-border: #e5e7eb;
    --opc-radius: 12px;
    --opc-font: inherit;
}

.opc-buttons,
.opc-latest,
.opc-grid-section,
.opc-edition,
.opc-collection,
.opc-share,
.opc-track,
.opc-track-result,
.opc-order-fulfilment,
.opc-gift-details,
.opc-preview-canvas {
    --opc-radius-sm: calc(var(--opc-radius) * 0.6);
    --opc-shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 24px rgba(17, 24, 39, 0.06);
    --opc-shadow-lift: 0 2px 4px rgba(17, 24, 39, 0.06), 0 18px 40px rgba(17, 24, 39, 0.12);
    --opc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    font-family: var(--opc-font);
    color: var(--opc-text);
    -webkit-font-smoothing: antialiased;
}

/* Predictable sizing whatever the theme sets */
.opc-buttons *, .opc-latest *, .opc-grid-section *, .opc-edition *, .opc-collection,
.opc-collection *, .opc-share *, .opc-track *, .opc-track-result *, .opc-order-fulfilment * {
    box-sizing: border-box;
}

/* Typography helpers */
.opc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--opc-accent);
}
.opc-eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.opc-section-title {
    margin: 0 0 20px;
    font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--opc-text);
}

/* Buttons */
.opc-buttons { margin: 20px 0; }
.opc-buttons__price {
    margin: 0 0 14px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.opc-buttons__row { display: flex; flex-wrap: wrap; gap: 10px; }

.opc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 30px;
    border: 1.5px solid var(--opc-primary);
    border-radius: var(--opc-radius);
    font-family: var(--opc-font);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.2s var(--opc-ease), box-shadow 0.2s var(--opc-ease), background-color 0.2s, color 0.2s;
}
.opc-button--primary {
    background: var(--opc-primary);
    color: var(--opc-on-primary) !important;
}
.opc-button--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--opc-primary) 30%, transparent);
}
.opc-button--secondary {
    background: transparent;
    color: var(--opc-primary) !important;
}
.opc-button--secondary:hover {
    background: color-mix(in srgb, var(--opc-primary) 7%, transparent);
}
.opc-button:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--opc-primary) 35%, transparent);
    outline-offset: 2px;
}
.opc-button__icon { width: 18px; height: 18px; flex: none; }

.opc-buttons__unavailable {
    display: inline-block;
    margin: 0;
    padding: 10px 16px;
    border-radius: var(--opc-radius-sm);
    background: var(--opc-surface);
    color: var(--opc-muted);
    font-weight: 600;
}
.opc-buttons__bulk {
    margin: 14px 0 0;
    font-size: 0.875rem;
    color: var(--opc-muted);
}
.opc-buttons__bulk a { color: var(--opc-text); font-weight: 600; text-underline-offset: 3px; }

.opc-shipping-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--opc-muted);
}
.opc-shipping-note::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 0.45em;
    border-radius: 50%;
    background: var(--opc-accent);
    flex: none;
}
/* Gift option on product pages */
.opc-gift-row {
    --opc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    clear: both;
    width: 100%;
    margin: 16px 0 20px;
    font-family: var(--opc-font);
    box-sizing: border-box;
}
.opc-gift-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 460px;
    padding: 14px 16px;
    border: 1.5px dashed color-mix(in srgb, var(--opc-primary) 35%, transparent);
    border-radius: var(--opc-radius);
    background: color-mix(in srgb, var(--opc-accent) 7%, #fff);
    color: var(--opc-text) !important;
    text-decoration: none !important;
    line-height: 1.3;
    box-sizing: border-box;
    transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--opc-ease);
}
.opc-gift-cta:hover {
    border-style: solid;
    border-color: var(--opc-primary);
    background: color-mix(in srgb, var(--opc-accent) 12%, #fff);
    transform: translateY(-1px);
}
.opc-gift-cta__icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--opc-primary);
    color: var(--opc-on-primary);
}
.opc-gift-cta__icon svg { width: 20px; height: 20px; }
.opc-gift-cta__text { display: grid; gap: 2px; flex: 1; min-width: 0; text-align: left; }
.opc-gift-cta__title { font-weight: 700; font-size: 0.98rem; }
.opc-gift-cta__hint { color: var(--opc-muted); font-size: 0.82rem; }
.opc-gift-cta__arrow { flex: none; width: 18px; height: 18px; color: var(--opc-muted); transition: transform 0.2s var(--opc-ease), color 0.2s; }
.opc-gift-cta:hover .opc-gift-cta__arrow { color: var(--opc-text); transform: translateX(3px); }

/* Latest edition hero */
.opc-latest {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    margin: 40px 0 56px;
    padding: clamp(24px, 4vw, 48px);
    border-radius: calc(var(--opc-radius) * 1.5);
    background: var(--opc-surface);
}
.opc-latest__cover { display: block; }
.opc-latest__cover img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--opc-radius-sm);
    box-shadow: var(--opc-shadow-lift);
    transform: rotate(-1.5deg);
    transition: transform 0.4s var(--opc-ease);
}
.opc-latest__cover:hover img { transform: rotate(0deg) translateY(-4px); }
.opc-latest__title {
    margin: 0 0 16px;
    font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.05;
}
.opc-latest__title a { color: inherit; text-decoration: none; }
.opc-latest__summary { color: var(--opc-muted); font-size: 1.05rem; line-height: 1.6; max-width: 46ch; }

/* Grids and cards */
.opc-grid-section { margin: 0 0 48px; }
.opc-grid {
    --opc-columns: 3;
    --opc-per-tablet: 2;
    --opc-per-mobile: 2;
    display: grid;
    align-items: start;
    grid-template-columns: repeat(var(--opc-columns), minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 32px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.opc-card { margin: 0; }
.opc-card__link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: inherit;
    text-decoration: none !important;
}
.opc-card__cover {
    display: block;
    overflow: hidden;
    margin-bottom: 12px;
    border-radius: var(--opc-radius);
    background: var(--opc-surface);
    box-shadow: var(--opc-shadow);
    transition: transform 0.3s var(--opc-ease), box-shadow 0.3s var(--opc-ease);
}
.opc-card__cover img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s var(--opc-ease);
}
.opc-card__link:hover .opc-card__cover { transform: translateY(-4px); box-shadow: var(--opc-shadow-lift); }
.opc-card__link:hover .opc-card__cover img { transform: scale(1.03); }
.opc-card__title { font-weight: 700; font-size: 1.02rem; line-height: 1.35; letter-spacing: -0.005em; }
.opc-card__price,
.opc-card__meta { color: var(--opc-muted); font-size: 0.92rem; }

/* Collection page */
.opc-collection-page { padding: clamp(24px, 4vw, 56px) 0; }
.opc-collection-page__inner { width: min(1200px, 100% - 40px); margin: 0 auto; }

.opc-collection {
    --opc-radius-sm: calc(var(--opc-radius) * 0.6);
    --opc-shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 24px rgba(17, 24, 39, 0.06);
    --opc-shadow-lift: 0 2px 4px rgba(17, 24, 39, 0.06), 0 18px 40px rgba(17, 24, 39, 0.12);
    --opc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(48px, 7vw, 96px);
    margin: 0 0 64px;
}

/* Hero */
.opc-collection__title {
    margin: 0 0 20px;
    font-size: clamp(2.4rem, 1.4rem + 4vw, 4.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 0.98;
    color: var(--opc-text);
    text-wrap: balance;
}
.opc-collection__description {
    max-width: 56ch;
    color: var(--opc-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}
.opc-collection__description p { margin: 0 0 1em; }
.opc-collection__description p:last-child { margin-bottom: 0; }
.opc-collection__facts dt {
    margin: 0 0 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--opc-muted);
}
.opc-collection__facts dd { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--opc-text); }
.opc-collection__jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }

/* Text-only hero (default) */
.opc-collection__hero.is-text {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: end;
    padding: clamp(32px, 6vw, 80px) clamp(24px, 5vw, 64px);
    overflow: hidden;
    border-radius: calc(var(--opc-radius) * 2);
    background: var(--opc-surface);
}
.opc-collection__hero.is-text::before {
    content: "";
    position: absolute;
    left: clamp(24px, 5vw, 64px);
    top: 0;
    width: 64px;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: var(--opc-accent);
}
.opc-collection__mark {
    position: absolute;
    right: clamp(12px, 3vw, 40px);
    top: clamp(-24px, -2vw, -8px);
    font-size: clamp(7rem, 4rem + 14vw, 16rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    color: transparent;
    -webkit-text-stroke: 2px color-mix(in srgb, var(--opc-text) 9%, transparent);
    pointer-events: none;
    user-select: none;
}
.opc-collection__hero.is-text .opc-collection__intro,
.opc-collection__hero.is-text .opc-collection__panel { position: relative; }
.opc-collection__panel {
    display: grid;
    gap: 24px;
    padding: 24px;
    border-radius: calc(var(--opc-radius) * 1.25);
    background: color-mix(in srgb, var(--opc-surface) 40%, #fff);
    border: 1px solid var(--opc-border);
}
.opc-collection__panel .opc-collection__facts { display: grid; gap: 0; margin: 0; }
.opc-collection__panel .opc-collection__facts > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--opc-border);
}
.opc-collection__panel .opc-collection__facts > div:first-child { padding-top: 0; }
.opc-collection__panel .opc-collection__facts dt { margin: 0; }
.opc-collection__panel .opc-collection__facts dd { font-size: 1.05rem; text-align: right; }
.opc-collection__panel .opc-collection__jump { display: grid; }
.opc-collection__panel .opc-button { width: 100%; }

/* Image hero (optional): the image keeps its own shape and is never cropped */
.opc-collection__hero.is-image {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}
.opc-collection__hero.is-image .opc-collection__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 40px;
    margin: 28px 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--opc-border);
}
.opc-collection__image {
    display: flex;
    justify-content: center;
    margin: 0;
}
.opc-collection__image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 560px;
    border-radius: var(--opc-radius);
}

/* Complete collection offer */
.opc-complete {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    padding: clamp(28px, 5vw, 64px);
    border-radius: calc(var(--opc-radius) * 2);
    background: var(--opc-primary);
    color: var(--opc-on-primary);
    overflow: hidden;
    scroll-margin-top: 80px;
}
.opc-complete .opc-eyebrow { color: var(--opc-accent); }
.opc-complete__title {
    margin: 0 0 20px;
    font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--opc-on-primary);
    text-wrap: balance;
}
.opc-complete__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin: 0 0 8px; }
.opc-complete__now { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.opc-complete__now del { opacity: 0.6; font-size: 0.6em; }
.opc-complete__now ins { text-decoration: none; }
.opc-complete__was { opacity: 0.55; text-decoration: line-through; }
.opc-complete__save {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--opc-accent);
    color: var(--opc-primary);
    font-size: 0.8rem;
    font-weight: 700;
}
.opc-complete .opc-buttons { margin: 20px 0 0; }
.opc-complete .opc-button--primary {
    border-color: var(--opc-on-primary);
    background: var(--opc-on-primary);
    color: var(--opc-primary) !important;
}
.opc-complete .opc-button--secondary {
    border-color: color-mix(in srgb, var(--opc-on-primary) 45%, transparent);
    color: var(--opc-on-primary) !important;
}
.opc-complete .opc-button--secondary:hover { background: color-mix(in srgb, var(--opc-on-primary) 10%, transparent); }
.opc-complete .opc-buttons__bulk,
.opc-complete .opc-buttons__bulk a { color: color-mix(in srgb, var(--opc-on-primary) 75%, transparent); }

.opc-complete__stack {
    position: relative;
    height: clamp(240px, 30vw, 360px);
}
.opc-complete__cover {
    --opc-i: 0;
    position: absolute;
    top: 50%;
    left: calc(8% + var(--opc-i) * 14%);
    width: 44%;
    transform: translateY(-50%) rotate(calc(-8deg + var(--opc-i) * 5deg));
    transform-origin: bottom center;
    transition: transform 0.4s var(--opc-ease);
}
.opc-complete__stack--1 .opc-complete__cover { left: 28%; transform: translateY(-50%) rotate(-3deg); }
.opc-complete__stack--2 .opc-complete__cover { left: calc(16% + var(--opc-i) * 20%); }
.opc-complete__cover img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--opc-radius-sm);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.opc-complete:hover .opc-complete__cover { transform: translateY(-54%) rotate(calc(-12deg + var(--opc-i) * 7deg)); }

/* Editions in the collection */
.opc-collection__editions { scroll-margin-top: 80px; }
.opc-collection__editions-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 24px;
}
.opc-collection__editions-head .opc-section-title { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); }
.opc-collection__count { margin: 0; color: var(--opc-muted); }

.opc-issues {
    --opc-columns: 3;
    display: grid;
    align-items: start;
    grid-template-columns: repeat(var(--opc-columns), minmax(0, 1fr));
    gap: clamp(24px, 3vw, 40px) clamp(16px, 2.5vw, 32px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.opc-issue { display: flex; flex-direction: column; margin: 0; }
.opc-issue__cover {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--opc-radius);
    background: var(--opc-surface);
    box-shadow: var(--opc-shadow);
    transition: transform 0.3s var(--opc-ease), box-shadow 0.3s var(--opc-ease);
}
.opc-issue__cover img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s var(--opc-ease);
}
.opc-issue__cover:hover { transform: translateY(-4px); box-shadow: var(--opc-shadow-lift); }
.opc-issue__cover:hover img { transform: scale(1.03); }
.opc-issue__number {
    position: absolute;
    top: 12px;
    left: 12px;
    min-width: 40px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--opc-text);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-align: center;
    backdrop-filter: blur(6px);
}
.opc-issue__body { display: flex; flex-direction: column; flex: 1; padding: 16px 2px 0; }
.opc-issue__date {
    margin: 0 0 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--opc-muted);
}
.opc-issue__title { margin: 0 0 14px; font-size: 1.1rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.opc-issue__title a { color: var(--opc-text); text-decoration: none; }
.opc-issue__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.opc-issue__footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--opc-border);
}
.opc-issue__price { font-weight: 700; }
.opc-issue__actions { display: inline-flex; gap: 6px; }
.opc-issue__buy,
.opc-issue__gift {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.2s, color 0.2s;
}
.opc-issue__buy { padding: 0 18px; background: var(--opc-primary); color: var(--opc-on-primary) !important; }
.opc-issue__buy:hover { background: color-mix(in srgb, var(--opc-primary) 85%, #000); }
.opc-issue__gift { width: 38px; border: 1.5px solid var(--opc-border); color: var(--opc-text) !important; }
.opc-issue__gift:hover { border-color: var(--opc-primary); }
.opc-issue__gift svg { width: 17px; height: 17px; }
.opc-issue__unavailable { color: var(--opc-muted); font-size: 0.875rem; }

/* More collections */
.opc-more__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.opc-more__card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 220px;
    overflow: hidden;
    border-radius: calc(var(--opc-radius) * 1.25);
    background: var(--opc-primary);
    color: var(--opc-on-primary) !important;
    text-decoration: none !important;
}
.opc-more__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--opc-ease);
}
.opc-more__card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72));
}
.opc-more__card:hover .opc-more__image { transform: scale(1.05); }
.opc-more__text { position: relative; z-index: 1; display: grid; gap: 2px; padding: 20px; }
.opc-more__name { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.opc-more__meta { font-size: 0.85rem; opacity: 0.8; }

/* Edition details */
.opc-edition {
    display: grid;
    gap: 40px;
    /* Always its own full-width row under the product, even in grid or flex product layouts. */
    clear: both;
    width: 100%;
    flex: 0 0 100%;
    grid-column: 1 / -1;
    margin: 48px 0;
    padding-top: 8px;
}
.opc-edition__about { font-size: 1.05rem; line-height: 1.7; max-width: 68ch; }
.opc-edition__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.opc-edition__list li {
    position: relative;
    padding: 14px 16px 14px 44px;
    border-radius: var(--opc-radius-sm);
    background: var(--opc-surface);
    line-height: 1.45;
}
.opc-edition__list li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-radius: 3px;
    background: var(--opc-accent);
}
.opc-edition__people {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.opc-edition__people li {
    padding: 18px 20px;
    border: 1px solid var(--opc-border);
    border-radius: var(--opc-radius);
    background: #fff;
}
.opc-edition__people strong { display: block; font-size: 1rem; }
.opc-edition__people span { display: block; margin-top: 4px; color: var(--opc-muted); font-size: 0.88rem; line-height: 1.45; }
.opc-edition__details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    margin: 0;
    overflow: hidden;
    border-radius: var(--opc-radius);
    background: var(--opc-border);
}
.opc-edition__details > div { padding: 16px 18px; background: var(--opc-surface); }
.opc-edition__details dt {
    margin: 0 0 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--opc-muted);
}
.opc-edition__details dd { margin: 0; font-weight: 700; }
.opc-edition__collections {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.opc-collection-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--opc-border);
    border-radius: var(--opc-radius);
    background: #fff;
    color: var(--opc-text) !important;
    text-decoration: none !important;
    transition: border-color 0.2s, transform 0.2s var(--opc-ease), box-shadow 0.2s var(--opc-ease);
}
.opc-collection-link:hover { border-color: var(--opc-primary); transform: translateY(-2px); box-shadow: var(--opc-shadow); }
.opc-collection-link__text { display: grid; gap: 2px; min-width: 0; }
.opc-collection-link__name { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; }
.opc-collection-link__meta { color: var(--opc-muted); font-size: 0.85rem; }
.opc-collection-link__arrow {
    flex: none;
    width: 36px;
    height: 36px;
    padding: 9px;
    border-radius: 50%;
    background: var(--opc-surface);
    transition: background-color 0.2s, color 0.2s, transform 0.2s var(--opc-ease);
}
.opc-collection-link:hover .opc-collection-link__arrow { background: var(--opc-primary); color: var(--opc-on-primary); transform: translateX(2px); }

/* Share link */
.opc-share__label { display: block; margin-bottom: 8px; font-weight: 600; }
.opc-share__row {
    display: flex;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--opc-border);
    border-radius: calc(var(--opc-radius) + 6px);
    background: #fff;
}
.opc-share__input {
    flex: 1;
    min-width: 0;
    padding: 0 12px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--opc-muted);
    font-size: 0.92rem;
}
.opc-share__row .opc-button { min-height: 42px; padding: 0 18px; }

/* Forms (tracking) */
.opc-track,
.opc-track-result {
    max-width: 560px;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--opc-border);
    border-radius: calc(var(--opc-radius) * 1.5);
    background: #fff;
    box-shadow: var(--opc-shadow);
}
.opc-track__intro { margin: 0 0 24px; color: var(--opc-muted); line-height: 1.6; }
.opc-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 18px; }
.opc-field label { font-size: 0.875rem; font-weight: 600; }
.opc-field input {
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--opc-border);
    border-radius: var(--opc-radius-sm);
    background: #fff;
    font: inherit;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.opc-field input:focus {
    outline: none;
    border-color: var(--opc-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--opc-primary) 12%, transparent);
}
.opc-track .opc-button { width: 100%; }
.opc-notice {
    margin: 0 0 20px;
    padding: 12px 16px;
    border-radius: var(--opc-radius-sm);
    background: var(--opc-surface);
    font-size: 0.92rem;
}
.opc-notice--error { background: #fef2f2; color: #991b1b; }
.opc-track-result__status {
    display: inline-block;
    margin: 0;
    padding: 6px 14px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--opc-accent) 14%, transparent);
    font-weight: 700;
}
.opc-track-result__status--failed { background: color-mix(in srgb, #d93a3a 14%, transparent); color: #9b1c1c; }
.opc-track-result__status--cancelled { background: color-mix(in srgb, var(--opc-muted) 14%, transparent); }
.opc-track-result__status + .opc-print-problem { margin-top: 16px; }
.opc-track-result__again { margin: 20px 0 0; font-size: 0.92rem; }
.opc-track-result__again a { color: var(--opc-text); font-weight: 600; }

/* Order progress */
.opc-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 28px 0;
    padding: 0;
    list-style: none;
}
.opc-timeline__step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--opc-muted);
}
.opc-timeline__step::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 50%;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: var(--opc-border);
}
.opc-timeline__step:first-child::before { display: none; }
.opc-timeline__dot {
    position: relative;
    z-index: 1;
    width: 22px;
    height: 22px;
    border: 3px solid var(--opc-border);
    border-radius: 50%;
    background: #fff;
    transition: all 0.3s var(--opc-ease);
}
.opc-timeline__step--done,
.opc-timeline__step--current { color: var(--opc-text); font-weight: 600; }
.opc-timeline__step--done::before,
.opc-timeline__step--current::before { background: var(--opc-accent); }
.opc-timeline__step--done .opc-timeline__dot {
    border-color: var(--opc-accent);
    background: var(--opc-accent);
}
.opc-timeline__step--done .opc-timeline__dot::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.opc-timeline__step--current .opc-timeline__dot {
    border-color: var(--opc-accent);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--opc-accent) 18%, transparent);
}
.opc-timeline__cancelled { color: var(--opc-muted); }

/* Order the printer could not accept */
.opc-print-problem {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 4px 0 20px;
    padding: 18px 20px;
    border-radius: var(--opc-radius);
    background: color-mix(in srgb, #d93a3a 8%, var(--opc-surface));
    font-family: var(--opc-font);
    color: var(--opc-text);
}
.opc-print-problem__icon {
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: color-mix(in srgb, #d93a3a 16%, transparent);
    color: #b42323;
}
.opc-print-problem__icon svg { width: 20px; height: 20px; }
.opc-print-problem__body { min-width: 0; }
.opc-print-problem__title { margin: 6px 0 6px; font-size: 1.05rem; font-weight: 700; line-height: 1.3; color: var(--opc-text); }
.opc-print-problem__text { margin: 0 0 8px; font-size: 0.95rem; line-height: 1.55; color: var(--opc-muted); }
.opc-print-problem__cta { margin-top: 6px; }

.opc-shipments {
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    border-radius: var(--opc-radius);
    background: var(--opc-surface);
}
.opc-shipments p { margin: 0; }
.opc-shipments__eta { font-weight: 700; }
.opc-shipments__carrier { margin-right: 8px; font-weight: 600; }
.opc-shipments a { color: var(--opc-text); font-weight: 600; text-underline-offset: 3px; }

.opc-order-fulfilment {
    margin: 36px 0;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid var(--opc-border);
    border-radius: calc(var(--opc-radius) * 1.5);
}
.opc-order-fulfilment h3 { margin: 24px 0 12px; font-size: 1rem; }
.opc-next-steps { display: grid; gap: 8px; margin: 0 0 20px; padding-left: 1.25em; color: var(--opc-muted); }
.opc-next-steps li::marker { color: var(--opc-accent); font-weight: 700; }

.opc-gift-details blockquote {
    margin: 10px 0;
    padding: 14px 18px;
    border-radius: var(--opc-radius-sm);
    background: var(--opc-surface);
    font-style: italic;
}

/* Responsive */
@media (max-width: 900px) {
    .opc-grid { grid-template-columns: repeat(var(--opc-per-tablet), minmax(0, 1fr)); }
    .opc-issues { --opc-columns: 2 !important; }
    .opc-complete { grid-template-columns: 1fr; }
    .opc-complete__stack { height: clamp(220px, 50vw, 320px); }
}
@media (max-width: 782px) {
    .opc-latest,
    .opc-collection__hero.is-text,
    .opc-collection__hero.is-image { grid-template-columns: 1fr; }
    .opc-collection__hero.is-text { align-items: start; }
    .opc-collection__image img { max-height: none; }
    .opc-latest__cover img { transform: none; max-width: 360px; margin: 0 auto; }
    .opc-button { flex: 1 1 auto; }
}
@media (max-width: 600px) {
    .opc-grid { grid-template-columns: repeat(var(--opc-per-mobile), minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .opc-grid { gap: 14px; }
    .opc-collection__mark { font-size: 6rem; top: -6px; opacity: 0.6; }
    .opc-issue__title { font-size: 0.98rem; }
    .opc-issue__buy { padding: 0 14px; }
    .opc-more__card { min-height: 160px; }
    .opc-timeline__label { font-size: 0.72rem; }
    .opc-share__row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .opc-button,
    .opc-card__cover,
    .opc-card__cover img,
    .opc-latest__cover img,
    .opc-timeline__dot { transition: none; }
    .opc-latest__cover img { transform: none; }
    .opc-complete__cover,
    .opc-issue__cover,
    .opc-issue__cover img,
    .opc-more__image { transition: none; }
}

/* Bulk note on product pages */
.opc-bulk-note {
    margin: 0 0 20px;
    font-family: var(--opc-font);
    font-size: 0.875rem;
    color: var(--opc-muted);
}
.opc-bulk-note a { color: var(--opc-text); font-weight: 600; text-underline-offset: 3px; }
.opc-bulk-hint {
    margin: 0 0 20px;
    padding: 10px 14px;
    border: 1px dashed color-mix(in srgb, var(--opc-muted) 50%, transparent);
    border-radius: calc(var(--opc-radius) * 0.75);
    font-family: var(--opc-font);
    font-size: 0.8125rem;
    color: var(--opc-muted);
}
.opc-bulk-hint a { color: var(--opc-text); font-weight: 600; }


/* ============================================================
   Cards (shared by grids, sliders and the edition page)
   Images keep their own shape: full height, never cropped.
   ============================================================ */
.opc-ecard,
.opc-ccard,
.opc-slider,
.opc-ep {
    --opc-radius-sm: calc(var(--opc-radius) * 0.6);
    --opc-shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 24px rgba(17, 24, 39, 0.06);
    --opc-shadow-lift: 0 2px 4px rgba(17, 24, 39, 0.06), 0 18px 40px rgba(17, 24, 39, 0.12);
    --opc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    font-family: var(--opc-font);
    color: var(--opc-text);
    box-sizing: border-box;
}
.opc-ecard *, .opc-ccard *, .opc-slider *, .opc-ep * { box-sizing: border-box; }

.opc-ecard { display: flex; flex-direction: column; height: 100%; }
.opc-ecard__cover {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--opc-radius);
    background: var(--opc-surface);
    box-shadow: var(--opc-shadow);
    transition: transform 0.35s var(--opc-ease), box-shadow 0.35s var(--opc-ease);
}
.opc-ecard__cover img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.6s var(--opc-ease);
}
.opc-ecard__cover:hover { transform: translateY(-4px); box-shadow: var(--opc-shadow-lift); }
.opc-ecard__cover:hover img { transform: scale(1.025); }
.opc-ecard__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--opc-accent);
    color: var(--opc-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.opc-ecard__body { display: flex; flex-direction: column; flex: 1; padding: 14px 2px 0; }
.opc-ecard__date {
    margin: 0 0 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--opc-muted);
}
.opc-ecard__title { margin: 0 0 10px; font-size: 1.02rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.opc-ecard__title a { color: var(--opc-text); text-decoration: none; }
.opc-ecard__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.opc-ecard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.opc-ecard__price { color: var(--opc-muted); font-weight: 600; font-size: 0.95rem; }
.opc-ecard__buy {
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--opc-primary);
    color: var(--opc-on-primary) !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none !important;
}

.opc-ccard { height: 100%; }
.opc-ccard__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--opc-border);
    border-radius: calc(var(--opc-radius) * 1.25);
    background: #fff;
    color: var(--opc-text) !important;
    text-decoration: none !important;
    transition: transform 0.35s var(--opc-ease), box-shadow 0.35s var(--opc-ease), border-color 0.2s;
}
.opc-ccard__link:hover { transform: translateY(-4px); box-shadow: var(--opc-shadow-lift); border-color: transparent; }
.opc-ccard__media { display: block; background: var(--opc-surface); }
.opc-ccard__media img { display: block; width: 100%; height: auto; transition: transform 0.6s var(--opc-ease); }
.opc-ccard__media.is-cover { padding: 20px 20px 0; }
.opc-ccard__media.is-cover img { border-radius: var(--opc-radius-sm) var(--opc-radius-sm) 0 0; box-shadow: var(--opc-shadow); }
.opc-ccard__link:hover .opc-ccard__media img { transform: scale(1.02); }
.opc-ccard__placeholder {
    display: flex;
    align-items: flex-end;
    min-height: 200px;
    padding: 20px;
    background: var(--opc-primary);
    color: var(--opc-on-primary);
    font-size: 1.4rem;
    font-weight: 800;
}
.opc-ccard__body { display: grid; gap: 4px; padding: 18px 20px 20px; }
.opc-ccard__name { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.015em; }
.opc-ccard__meta { display: flex; align-items: center; justify-content: space-between; color: var(--opc-muted); font-size: 0.86rem; }
.opc-ccard__meta svg { width: 18px; height: 18px; transition: transform 0.25s var(--opc-ease); }
.opc-ccard__link:hover .opc-ccard__meta svg { transform: translateX(3px); color: var(--opc-text); }

/* ============================================================
   Slider
   ============================================================ */
.opc-slider {
    --opc-per-view: 4;
    --opc-per-tablet: 2.5;
    --opc-per-mobile: 1.3;
    --opc-gap: clamp(14px, 2vw, 24px);
    --opc-visible: var(--opc-per-view);
    margin: 0 0 48px;
}
.opc-slider__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.opc-slider__head .opc-section-title { margin: 0; }
.opc-slider__tools { display: flex; align-items: center; gap: 8px; }
.opc-slider__all {
    margin-right: 8px;
    color: var(--opc-text);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}
.opc-slider__all:hover { text-decoration: underline; text-underline-offset: 3px; }
.opc-slider__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--opc-border);
    border-radius: 50%;
    background: #fff;
    color: var(--opc-text);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.opc-slider__arrow svg { width: 20px; height: 20px; }
.opc-slider__arrow:hover:not(:disabled) { background: var(--opc-primary); border-color: var(--opc-primary); color: var(--opc-on-primary); }
.opc-slider__arrow:disabled { opacity: 0.35; cursor: default; }
.opc-slider__arrow:focus-visible { outline: 3px solid color-mix(in srgb, var(--opc-primary) 35%, transparent); outline-offset: 2px; }
.opc-slider__viewport { position: relative; }
.opc-slider__track {
    display: flex;
    gap: var(--opc-gap);
    /* Vertical room so card shadows and hover lift are not clipped by the scroll area. */
    margin: -16px 0;
    padding: 16px 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    list-style: none;
}
.opc-slider__track::-webkit-scrollbar { display: none; }
.opc-slider__track:focus-visible { outline: 3px solid color-mix(in srgb, var(--opc-primary) 30%, transparent); outline-offset: 4px; border-radius: var(--opc-radius); }
.opc-slider__slide {
    flex: 0 0 calc((100% - (var(--opc-visible) - 1) * var(--opc-gap)) / var(--opc-visible));
    min-width: 0;
    margin: 0;
    scroll-snap-align: start;
}
.opc-slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.opc-slider__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--opc-border);
    cursor: pointer;
    transition: width 0.3s var(--opc-ease), background-color 0.3s;
}
.opc-slider__dot.is-active { width: 26px; background: var(--opc-primary); }
@media (max-width: 1024px) { .opc-slider { --opc-visible: var(--opc-per-tablet); } }
@media (max-width: 600px) {
    .opc-slider { --opc-visible: var(--opc-per-mobile); }
    .opc-slider__arrow { width: 38px; height: 38px; }
}

/* ============================================================
   Edition page
   ============================================================ */
.opc-edition-page { padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 6vw, 80px); }
.opc-page-inner { width: min(1200px, 100% - 40px); margin: 0 auto; }
.opc-collection-page__inner { width: min(1200px, 100% - 40px); margin: 0 auto; }

.opc-ep { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 7vw, 96px); }
.opc-ep > .woocommerce-notices-wrapper:empty { display: none; }

.opc-ep__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: calc(clamp(48px, 7vw, 96px) * -0.6);
    font-size: 0.85rem;
    color: var(--opc-muted);
}
.opc-ep__crumbs a { color: var(--opc-muted); text-decoration: none; }
.opc-ep__crumbs a:hover { color: var(--opc-text); }
.opc-ep__crumbs [aria-current] { color: var(--opc-text); font-weight: 600; }

.opc-ep__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}

/* Gallery */
.opc-ep__gallery { display: grid; gap: 14px; position: sticky; top: 24px; }
.opc-ep__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: clamp(24px, 4vw, 56px);
    border-radius: calc(var(--opc-radius) * 1.5);
    background: var(--opc-surface);
}
.opc-ep__stage img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 72vh;
    border-radius: var(--opc-radius-sm);
    box-shadow: 0 2px 6px rgba(17, 24, 39, 0.08), 0 24px 48px rgba(17, 24, 39, 0.16);
    transition: opacity 0.25s;
}
.opc-ep__stage img.is-swapping { opacity: 0; }
.opc-ep__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--opc-accent);
    color: var(--opc-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.opc-ep__thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.opc-ep__thumb {
    flex: 0 0 72px;
    padding: 4px;
    border: 2px solid transparent;
    border-radius: var(--opc-radius-sm);
    background: var(--opc-surface);
    cursor: pointer;
    transition: border-color 0.2s;
}
.opc-ep__thumb img { display: block; width: 100%; height: auto; border-radius: calc(var(--opc-radius-sm) * 0.7); }
.opc-ep__thumb.is-active,
.opc-ep__thumb:hover { border-color: var(--opc-primary); }

/* Buy panel */
.opc-ep__panel-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.opc-ep__title { overflow-wrap: anywhere; }
.opc-ep__panel .opc-eyebrow { margin-bottom: -6px; }
.opc-ep__title {
    margin: 0;
    font-size: clamp(2rem, 1.2rem + 2.8vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.04;
    color: var(--opc-text);
    text-wrap: balance;
}
.opc-ep__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.opc-ep__meta span {
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--opc-surface);
    color: var(--opc-text);
    font-size: 0.82rem;
    font-weight: 600;
}
.opc-ep__price { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; color: var(--opc-text); }
.opc-ep__price del { margin-right: 8px; color: var(--opc-muted); font-size: 0.6em; font-weight: 600; }
.opc-ep__price ins { text-decoration: none; }
.opc-ep__short { color: var(--opc-muted); font-size: 1.02rem; line-height: 1.65; }
.opc-ep__short p { margin: 0 0 0.8em; }
.opc-ep__short p:last-child { margin: 0; }

/* WooCommerce cart form inside the panel */
.opc-ep__buy { padding: 20px 0 4px; border-top: 1px solid var(--opc-border); }
.opc-ep__buy form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    margin: 0 0 16px !important;
    padding: 0;
    border: 0;
}
.opc-ep__buy form.cart .quantity { margin: 0 !important; float: none !important; }
.opc-ep__buy form.cart .quantity .qty {
    width: 84px;
    height: 52px;
    padding: 0 10px;
    border: 1.5px solid var(--opc-border);
    border-radius: var(--opc-radius);
    background: #fff;
    color: var(--opc-text);
    font: 600 1rem/1 var(--opc-font);
    text-align: center;
}
.opc-ep__buy form.cart .single_add_to_cart_button,
.opc-ep__buy .opc-buynow {
    display: inline-flex !important;
    flex: 1 1 160px;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin: 0 !important;
    padding: 0 24px !important;
    border-radius: var(--opc-radius) !important;
    font: 700 0.98rem/1 var(--opc-font) !important;
    letter-spacing: 0.01em;
    text-decoration: none !important;
    float: none !important;
    cursor: pointer;
    transition: transform 0.2s var(--opc-ease), box-shadow 0.2s var(--opc-ease), background-color 0.2s, color 0.2s;
}
.opc-ep__buy form.cart .single_add_to_cart_button {
    border: 1.5px solid var(--opc-primary) !important;
    background: transparent !important;
    color: var(--opc-primary) !important;
}
.opc-ep__buy form.cart .single_add_to_cart_button:hover { background: color-mix(in srgb, var(--opc-primary) 7%, transparent) !important; }
.opc-ep__buy .opc-buynow {
    border: 1.5px solid var(--opc-primary);
    background: var(--opc-primary);
    color: var(--opc-on-primary) !important;
}
.opc-ep__buy .opc-buynow:hover { transform: translateY(-1px); box-shadow: 0 10px 24px color-mix(in srgb, var(--opc-primary) 30%, transparent); }
.opc-ep__buy .opc-gift-row { margin: 0 0 12px; }
.opc-ep__buy .opc-gift-cta { max-width: none; }
.opc-ep__buy .opc-bulk-note,
.opc-ep__buy .opc-bulk-hint { margin: 12px 0 0; }
.opc-ep__unavailable {
    display: inline-block;
    margin: 0;
    padding: 12px 16px;
    border-radius: var(--opc-radius-sm);
    background: var(--opc-surface);
    color: var(--opc-muted);
    font-weight: 700;
}
.opc-ep__promises { display: grid; gap: 10px; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--opc-border); list-style: none; }
.opc-ep__promises li { display: flex; align-items: center; gap: 12px; color: var(--opc-muted); font-size: 0.9rem; }
.opc-ep__promises svg { flex: none; width: 20px; height: 20px; color: var(--opc-text); }

/* Story */
.opc-ep__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}
.opc-ep__story { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 64px); }
.opc-ep__section .opc-section-title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.opc-ep__lead {
    margin-bottom: 1.2em;
    font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: var(--opc-text);
}
.opc-ep__lead p { margin: 0 0 0.8em; }
.opc-ep__prose { color: var(--opc-muted); font-size: 1.02rem; line-height: 1.75; max-width: 68ch; }
.opc-ep__prose > *:first-child { margin-top: 0; }

.opc-ep__inside { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--opc-border); }
.opc-ep__inside li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    align-items: baseline;
    padding: 18px 0;
    border-bottom: 1px solid var(--opc-border);
}
.opc-ep__inside-num { color: var(--opc-accent); font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.opc-ep__inside-text { font-size: 1.08rem; font-weight: 600; line-height: 1.45; }

.opc-ep__people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.opc-ep__person {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--opc-border);
    border-radius: var(--opc-radius);
    background: #fff;
}
.opc-ep__avatar {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--opc-primary);
    color: var(--opc-on-primary);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}
.opc-ep__person-text { display: grid; gap: 2px; min-width: 0; }
.opc-ep__person-text strong { font-size: 1rem; }
.opc-ep__person-text span { color: var(--opc-muted); font-size: 0.86rem; line-height: 1.4; }

.opc-ep__aside { position: sticky; top: 24px; }
.opc-ep__details { padding: 24px; border-radius: calc(var(--opc-radius) * 1.25); background: var(--opc-surface); }
.opc-ep__details-title {
    margin: 0 0 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--opc-muted);
}
.opc-ep__details dl { margin: 0; }
.opc-ep__details dl > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--opc-border);
}
.opc-ep__details dl > div:last-child { border-bottom: 0; }
.opc-ep__details dt { color: var(--opc-muted); font-size: 0.9rem; }
.opc-ep__details dd { margin: 0; font-weight: 700; text-align: right; }
.opc-ep__sku { margin: 12px 0 0; color: var(--opc-muted); font-size: 0.8rem; }

.opc-ep .opc-complete { margin: 0; }
.opc-ep .opc-slider { margin: 0; }

@media (max-width: 900px) {
    .opc-ep__hero,
    .opc-ep__body { grid-template-columns: 1fr; }
    .opc-ep__gallery,
    .opc-ep__aside { position: static; }
    .opc-ep__stage img { max-height: 60vh; }
}
@media (max-width: 480px) {
    .opc-ep__inside li { grid-template-columns: 40px 1fr; }
    .opc-ep__buy form.cart .single_add_to_cart_button,
    .opc-ep__buy .opc-buynow { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .opc-ecard__cover, .opc-ecard__cover img, .opc-ccard__link, .opc-ccard__media img,
    .opc-slider__track, .opc-slider__dot, .opc-ep__stage img { transition: none; scroll-behavior: auto; }
}
