/* Print Studio: catalogue, product studio and basket. Shared flow styles are in tyncad-request.css. */

/* ---------- Hero ---------- */

.tc-ps-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.tc-ps-collage {
    position: relative;
    aspect-ratio: 1 / 0.95;
}

.tc-ps-shot {
    position: absolute;
    display: block;
    width: 66%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
    text-decoration: none;
    animation: tc-ps-float 8s ease-in-out infinite;
}

.tc-ps-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.tc-ps-shot span {
    display: block;
    padding: 10px 6px 2px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
}

.tc-ps-shot-1 { top: 0; left: 0; }
.tc-ps-shot-2 { top: 27%; right: 0; z-index: 2; animation-delay: -2.6s; }
.tc-ps-shot-3 { bottom: 0; left: 8%; width: 56%; z-index: 3; animation-delay: -5.2s; }

@keyframes tc-ps-float {
    50% { transform: translateY(-14px); }
}

/* ---------- Catalogue ---------- */

.tc-print-catalogue #products {
    scroll-margin-top: 70px;
}

.tc-ps-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 44px;
}

body.tc-page-print .tc-ps-filters button {
    padding: 11px 20px;
    border: 1.5px solid #DCE3F0;
    border-radius: 100px;
    background: #fff;
    color: #33415C;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

body.tc-page-print .tc-ps-filters button:hover {
    border-color: #004AAD;
    color: #004AAD;
}

body.tc-page-print .tc-ps-filters button.is-active {
    border-color: #004AAD;
    background: #004AAD;
    color: #fff;
}

.tc-ps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 26px;
}

.tc-ps-grid [hidden] {
    display: none;
}

body.tc-page-print .tc-ps-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #E6ECF7;
    border-radius: 24px;
    background: #fff;
    color: #4B5563;
    text-decoration: none;
    box-shadow: 0 14px 34px -24px rgba(6, 12, 29, 0.28);
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.4s, border-color 0.4s, opacity 0.6s;
}

body.tc-page-print .tc-ps-card.tc-in:hover,
body.tc-page-print .tc-ps-card:focus-visible {
    transform: translateY(-8px);
    border-color: #9DBBF0;
    box-shadow: 0 34px 60px -30px rgba(0, 74, 173, 0.42);
}

.tc-ps-card.is-entering {
    animation: tc-rise 0.45s;
}

.tc-ps-card-media {
    display: block;
    overflow: hidden;
    background: #EEF4FF;
}

.tc-ps-card-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 1, 0.3, 1);
}

.tc-ps-card:hover .tc-ps-card-media img {
    transform: scale(1.07);
}

.tc-ps-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 22px 24px 24px;
}

.tc-ps-card-body small {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #FF7F00;
}

.tc-ps-card-body strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    color: #060C1D;
}

.tc-ps-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #EEF2FA;
}

.tc-ps-card-foot b {
    font-size: 0.9rem;
    color: #060C1D;
}

.tc-ps-card-foot em {
    font-style: normal;
    font-weight: 800;
    color: #004AAD;
    white-space: nowrap;
}

.tc-ps-card-foot i {
    display: inline-block;
    font-style: normal;
    transition: transform 0.3s;
}

.tc-ps-card:hover .tc-ps-card-foot i {
    transform: translateX(6px);
}

.tc-ps-ways {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.tc-ps-way {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 22px 50px -34px rgba(6, 12, 29, 0.35);
}

.tc-ps-way img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.tc-ps-way h3 {
    margin: 0;
    padding: 24px 26px 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #060C1D;
}

.tc-ps-way p {
    margin: 0;
    padding: 0 26px 28px;
    color: #4B5563;
    line-height: 1.65;
}

.tc-ps-journey {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0 0 70px;
    padding: 0;
    list-style: none;
    counter-reset: journey;
}

.tc-ps-journey li {
    padding: 28px 24px;
    border: 1px solid #E6ECF7;
    border-radius: 22px;
    color: #4B5563;
    line-height: 1.6;
    counter-increment: journey;
}

.tc-ps-journey li::before {
    content: counter(journey);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #004AAD, #002D6B);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.tc-ps-journey strong {
    display: block;
    margin-bottom: 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: #060C1D;
}

.tc-ps-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: clamp(30px, 5vw, 56px);
    border-radius: 28px;
    background: linear-gradient(135deg, #004AAD 0%, #060C1D 100%);
}

.tc-ps-banner h2 {
    margin: 0 0 8px;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #fff;
}

.tc-ps-banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}

/* ---------- Product studio ---------- */

.tc-ps-studio {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.tc-ps-stage-wrap {
    position: sticky;
    top: 110px;
}

.tc-ps-stage {
    overflow: hidden;
    border: 1px solid #E6ECF7;
    border-radius: 28px;
    background: radial-gradient(circle at 30% 20%, #FFFFFF 0%, #E4EDFC 75%);
}

.tc-ps-scene {
    position: relative;
    aspect-ratio: 4 / 3;
}

.tc-ps-prop {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    filter: drop-shadow(0 22px 22px rgba(10, 27, 61, 0.22));
}

.tc-ps-prop path {
    transition: fill 0.4s;
}

.tc-ps-face-wrap {
    position: absolute;
    transform: translate(-50%, -50%);
    transition: width 0.45s cubic-bezier(0.2, 1, 0.3, 1), height 0.45s cubic-bezier(0.2, 1, 0.3, 1);
}

.tc-ps-face {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 28px 44px -16px rgba(10, 27, 61, 0.38);
}

.tc-ps-face.is-movable {
    cursor: grab;
    touch-action: none;
}

.tc-ps-face.is-movable:active {
    cursor: grabbing;
}

.tc-ps-scene[data-shape="shirt"] .tc-ps-face,
.tc-ps-scene[data-shape="mug"] .tc-ps-face {
    box-shadow: none;
}

.tc-ps-safe {
    position: absolute;
    inset: 5%;
    border: 1.5px dashed rgba(255, 127, 0, 0.85);
    border-radius: 3px;
    pointer-events: none;
}

/* Pull-up stand hardware and banner eyelets */
.tc-ps-scene[data-shape="rollup"] .tc-ps-face-wrap::before,
.tc-ps-scene[data-shape="rollup"] .tc-ps-face-wrap::after {
    content: "";
    position: absolute;
    left: -6%;
    width: 112%;
    border-radius: 6px;
}

.tc-ps-scene[data-shape="rollup"] .tc-ps-face-wrap::before {
    top: -2.5%;
    height: 2.5%;
    background: #7C8BA8;
}

.tc-ps-scene[data-shape="rollup"] .tc-ps-face-wrap::after {
    bottom: -4.5%;
    height: 4.5%;
    background: #32405E;
}

.tc-ps-scene[data-shape="banner"] .tc-ps-face-wrap::after {
    content: "";
    position: absolute;
    inset: 3%;
    pointer-events: none;
    background:
        radial-gradient(circle, #5B6B88 0 2px, #fff 2.5px 5px, transparent 5.5px) top left / 12px 12px no-repeat,
        radial-gradient(circle, #5B6B88 0 2px, #fff 2.5px 5px, transparent 5.5px) top right / 12px 12px no-repeat,
        radial-gradient(circle, #5B6B88 0 2px, #fff 2.5px 5px, transparent 5.5px) bottom left / 12px 12px no-repeat,
        radial-gradient(circle, #5B6B88 0 2px, #fff 2.5px 5px, transparent 5.5px) bottom right / 12px 12px no-repeat;
}

.tc-ps-stage-tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px;
    min-height: 62px;
    padding: 10px 14px;
    border-top: 1px solid rgba(0, 74, 173, 0.08);
    background: rgba(255, 255, 255, 0.7);
}

.tc-ps-main .tc-ps-stage-tools button[data-guides][aria-pressed="false"] {
    color: #8793AB;
}

.tc-ps-note {
    margin: 12px 0 0;
    font-size: 0.82rem;
    text-align: center;
    color: #6B7280;
}

.tc-ps-seg {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 100px;
    background: #E8EEF9;
}

.tc-ps-main .tc-ps-seg button {
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #4B5875;
    transition: background 0.25s, color 0.25s;
}

.tc-ps-main .tc-ps-seg button[aria-pressed="true"] {
    background: #fff;
    color: #004AAD;
    box-shadow: 0 4px 12px -6px rgba(0, 45, 107, 0.4);
}

.tc-ps-main fieldset.tc-ps-choice {
    min-width: 0;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

.tc-ps-choice legend,
.tc-ps-label {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 800;
    color: #060C1D;
}

.tc-ps-choice > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tc-ps-main .tc-ps-choice button,
.tc-ps-main .tc-ps-quantities button,
.tc-ps-main .tc-ps-modes button {
    border: 2px solid #E6ECF7;
    border-radius: 14px;
    background: #fff;
    color: #1F2937;
    transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.tc-ps-main .tc-ps-choice button:hover,
.tc-ps-main .tc-ps-quantities button:hover,
.tc-ps-main .tc-ps-modes button:hover {
    transform: translateY(-2px);
    border-color: #9DBBF0;
}

.tc-ps-main .tc-ps-choice button[aria-pressed="true"],
.tc-ps-main .tc-ps-quantities button[aria-pressed="true"],
.tc-ps-main .tc-ps-modes button[aria-pressed="true"] {
    border-color: #004AAD;
    background: #F0F6FF;
    box-shadow: 0 10px 22px -16px rgba(0, 74, 173, 0.7);
}

.tc-ps-main .tc-ps-choice button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 18px;
    font-weight: 700;
}

.tc-ps-choice i {
    width: 18px;
    height: 18px;
    border: 1px solid #C3CEE2;
    border-radius: 50%;
}

.tc-ps-choice small {
    color: #6B7280;
    font-weight: 600;
}

.tc-ps-quantities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.tc-ps-quantities.is-priced {
    grid-template-columns: minmax(0, 1fr);
}

.tc-ps-main .tc-ps-quantities button {
    padding: 14px;
    text-align: center;
}

.tc-ps-main .tc-ps-quantities.is-priced button {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
    padding: 14px 18px;
    text-align: left;
}

.tc-ps-quantities strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    min-width: 60px;
}

.tc-ps-quantities span {
    font-weight: 800;
    margin-left: auto;
}

.tc-ps-quantities small {
    color: #6B7280;
}

.tc-ps-quantities em {
    padding: 3px 9px;
    border-radius: 100px;
    background: #E8F8EF;
    color: #0B6B3A;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 800;
}

.tc-ps-modes {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}

.tc-ps-main .tc-ps-modes button {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 16px 10px;
    text-align: center;
}

.tc-ps-modes strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
}

.tc-ps-modes span {
    font-size: 0.76rem;
    color: #6B7280;
}

.tc-ps-mode {
    animation: tc-rise 0.4s;
}

.tc-ps-main .tc-ps-drop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0 0 14px;
    padding: 38px 20px;
    border: 2px dashed #B9CBEC;
    border-radius: 20px;
    background: #F7FAFF;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.tc-ps-drop:hover,
.tc-ps-drop.is-over,
.tc-ps-drop:focus-within {
    border-color: #004AAD !important;
    background: #EDF4FF !important;
}

.tc-ps-drop.is-over {
    transform: scale(1.015);
}

.tc-ps-drop input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.tc-ps-drop::before {
    content: "↑";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: #004AAD;
    color: #fff;
    font-size: 1.4rem;
}

.tc-ps-drop strong {
    color: #060C1D;
    overflow-wrap: anywhere;
}

.tc-ps-drop span {
    font-size: 0.82rem;
    color: #6B7280;
}

.tc-ps-quality {
    padding: 12px 16px;
    border-radius: 12px;
    background: #EEF4FF;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1E3A6E;
}

.tc-ps-quality[data-level="good"] { background: #E8F8EF; color: #0B6B3A; }
.tc-ps-quality[data-level="soft"] { background: #FFF6EC; color: #8A4B00; }
.tc-ps-quality[data-level="low"] { background: #FEF2F2; color: #B91C1C; }

.tc-ps-adjust .tc-ps-field {
    margin-top: 14px;
}

.tc-ps-adjust input[type="range"] {
    width: 100%;
    accent-color: #004AAD;
}

.tc-ps-proofs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.tc-ps-proofs figure {
    margin: 0;
    padding: 16px;
    border-radius: 18px;
    background: #EEF4FF;
    text-align: center;
}

.tc-ps-proofs canvas {
    max-width: 100%;
    max-height: 300px;
    box-shadow: 0 16px 28px -14px rgba(10, 27, 61, 0.4);
}

.tc-ps-proofs figcaption {
    font-style: normal;
    margin-top: 10px;
    font-size: 0.8rem;
    font-weight: 800;
}

.tc-ps-spec {
    margin: 20px 0;
}

.tc-ps-spec div,
.tc-ps-summary dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid #EEF2FA;
}

.tc-ps-spec dd,
.tc-ps-summary dd {
    margin: 0;
    font-weight: 800;
    text-align: right;
    color: #060C1D;
}

.tc-ps-main .tc-ps-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0;
    padding: 16px;
    border-radius: 14px;
    background: #FFF6EC;
    font-weight: 700;
    cursor: pointer;
}

.tc-ps-check input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: #004AAD;
}

.tc-ps-progress {
    height: 6px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 6px;
    background: #E8EEF9;
}

.tc-ps-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #004AAD, #FF7F00);
    transition: width 0.25s;
}

.tc-ps-bar {
    position: sticky;
    bottom: 12px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding: 16px 18px;
    border-radius: 22px;
    background: #060C1D;
    box-shadow: 0 22px 40px -18px rgba(6, 12, 29, 0.55);
}

.tc-ps-main .tc-ps-bar button.tc-ps-btn,
.tc-ps-main .tc-ps-bar button.tc-ps-ghost {
    min-height: 50px;
    padding-inline: 22px;
}

.tc-ps-price {
    display: flex;
    flex: 1 1 120px;
    flex-direction: column;
    color: #fff;
}

.tc-ps-price strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-variant-numeric: tabular-nums;
}

.tc-ps-price span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
}

.tc-ps-main .tc-ps-bar button.tc-ps-ghost {
    border-color: rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #fff;
}

/* ---------- Basket and checkout ---------- */

.tc-ps-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.tc-ps-summary {
    position: sticky;
    top: 110px;
}

.tc-ps-summary dl {
    margin: 0;
}

.tc-ps-summary dl .is-total {
    border-bottom: 0;
    font-size: 1.15rem;
    font-weight: 800;
}

.tc-ps-lines {
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}

.tc-ps-lines li {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid #EEF2FA;
    animation: tc-rise 0.4s;
    transition: opacity 0.2s, transform 0.2s;
}

.tc-ps-lines li.is-leaving {
    opacity: 0;
    transform: translateX(30px);
}

.tc-ps-lines li.has-problem {
    margin: 0 -12px;
    padding-inline: 12px;
    border-radius: 14px;
    background: #FEF2F2;
}

.tc-ps-lines img {
    width: 100%;
    max-height: 110px;
    object-fit: contain;
    border-radius: 12px;
    background: #EEF4FF;
}

.tc-ps-lines div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.tc-ps-lines strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: #060C1D;
}

.tc-ps-lines span {
    font-size: 0.85rem;
    color: #6B7280;
}

.tc-ps-main .tc-ps-lines label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
}

.tc-ps-main .tc-ps-lines input {
    width: 110px;
    padding: 8px 10px;
    border: 1.5px solid #DCE3F0;
    border-radius: 10px;
    font-size: 16px;
}

.tc-ps-lines b {
    color: #060C1D;
    white-space: nowrap;
}

.tc-ps-delivery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.tc-ps-main .tc-ps-delivery label {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.tc-ps-delivery input {
    position: absolute;
    opacity: 0;
}

.tc-ps-delivery span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 18px;
    border: 2px solid #E6ECF7;
    border-radius: 18px;
    transition: border-color 0.2s, background 0.2s;
}

.tc-ps-delivery small {
    color: #6B7280;
}

.tc-ps-delivery input:checked + span {
    border-color: #004AAD;
    background: #F0F6FF;
}

.tc-ps-delivery input:focus-visible + span {
    outline: 3px solid #FF7F00;
    outline-offset: 3px;
}

/* ---------- Custom size ---------- */

[data-size] .tc-size {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.tc-ps-main [data-size] .tc-size-field {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 7px;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
}

.tc-ps-main [data-size] .tc-size-field[hidden] {
    display: none;
}

.tc-ps-main [data-size] input,
.tc-ps-main [data-size] select {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 12px 14px;
    border: 1.5px solid #DCE3F0;
    border-radius: 14px;
    background: #FBFCFF;
    font: inherit;
    font-size: 16px;
}

[data-size] .tc-size-hint {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 0.85rem;
    color: #6B7280;
}

@media (max-width: 640px) {
    [data-size] .tc-size {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Delivery area and payment ---------- */

.tc-ps-areas {
    min-width: 0;
}

.tc-ps-main .tc-ps-areas > label.tc-ps-field {
    display: block;
    margin-bottom: 7px;
}

.tc-ps-main .tc-ps-areas > div.tc-ps-field {
    margin: 0;
}

.tc-ps-options {
    max-height: 290px;
    margin: 8px 0 0;
    padding: 6px;
    overflow-y: auto;
    list-style: none;
    border: 1.5px solid #DCE3F0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 40px -24px rgba(6, 12, 29, 0.4);
}

.tc-ps-options[hidden] {
    display: none;
}

.tc-ps-main .tc-ps-options li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 14px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 11px;
    cursor: pointer;
}

.tc-ps-options li:hover,
.tc-ps-options li[aria-selected="true"] {
    background: #F0F6FF;
}

.tc-ps-options span {
    font-size: 0.85rem;
    color: #6B7280;
}

.tc-ps-pay {
    margin-top: 22px;
    padding: 20px;
    border: 2px solid #E6ECF7;
    border-radius: 18px;
    background: #FBFCFF;
}

.tc-ps-main .tc-ps-pay h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 800;
}

.tc-ps-main .tc-ps-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.tc-ps-main .tc-ps-methods li {
    margin: 0;
    padding: 7px 14px;
    border-radius: 100px;
    background: #F0F6FF;
    color: #004AAD;
    font-size: 0.85rem;
    font-weight: 800;
}

.tc-ps-pay p:last-child {
    margin-bottom: 0;
}

/* ---------- Floating basket ---------- */

.tc-ps-fab {
    position: fixed;
    left: 20px;
    bottom: 22px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px 13px 20px;
    border-radius: 100px;
    background: #060C1D;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 18px 34px -12px rgba(6, 12, 29, 0.55);
}

.tc-ps-fab[hidden] {
    display: none;
}

.tc-ps-fab b {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    border-radius: 14px;
    background: #FF7F00;
    color: #111827;
    font-size: 0.85rem;
}

.tc-ps-fab.is-bumped {
    animation: tc-ps-bump 0.5s;
}

@keyframes tc-ps-bump {
    40% { transform: scale(1.12); }
}

/* ---------- Smaller screens ---------- */

@media (max-width: 980px) {
    .tc-ps-hero-grid,
    .tc-ps-studio,
    .tc-ps-checkout {
        grid-template-columns: minmax(0, 1fr);
    }

    .tc-ps-hero-grid {
        gap: 50px;
    }

    .tc-ps-collage {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    .tc-ps-stage-wrap,
    .tc-ps-summary {
        position: static;
    }

    .tc-ps-ways {
        grid-template-columns: minmax(0, 1fr);
    }

    .tc-ps-journey {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .tc-ps-journey,
    .tc-ps-delivery {
        grid-template-columns: minmax(0, 1fr);
    }

    .tc-ps-lines li {
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 14px;
    }

    .tc-ps-lines b {
        grid-column: 2;
    }

    .tc-ps-bar {
        bottom: 8px;
    }

    /* Keeps the floating basket clear of the price bar. */
    .tc-print-item .tc-ps-fab {
        top: 84px;
        right: 12px;
        bottom: auto;
        left: auto;
    }

    .tc-ps-main .tc-ps-bar button.tc-ps-btn,
    .tc-ps-main .tc-ps-bar button.tc-ps-ghost {
        flex: 1;
        padding-inline: 16px;
    }

    .tc-ps-price {
        flex-basis: 100%;
    }

    .tc-ps-main .tc-ps-quantities.is-priced small {
        order: 4;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tc-ps-shot,
    .tc-ps-fab.is-bumped,
    .tc-ps-card.is-entering {
        animation: none;
    }

    .tc-ps-face-wrap,
    .tc-ps-card-media img {
        transition: none;
    }
}

/* ---------- Product photo previews, uploaded in admin ---------- */

.tc-ps-scene[data-shape="photo"] {
    aspect-ratio: auto;
}

.tc-ps-photo {
    display: block;
    width: 100%;
    height: auto;
}

.tc-ps-scene[data-shape="photo"] .tc-ps-face {
    height: 100%;
    box-shadow: none;
}

.tc-ps-choice .tc-ps-hint {
    margin: -4px 0 10px;
}

.tc-ps-filters[hidden] {
    display: none;
}

.tc-ps-studio-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, #004AAD, #060C1D);
    color: #fff;
}

.tc-ps-studio-card strong {
    font: 800 20px/1.2 Outfit, sans-serif;
}

.tc-ps-studio-card span {
    color: rgba(255, 255, 255, 0.8);
}

.tc-ps-main .tc-ps-warnings {
    margin: 0 0 16px;
    padding: 14px 16px 14px 32px;
    border-radius: 12px;
    background: #FFF6E9;
    color: #7A4300;
    font-size: 14px;
}

.tc-ps-warnings[hidden] {
    display: none;
}

/* ---------- Drop-down options, add-ons, customer numbers and the price breakdown ---------- */

.tc-ps-main .tc-ps-choice select,
.tc-ps-main .tc-ps-number input {
    width: 100%;
    min-height: 50px;
    padding: 10px 14px;
    border: 2px solid #E6ECF7;
    border-radius: 14px;
    background-color: #fff;
    color: #1F2937;
    font: inherit;
    font-weight: 700;
}

.tc-ps-main .tc-ps-choice select:focus,
.tc-ps-main .tc-ps-number input:focus {
    border-color: #004AAD;
}

.tc-ps-choice > .tc-ps-field {
    margin: 0;
}

/* Add-ons show a box that fills when ticked. */
.tc-ps-main .tc-ps-choice.is-multi button::before {
    content: "";
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 2px solid #C3CEE2;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1;
}

.tc-ps-main .tc-ps-choice.is-multi button[aria-pressed="true"]::before {
    content: "✓";
    border-color: #004AAD;
    background: #004AAD;
    color: #fff;
}

[data-inputs]:not(:empty) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.tc-ps-main .tc-ps-number {
    margin: 0;
}

.tc-ps-number small {
    color: #6B7280;
    font-weight: 600;
}

.tc-ps-unit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tc-ps-unit em {
    color: #6B7280;
    font-style: normal;
    font-weight: 700;
}

.tc-ps-breakdown {
    margin: 4px 0 18px;
    border: 1px solid #E6ECF7;
    border-radius: 14px;
    background: #F8FAFE;
}

.tc-ps-breakdown[hidden] {
    display: none;
}

.tc-ps-breakdown summary {
    padding: 14px 18px;
    color: #004AAD;
    font-weight: 800;
    cursor: pointer;
}

.tc-ps-breakdown dl {
    margin: 0;
    padding: 0 18px 8px;
}

.tc-ps-breakdown dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-top: 1px solid #E6ECF7;
}

.tc-ps-breakdown dt {
    font-weight: 700;
}

.tc-ps-breakdown dt small {
    display: block;
    color: #6B7280;
    font-weight: 500;
}

.tc-ps-breakdown dd {
    margin: 0;
    font-weight: 800;
    white-space: nowrap;
}

/* While a new price is on its way. */
.tc-ps-price strong,
.tc-ps-price > span,
.tc-ps-quantities button > span,
.tc-ps-quantities button > small {
    transition: opacity 0.2s;
}

.tc-ps-price.is-working strong,
.tc-ps-price.is-working > span,
.tc-ps-quantities.is-working button > span,
.tc-ps-quantities.is-working button > small {
    opacity: 0.45;
}
