@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Urbanist:ital,wght@0,400..900;1,400..900&display=swap");

/* ========================= Css Variables Start ======================== */
:root {
    /* Font Family */
    --heading-font: "Urbanist", "Inter", sans-serif;
    --body-font: "Inter", sans-serif;
    /* ========================= Theme Color Start ============================= */
    /* Base Color */
    --base-h: 12;
    --base-s: 85%;
    --base-l: 50%;
    --base: var(--base-h) var(--base-s) var(--base-l);
    --base-d-100: var(--base-h) var(--base-s) calc(var(--base-l) - var(--base-l) * 0.1);
    --base-d-200: var(--base-h) var(--base-s) calc(var(--base-l) - var(--base-l) * 0.2);
    --base-l-300: var(--base-h) calc(var(--base-s)) calc(var(--base-l) + (100% - var(--base-l)) * 0.3);
    /* ========================= Color Variables Start =========================== */
    --white: 0 0% 100%;
    --body-color: 30 3% 45%;
    --heading-color: 0 2% 8%;
    --black: 0 0% 0%;
    --border-color: 27 13% 86%;
    --section-bg: 0 11% 98%;
    --section-bg-two: 20 13% 91%;
    /* Footer: deep navy ink, the complement of the orange base colour. */
    --footer-bg: 222 66% 12%;
    /* ================================ Box Shadow Start =============================== */
    --box-shadow: 0px 2px 15px hsl(var(--black) / 0.05);
    /* One quiet shadow for solid buttons (was an 8-layer orange glow). */
    --base-shadow: 0 1px 2px hsl(var(--black) / 0.08);
    /* Design refresh (R0.2): one radius and shadow scale, one section spacing. */
    --radius-sm: 8px;
    --radius: 12px;
    /* Buttons and the form fields used with them. */
    --radius-btn: 6px;
    --shadow-sm: 0 1px 2px hsl(var(--black) / 0.06);
    --shadow-md: 0 10px 28px -10px hsl(var(--black) / 0.16);
    --shadow-lg: 0 24px 56px -20px hsl(var(--black) / 0.22);
    --section-space: 100px;
    /* ================================ Box Shadow End =============================== */
    /* ============================== Bootstrap Modifier Start ============================== */
    /* Primary Color */
    --primary-h: 238;
    --primary-s: 100%;
    --primary-l: 40%;
    --primary: var(--primary-h) var(--primary-s) var(--primary-l);
    --primary-d-200: var(--primary-h) var(--primary-s) calc(var(--primary-l) - var(--primary-l) * 0.2);
    /* Secondary Color */
    --secondary-h: 208;
    --secondary-s: 7%;
    --secondary-l: 46%;
    --secondary: var(--secondary-h) var(--secondary-s) var(--secondary-l);
    --secondary-d-200: var(--secondary-h) var(--secondary-s) calc(var(--secondary-l) - var(--secondary-l) * 0.2);
    /* Success Color */
    --success-h: 152;
    --success-s: 69%;
    --success-l: 31%;
    --success: var(--success-h) var(--success-s) var(--success-l);
    /* Danger Color */
    --danger-h: 0;
    --danger-s: 96%;
    --danger-l: 63%;
    --danger: var(--danger-h) var(--danger-s) var(--danger-l);
    --danger-d-200: var(--danger-h) var(--danger-s) calc(var(--danger-l) - var(--danger-l) * 0.2);
    /* Warning Color */
    --warning-h: 40;
    --warning-s: 100%;
    --warning-l: 46%;
    --warning: var(--warning-h) var(--warning-s) var(--warning-l);
    --warning-d-200: var(--warning-h) var(--warning-s) calc(var(--warning-l) - var(--warning-l) * 0.2);
    /* Info Color */
    --info-h: 196;
    --info-s: 100%;
    --info-l: 50%;
    --info: var(--info-h) var(--info-s) var(--info-l);
    --info-d-200: var(--info-h) var(--info-s) calc(var(--info-l) - var(--info-l) * 0.2);
    /* light Color */
    --light-h: 0;
    --light-s: 0%;
    --light-l: 100%;
    --light: var(--light-h) var(--light-s) var(--light-l);
    --light-d-200: var(--light-h) var(--light-s) calc(var(--light-l) - var(--light-l) * 0.2);
    /* light Color */
    --dark-h: 0;
    --dark-s: 2%;
    --dark-l: 8%;
    --dark: var(--dark-h) var(--dark-s) var(--dark-l);
    --dark-d-200: var(--dark-h) var(--dark-s) calc(var(--dark-l) - var(--dark-l) * 0.2);
    /* ============================== Bootstrap Modifier End ============================== */
    /* ============================== Dark Mood Color Modify Start ============================== */
    /* ============================== Dark Mood Color Modify End ============================== */
}

@media screen and (max-width: 991px) {
    :root {
        --section-space: 80px;
    }
}

@media screen and (max-width: 575px) {
    :root {
        --section-space: 56px;
    }
}

:root [data-theme=dark] {
    --white: 200 9% 7%;
    --black: 210 40% 98%;
}

/* ========================= Css Variables End =========================== */
/* Fully Fit image Css */

/* ============================= Display Flex Css Start ============================= */
.flex-wrap,
.form--radio,
.form--check {
    display: flex;
    flex-wrap: wrap;
}

.flex-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

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

/* ============================= Display Flex Css End ============================= */
/* ===================== Font Size For responsive devices Start =================== */

/* ===================== Font Size For responsive devices End =================== */
/* ================================= Common Typography Css Start =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    font-size: 1rem;
    line-height: 1.6;
    color: hsl(var(--body-color));
    word-break: break-word;
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

p {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    color: hsl(var(--body-color));
}

span {
    display: inline-block;
}

/* ===== Type scale (design refresh R0.1) =====
   Headings: Urbanist; 56 / 40 / 32 / 24 / 20 / 16 px on desktop. */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 20px 0;
    font-family: var(--heading-font);
    color: hsl(var(--heading-color)) !important;
    line-height: 1.25;
    font-weight: 700;
}

h1,
.h1,
h2,
.h2 {
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h3,
.h3 {
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h1,
.h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2,
.h2 {
    font-size: 2.5rem;
}

h3,
.h3 {
    font-size: 2rem;
}

h4,
.h4 {
    font-size: 1.5rem;
}

h5,
.h5 {
    font-size: 1.25rem;
}

h6,
.h6 {
    font-size: 1rem;
}

@media screen and (max-width: 1399px) {

    h1,
    .h1 {
        font-size: 3.25rem;
    }
}

@media screen and (max-width: 1199px) {

    h1,
    .h1 {
        font-size: 3rem;
    }

    h2,
    .h2 {
        font-size: 2.25rem;
    }

    h3,
    .h3 {
        font-size: 1.75rem;
    }
}

@media screen and (max-width: 991px) {

    h1,
    .h1 {
        font-size: 2.5rem;
    }

    h2,
    .h2 {
        font-size: 2rem;
    }

    h3,
    .h3 {
        font-size: 1.625rem;
    }

    h4,
    .h4 {
        font-size: 1.375rem;
    }
}

@media screen and (max-width: 767px) {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        margin: 0 0 15px 0;
    }

    h1,
    .h1 {
        font-size: 2.25rem;
    }

    h2,
    .h2 {
        font-size: 1.75rem;
    }

    h3,
    .h3 {
        font-size: 1.5rem;
    }

    h4,
    .h4 {
        font-size: 1.25rem;
    }

    h5,
    .h5 {
        font-size: 1.125rem;
    }
}

@media screen and (max-width: 575px) {

    h1,
    .h1 {
        font-size: 2rem;
    }

    h2,
    .h2 {
        font-size: 1.625rem;
    }

    h3,
    .h3 {
        font-size: 1.375rem;
    }

    h6,
    .h6 {
        font-size: 0.9375rem;
    }
}

h1>a,
h2>a,
h3>a,
h4>a,
h5>a,
h6>a {
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
    transition: 0.2s linear;
    line-height: inherit;
}

a {
    display: inline-block;
    transition: 0.2s linear;
    text-decoration: none;
    color: hsl(var(--base));
}

a:hover {
    color: hsl(var(--base));
}

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

select {
    cursor: pointer;
}

ul,
ol {
    padding: 0;
    margin: 0;
    list-style: none;
}

button {
    border: 0;
    background-color: transparent;
}

button:focus {
    outline: none;
    box-shadow: none;
}

.form-select:focus {
    outline: 0;
    box-shadow: none;
}

/* ================================= Common Typography Css End =========================== */
/* ================================= Custom Classes Css Start =========================== */
/* Column Extra Small Screen */

/* Section Background */
.section-bg {
    background-color: hsl(var(--section-bg));
}

.section-bg-two {
    background-color: hsl(var(--section-bg-two));
}

.text-muted {
    color: hsl(var(--white)/0.6) !important;
}

/* Bg Image Css */
.bg-img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

/* Hide Scroll bar Css For Custom Modal */

/* Overlay Start */
.body-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    content: "";
    left: 0;
    top: 0;
    background-color: hsl(var(--black)/0.6);
    z-index: 99;
    transition: 0.2s linear;
    visibility: hidden;
    opacity: 0;
}

.body-overlay.show {
    visibility: visible;
    opacity: 1;
}

.sidebar-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    content: "";
    left: 0;
    top: 0;
    background-color: hsl(var(--black)/0.6);
    z-index: 99;
    transition: 0.2s linear;
    visibility: hidden;
    opacity: 0;
}

.sidebar-overlay.show {
    visibility: visible;
    opacity: 1;
    z-index: 999;
}

/* Overlay End */
/* ================================= Custom Classes Css End =========================== */
/* ====================== Section Heading ==================== */
.section-heading {
    text-align: center;
    z-index: 1;
    margin-bottom: 72px;
}

@media screen and (max-width: 1199px) {
    .section-heading {
        margin-bottom: 48px;
    }
}

@media screen and (max-width: 767px) {
    .section-heading {
        margin-bottom: 40px;
    }
}

.section-heading__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

.section-heading__title {
    font-weight: 500;
    margin-bottom: 12px;
}

.section-heading__desc {
    max-width: 670px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-size: clamp(1rem, 0.8862rem + 0.4854vw, 1.25rem);
}

.section-bottom {
    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: 72px;
}

.text--heading {
    color: hsl(var(--heading-color));
}

/* ====================== Section Heading End ==================== */
/* ================================= Background Color Css Start =========================== */
.bg--base {
    background-color: hsl(var(--base)) !important;
}

.bg--primary {
    background-color: hsl(var(--primary)) !important;
}

.bg--secondary {
    background-color: hsl(var(--secondary)) !important;
}

.bg--success {
    background-color: hsl(var(--success)) !important;
}

.bg--danger {
    background-color: hsl(var(--danger)) !important;
}

.bg--warning {
    background-color: hsl(var(--warning)) !important;
}

.bg--info {
    background-color: hsl(var(--info)) !important;
}

/* ================================= Background Color Css End =========================== */
/* ================================= Color Css Start =========================== */
.text--base {
    color: hsl(var(--base)) !important;
}

.text--primary {
    color: hsl(var(--primary)) !important;
}

.text--secondary {
    color: hsl(var(--secondary)) !important;
}

.text--success {
    color: hsl(var(--success)) !important;
}

.text--danger {
    color: hsl(var(--danger)) !important;
}

.text--warning {
    color: hsl(var(--warning)) !important;
}

.text--info {
    color: hsl(var(--info)) !important;
}

/* ================================= Color Css End =========================== */

/* ================================= Border Color Css Start =========================== */
.border--base {
    border-color: hsl(var(--base)) !important;
}

.border--primary {
    border-color: hsl(var(--primary)) !important;
}

.border--secondary {
    border-color: hsl(var(--secondary)) !important;
}

.border--success {
    border-color: hsl(var(--success)) !important;
}

.border--danger {
    border-color: hsl(var(--danger)) !important;
}

.border--warning {
    border-color: hsl(var(--warning)) !important;
}

.border--info {
    border-color: hsl(var(--info)) !important;
}

/* ================================= Border Color Css End =========================== */
/* =========================== Accordion Css start ============================= */

/* ================================= Accordion Css End =========================== */
/* ================================= Button Css Start =========================== */
.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
    color: none;
    background-color: none;
    border-color: none;
}

.pill {
    border-radius: 40px !important;
}

.btn {
    color: hsl(var(--white)) !important;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: var(--radius-btn);
    position: relative;
    z-index: 1;
    border: 1px solid transparent;
    font-family: var(--body-font);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9375rem;
    line-height: 1.25;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus,
.btn:focus-visible {
    box-shadow: none !important;
}

.btn:active {
    top: 1px;
}

.btn--lg {
    padding: 17px 32px;
    font-size: 1rem;
}

@media screen and (max-width: 767px) {
    .btn--lg {
        padding: 15px 26px;
    }
}

.btn--sm {
    padding: 10px 16px !important;
    font-weight: 600;
    font-size: 0.875rem;
}

.btn--light {
    color: hsl(var(--black)) !important;
}

.btn--base {
    background-color: hsl(var(--base)) !important;
}

.btn--base:hover,
.btn--base:focus,
.btn--base:focus-visible {
    background-color: hsl(var(--base-d-100)) !important;
    border: 1px solid hsl(var(--base-d-100)) !important;
}

.btn-outline--base {
    background-color: transparent !important;
    border: 1px solid hsl(var(--base)) !important;
    color: hsl(var(--base)) !important;
}

.btn-outline--base:hover,
.btn-outline--base:focus .btn-outline--base:focus-visible {
    background-color: hsl(var(--base)) !important;
    color: hsl(var(--white)) !important;
}

.btn--primary {
    background-color: hsl(var(--primary)) !important;
}

.btn--primary:hover,
.btn--primary:focus .btn--primary:focus-visible {
    background-color: hsl(var(--primary-d-200)) !important;
    border: 1px solid hsl(var(--primary-d-200)) !important;
}

.btn-outline--primary {
    background-color: transparent !important;
    border: 1px solid hsl(var(--primary)) !important;
    color: hsl(var(--primary)) !important;
}

.btn-outline--primary:hover,
.btn-outline--primary:focus .btn-outline--primary:focus-visible {
    background-color: hsl(var(--primary)) !important;
    color: hsl(var(--white)) !important;
}

.btn--secondary {
    background-color: hsl(var(--secondary)) !important;
}

.btn--secondary:hover,
.btn--secondary:focus .btn--secondary:focus-visible {
    background-color: hsl(var(--secondary-d-200)) !important;
    border: 1px solid hsl(var(--secondary-d-200)) !important;
}

.btn-outline--secondary {
    background-color: transparent !important;
    border: 1px solid hsl(var(--secondary)) !important;
    color: hsl(var(--secondary)) !important;
}

.btn-outline--secondary:hover,
.btn-outline--secondary:focus .btn-outline--secondary:focus-visible {
    background-color: hsl(var(--secondary)) !important;
    color: hsl(var(--white)) !important;
}

.btn--danger {
    background-color: hsl(var(--danger)) !important;
}

.btn--danger:hover,
.btn--danger:focus .btn--danger:focus-visible {
    background-color: hsl(var(--danger-d-200)) !important;
    border: 1px solid hsl(var(--danger-d-200)) !important;
}

.btn-outline--danger {
    background-color: transparent !important;
    border: 1px solid hsl(var(--danger)) !important;
    color: hsl(var(--danger)) !important;
}

.btn-outline--danger:hover,
.btn-outline--danger:focus .btn-outline--danger:focus-visible {
    background-color: hsl(var(--danger)) !important;
    color: hsl(var(--white)) !important;
}

.btn--warning {
    background-color: hsl(var(--warning)) !important;
}

.btn--warning:hover,
.btn--warning:focus .btn--warning:focus-visible {
    background-color: hsl(var(--warning-d-200)) !important;
    border: 1px solid hsl(var(--warning-d-200)) !important;
}

.btn-outline--warning {
    background-color: transparent !important;
    border: 1px solid hsl(var(--warning)) !important;
    color: hsl(var(--warning)) !important;
}

.btn-outline--warning:hover,
.btn-outline--warning:focus .btn-outline--warning:focus-visible {
    background-color: hsl(var(--warning)) !important;
    color: hsl(var(--white)) !important;
}

.btn--info {
    background-color: hsl(var(--info)) !important;
}

.btn--info:hover,
.btn--info:focus .btn--info:focus-visible {
    background-color: hsl(var(--info-d-200)) !important;
    border: 1px solid hsl(var(--info-d-200)) !important;
}

.btn-outline--info {
    background-color: transparent !important;
    border: 1px solid hsl(var(--info)) !important;
    color: hsl(var(--info)) !important;
}

.btn-outline--info:hover,
.btn-outline--info:focus .btn-outline--info:focus-visible {
    background-color: hsl(var(--info)) !important;
    color: hsl(var(--white)) !important;
}

.btn--light {
    background-color: hsl(var(--light)) !important;
}

.btn--light:hover,
.btn--light:focus .btn--light:focus-visible {
    background-color: hsl(var(--light-d-200)) !important;
    border: 1px solid hsl(var(--light-d-200)) !important;
}

.btn-outline--light {
    background-color: transparent !important;
    border: 1px solid hsl(var(--light)) !important;
    color: hsl(var(--light)) !important;
}

.btn-outline--light:hover,
.btn-outline--light:focus .btn-outline--light:focus-visible {
    background-color: hsl(var(--light)) !important;
    color: hsl(var(--white)) !important;
}

.btn--dark {
    background-color: hsl(var(--dark)) !important;
}

.btn--dark:hover,
.btn--dark:focus .btn--dark:focus-visible {
    background-color: hsl(var(--dark-d-200)) !important;
    border: 1px solid hsl(var(--dark-d-200)) !important;
}

.btn-outline--dark {
    background-color: transparent !important;
    border: 1px solid hsl(var(--dark)) !important;
    color: hsl(var(--dark)) !important;
}

.btn-outline--dark:hover,
.btn-outline--dark:focus .btn-outline--dark:focus-visible {
    background-color: hsl(var(--dark)) !important;
    color: hsl(var(--white)) !important;
}

.btn--base {
    box-shadow: var(--base-shadow);
}

/* Secondary button: white with a grey border, turns orange on hover. */
.btn--base-shade {
    background-color: hsl(var(--white)) !important;
    color: hsl(var(--heading-color)) !important;
    border: 1px solid hsl(var(--border-color)) !important;
}

.btn--base-shade:hover,
.btn--base-shade:focus-visible {
    color: hsl(var(--base)) !important;
    background-color: hsl(var(--white)) !important;
    border-color: hsl(var(--base)) !important;
    box-shadow: none !important;
}

/* ================================= Button Css End =========================== */

/* ================================= Card Css Start =========================== */
.custom--card {
    border-radius: var(--radius);
    background-color: hsl(var(--section-bg-two));
    border: transparent;
}

.custom--card .card-header {
    padding: 12px 24px;
    background-color: transparent;
    border-bottom: 1px solid hsl(var(--border-color));
}

.custom--card .card-header .title {
    margin-bottom: 0;
}

.custom--card .card-body {
    background-color: hsl(var(--white));
    padding: 24px;
    border-radius: 5px;
}

.custom--card .card-footer {
    padding: 12px 24px;
    background-color: transparent;
    border-top: 1px solid hsl(var(--border-color));
}

/* ================================= Card Css End =========================== */
/* ================================= Form Css Start =========================== */
/* Form Label */
.form--label,
.form-label {
    margin-bottom: 8px;
    font-size: 1rem;
    color: hsl(var(--black));
    font-weight: 400;
}

.form-group {
    margin-bottom: 1rem;
}

/* Form Select */
.select {
    color: hsl(var(--black)/0.6) !important;
}

.select:focus {
    border-color: hsl(var(--base));
    color: hsl(var(--black)) !important;
}

.select option {
    background-color: hsl(var(--black));
    color: hsl(var(--white));
}

/* Form Select End */
/* Form Control Start */
.form--control {
    border-radius: var(--radius-btn);
    font-weight: 400;
    outline: none;
    width: 100%;
    padding: 13px 24px;
    background-color: hsl(var(--section-bg));
    border: 1px solid rgba(225, 220, 216, 0.5);
    color: hsl(var(--black));
    line-height: 1;
}

.form--control.form-two {
    background-color: hsl(var(--white));
    border: 1px solid transparent;
}

.form--control.form-control:focus {
    box-shadow: none !important;
}

.form--control::placeholder {
    color: hsl(var(--black)/0.6);
    font-size: 0.875rem;
}

.form--control:focus {
    border-color: hsl(var(--base));
}

.form--control:disabled,
.form--control[readonly] {
    background-color: hsl(var(--black)/0.2);
    opacity: 1;
    border: 0;
}

.form--control[type=password] {
    color: hsl(var(--black)/0.5);
}

.form--control[type=password]:focus {
    color: hsl(var(--black));
}

.form--control[type=file] {
    line-height: 50px;
    padding: 0;
    position: relative;
}

.form--control[type=file]::-webkit-file-upload-button,
.form--control[type=file]::file-selector-button {
    border: 1px solid hsl(var(--black)/0.08);
    padding: 4px 6px;
    border-radius: 0.2em;
    background-color: hsl(var(--base)) !important;
    transition: 0.2s linear;
    line-height: 25px;
    position: relative;
    margin-left: 15px;
    color: hsl(var(--white)) !important;
}

.form--control[type=file]::-webkit-file-upload-button:hover,
.form--control[type=file]::file-selector-button:hover {
    background-color: hsl(var(--base));
    border: 1px solid hsl(var(--base));
    color: hsl(var(--black));
}

/* Form Control End */
textarea.form--control {
    height: 130px;
}

/* Autofill Css */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    -webkit-text-fill-color: hsl(var(--black)) !important;
    caret-color: hsl(var(--black));
}

/* Autofill Css End */
/* input group */
.input--group {
    position: relative;
}

/* Show Hide Password */
input#your-password,
input#confirm-password {
    padding-right: 50px;
}

.password-show-hide {
    position: absolute;
    right: 20px;
    z-index: 5;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    color: hsl(var(--black)/0.4);
}

/* --------------- Number Arrow None --------------------- */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type=number] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Custom Checkbox Design */
.form--check a {
    display: inline;
}

.form--check .form-check-input {
    box-shadow: none;
    background-color: transparent;
    box-shadow: none !important;
    border: 0;
    position: relative;
    border-radius: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    border: 1px solid hsl(var(--border-color));
    background: hsl(var(--white));
    margin-top: 0;
}

.form--check .form-check-input:checked {
    background-color: hsl(var(--base)) !important;
    border-color: hsl(var(--base)) !important;
    box-shadow: none;
}

.form--check .form-check-input:checked[type=checkbox] {
    background-image: none;
}

.form--check .form-check-input:checked::before {
    position: absolute;
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: hsl(var(--white));
    font-size: 0.6875rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form--check .form-check-label {
    font-weight: 400;
    width: calc(100% - 18px);
    padding-left: 12px;
    color: hsl(var(--heading-color));
    cursor: pointer;
    font-size: 0.875rem;
}

.form--check .form-check-label .text {
    font-weight: 600;
    color: hsl(var(--heading-color));
}

@media screen and (max-width: 424px) {
    .form--check label {
        font-size: 0.9375rem;
    }
}

@media screen and (max-width: 424px) {
    .form--check a {
        font-size: 0.9375rem;
    }
}

/* Custom Radio Design */
.form--radio .form-check-input {
    box-shadow: none;
    border: 1px solid hsl(var(--black)/0.2);
    position: relative;
    background-color: transparent;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.form--radio .form-check-input:active {
    filter: brightness(100%);
}

.form--radio .form-check-input:checked {
    background-color: transparent;
    border-color: hsl(var(--base));
}

.form--radio .form-check-input:checked[type=radio] {
    background-image: none;
}

.form--radio .form-check-input:checked::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    background-color: hsl(var(--base));
    border-radius: 50%;
    z-index: 999;
}

.form--radio .form-check-label {
    font-weight: 600;
    width: calc(100% - 16px);
    padding-left: 12px;
    cursor: pointer;
    font-size: 0.875rem;
}

/*  Custom Switch Design */
.form--switch .form-check-input {
    border-radius: 3px;
    background-image: none;
    position: relative;
    box-shadow: none;
    border: 0;
    background-color: hsl(var(--black)/0.2) !important;
    padding: 10px !important;
    margin-left: 0;
    margin-bottom: 5px;
    border-radius: 40px;
    width: 70px;
    height: 38px;
    cursor: pointer;
}

.form--switch .form-check-input:focus {
    border-radius: 40px;
    background-image: none;
    position: relative;
    box-shadow: none;
    border: 0;
}

.form--switch .form-check-input::before {
    position: absolute;
    content: "";
    width: 28px;
    height: 28px;
    background-color: hsl(var(--white));
    top: 50%;
    transform: translateY(-50%);
    border-radius: 2px;
    left: 5px;
    border-radius: 50%;
    transition: 0.2s linear;
}

.form--switch .form-check-input:checked {
    background-color: hsl(var(--base)) !important;
}

.form--switch .form-check-input:checked::before {
    left: calc(100% - 33px);
    background-color: hsl(var(--white)) !important;
}

.form--switch .form-check-input:checked[type=checkbox] {
    background-image: none;
}

.form--switch .form-check-label {
    width: calc(100% - 14px);
    padding-left: 5px;
    cursor: pointer;
}

/*  Custom Switch End Design */
/* ================================= Form Css End =========================== */
/* --======================Custom Input group Start ======================*/
.input--group {
    border-radius: var(--radius-btn);
    border: 1px solid rgba(225, 220, 216, 0.5);
}

.input--group .form--control {
    border-width: 0px !important;
    padding-right: 5px;
    box-shadow: unset;
}

.input--group .input-group-text+.form--control {
    padding-right: 20px;
    padding-left: 10px;
}

.input--group:focus-within {
    border: 1px solid hsl(var(--base));
}

.input--group .input-group-text {
    border-width: 0px;
    margin: 0px;
    border-radius: var(--radius-btn);
    background-color: hsl(var(--black)/0.1);
    color: hsl(var(--body-color));
}

.input--group .form--control[readonly] {
    background: hsl(var(--black)/0.3) !important;
}

.input--group .form--control[readonly]:focus {
    border-color: hsl(var(--black)/0.3);
}

.input--group:has(.form--control[readonly]) {
    background: hsl(var(--black)/0.3) !important;
}

.input--group:has(.form--control[readonly]):focus-within {
    border-color: rgba(225, 220, 216, 0.5) !important;
}

/* --======================Custom Input group End ======================*/
/* ================================= Modal Css Start =========================== */
/* Every modal of the storefront (the Design Lab's two included) is the same sheet: a square white
   card with two orange corner marks over a navy veil; the title in the heading face behind the
   orange dash, a plain close mark that gets a soft tile on hover, the text on white and the
   buttons on a stone strip. Flat colours and hairlines only. */
.modal-backdrop {
    background-color: hsl(var(--footer-bg));
}

.modal-backdrop.show {
    opacity: 0.62;
}

.custom--modal .modal-content,
.pod-modal .modal-content {
    position: relative;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background-color: hsl(var(--white));
}

.custom--modal .modal-content::before,
.custom--modal .modal-content::after,
.pod-modal .modal-content::before,
.pod-modal .modal-content::after {
    content: "";
    position: absolute;
    z-index: 2;
    width: 7px;
    height: 7px;
    background: hsl(var(--base));
    pointer-events: none;
}

.custom--modal .modal-content::before,
.pod-modal .modal-content::before {
    top: -3px;
    left: -3px;
}

.custom--modal .modal-content::after,
.pod-modal .modal-content::after {
    right: -3px;
    bottom: -3px;
}

.custom--modal .modal-header,
.pod-modal .modal-header {
    display: block;
    padding: 22px 28px;
    border-bottom: 1px solid hsl(30 14% 88%);
    border-radius: 0;
    background: hsl(var(--white));
}

.custom--modal .modal-header__top,
.pod-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.custom--modal .modal-header__top:not(:last-child) {
    margin-bottom: 10px;
}

.custom--modal .modal-header .modal-title,
.pod-modal .modal-header .modal-title {
    position: relative;
    margin: 0;
    padding-left: 28px;
    color: hsl(var(--heading-color));
    font-family: var(--heading-font);
    font-size: 1.3125rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.custom--modal .modal-header .modal-title::before,
.pod-modal .modal-header .modal-title::before {
    content: "";
    position: absolute;
    top: 0.6em;
    left: 0;
    width: 16px;
    height: 2px;
    margin-top: -1px;
    background: hsl(var(--base));
}

.custom--modal .modal-header .btn-close,
.btn-close.pod-modal-close {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: -4px -8px -4px auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    background-image: none;
    font-size: 1.25rem;
    line-height: 1;
    opacity: 1;
    transition: background-color 0.2s ease;
}

.custom--modal .modal-header .btn-close i,
.btn-close.pod-modal-close i {
    color: hsl(var(--heading-color) / 0.6);
    font-size: 1.375rem;
    transition: color 0.2s ease;
}

.custom--modal .modal-header .btn-close:hover,
.btn-close.pod-modal-close:hover {
    background-color: hsl(34 24% 94%);
}

.custom--modal .modal-header .btn-close:hover i,
.btn-close.pod-modal-close:hover i {
    color: hsl(var(--heading-color));
}

.custom--modal .modal-header .btn-close:focus,
.btn-close.pod-modal-close:focus {
    box-shadow: none;
}

.custom--modal .modal-body {
    padding: 26px 28px;
    color: hsl(var(--heading-color) / 0.78);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.custom--modal .modal-footer,
.pod-modal .modal-footer {
    gap: 10px;
    padding: 16px 28px;
    border-top: 1px solid hsl(30 14% 88%);
    border-radius: 0;
    background: hsl(34 24% 97%);
}

.custom--modal .modal-footer > *,
.pod-modal .modal-footer > * {
    margin: 0;
}

/* A small label above a block of text inside a modal. */
.modal-note__label {
    margin: 0 0 8px;
    color: hsl(var(--heading-color) / 0.58);
    font-size: 0.65625rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* A quoted message inside a modal (a reason, a note from the team): stone, with the tone on its edge. */
.modal-note {
    margin: 0;
    padding: 14px 16px;
    border-left: 3px solid hsl(var(--heading-color));
    background: hsl(34 24% 97%);
    color: hsl(var(--heading-color));
    font-size: 0.9375rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.modal-note--danger {
    border-left-color: hsl(var(--danger));
}

.modal-note__hint {
    margin: 14px 0 0;
    color: hsl(var(--heading-color) / 0.62);
    font-size: 0.875rem;
    line-height: 1.6;
}

@media screen and (max-width: 575px) {
    .custom--modal .modal-header,
    .pod-modal .modal-header {
        padding: 16px 20px;
    }

    .custom--modal .modal-body {
        padding: 20px;
    }

    .custom--modal .modal-footer,
    .pod-modal .modal-footer {
        padding: 14px 20px;
    }

    .custom--modal .modal-footer .btn {
        flex: 1 1 auto;
    }
}

/* ======================= Payout Review Modal ======================= */

/* ================================= Modal Css End =========================== */
/* ================================= Pagination Css Start =========================== */
.pagination {
    flex-wrap: wrap;
    margin-top: 24px;
    justify-content: space-between;
}

@media screen and (max-width: 767px) {
    .pagination {
        margin-top: 20px;
    }
}

.pagination .page-item.active .page-link {
    background-color: hsl(var(--white));
    border: 1px solid #E5E5E5;
    color: hsl(var(--heading-color));
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.pagination .page-item .page-link {
    border: 0;
    margin: 0 5px;
    border-radius: 8px;
    height: 36px;
    width: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    font-weight: 500;
    padding: 0;
    color: hsl(var(--heading-color));
    font-size: 0.875rem;
    line-height: 38px;
}

.pagination .page-item .page-link:hover {
    background-color: hsl(var(--white));
    border: 0;
    color: hsl(var(--heading-color));
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.pagination .page-item .page-link:focus {
    box-shadow: none;
}

/* ================================= Pagination Css End =========================== */
/* ================================= Table Css Start =========================== */
.customer {
    gap: 16px;
}

/* Table Content Css end */

/* Table Css Start */
.table {
    margin: 0;
    border-collapse: collapse;
    border-collapse: separate;
    border-spacing: 0px 0px;
}

.table thead tr th {
    background-color: hsl(var(--section-bg-two));
    text-align: center;
    padding: 15px 20px;
    color: hsl(var(--heading-color));
    font-family: var(--heading-font);
    font-weight: 600;
    border-bottom: 0;
    max-width: 170px;
    font-size: 1rem;
    border: 1px solid hsl(var(--border-color));
    border-right: 0;
}

.table thead tr th:not(:first-child) {
    border-left: 0;
}

.table thead tr th:first-child {
    text-align: left;
    border-radius: 8px 0 0 0;
}

.table thead tr th:last-child {
    border-radius: 0 8px 0 0;
    text-align: right;
    border-right: 1px solid hsl(var(--border-color));
}

.table tbody {
    border: 0 !important;
}

.table tbody tr {
    border-bottom: 1px solid hsl(var(--border-color));
}

.table tbody tr:last-child {
    border-bottom: 0;
}

.table tbody tr:last-child td {
    border-bottom: 1px solid hsl(var(--border-color));
}

.table tbody tr:last-child td:first-child {
    border-radius: 0px 0 0 8px;
}

.table tbody tr:last-child td:last-child {
    border-radius: 0 0px 8px 0;
}

.table tbody tr td {
    text-align: center;
    vertical-align: middle;
    padding: 10px 12px;
    border-width: 1px;
    border: 0;
    color: hsl(var(--heading-color));
    font-weight: 500;
    max-width: 170px;
    font-size: 1rem;
    background: transparent;
    border-bottom: 1px solid hsl(var(--border-color));
    border-right: 0;
}

.table tbody tr td::before {
    content: attr(data-label);
    font-family: var(--heading-font);
    font-size: 0.9375rem;
    color: hsl(var(--black));
    font-weight: 500;
    display: none;
    width: 45% !important;
    text-align: left;
}

.table tbody tr td:first-child {
    text-align: left;
    border-left: 1px solid hsl(var(--border-color));
}

.table tbody tr td:last-child {
    text-align: right;
    border-right: 1px solid hsl(var(--border-color));
}

.table.table-two {
    margin: 0;
    border-collapse: collapse;
    border-collapse: separate;
    border-spacing: 0px 0px;
}

.table.table-two thead tr th {
    background-color: hsl(var(--section-bg-two));
    text-align: left;
    padding: 8px 12px;
    color: hsl(var(--body-color));
    font-weight: 400;
    border-bottom: 0;
    max-width: 170px;
    font-size: 0.875rem;
    border: 0;
    border-right: 0;
}

.table.table-two thead tr th:not(:first-child) {
    border-left: 0;
}

.table.table-two thead tr th:first-child {
    text-align: left;
    border-radius: 8px 0 0 0;
}

.table.table-two thead tr th:last-child {
    border-radius: 0 8px 0 0;
    text-align: right;
    border-right: 1px solid hsl(var(--border-color));
}

.table.table-two tbody {
    border: 0 !important;
}

.table.table-two tbody tr {
    border-bottom: 1px solid hsl(var(--border-color));
}

.table.table-two tbody tr:hover {
    background-color: hsl(var(--section-bg));
}

.table.table-two tbody tr:last-child {
    border-bottom: 0;
}

.table.table-two tbody tr:last-child td {
    border-bottom: 0;
}

.table.table-two tbody tr:last-child td:first-child {
    border-radius: 0;
}

.table.table-two tbody tr:last-child td:last-child {
    border-radius: 0;
}

.table.table-two tbody tr td {
    text-align: left;
    vertical-align: middle;
    padding: 10px 12px;
    border-width: 1px;
    border: 0;
    color: hsl(var(--heading-color));
    font-weight: 500;
    max-width: 170px;
    font-size: 0.875rem;
    background: transparent;
    border-bottom: 1px solid hsl(var(--border-color));
    border-right: 0;
}

.table.table-two tbody tr td::before {
    content: attr(data-label);
    font-family: var(--heading-font);
    font-size: 0.9375rem;
    color: hsl(var(--black));
    font-weight: 500;
    display: none;
    width: 45% !important;
    text-align: left;
}

.table.table-two tbody tr td:first-child {
    text-align: left;
    border-left: 0;
}

.table.table-two tbody tr td:last-child {
    text-align: right;
    border-right: 0;
}

.table.table-two tbody tr td .text {
    color: hsl(var(--body-color));
}

/* ======================= Payout History Filter Bar ======================= */
@media screen and (max-width: 767px) {
    .table--responsive--md thead {
        display: none;
    }

    .table--responsive--md tbody tr {
        display: block;
    }

    .table--responsive--md tbody tr:last-child td {
        border-bottom: 0;
    }

    .table--responsive--md tbody tr td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        text-align: right;
        padding: 10px 15px;
        border: none;
        border-bottom: 1px solid hsl(var(--border-color));
        max-width: unset;
    }

    .table--responsive--md tbody tr td:last-child {
        border: none;
    }

    .table--responsive--md tbody tr td:first-child {
        text-align: right;
        border-left: 0;
    }

    .table--responsive--md tbody tr td::before {
        display: block;
        font-size: 0.875rem;
        color: hsl(var(--black)/0.7);
    }
}

@media screen and (max-width: 767px) {
    .table--responsive--md tbody tr td {
        border: 0;
    }
}

@media screen and (max-width: 991px) {
    .table--responsive--lg thead {
        display: none;
    }

    .table--responsive--lg tbody tr {
        display: block;
    }

    .table--responsive--lg tbody tr:nth-child(even) {
        background-color: hsl(var(--black)/0.02);
    }

    .table--responsive--lg tbody tr:last-child td {
        border-bottom: 0;
    }

    .table--responsive--lg tbody tr td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        text-align: right;
        padding: 10px 15px;
        border: none;
        border-bottom: 1px solid hsl(var(--black)/0.08);
        max-width: unset;
    }

    .table--responsive--lg tbody tr td:last-child {
        border: none;
    }

    .table--responsive--lg tbody tr td:first-child {
        text-align: right;
        border-left: 0;
    }

    .table--responsive--lg tbody tr td::before {
        display: block;
        font-size: 0.875rem;
        color: hsl(var(--black)/0.7);
    }
}

@media screen and (max-width: 991px) {
    .table--responsive--lg tbody tr td {
        border: none;
    }
}

@media screen and (max-width: 1199px) {
    .table--responsive--xl thead {
        display: none;
    }

    .table--responsive--xl tbody tr {
        display: block;
    }

    .table--responsive--xl tbody tr:nth-child(even) {
        background-color: hsl(var(--black)/0.02);
    }

    .table--responsive--xl tbody tr td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        text-align: right;
        padding: 10px 15px;
        border: none;
        border-bottom: 1px solid hsl(var(--black)/0.08);
        max-width: unset;
    }

    .table--responsive--xl tbody tr td:last-child {
        border: none;
    }

    .table--responsive--xl tbody tr td:first-child {
        text-align: right;
        border-left: 0;
    }

    .table--responsive--xl tbody tr td::before {
        display: block;
        font-size: 0.875rem;
        color: hsl(var(--black)/0.7);
    }
}

@media screen and (max-width: 1199px) {
    .table--responsive--xl tbody tr td {
        border: 0;
    }
}

@media screen and (max-width: 1399px) {
    .table--responsive--xxl thead {
        display: none;
    }

    .table--responsive--xxl tbody tr {
        display: block;
    }

    .table--responsive--xxl tbody tr:last-child td {
        border-bottom: 0;
    }

    .table--responsive--xxl tbody tr td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        text-align: right;
        padding: 10px 15px;
        border: none;
        border-bottom: 1px solid hsl(var(--black)/0.08);
        max-width: unset;
    }

    .table--responsive--xxl tbody tr td:last-child {
        border: none;
    }

    .table--responsive--xxl tbody tr td:first-child {
        text-align: right;
        border-left: 0;
    }

    .table--responsive--xxl tbody tr td::before {
        display: block;
        font-size: 0.875rem;
        color: hsl(var(--black)/0.7);
    }
}

@media screen and (max-width: 1399px) {
    .table--responsive--xxl tbody tr td {
        border: 0;
    }
}

@media screen and (max-width: 767px) {
    .table--responsive--md.table-two thead {
        display: none;
    }

    .table--responsive--md.table-two tbody tr {
        display: block;
    }

    .table--responsive--md.table-two tbody tr:last-child td {
        border-bottom: 0;
    }

    .table--responsive--md.table-two tbody tr td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        text-align: right;
        padding: 10px 15px;
        border: none;
        border-bottom: 1px solid hsl(var(--border-color));
        max-width: unset;
    }

    .table--responsive--md.table-two tbody tr td:last-child {
        border: none;
    }

    .table--responsive--md.table-two tbody tr td:first-child {
        text-align: right;
        border-left: 0;
    }

    .table--responsive--md.table-two tbody tr td::before {
        display: block;
        font-size: 0.875rem;
        color: hsl(var(--black)/0.7);
    }
}

@media screen and (max-width: 767px) {
    .table--responsive--md.table-two tbody tr td {
        border: 0;
    }
}

@media screen and (max-width: 991px) {
    .table--responsive--lg.table-two thead {
        display: none;
    }

    .table--responsive--lg.table-two tbody tr {
        display: block;
    }

    .table--responsive--lg.table-two tbody tr:nth-child(even) {
        background-color: hsl(var(--black)/0.02);
    }

    .table--responsive--lg.table-two tbody tr:last-child td {
        border-bottom: 0;
    }

    .table--responsive--lg.table-two tbody tr td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        text-align: right;
        padding: 10px 15px;
        border: none;
        border-bottom: 1px solid hsl(var(--black)/0.08);
        max-width: unset;
    }

    .table--responsive--lg.table-two tbody tr td:last-child {
        border: none;
    }

    .table--responsive--lg.table-two tbody tr td:first-child {
        text-align: right;
        border-left: 0;
    }

    .table--responsive--lg.table-two tbody tr td::before {
        display: block;
        font-size: 0.875rem;
        color: hsl(var(--black)/0.7);
    }
}

@media screen and (max-width: 991px) {
    .table--responsive--lg.table-two tbody tr td {
        border: none;
    }
}

@media screen and (max-width: 1199px) {
    .table--responsive--xl.table-two thead {
        display: none;
    }

    .table--responsive--xl.table-two tbody tr {
        display: block;
    }

    .table--responsive--xl.table-two tbody tr:nth-child(even) {
        background-color: hsl(var(--black)/0.02);
    }

    .table--responsive--xl.table-two tbody tr td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        text-align: right;
        padding: 10px 15px;
        border: none;
        border-bottom: 1px solid hsl(var(--black)/0.08);
        max-width: unset;
    }

    .table--responsive--xl.table-two tbody tr td:last-child {
        border: none;
    }

    .table--responsive--xl.table-two tbody tr td:first-child {
        text-align: right;
        border-left: 0;
    }

    .table--responsive--xl.table-two tbody tr td::before {
        display: block;
        font-size: 0.875rem;
        color: hsl(var(--black)/0.7);
    }
}

@media screen and (max-width: 1199px) {
    .table--responsive--xl.table-two tbody tr td {
        border: 0;
    }
}

@media screen and (max-width: 1399px) {
    .table--responsive--xxl.table-two thead {
        display: none;
    }

    .table--responsive--xxl.table-two tbody tr {
        display: block;
    }

    .table--responsive--xxl.table-two tbody tr:last-child td {
        border-bottom: 0;
    }

    .table--responsive--xxl.table-two tbody tr td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        text-align: right;
        padding: 10px 15px;
        border: none;
        border-bottom: 1px solid hsl(var(--black)/0.08);
        max-width: unset;
    }

    .table--responsive--xxl.table-two tbody tr td:last-child {
        border: none;
    }

    .table--responsive--xxl.table-two tbody tr td:first-child {
        text-align: right;
        border-left: 0;
    }

    .table--responsive--xxl.table-two tbody tr td::before {
        display: block;
        font-size: 0.875rem;
        color: hsl(var(--black)/0.7);
    }
}

@media screen and (max-width: 1399px) {
    .table--responsive--xxl.table-two tbody tr td {
        border: 0;
    }
}

/* ================================= Table Css End =========================== */
/* ================================= Tab Css Start =========================== */
.custom--tab {
    justify-content: center;
    border-radius: 6px;
    margin-bottom: 40px;
}

.custom--tab .nav-item {
    border-bottom: 0;
    padding: 5px;
}

.custom--tab .nav-item .nav-link {
    color: hsl(var(--heading-color));
    padding: 8px 25px;
    background-color: transparent !important;
    border-radius: 5px;
    transition: 0.4s;
    border: 1px solid hsl(var(--black)/0.08) !important;
}

@media screen and (max-width: 1199px) {
    .custom--tab .nav-item .nav-link {
        padding: 12px 15px;
    }
}

.custom--tab .nav-item .nav-link.active {
    color: hsl(var(--white));
    background-color: hsl(var(--base-d-200)) !important;
    border: 1px solid transparent !important;
}

.custom--tab .nav-item .nav-link.active:hover {
    color: hsl(var(--white));
}

.custom--tab .nav-item .nav-link:hover {
    color: hsl(var(--base));
}

/* ================================= Tab Css End =========================== */
/* ================================= Badge Css Start =========================== */
.badge {
    font-size: 0.75rem;
    border-radius: 8px;
    padding: 6px 14px;
    font-weight: 600;
    line-height: 1;
    position: relative;
    text-align: center;
}

.badge--base {
    background-color: hsl(var(--base)/0.1) !important;
    color: hsl(var(--base)) !important;
}

.badge--primary {
    background-color: hsl(var(--primary)/0.1) !important;
    color: hsl(var(--primary)) !important;
}

.badge--secondary {
    background-color: hsl(var(--secondary)/0.1) !important;
    color: hsl(var(--secondary)) !important;
}

.badge--success {
    background-color: hsl(var(--success)/0.1) !important;
    color: hsl(var(--success)) !important;
}

.badge--danger {
    background-color: hsl(var(--danger)/0.1) !important;
    color: hsl(var(--danger)) !important;
}

.badge--warning {
    background-color: hsl(var(--warning)/0.1) !important;
    color: hsl(var(--warning)) !important;
}

.badge--info {
    background-color: hsl(var(--info)/0.1) !important;
    color: hsl(var(--info)) !important;
}

.badge--dark {
    background-color: hsl(var(--dark)/0.1) !important;
    color: hsl(var(--dark)) !important;
}

/* ================================= Badge Css End =========================== */
/* ====================================== Alert Css Start =============================== */
.alert {
    margin-bottom: 0;
    background-color: hsl(var(--white));
    font-weight: 400;
    padding: 17px 24px;
    border-radius: 12px;
    border: 0;
    border-left: 3px solid transparent;
}

@media screen and (max-width: 991px) {
    .alert {
        padding: 16px;
    }
}

@media screen and (max-width: 575px) {
    .alert {
        padding: 12px;
    }
}

/* ====================================== Alert Css End =============================== */
/* ================================= preload Css Start =========================== */
.preloader {
    position: fixed;
    z-index: 999999;
    background-color: hsl(var(--black));
    width: 100%;
    height: 100%;
}

.loader-p {
    border: 0 solid transparent;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    position: absolute;
    top: calc(50vh - 75px);
    left: calc(50vw - 75px);
}

.loader-p:before,
.loader-p:after {
    content: "";
    border: 1em solid hsl(var(--base));
    border-radius: 50%;
    width: inherit;
    height: inherit;
    position: absolute;
    top: 0;
    left: 0;
    animation: loader 2s linear infinite;
    opacity: 0;
}

.loader-p:before {
    animation-delay: 0.5s;
}

@keyframes loader {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

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

/* ================================= preload Css End ===========================  */
/* ============= Header Start Here ======================= */

/* Header (design refresh R1): white, sticky, quiet border; a soft shadow once scrolled. */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background: hsl(var(--white));
    border-bottom: 1px solid hsl(var(--border-color));
    padding: 14px 0;
    transition: box-shadow 0.2s ease;
}

.header .navbar {
    position: unset;
}

.header.fixed-header {
    box-shadow: var(--shadow-sm);
}

.navbar {
    padding: 0 !important;
}

/* ========================= Desktop Device Start ========================= */
/* ========================= Desktop Device Start ========================= */

/* ========================== Desktop Device End ========================= */
/* ============================== Small Device ======================= */
@media screen and (max-width: 1199px) {
    .header {
        padding-block: 20px;
        border-bottom: 1px solid hsl(var(--black)/0.05);
    }

    .header .nav-item:first-child {
        border-bottom: none;
    }

    .header .nav-item:not(:last-child) {
        margin-bottom: 16px !important;
    }

    .header .nav-item.active .nav-link {
        color: hsl(var(--base));
    }

    .header .nav-item .nav-link {
        padding: 0 !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 !important;
        color: hsl(var(--black));
        font-weight: 400;
    }

    .header .nav-item .nav-link.show[aria-expanded=true] {
        color: hsl(var(--base)) !important;
    }

    .header .nav-item .nav-link.show[aria-expanded=true] i {
        transform: rotate(180deg);
    }
}

.lang-box {
    margin-right: 8px;
}

@media screen and (max-width: 1399px) {
    .lang-box {
        margin-right: 0;
    }
}

.lang-box-btn {
    color: hsl(var(--white));
    display: flex;
    gap: 4px;
    align-items: center;
}

.lang-box-btn.show .icon {
    transform: rotate(180deg);
}

.lang-box-btn .thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
}

.lang-box-btn .thumb img {
    display: flex;
}

@media screen and (max-width: 1399px) {
    .lang-box-btn .thumb {
        height: 20px;
        width: 20px;
    }
}

.lang-box-btn .text {
    color: hsl(var(--black));
    font-size: 1rem;
    font-weight: 400;
    line-height: 140%;
}

.lang-box-btn .icon {
    color: hsl(var(--black));
    font-size: 0.75rem;
    transition: all linear 0.3s;
}

.lang-box-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 10px;
    font-size: 1rem;
    color: hsl(var(--heading-color));
    font-weight: 600;
    transition: all 0.15s linear;
    border-radius: 6px;
}

.lang-box-link:hover {
    background-color: hsl(var(--black)/0.05);
    color: hsl(var(--black));
}

.lang-box-link .thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.lang-box-link .thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 1199px) {
    .lang-box .dropdown-menu {
        left: 0 !important;
        right: auto !important;
    }
}

.dropdown-menu {
    padding: 12px;
    border: 0;
    box-shadow: none;
    background-color: hsl(var(--white));
    border-radius: 12px;
    left: auto !important;
    right: 0 !important;
    display: unset !important;
    visibility: hidden;
    opacity: 0;
    transition: all 0.15s linear;
    transform: scale(0.95);
    top: calc(100% + 12px) !important;
    position: absolute !important;
    border: 1px solid hsl(var(--black)/0.1);
}

.dropdown-menu.show {
    visibility: visible;
    opacity: 1;
    transform: scale(1) !important;
}

.header .offcanvas-header {
    background-color: hsl(var(--white));
}

.header .btn-close {
    box-shadow: none;
}

/* ================================= Header Css End =========================== */
/* ================ Top Header Start Here ================ */

/* Login Registration */

/* Language Box */
.language-box {
    display: flex;
    align-items: center;
    position: relative;
}

.language-box .select {
    color: hsl(var(--white));
    background-color: transparent;
    border: 1px solid hsl(var(--white)/0.4);
    padding: 5px 8px;
    font-size: 0.9375rem;
    font-weight: 400;
    border-radius: 5px;
}

.language-box .select option {
    background-color: hsl(var(--black));
}

/* ================ Top Header End Here ================ */
/* ============= Header sheet (design refresh R1, redesigned) ============= */
/* ============= Top bar + header (Direction B: drafting-sheet header) =============
   The page opens with the same hairline "sheet" the footer closes with: a navy
   blueprint top bar, then a white header split into hairline cells (logo · nav ·
   language · cart · CTA) with "+" registration crosses where the cell rules meet
   the base line and two orange corner marks at the sheet's outer ends.
   Flat colours and hairlines only (no gradients, glows or blends). */

/* ---------- Top bar ---------- */
.header-top.hs-top {
    position: relative;
    padding: 0;
    background-color: hsl(var(--footer-bg));
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23fff'%3E%3Cpath d='M24.5 0V120M48.5 0V120M72.5 0V120M96.5 0V120M0 24.5H120M0 48.5H120M0 72.5H120M0 96.5H120' stroke-opacity='.03'/%3E%3Cpath d='M.5 0V120M0 .5H120' stroke-opacity='.065'/%3E%3C/g%3E%3C/svg%3E");
    background-position: center top;
}

.hs-top__line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
    row-gap: 4px;
    min-height: 40px;
    margin: 0;
    padding: 8px 0;
    text-align: center;
}

.hs-top__text {
    display: inline;
    color: hsl(var(--white) / 0.72);
    font-size: 0.6875rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hs-top__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-left: 21px;
    color: hsl(var(--white));
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* A hairline rule separates the message from its link. */
.hs-top__link::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 14px;
    background: hsl(var(--white) / 0.22);
    transform: translateY(-50%);
}

.hs-top__link span {
    text-decoration: underline;
    text-decoration-color: hsl(var(--white) / 0.35);
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    transition: text-decoration-color 0.25s ease;
}

.hs-top__link i {
    color: hsl(var(--base));
    font-size: 0.875rem;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hs-top__link:hover,
.hs-top__link:focus-visible {
    color: hsl(var(--white));
}

.hs-top__link:hover span,
.hs-top__link:focus-visible span {
    text-decoration-color: hsl(var(--base));
}

.hs-top__link:hover i,
.hs-top__link:focus-visible i {
    transform: translateX(3px);
}

/* ---------- Header: the sheet ---------- */
.header.hs {
    --hs-h: 76px;
    --hs-ink: hsl(var(--heading-color));
    --hs-soft: hsl(var(--heading-color) / 0.64);
    --hs-line: hsl(var(--border-color));
    --hs-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    padding: 0;
    background: hsl(var(--white));
    border-bottom: 1px solid var(--hs-line);
    box-shadow: none;
    transition: margin-bottom 0.35s var(--hs-ease);
}

.header.hs.fixed-header {
    box-shadow: none;
}

.hs .hs-bar {
    position: relative;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    min-height: var(--hs-h);
    transition: min-height 0.35s var(--hs-ease);
}

/* Orange corner marks at the sheet's two outer ends, sitting on the base line. */
.hs-mark {
    position: absolute;
    z-index: 2;
    bottom: -4px;
    width: 7px;
    height: 7px;
    background: hsl(var(--base));
    pointer-events: none;
}

.hs-mark--l {
    left: -3px;
}

.hs-mark--r {
    right: -3px;
}

.hs-cell {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

/* Registration cross where a cell rule meets the base line. */
.hs-cell--logo::after,
.hs-utils .hs-cell::after {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: -6px;
    width: 11px;
    height: 11px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11'%3E%3Cpath d='M5.5 0V11M0 5.5H11' stroke='%230A1631' stroke-opacity='.55'/%3E%3C/svg%3E") no-repeat;
    pointer-events: none;
}

.hs-cell--logo {
    flex: 0 0 232px;
    padding-right: 24px;
    border-right: 1px solid var(--hs-line);
}

.hs-cell--logo::after {
    right: -5px;
}

.hs-logo {
    display: block;
}

.hs-logo img {
    display: block;
    width: auto;
    height: 40px;
    transition: height 0.35s var(--hs-ease);
}

/* Utilities: language · cart · CTA (and the menu button below 1200px). */
.hs-utils {
    display: flex;
    align-items: stretch;
    margin-left: auto;
}

.hs-utils .hs-cell {
    padding: 0 24px;
    border-left: 1px solid var(--hs-line);
}

.hs-utils .hs-cell::after {
    left: -5px;
}

.hs-utils .hs-cell:last-child {
    padding-right: 0;
}

/* Cart: a square tile as tall as the sheet. */
.hs-utils .hs-cell--cart {
    justify-content: center;
    width: var(--hs-h);
    padding: 0;
    color: var(--hs-ink);
    font-size: 1.375rem;
    transition: background-color 0.25s ease, width 0.35s var(--hs-ease);
}

.hs-utils .hs-cell--cart:last-child {
    padding: 0;
}

.hs-cell--cart:hover,
.hs-cell--cart:focus-visible {
    background: hsl(var(--section-bg-two) / 0.45);
    color: var(--hs-ink);
}

.hs-cell--cart:focus-visible {
    outline-offset: -2px;
}

.hs-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    background: hsl(var(--base));
    color: hsl(var(--white));
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.hs-cell--cart .hs-badge {
    position: absolute;
    top: calc(50% - 21px);
    left: calc(50% + 4px);
    box-shadow: 0 0 0 2px hsl(var(--white));
}

.hs-cta.btn {
    height: 44px;
    padding: 0 20px;
    font-size: 0.875rem;
    white-space: nowrap;
    border-radius: 4px;
}

.hs-cta i,
.hs-canvas__cta .btn i {
    font-size: 1rem;
    transition: transform 0.35s var(--hs-ease);
}

.hs-cta:hover i,
.hs-cta:focus-visible i,
.hs-canvas__cta .btn:hover i {
    transform: translateX(3px);
}

/* Language (shared lang-box partial). */
.hs .lang-box {
    margin: 0;
}

.hs .lang-box-btn {
    gap: 9px;
    padding: 8px 0;
    color: var(--hs-ink);
}

.hs .lang-box-btn .thumb {
    width: 20px;
    height: 20px;
    box-shadow: 0 0 0 1px var(--hs-line);
}

.hs .lang-box-btn .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hs .lang-box-btn .text {
    color: var(--hs-soft);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.hs .lang-box-btn .icon {
    color: var(--hs-soft);
    font-size: 0.625rem;
    transition: transform 0.3s ease;
}

.hs .lang-box-btn:hover .text,
.hs .lang-box-btn.show .text {
    color: var(--hs-ink);
}

/* The dropdown hangs from the cell like a drawer, flush with the base line. */
.hs-cell--lang .lang-box {
    position: static;
}

.hs .dropdown-menu {
    min-width: 180px;
    padding: 6px;
    border: 1px solid var(--hs-line);
    border-top: 2px solid hsl(var(--base));
    border-radius: 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.hs .dropdown-menu.show {
    transform: translateY(0) !important;
}

.hs-cell--lang .dropdown-menu {
    top: calc(100% + 1px) !important;
    left: -1px !important;
    right: auto !important;
    min-width: max(180px, calc(100% + 2px));
}

.hs .lang-box-item + .lang-box-item {
    border-top: 1px solid var(--hs-line);
}

.hs .lang-box-link {
    gap: 10px;
    padding: 10px 12px;
    border-radius: 0;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.hs .lang-box-item.selected .lang-box-link {
    color: var(--hs-ink);
    font-weight: 600;
}

.hs .lang-box-item.selected .lang-box-link::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-left: auto;
    background: hsl(var(--base));
}

/* ---------- Desktop: the nav cell ---------- */
@media (min-width: 1200px) {
    .hs .hs-canvas {
        align-items: center;
        justify-content: center;
        padding: 0 32px;
    }

    .hs-utils .hs-cell--cta {
        padding-right: 0;
    }

    .hs-utils .hs-cell--cart {
        width: 72px;
    }

    .hs .hs-canvas__body,
    .hs .hs-sheet {
        display: flex;
        align-items: center;
    }

    .hs-sheet__corner {
        display: none;
    }

    .hs-nav {
        display: flex;
        align-items: center;
        gap: 44px;
    }

    .hs-nav__link {
        position: relative;
        display: flex;
        align-items: center;
        padding: 10px 0;
        color: var(--hs-soft);
        font-size: 0.75rem;
        font-weight: 600;
        line-height: 1;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        transition: color 0.25s ease;
    }

    /* Active marker: the footer's orange label dash. */
    .hs-nav__link::before {
        content: "";
        position: absolute;
        top: 50%;
        left: -22px;
        width: 14px;
        height: 2px;
        background: hsl(var(--base));
        transform: translateY(-50%) scaleX(0);
        transform-origin: right center;
        transition: transform 0.35s var(--hs-ease);
    }

    .hs-nav__link:hover,
    .hs-nav__link:focus-visible {
        color: var(--hs-ink);
    }

    .hs-nav__link:hover::before,
    .hs-nav__link:focus-visible::before {
        transform: translateY(-50%) scaleX(0.5);
    }

    .hs-nav__item.active .hs-nav__link {
        color: var(--hs-ink);
    }

    .hs-nav__item.active .hs-nav__link::before {
        transform: translateY(-50%) scaleX(1);
    }

    .hs-nav__arrow {
        display: none;
    }

    /* Scrolled: the sheet folds to a compact strip; the lost height becomes margin so the page never jumps. */
    .header.hs.fixed-header {
        --hs-h: 60px;
        margin-bottom: 16px;
    }

    .hs.fixed-header .hs-logo img {
        height: 32px;
    }

    .hs.fixed-header .hs-cta.btn {
        height: 40px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .hs-cell--logo {
        flex-basis: 200px;
    }

    .hs .hs-canvas {
        padding: 0 24px;
    }

    .hs-nav {
        gap: 36px;
    }

    .hs-utils .hs-cell {
        padding: 0 20px;
    }

    .hs .lang-box-btn .text {
        display: none;
    }
}

/* Scrolled state gets the footer's orange top rule. */
.header.hs::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    height: 2px;
    background: hsl(var(--base));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.5s var(--hs-ease);
}

.header.hs.fixed-header::before {
    transform: scaleX(1);
}

/* ---------- Below 1200px: logo · cart · CTA · menu ---------- */
@media (max-width: 1199px) {
    .header.hs {
        --hs-h: 64px;
        padding: 0;
    }

    .hs-cell--logo {
        flex: 1 1 auto;
        border-right: 0;
    }

    .hs-cell--logo::after {
        display: none;
    }

    .hs-logo img {
        height: 34px;
    }

    .hs-utils .hs-cell--menu {
        padding: 0 0 0 12px;
    }

    .hs-burger {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 44px;
        min-height: 44px;
        justify-content: flex-end;
        padding: 0;
        color: var(--hs-ink);
    }

    .hs-burger__label {
        font-size: 0.75rem;
        font-weight: 600;
        line-height: 1;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    .hs-burger__lines {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
        order: 2;
    }

    .hs-burger__lines span {
        display: block;
        width: 22px;
        height: 2px;
        background: currentColor;
        transition: width 0.35s var(--hs-ease);
    }

    .hs-burger__lines span + span {
        width: 14px;
        background: hsl(var(--base));
    }

    .hs-burger:hover .hs-burger__lines span + span {
        width: 22px;
    }

    /* The offcanvas: a navy drafting sheet. */
    .hs .hs-canvas {
        --bs-offcanvas-width: 420px;
        --hs-dline: hsl(var(--white) / 0.13);
        max-width: 100%;
        border: 0;
        border-top: 2px solid hsl(var(--base));
        background-color: hsl(var(--footer-bg));
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23fff'%3E%3Cpath d='M24.5 0V120M48.5 0V120M72.5 0V120M96.5 0V120M0 24.5H120M0 48.5H120M0 72.5H120M0 96.5H120' stroke-opacity='.03'/%3E%3Cpath d='M.5 0V120M0 .5H120' stroke-opacity='.065'/%3E%3C/g%3E%3C/svg%3E");
        background-position: left top;
        color: hsl(var(--white) / 0.72);
    }

    .hs .hs-canvas__head {
        flex: 0 0 auto;
        height: 64px;
        padding: 0 20px;
        border-bottom: 1px solid var(--hs-dline);
        background-color: transparent;
    }

    .hs-canvas__logo img {
        display: block;
        width: auto;
        height: 30px;
    }

    .hs-canvas__close {
        position: relative;
        width: 44px;
        height: 44px;
        border: 1px solid var(--hs-dline);
        color: hsl(var(--white));
        transition: background-color 0.25s ease, color 0.25s ease;
    }

    .hs-canvas__close::before,
    .hs-canvas__close::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 18px;
        height: 1.5px;
        background: currentColor;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .hs-canvas__close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .hs-canvas__close:hover,
    .hs-canvas__close:focus-visible {
        background: hsl(var(--white));
        color: hsl(var(--footer-bg));
    }

    .hs .hs-canvas__body {
        padding: 32px 20px 32px;
    }

    .hs-sheet {
        position: relative;
        border: 1px solid var(--hs-dline);
        counter-reset: hsn;
    }

    .hs-sheet__corner {
        position: absolute;
        z-index: 2;
        width: 7px;
        height: 7px;
        background: hsl(var(--base));
    }

    .hs-sheet__corner--tl {
        top: -4px;
        left: -4px;
    }

    .hs-sheet__corner--tr {
        top: -4px;
        right: -4px;
    }

    .hs-sheet__corner--bl {
        bottom: -4px;
        left: -4px;
    }

    .hs-sheet__corner--br {
        right: -4px;
        bottom: -4px;
    }

    .hs-label {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
        padding: 22px 20px 16px;
        color: hsl(var(--white) / 0.94);
        font-size: 0.6875rem;
        font-weight: 600;
        line-height: 1;
        letter-spacing: 0.2em;
        text-transform: uppercase;
    }

    .hs-label__dash {
        width: 16px;
        height: 2px;
        background: hsl(var(--base));
    }

    .hs-nav__item {
        position: relative;
        border-top: 1px solid var(--hs-dline);
    }

    /* Registration cross where each row rule meets the sheet's edge. */
    .hs-nav__item::before {
        content: "";
        position: absolute;
        z-index: 1;
        top: -6px;
        left: -6px;
        width: 11px;
        height: 11px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11'%3E%3Cpath d='M5.5 0V11M0 5.5H11' stroke='%23fff' stroke-opacity='.5'/%3E%3C/svg%3E") no-repeat;
        pointer-events: none;
    }

    .hs-nav__link,
    .hs .hs-nav__item--lang .lang-box-btn {
        display: flex;
        align-items: center;
        gap: 14px;
        width: 100%;
        min-height: 58px;
        padding: 0 20px;
        color: hsl(var(--white) / 0.8);
        font-family: var(--heading-font);
        font-size: 1.25rem;
        font-weight: 600;
        line-height: 1.2;
        transition: color 0.25s ease, background-color 0.25s ease;
    }

    .hs-nav:not(.hs-nav--extra) .hs-nav__link::before {
        counter-increment: hsn;
        content: counter(hsn, decimal-leading-zero);
        width: 22px;
        color: hsl(var(--white) / 0.42);
        font-family: var(--body-font);
        font-size: 0.6875rem;
        font-weight: 600;
        letter-spacing: 0.12em;
        transition: color 0.25s ease;
    }

    .hs-nav__text {
        transition: transform 0.35s var(--hs-ease);
    }

    .hs-nav__arrow {
        margin-left: auto;
        color: hsl(var(--base));
        font-size: 1.25rem;
        opacity: 0;
        transform: translateX(-12px);
        transition: opacity 0.25s ease, transform 0.35s var(--hs-ease);
    }

    .hs-nav__link:hover,
    .hs-nav__link:focus-visible,
    .hs-nav__item.active .hs-nav__link {
        color: hsl(var(--white));
    }

    .hs-nav__link:hover .hs-nav__arrow,
    .hs-nav__link:focus-visible .hs-nav__arrow,
    .hs-nav__item.active .hs-nav__arrow {
        opacity: 1;
        transform: translateX(0);
    }

    .hs-nav__link:hover .hs-nav__text,
    .hs-nav__link:focus-visible .hs-nav__text {
        transform: translateX(4px);
    }

    .hs-nav__item.active .hs-nav__link::before {
        color: hsl(var(--base));
    }

    .hs-nav__link:focus-visible {
        outline-offset: -2px;
    }

    /* Extra rows: cart and language. */
    .hs-nav--extra {
        background: hsl(var(--white) / 0.025);
    }

    .hs-nav--extra .hs-nav__link,
    .hs .hs-nav__item--lang .lang-box-btn {
        min-height: 54px;
        font-family: var(--body-font);
        font-size: 0.9375rem;
        font-weight: 500;
    }

    .hs-nav--extra .hs-nav__link::before {
        content: "\f290";
        width: 22px;
        color: hsl(var(--white) / 0.55);
        font-family: "Line Awesome Free";
        font-size: 1.125rem;
        font-weight: 900;
    }

    .hs-nav--extra .hs-badge {
        margin-left: -4px;
    }

    .hs .hs-nav__item--lang .lang-box {
        position: static;
    }

    .hs .hs-nav__item--lang .lang-box-btn .thumb {
        width: 20px;
        height: 20px;
        margin-right: 2px;
        box-shadow: 0 0 0 1px hsl(var(--white) / 0.25);
    }

    .hs .hs-nav__item--lang .lang-box-btn .text {
        color: inherit;
        font-size: inherit;
        font-weight: inherit;
        letter-spacing: 0;
        text-transform: none;
    }

    .hs .hs-nav__item--lang .lang-box-btn .icon {
        margin-left: auto;
        color: hsl(var(--white) / 0.55);
        font-size: 0.75rem;
    }

    .hs .hs-nav__item--lang .lang-box-btn:hover {
        color: hsl(var(--white));
    }

    .hs .hs-nav__item--lang .dropdown-menu {
        top: 100% !important;
        left: -1px !important;
        right: -1px !important;
        min-width: 0;
        border-right-color: hsl(var(--white) / 0.13);
        border-bottom-color: hsl(var(--white) / 0.13);
        border-left-color: hsl(var(--white) / 0.13);
        box-shadow: var(--shadow-lg);
    }

    .hs-canvas__cta {
        padding: 20px;
        border-top: 1px solid var(--hs-dline);
    }

    .hs-canvas__cta .btn {
        height: 52px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .hs-utils .hs-cell--cta {
        padding: 0 20px;
    }
}

@media (max-width: 767px) {
    .hs-burger__label {
        display: none;
    }

    /* Phones: cart and menu become two equal square tiles. */
    .hs-utils .hs-cell--menu {
        justify-content: center;
        width: var(--hs-h);
        padding: 0;
    }

    .hs-burger {
        justify-content: center;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 575px) {
    .header.hs {
        --hs-h: 60px;
    }

    .hs-logo img {
        height: 30px;
    }

    .hs-top__line {
        display: block;
        padding: 9px 0;
        line-height: 1.55;
    }

    .hs-top__text {
        font-size: 0.75rem;
        letter-spacing: 0;
        text-transform: none;
    }

    .hs-top__link {
        display: inline-flex;
        margin-left: 6px;
        padding-left: 0;
        font-size: 0.65625rem;
        line-height: 1.2;
    }

    .hs-top__link::before {
        display: none;
    }

    .hs-top__link span {
        text-underline-offset: 4px;
    }

    .hs .hs-canvas__head {
        height: 60px;
        padding: 0 16px;
    }

    .hs .hs-canvas__body {
        padding: 28px 16px;
    }
}

/* The open offcanvas must sit above Bootstrap's body-level backdrop. */
.header.hs:has(.hs-canvas.show),
.header.hs:has(.hs-canvas.showing),
.header.hs:has(.hs-canvas.hiding) {
    z-index: 1046;
}

@media (prefers-reduced-motion: reduce) {
    .hs *,
    .hs::before,
    .hs-top * {
        transition: none !important;
    }
}
/* ============= Header sheet End ============= */
/* ============= Footer (design refresh R2, redesigned) =======================
   A slim hairline "drafting sheet" on a navy blueprint grid: one row of bordered
   cells (brand + four link columns) and a bottom row, registration crosses on the
   cell corners and four orange corner marks. Flat colours and hairlines only
   (no gradients, glows or blends). */
.footer-area {
    --footer-line: hsl(var(--white) / 0.13);
    --footer-text: hsl(var(--white) / 0.94);
    --footer-muted: hsl(var(--white) / 0.68);
    --footer-faint: hsl(var(--white) / 0.5);
    --footer-pad: 28px;
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 56px 0 40px;
    border-top: 2px solid hsl(var(--base));
    background-color: hsl(var(--footer-bg));
    /* Blueprint sheet: 24px minor hairlines, a stronger major line every 5 cells. */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23fff'%3E%3Cpath d='M24.5 0V120M48.5 0V120M72.5 0V120M96.5 0V120M0 24.5H120M0 48.5H120M0 72.5H120M0 96.5H120' stroke-opacity='.03'/%3E%3Cpath d='M.5 0V120M0 .5H120' stroke-opacity='.065'/%3E%3C/g%3E%3C/svg%3E");
    background-position: center top;
    color: var(--footer-muted);
    font-size: 0.9375rem;
}

.footer-sheet {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--footer-line);
    border-left: 1px solid var(--footer-line);
}

.footer-cell {
    position: relative;
    min-width: 0;
    padding: 36px var(--footer-pad);
    border-right: 1px solid var(--footer-line);
    border-bottom: 1px solid var(--footer-line);
}

/* Registration cross on each cell's top-left corner (the first one sits under an orange corner mark). */
.footer-cell::before {
    content: "";
    position: absolute;
    top: -6px;
    left: -6px;
    width: 11px;
    height: 11px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11'%3E%3Cpath d='M5.5 0V11M0 5.5H11' stroke='%23fff' stroke-opacity='.5'/%3E%3C/svg%3E") no-repeat;
    pointer-events: none;
}

.footer-brand::before {
    display: none;
}

.footer-sheet__corner--tl {
    top: -4px;
    left: -4px;
}

.footer-sheet__corner--tr {
    top: -4px;
    right: -3px;
}

.footer-sheet__corner--bl {
    bottom: -3px;
    left: -4px;
}

.footer-sheet__corner--br {
    right: -3px;
    bottom: -3px;
}

/* Small uppercase column titles, each starting with an orange dash. */
.footer-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: var(--footer-text);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

.footer-label__dash {
    width: 16px;
    height: 2px;
    background: hsl(var(--base));
}

/* Brand cell: logo, CMS description and social icons. */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-brand__logo {
    align-self: flex-start;
}

.footer-brand__logo img {
    display: block;
    max-width: 130px;
    max-height: 44px;
}

.footer-brand__desc {
    max-width: 300px;
    color: var(--footer-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
    text-wrap: pretty;
}

.footer-brand__desc p {
    color: inherit;
    font-size: inherit;
}

/* Social icons: one joined strip of hairline squares. */
.footer-social {
    display: flex;
    width: max-content;
    margin-top: auto;
    border-left: 1px solid var(--footer-line);
}

.footer-social__link {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--footer-line);
    border-left: 0;
    color: var(--footer-text);
    font-size: 14px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
    background: hsl(var(--white));
    color: hsl(var(--footer-bg));
}

/* Link columns: on hover a small orange arrow slides in and the text moves aside. */
.footer-menu li + li {
    margin-top: 10px;
}

.footer-menu__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--footer-muted);
    font-size: 0.9375rem;
    line-height: 1.45;
    transition: color 0.25s ease;
}

.footer-menu__link span {
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.footer-menu__link i {
    position: absolute;
    top: 50%;
    left: 0;
    color: hsl(var(--base));
    font-size: 0.8125rem;
    opacity: 0;
    transform: translate(-8px, -50%);
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.footer-menu__link:hover,
.footer-menu__link:focus-visible {
    color: hsl(var(--white));
}

.footer-menu__link:hover span,
.footer-menu__link:focus-visible span {
    transform: translateX(20px);
}

.footer-menu__link:hover i,
.footer-menu__link:focus-visible i {
    opacity: 1;
    transform: translate(0, -50%);
}

/* Contact cell */
.footer-contact__list {
    margin: 0;
}

.footer-contact__list dt {
    margin: 0 0 4px;
    color: var(--footer-faint);
    font-size: 0.65625rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.footer-contact__list dd {
    margin: 0 0 12px;
    color: var(--footer-text);
    font-size: 0.9375rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.footer-contact__list dd:last-child {
    margin-bottom: 0;
}

.footer-contact__list a {
    display: inline;
    color: var(--footer-text);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    transition: text-decoration-color 0.25s ease;
}

.footer-contact__list a:hover,
.footer-contact__list a:focus-visible {
    color: var(--footer-text);
    text-decoration-color: hsl(var(--base));
}

/* Bottom row: copyright and payment icons (Admin → Footer Section items, 116x90 px, shown 26px tall). */
.footer-copy,
.footer-pay {
    display: flex;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

.footer-copy {
    grid-column: span 2;
}

.footer-copy p {
    margin: 0;
    color: var(--footer-faint);
    font-size: 0.8125rem;
}

.footer-pay {
    grid-column: span 3;
    justify-content: flex-end;
    gap: 16px;
}

.footer-pay__label {
    color: var(--footer-faint);
    font-size: 0.65625rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

.footer-pay__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-pay__list img {
    display: block;
    width: auto;
    height: 26px;
}

/* Keep the payment icons clear of the fixed scroll-to-top button. */
@media screen and (max-width: 1399px) {
    .footer-pay {
        padding-right: 88px;
    }
}

/* Tablet: the brand becomes one full-width row above the four link columns. */
@media screen and (max-width: 1199px) {
    .footer-sheet {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 18px 40px;
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .footer-brand__desc {
        flex: 1;
        max-width: 440px;
    }

    .footer-social {
        margin-top: 0;
    }

    .footer-copy,
    .footer-pay {
        grid-column: span 2;
    }
}

@media screen and (max-width: 767px) {
    .footer-sheet {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-brand__desc {
        flex: none;
    }

    .footer-copy,
    .footer-pay {
        grid-column: 1 / -1;
    }

    .footer-pay {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 575px) {
    .footer-area {
        --footer-pad: 16px;
        padding: 40px 0 96px;
    }

    .footer-cell {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .footer-brand {
        padding-right: 22px;
        padding-left: 22px;
    }

    .footer-menu__link,
    .footer-contact__list dd {
        font-size: 0.84375rem;
    }

    .footer-pay {
        flex-wrap: wrap;
        padding-right: var(--footer-pad);
    }
}

/* ===================== Scroll to Top Start ================================= */
.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    color: hsl(var(--white));
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-btn);
    z-index: 5;
    transition: 0.5s;
    cursor: pointer;
    transform: scale(0);
    background-color: hsl(var(--base));
}

.scroll-top:hover {
    color: hsl(var(--white));
    background-color: hsl(var(--base-d-100));
}

.scroll-top.show {
    transform: scale(1);
}

/* ===================== Scroll to Top End ================================= */
/* ================================= Template Selection Css Start =========================== */
::-moz-selection {
    color: hsl(var(--white));
    background: hsl(var(--base-d-100));
}

::selection {
    color: hsl(var(--white));
    background: hsl(var(--base-d-100));
}

/* ================================= Template Selection Css End ===========================  */
/* ====================== Breadcrumb Css Start ==================== */
/* Page header on a faint dotted "canvas" (like the Design Lab's): the trail as a small tracked
   label with the orange dash (the site's section label) and, on titled pages, the page name set
   large. Pages with their own title get the same canvas as a slim strip. A hairline closes it. */
.breadcrumb {
    --bc-pad: 22px;
    --bc-line: hsl(30 14% 88%);
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    padding: var(--bc-pad) 0;
    border-bottom: 1px solid var(--bc-line);
    background-color: hsl(34 24% 97%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23151414' fill-opacity='.09'/%3E%3C/svg%3E");
    background-position: center top;
}

.breadcrumb--page {
    --bc-pad: clamp(40px, 5vw, 64px);
}

.breadcrumb__nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* One line: a long current page name (a product title on a phone) is cut with an ellipsis. */
.breadcrumb__list {
    display: flex;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
}

.breadcrumb__item {
    display: flex;
    flex: none;
    align-items: center;
    white-space: nowrap;
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.breadcrumb__item + .breadcrumb__item::before {
    content: "/";
    margin: 0 10px;
    color: hsl(var(--heading-color) / 0.28);
    letter-spacing: 0;
}

.breadcrumb__link {
    color: hsl(var(--heading-color) / 0.6);
    transition: color 0.2s ease;
}

a.breadcrumb__link:hover,
a.breadcrumb__link:focus-visible {
    color: hsl(var(--base));
}

.breadcrumb__item.active {
    flex: 0 1 auto;
    min-width: 0;
}

.breadcrumb__item.active .breadcrumb__link {
    overflow: hidden;
    color: hsl(var(--heading-color));
    text-overflow: ellipsis;
}

.breadcrumb__title {
    margin: 14px 0 0;
    color: hsl(var(--heading-color)) !important;
    font-family: var(--heading-font);
    font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

@media (max-width: 575px) {
    .breadcrumb {
        --bc-pad: 16px;
    }

    .breadcrumb--page {
        --bc-pad: 32px;
    }

    .breadcrumb__title {
        margin-top: 10px;
    }
}

/* ====================== Breadcrumb Css End ==================== */
/* ================================= Start Rating Css Start =========================== */
.flex-align,
.action-buttons,
.rating-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.rating-list__item {
    padding: 0 1px;
    color: hsl(var(--warning));
}

.rating-list__text {
    color: hsl(var(--body-color));
}

/* ================================= Start Rating Css End =========================== */
/* =========================== Banner Section Start Here ========================= */
/* Home hero, direction A "The product is the hero".
   Centred copy on white: the one H1 (the highlighted words look selected in a Design Lab text
   layer: orange ink on a pale orange selection with a text caret), one line, two buttons.
   Below, spanning the container and cropped by the bottom of the section: the banner image, a
   picture of the Tisly Design Lab editor with a t-shirt design in progress. */
.banner-section.lab-hero {
    --lh-ink: hsl(var(--heading-color));
    --lh-muted: hsl(var(--heading-color) / 0.62);
    --lh-stage: clamp(340px, calc(100svh - 510px), 470px);
    position: relative;
    overflow: hidden;
    padding: 48px 0 0;
    background-color: hsl(var(--white));
}
/* ---------- Copy ---------- */
.lab-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.lab-hero__title {
    max-width: 10.5em;
    margin: 0;
    color: var(--lh-ink);
    font-size: 4.25rem;
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
}

/* The highlighted words: a text layer being edited. Orange ink, a pale orange selection and a caret. */
.lab-hero__mark {
    position: relative;
    z-index: 0;
    display: inline-block;
    padding: 0 0.08em;
    color: hsl(var(--base));
}

.lab-hero__mark::before {
    content: "";
    position: absolute;
    inset: 0.1em 0 0.02em;
    z-index: -1;
    border-radius: 0.08em;
    background-color: hsl(var(--base) / 0.1);
}

.lab-hero__mark::after {
    content: "";
    position: absolute;
    top: 0.06em;
    right: -0.02em;
    bottom: -0.02em;
    width: 3px;
    border-radius: 2px;
    background-color: hsl(var(--base));
    animation: labHeroCaret 1.1s steps(1, end) 6 both;
}

@keyframes labHeroCaret {
    50% {
        opacity: 0;
    }
}

.lab-hero__desc {
    max-width: 880px;
    margin: 22px 0 0;
    color: var(--lh-muted);
    font-size: 1.1875rem;
    line-height: 1.55;
    text-wrap: balance;
}

.lab-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.lab-hero__btn.btn {
    height: 54px;
    padding: 0 26px;
    font-size: 1rem;
}

.lab-hero__btn i {
    font-size: 1.125rem;
    transition: transform 0.2s ease;
}

.lab-hero__btn:hover i,
.lab-hero__btn:focus-visible i {
    transform: translateX(3px);
}

.lab-hero__btn:focus-visible {
    outline: 2px solid var(--lh-ink);
    outline-offset: 3px;
}

/* ---------- Stage: the Design Lab picture, cropped by the bottom of the section ----------
   The banner image is the whole editor window (2588 x 1280, drawn at 2x). It spans the container,
   anchored at the top; the section's bottom crops it near the fold. Phones: a crop around the tee. */
.lab-hero__stage {
    height: var(--lh-stage);
    margin-top: 44px;
    overflow: hidden;
}

.lab-hero__img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

@media (prefers-reduced-motion: reduce) {
    .lab-hero__mark::after {
        animation: none;
    }

    .lab-hero__btn i {
        transition: none;
    }
}

/* ---------- Responsive ----------
   >= 768px: the whole editor picture scaled to the container, cropped by --lh-stage.
   < 768px: a crop of the picture around the canvas and the tee, full height. */
@media screen and (max-width: 1399px) {
    .lab-hero__title {
        font-size: 3.75rem;
    }
}

@media screen and (max-width: 1199px) {
    .banner-section.lab-hero {
        --lh-stage: clamp(320px, calc(100svh - 500px), 440px);
    }

    .lab-hero__title {
        font-size: 3.25rem;
    }

    .lab-hero__desc {
        font-size: 1.125rem;
    }
}

/* Tablets: the picture is only ~344px tall at this width, so the stage stays shorter. */
@media screen and (max-width: 991px) {
    .banner-section.lab-hero {
        --lh-stage: 320px;
    }
}

@media screen and (max-width: 767px) {
    .banner-section.lab-hero {
        padding-top: 36px;
    }

    .lab-hero__title {
        font-size: 2.625rem;
        line-height: 1.08;
    }

    .lab-hero__mark::after {
        width: 2px;
    }

    .lab-hero__desc {
        margin-top: 16px;
        font-size: 1.0625rem;
    }

    .lab-hero__actions {
        flex-direction: column;
        align-self: stretch;
        margin-top: 26px;
    }

    .lab-hero__btn.btn {
        height: 52px;
    }

    .lab-hero__stage {
        margin-top: 36px;
    }

    /* Show the picture from just after the logo (x 86 of 1294) to just before the layer card (x 773), so the
       Front/Back switch, the whole tee and the top bar's title and zoom stay in view. */
    .lab-hero__stage {
        height: auto;
    }

    .lab-hero__img {
        width: 188.36%;
        margin-left: -12.52%;
    }
}
/* =========================== Banner Section End Here ========================= */
/* ================================= Comment Css Start =========================== */

/* ================================= Comment Css End =========================== */
/* ================================ Testimonails Section Css Start ============================= */
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= Testimonials: navy spotlight =================
   A full-width navy band on the footer's blueprint grid: a pause between two white sections.
   One review at a time, large: the lifestyle photo on the left, white stars, the quote set big
   in Urbanist and the name with a small orange dash on the right. The heading row carries a
   slim "01 / 05" counter and the square arrow pair; a row of small reviewer photos under the
   quote jumps straight to a review. Photo and words crossfade. Flat colours only. */
.voices {
    --voices-navy: hsl(var(--footer-bg));
    --voices-text: hsl(var(--white) / 0.96);
    --voices-soft: hsl(var(--white) / 0.78);
    --voices-line: hsl(var(--white) / 0.24);
    --voices-photo-w: clamp(300px, 26.4vw, 380px);
    --voices-gap: clamp(48px, 7.2vw, 104px);
    --voices-thumb: 56px;
    --voices-fade: 0.6s;
    --pop-line: var(--voices-line);
    --pop-ink: var(--voices-text);
    position: relative;
    overflow: hidden;
    padding-block: clamp(56px, 5.2vw, 76px);
    background-color: var(--voices-navy);
    /* The footer's blueprint sheet: 24px minor hairlines, a stronger line every 5 cells. */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23fff'%3E%3Cpath d='M24.5 0V120M48.5 0V120M72.5 0V120M96.5 0V120M0 24.5H120M0 48.5H120M0 72.5H120M0 96.5H120' stroke-opacity='.03'/%3E%3Cpath d='M.5 0V120M0 .5H120' stroke-opacity='.065'/%3E%3C/g%3E%3C/svg%3E");
    background-position: center top;
    color: var(--voices-soft);
}

/* ---------- Heading: eyebrow, title and lead on the left; counter and arrows on the right ---------- */
.voices-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 64px;
    margin-bottom: clamp(36px, 3.2vw, 46px);
}

.voices-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--voices-text);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.voices-title {
    margin: 0;
    /* The base heading rule sets its colour with !important. */
    color: hsl(var(--white)) !important;
    font-family: var(--heading-font);
    font-size: clamp(2.125rem, 1.35rem + 2vw, 3.25rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.voices-lead {
    max-width: 560px;
    margin: 16px 0 0;
    color: var(--voices-soft);
    font-size: 1.0625rem;
    line-height: 1.6;
    text-wrap: pretty;
}

.voices-controls {
    display: flex;
    flex: none;
    align-items: center;
    gap: 22px;
}

.voices-count {
    margin: 0;
    color: var(--voices-soft);
    font-family: var(--body-font);
    font-size: 0.875rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.voices-count__now {
    color: hsl(var(--white));
    font-weight: 600;
}

/* The shared square pair, drawn as white outlines on the navy. */
.voices .voices-nav {
    background: transparent;
}

.voices .voices-nav .pop-btn:hover {
    background: hsl(var(--base));
    color: hsl(var(--white));
}

/* ---------- The spotlight ---------- */
.voices-stage {
    display: grid;
    grid-template-columns: var(--voices-photo-w) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    column-gap: var(--voices-gap);
}

/* Every review sits in the same cell, so the stage keeps the height of the longest one. */
.voices-slides {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
}

.voices-slide {
    grid-area: 1 / 1;
    min-width: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--voices-fade) ease, visibility 0s linear var(--voices-fade);
}

.voices-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transition: opacity var(--voices-fade) ease, visibility 0s;
}

.voices-slide__figure {
    display: grid;
    grid-template-columns: var(--voices-photo-w) minmax(0, 1fr);
    column-gap: var(--voices-gap);
    height: 100%;
    margin: 0;
}

.voices-slide__photo {
    overflow: hidden;
    aspect-ratio: 9 / 10;
    border-radius: 12px;
    background: hsl(var(--white) / 0.06);
}

.voices-slide__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 12%;
}

/* The words sit in the space above the reviewer row. */
.voices-slide__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding-bottom: calc(var(--voices-thumb) + 64px);
}

.voices-slide__stars {
    display: inline-flex;
    align-self: flex-start;
    gap: 5px;
    margin-bottom: 26px;
    color: hsl(var(--white));
    font-size: 0.9375rem;
    line-height: 1;
}

.voices-slide__stars .far {
    color: hsl(var(--white) / 0.5);
}

.voices-slide__quote {
    max-width: 20em;
    margin: 0 0 30px;
    padding: 0;
    border: 0;
    font-size: clamp(1.5rem, 0.72rem + 2.05vw, 2.375rem);
}

.voices-slide__quote p {
    margin: 0;
    color: hsl(var(--white));
    font-family: var(--heading-font);
    font-size: inherit;
    font-weight: 500;
    line-height: 1.24;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

/* Quote marks at text size; the opening one hangs so the words align with the stars. */
.voices-slide__quote p::before {
    content: "\201C";
    display: inline-block;
    width: 0.36em;
    margin-left: -0.36em;
}

.voices-slide__quote p::after {
    content: "\201D";
}

.voices-slide__name {
    display: flex;
    align-items: center;
    gap: 12px;
    color: hsl(var(--white));
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Words drift up a little as they fade in. */
.voices-slide__text > * {
    transition: transform var(--voices-fade) cubic-bezier(0.2, 0.7, 0.2, 1);
}

.voices-slide:not(.is-active) .voices-slide__text > * {
    transform: translateY(10px);
}

/* A single review has no reviewer row to make room for. */
.voices-slide:only-child .voices-slide__text {
    padding-bottom: 0;
}

/* ---------- The reviewer row ---------- */
.voices-thumbs {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    grid-column: 2;
    grid-row: 2;
    gap: 12px;
    align-self: end;
    padding-top: 24px;
    border-top: 1px solid hsl(var(--white) / 0.14);
}

.voices-thumb {
    display: block;
    width: var(--voices-thumb);
    height: var(--voices-thumb);
    padding: 0;
    overflow: hidden;
    /* A faint edge so a dark photo still reads against the navy. */
    border: 1px solid hsl(var(--white) / 0.22);
    border-radius: 8px;
    background: hsl(var(--white) / 0.06);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.25s ease, box-shadow 0.25s ease;
}

.voices-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 10%;
}

.voices-thumb:hover {
    opacity: 0.85;
}

.voices-thumb[aria-current="true"] {
    border-color: transparent;
    opacity: 1;
    box-shadow: 0 0 0 2px var(--voices-navy), 0 0 0 4px hsl(var(--base));
}

.voices-thumb:focus-visible {
    outline-offset: 6px;
}

@media (prefers-reduced-motion: reduce) {
    .voices {
        --voices-fade: 0.01s;
    }

    .voices-slide:not(.is-active) .voices-slide__text > * {
        transform: none;
    }
}

/* ---------- Laptop ---------- */
@media (max-width: 1199px) {
    .voices {
        --voices-thumb: 52px;
    }
}

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
    .voices {
        --voices-photo-w: 280px;
        --voices-gap: 40px;
    }

    .voices-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .voices-slide__photo {
        aspect-ratio: 4 / 5;
    }

    .voices-slide__stars {
        margin-bottom: 20px;
    }

    .voices-slide__quote {
        margin-bottom: 24px;
    }
}

/* ---------- Phone: photo on top, words below, reviewer row last ---------- */
@media (max-width: 767px) {
    .voices {
        --voices-thumb: 48px;
    }

    .voices-stage {
        display: block;
    }

    .voices-slide__figure {
        display: block;
    }

    .voices-slide__photo {
        max-width: 460px;
        aspect-ratio: 5 / 4;
        margin-bottom: 26px;
    }

    .voices-slide__text {
        display: block;
        padding-bottom: 0;
    }

    .voices-slide__stars {
        margin-bottom: 16px;
    }

    .voices-slide__quote {
        margin-bottom: 20px;
    }

    .voices-slide__quote p {
        line-height: 1.28;
    }

    .voices-thumbs {
        margin-top: 32px;
        padding-top: 20px;
        gap: 10px;
    }
}

@media (max-width: 575px) {
    .voices-lead {
        margin-top: 14px;
        font-size: 1rem;
    }

    .voices-controls {
        justify-content: space-between;
        width: 100%;
    }

    .voices-nav {
        height: 46px;
    }

    .voices-nav .pop-btn {
        width: 46px;
    }
}

/* ================================ Testimonails Section Css End ============================= */
/*============== counter section css start here ==============*/
/* ============= Counter band (design refresh) ================================
   A navy strip cut from the footer's drafting sheet: blueprint grid, two
   full-bleed hairlines, cell rules with registration crosses where they meet
   the lines, orange corner marks at the container ends and a measuring ruler
   standing on the top line. Flat colours and hairlines only. */
.counter-band {
    --counter-line: hsl(var(--white) / 0.14);
    --counter-text: hsl(var(--white) / 0.96);
    --counter-muted: hsl(var(--white) / 0.66);
    --counter-gutter: clamp(28px, 3.2vw, 48px);
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 28px 0;
    background-color: hsl(var(--footer-bg));
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23fff'%3E%3Cpath d='M24.5 0V120M48.5 0V120M72.5 0V120M96.5 0V120M0 24.5H120M0 48.5H120M0 72.5H120M0 96.5H120' stroke-opacity='.03'/%3E%3Cpath d='M.5 0V120M0 .5H120' stroke-opacity='.065'/%3E%3C/g%3E%3C/svg%3E");
    background-position: center top;
}

.counter-sheet {
    position: relative;
}

/* The two sheet lines run edge to edge, like the header's bottom rule. */
.counter-sheet::before {
    content: "";
    position: absolute;
    top: 0;
    right: -100vw;
    bottom: 0;
    left: -100vw;
    border-top: 1px solid var(--counter-line);
    border-bottom: 1px solid var(--counter-line);
    pointer-events: none;
}

/* Measuring ruler standing on the top line, container width. */
.counter-ruler {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 9px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='9'%3E%3Cg stroke='%23fff'%3E%3Cpath d='M.5 0V9' stroke-opacity='.34'/%3E%3Cpath d='M8.5 5V9M16.5 5V9M24.5 5V9M32.5 5V9' stroke-opacity='.16'/%3E%3C/g%3E%3C/svg%3E") repeat-x left bottom;
    pointer-events: none;
}

.footer-sheet__corner,
.counter-corner {
    position: absolute;
    z-index: 2;
    width: 7px;
    height: 7px;
    background: hsl(var(--base));
}

.counter-corner--tl { top: -3px; left: -3px; }
.counter-corner--tr { top: -3px; right: -4px; }
.counter-corner--bl { bottom: -3px; left: -3px; }
.counter-corner--br { right: -4px; bottom: -3px; }

.counter-list {
    container-type: inline-size;
    display: grid;
    grid-template-rows: repeat(3, auto);
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.counter-cell {
    position: relative;
    /* Label, figure and description share rows across cells, so figures line up
       even when one label wraps. */
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    align-content: start;
    min-width: 0;
    padding: 30px var(--counter-gutter) 32px;
}

.counter-cell:first-child {
    padding-left: 0;
}

.counter-cell:last-child {
    padding-right: 0;
}

.counter-cell + .counter-cell {
    border-left: 1px solid var(--counter-line);
}

/* Registration crosses where a cell rule meets the two sheet lines. */
.counter-cell + .counter-cell::before,
.counter-cell + .counter-cell::after {
    content: "";
    position: absolute;
    left: -6px;
    width: 11px;
    height: 11px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11'%3E%3Cpath d='M5.5 0V11M0 5.5H11' stroke='%23fff' stroke-opacity='.55'/%3E%3C/svg%3E") no-repeat;
    pointer-events: none;
}

.counter-cell + .counter-cell::before { top: -5px; }
.counter-cell + .counter-cell::after { bottom: -5px; }

/* Small uppercase label with the orange dash, as in the header and footer. */
.counter-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 20px;
    color: var(--counter-text);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.counter-label::before {
    content: "";
    flex: none;
    width: 16px;
    height: 2px;
    margin-top: calc(0.675em - 1px);
    background: hsl(var(--base));
}

.counter-figure {
    display: flex;
    align-items: baseline;
    margin: 0 0 14px;
    color: hsl(var(--white));
    font-family: var(--heading-font);
    /* Scales with the sheet so "50,000+" always fits its cell, for 3 or 4 items. */
    font-size: min(clamp(3rem, 2rem + 2.6vw, 4.5rem), 8cqi);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -0.035em;
    white-space: nowrap;
    font-variant-numeric: lining-nums tabular-nums;
}

.counter-list:has(> .counter-cell:nth-child(4)) .counter-figure {
    font-size: min(clamp(3rem, 2rem + 2.6vw, 4.5rem), 5.2cqi);
}

.counter-figure__suffix {
    color: hsl(var(--base));
}

.counter-desc {
    max-width: 30ch;
    margin: 0;
    color: var(--counter-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    text-wrap: pretty;
}

/* Tablet: tighter cells, smaller figures. */
@media (max-width: 991px) {
    .counter-band {
        --counter-gutter: 24px;
    }

    .counter-cell {
        padding-top: 28px;
        padding-bottom: 30px;
    }

    .counter-desc {
        font-size: 0.875rem;
    }
}

/* Phone: the cells stack into table rows (figure | label + description);
   each cell rule becomes a line across the container. */
@media (max-width: 767px) {
    .counter-band {
        padding: 24px 0;
    }

    .counter-list {
        grid-auto-flow: row;
        grid-template-rows: none;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .counter-cell,
    .counter-cell:first-child,
    .counter-cell:last-child {
        grid-row: auto;
        grid-column: 1 / -1;
        grid-template-columns: subgrid;
        grid-template-rows: auto 1fr;
        column-gap: 20px;
        align-items: start;
        padding: 22px 0;
    }

    .counter-cell + .counter-cell {
        border-left: 0;
        border-top: 1px solid var(--counter-line);
    }

    .counter-cell + .counter-cell::before,
    .counter-cell + .counter-cell::after {
        display: none;
    }

    .counter-figure {
        grid-column: 1;
        grid-row: 1 / span 2;
        margin: 0;
        font-size: 2.75rem;
    }

    .counter-label {
        grid-column: 2;
        margin: 2px 0 10px;
        letter-spacing: 0.16em;
    }

    .counter-desc {
        grid-column: 2;
        font-size: 0.875rem;
        line-height: 1.55;
    }
}

/*================ counter section css end here ==============*/
/*============== how-work section start here ==============*/
/* ================================= How it works ================================= */
/* A white drafting sheet laid on warm stone: four equal step cells split by hairline
   rules, registration crosses where the rules meet the sheet edges, orange corner
   squares at the sheet corners and a title block along the bottom holding the call
   to action, like the footer's bottom strip. Each step tile carries the banner's
   selection corners; hovering a step selects it like a Design Lab layer. */
.how-work {
    --how-work-stone: hsl(34 24% 95%);
    --how-work-tile: hsl(34 26% 94%);
    --how-work-line: hsl(30 14% 86%);
    --how-work-ink: hsl(var(--heading-color));
    --how-work-muted: hsl(var(--heading-color) / 0.66);
    --how-work-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11'%3E%3Cpath d='M5.5 0V11M0 5.5H11' stroke='%230A1631' stroke-opacity='.55'/%3E%3C/svg%3E");
    --how-work-pad-x: clamp(22px, 2.3vw, 32px);
    --how-work-pad-t: 28px;
    --how-work-label: 15px;
    --how-work-label-gap: 20px;
    --how-work-tile-size: 84px;
    position: relative;
    z-index: 0;
    overflow: hidden;
    padding-block: clamp(60px, 5.6vw, 84px);
    background-color: var(--how-work-stone);
}

/* ---------- Heading: dash eyebrow + title on the left, lead on the right ---------- */
.how-work-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 64px;
    margin-bottom: clamp(32px, 3.4vw, 44px);
}

.how-work-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--how-work-ink);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.how-work-title {
    margin: 0;
    color: var(--how-work-ink);
    font-family: var(--heading-font);
    font-size: clamp(2.125rem, 1.35rem + 2vw, 3.25rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.how-work-lead {
    max-width: 400px;
    margin: 0 0 4px;
    color: var(--how-work-muted);
    font-size: 1.0625rem;
    line-height: 1.6;
    text-wrap: pretty;
}

/* ---------- The sheet ---------- */
.how-work-sheet {
    position: relative;
    border: 1px solid var(--how-work-line);
    background: hsl(var(--white));
}

/* The top and bottom sheet lines carry on to the page edges, like the header rule. */
.how-work-sheet::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -1px;
    right: -100vw;
    bottom: -1px;
    left: -100vw;
    border-top: 1px solid var(--how-work-line);
    border-bottom: 1px solid var(--how-work-line);
    pointer-events: none;
}

.how-work-sheet__corner {
    position: absolute;
    z-index: 6;
    width: 7px;
    height: 7px;
    background: hsl(var(--base));
}

.how-work-sheet__corner--tl { top: -4px; left: -4px; }
.how-work-sheet__corner--tr { top: -4px; right: -4px; }
.how-work-sheet__corner--bl { bottom: -4px; left: -4px; }
.how-work-sheet__corner--br { right: -4px; bottom: -4px; }

/* ---------- Step cells ---------- */
.how-work-steps {
    display: grid;
    grid-template-rows: repeat(4, auto);
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.how-work-step {
    position: relative;
    /* Label, tile, title and text share rows across cells, so every title and
       description starts on the same line. */
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    align-content: start;
    min-width: 0;
    padding: var(--how-work-pad-t) var(--how-work-pad-x) 32px;
}

.how-work-step + .how-work-step {
    border-left: 1px solid var(--how-work-line);
}

/* Registration crosses where a cell rule meets the top and bottom lines. */
.how-work-step + .how-work-step::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: -6px;
    bottom: -6px;
    left: -6px;
    width: 11px;
    background: var(--how-work-cross) no-repeat center top, var(--how-work-cross) no-repeat center bottom;
    pointer-events: none;
}

/* Hover: a thin orange line draws along the top of the cell... */
.how-work-step::after {
    content: "";
    position: absolute;
    z-index: 3;
    top: -1px;
    right: 0;
    left: 0;
    height: 2px;
    background: hsl(var(--base));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
}

.how-work-step + .how-work-step::after {
    left: -1px;
}

/* ...and the cell corners pick up Design Lab selection handles. */
.how-work-step__sel {
    position: absolute;
    z-index: 5;
    inset: -1px 0 0 0;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.how-work-step + .how-work-step .how-work-step__sel {
    left: -1px;
}

.how-work-step__sel i {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1.5px solid hsl(var(--base));
    background: hsl(var(--white));
}

.how-work-step__sel i:nth-child(1) { top: -4px; left: -4px; }
.how-work-step__sel i:nth-child(2) { top: -4px; right: -4px; }
.how-work-step__sel i:nth-child(3) { bottom: -4px; left: -4px; }
.how-work-step__sel i:nth-child(4) { right: -4px; bottom: -4px; }

/* The first step rests selected; on devices that hover, the selection follows the pointer. */
.how-work-step:first-child::after {
    transform: scaleX(1);
}

.how-work-step:first-child .how-work-step__sel {
    opacity: 1;
}

@media (hover: hover) {
    .how-work-steps:hover .how-work-step:first-child:not(:hover)::after {
        transform: scaleX(0);
    }

    .how-work-steps:hover .how-work-step:first-child:not(:hover) .how-work-step__sel {
        opacity: 0;
    }

    .how-work-step:hover::after {
        transform: scaleX(1);
    }

    .how-work-step:hover .how-work-step__sel {
        opacity: 1;
    }
}

/* Flow marker sitting on the rule between two steps, level with the tiles. */
.how-work-step__next {
    position: absolute;
    z-index: 2;
    top: calc(var(--how-work-pad-t) + var(--how-work-label) + var(--how-work-label-gap) + var(--how-work-tile-size) / 2 - 12px);
    left: -12.5px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid var(--how-work-line);
    background: hsl(var(--white));
    color: hsl(var(--base));
    font-size: 0.8125rem;
    line-height: 1;
}

.how-work-step:first-child .how-work-step__next {
    display: none;
}

.how-work-step__label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 var(--how-work-label-gap);
    color: var(--how-work-ink);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: var(--how-work-label);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* The 3D art on a warm stone tile, framed by the banner's selection corners. */
.how-work-step__tile {
    position: relative;
    display: grid;
    place-items: center;
    justify-self: start;
    width: var(--how-work-tile-size);
    height: var(--how-work-tile-size);
    margin: 0 0 24px 5px;
    background: var(--how-work-tile);
}

.how-work-step__tile::before {
    content: "";
    position: absolute;
    inset: -5px;
    --c: hsl(var(--heading-color) / 0.5);
    --l: 10px;
    --w: 1.5px;
    background:
        linear-gradient(var(--c) 0 0) top left / var(--l) var(--w),
        linear-gradient(var(--c) 0 0) top left / var(--w) var(--l),
        linear-gradient(var(--c) 0 0) top right / var(--l) var(--w),
        linear-gradient(var(--c) 0 0) top right / var(--w) var(--l),
        linear-gradient(var(--c) 0 0) bottom left / var(--l) var(--w),
        linear-gradient(var(--c) 0 0) bottom left / var(--w) var(--l),
        linear-gradient(var(--c) 0 0) bottom right / var(--l) var(--w),
        linear-gradient(var(--c) 0 0) bottom right / var(--w) var(--l);
    background-repeat: no-repeat;
    transition: inset 0.3s ease;
    pointer-events: none;
}

.how-work-step:first-child .how-work-step__tile::before {
    --c: hsl(var(--base));
}

@media (hover: hover) {
    .how-work-steps:hover .how-work-step:first-child:not(:hover) .how-work-step__tile::before {
        --c: hsl(var(--heading-color) / 0.5);
    }

    .how-work-step:hover .how-work-step__tile::before {
        --c: hsl(var(--base));
        inset: -7px;
    }
}

.how-work-step__tile img {
    width: 78%;
    height: 78%;
    object-fit: contain;
}

.how-work-step__title {
    margin: 0 0 10px;
    color: var(--how-work-ink);
    font-family: var(--heading-font);
    font-size: clamp(1.1875rem, 0.95rem + 0.45vw, 1.375rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.how-work-step__desc {
    max-width: 34ch;
    margin: 0;
    color: var(--how-work-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    text-wrap: pretty;
}

@media (prefers-reduced-motion: reduce) {
    .how-work-step::after,
    .how-work-step__sel,
    .how-work-step__tile::before {
        transition: none;
    }
}

/* ---------- Tablet ---------- */
@media (max-width: 1199px) {
    .how-work {
        --how-work-tile-size: 76px;
        --how-work-pad-t: 26px;
    }

    .how-work-step__desc {
        font-size: 0.875rem;
    }
}

/* Two by two: the rules become a cross in the middle of the sheet. */
@media (max-width: 991px) {
    .how-work-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .how-work-steps {
        grid-auto-flow: row;
        grid-template-rows: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .how-work-step + .how-work-step {
        border-left: 0;
    }

    .how-work-step:nth-child(even) {
        border-left: 1px solid var(--how-work-line);
    }

    .how-work-step:nth-child(n + 3) {
        border-top: 1px solid var(--how-work-line);
    }

    .how-work-step:nth-child(odd)::before,
    .how-work-step:nth-child(odd) .how-work-step__next {
        display: none;
    }

    .how-work-step:nth-child(n + 3)::after,
    .how-work-step:nth-child(n + 3) .how-work-step__sel {
        top: -1px;
    }
}

/* Phone: one column; each step is a row (tile | text) and the rules run across. */
@media (max-width: 575px) {
    .how-work {
        --how-work-pad-x: 20px;
        --how-work-pad-t: 22px;
        --how-work-tile-size: 64px;
    }

    .how-work-head {
        gap: 16px;
    }

    .how-work-lead {
        font-size: 1rem;
    }

    .how-work-steps {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .how-work-step,
    .how-work-step:nth-child(even) {
        grid-column: 1 / -1;
        grid-row: auto;
        grid-template-columns: subgrid;
        grid-template-rows: auto auto 1fr;
        column-gap: 20px;
        padding: var(--how-work-pad-t) var(--how-work-pad-x) 24px;
        border-left: 0;
    }

    .how-work-step + .how-work-step {
        border-top: 1px solid var(--how-work-line);
    }

    .how-work-step::before {
        display: none;
    }

    .how-work-step__tile {
        grid-column: 1;
        grid-row: 1 / span 3;
        margin: 5px 0 0 5px;
    }

    .how-work-step__label,
    .how-work-step__title,
    .how-work-step__desc {
        grid-column: 2;
    }

    .how-work-step__label {
        margin-bottom: 8px;
    }

    .how-work-step__title {
        margin-bottom: 6px;
        font-size: 1.1875rem;
    }

    .how-work-step__desc {
        font-size: 0.875rem;
        line-height: 1.55;
    }

    /* The flow marker sits on the rule above, under the tile, pointing down. */
    .how-work-step:nth-child(odd) .how-work-step__next,
    .how-work-step__next {
        display: grid;
        top: -12.5px;
        left: calc(var(--how-work-pad-x) + 5px + var(--how-work-tile-size) / 2 - 12px);
    }

    .how-work-step__next i {
        transform: rotate(90deg);
    }

    .how-work-step:first-child .how-work-step__next {
        display: none;
    }
}
/*============== how-work section end here ==============*/
/* ======================  Faq Section Start  ======================*/
/* ================================= FAQ ================================= */
/* "Design Lab stage". White band, 5/7 split. Left: a warm-stone stage with a close crop of the
   tee and the Design Lab's dashed print area + square handles over its print; a white help card
   (support title, email, phone, Contact button) floats over the stage's lower-right corner, its
   bottom level with the last question. The stage stays in view (sticky) while a long list scrolls.
   Right: the family heading, then the questions between hairlines: orange numbers, Urbanist
   questions and a round toggle that fills orange when open.
   Tablet and phone: heading, questions, then the stage with the card overlapping its foot. */
.qa {
    --qa-line: hsl(30 14% 86%);
    --qa-ink: hsl(var(--heading-color));
    --qa-muted: hsl(var(--heading-color) / 0.66);
    --qa-answer: hsl(var(--heading-color) / 0.72);
    --qa-stage: hsl(34 16% 89%);
    --qa-accent: hsl(var(--base));
    --qa-accent-text: hsl(var(--base-d-100));
    --qa-toggle: 44px;
    --qa-num: 44px;
    --qa-col-gap: 16px;
    --qa-hang: 40px;
    --qa-hang-x: 40px;
    --qa-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    position: relative;
    padding-block: clamp(64px, 5.6vw, 80px);
    background-color: hsl(var(--white));
}

.qa-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "visual main";
    column-gap: clamp(56px, 6.7vw, 96px);
}

/* ---------- Right: heading + questions ---------- */
.qa-main {
    grid-area: main;
    min-width: 0;
}

.qa-head {
    margin-bottom: clamp(28px, 2.8vw, 40px);
}

.qa-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--qa-ink);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.qa-eyebrow::before {
    content: "";
    flex: none;
    width: 16px;
    height: 2px;
    background: var(--qa-accent);
}

.qa-title {
    margin: 0;
    color: var(--qa-ink);
    font-family: var(--heading-font);
    font-size: clamp(2.125rem, 1.35rem + 2vw, 3.25rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.qa-lead {
    max-width: 560px;
    margin: 16px 0 0;
    color: var(--qa-muted);
    font-size: 1.0625rem;
    line-height: 1.6;
    text-wrap: balance;
}

.qa-list {
    border-bottom: 1px solid var(--qa-line);
}

.qa-item {
    border-top: 1px solid var(--qa-line);
}

.qa-q {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

.qa-btn {
    display: grid;
    grid-template-columns: var(--qa-num) minmax(0, 1fr) var(--qa-toggle);
    align-items: center;
    column-gap: var(--qa-col-gap);
    width: 100%;
    padding: 16px 0;
    border: 0;
    background: transparent;
    color: var(--qa-ink);
    text-align: left;
    cursor: pointer;
}

.qa-btn:focus-visible {
    outline: 2px solid var(--qa-accent);
    outline-offset: 4px;
}

/* The numbers use the one-step-darker orange so the small type passes AA on white. */
.qa-num {
    color: var(--qa-accent-text);
    font-family: var(--body-font);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
}

.qa-text {
    color: var(--qa-ink);
    font-family: var(--heading-font);
    font-size: 1.3125rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

/* Round toggle: hairline circle with a plus; open, it fills orange and the plus folds to a minus. */
.qa-icon {
    position: relative;
    width: var(--qa-toggle);
    height: var(--qa-toggle);
    border: 1px solid var(--qa-line);
    border-radius: var(--radius-btn);
    background: hsl(var(--white));
    color: var(--qa-ink);
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.qa-icon::before,
.qa-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1.5px;
    margin: -0.75px 0 0 -7px;
    border-radius: 1px;
    background: currentColor;
    transition: transform 0.3s var(--qa-ease);
}

.qa-icon::after {
    transform: rotate(90deg);
}

.qa-btn:hover .qa-icon {
    border-color: var(--qa-ink);
}

.qa-btn[aria-expanded="true"] .qa-icon {
    border-color: var(--qa-accent);
    background: var(--qa-accent);
    color: hsl(var(--white));
}

.qa-btn[aria-expanded="true"] .qa-icon::after {
    transform: rotate(0deg);
}

.qa-a {
    padding: 0 calc(var(--qa-toggle) + var(--qa-col-gap)) 24px calc(var(--qa-num) + var(--qa-col-gap));
}

.qa-a p {
    max-width: 58ch;
    margin: -6px 0 0;
    color: var(--qa-answer);
    font-size: 1.0625rem;
    line-height: 1.65;
    text-wrap: pretty;
}

.qa .collapsing {
    transition: height 0.32s var(--qa-ease);
}

/* ---------- Left: the stage ---------- */
/* Its height follows the right column, so the card ends level with the last question; the stage
   stops short of the bottom by the card's overhang. With a long list it stops at the viewport
   height and stays in view. */
.qa-visual {
    grid-area: visual;
    position: sticky;
    top: 104px;
    align-self: start;
    height: min(100%, calc(100vh - 136px));
    min-height: clamp(520px, 43.9vw, 620px);
}

.qa-stage {
    position: absolute;
    inset: 0 0 var(--qa-hang);
    overflow: hidden;
    margin: 0;
    border-radius: 12px;
    background: var(--qa-stage);
}

/* The tee, cropped close so the print reads large: 1.4x the stage width, the print on the stage's
   centre line, the collar ~32px under the top edge (margin-top % is taken from the width, like the
   image). The figure hugs the image so the print area can be placed in %. */
.qa-tee {
    --qa-tee-w: 140%;
    position: absolute;
    top: 0;
    left: calc(50% - var(--qa-tee-w) * 0.415);
    width: var(--qa-tee-w);
    margin-top: calc(32px - var(--qa-tee-w) * 0.087);
    line-height: 0;
}

.qa-area {
    position: absolute;
    left: 24.3%;
    top: 25.6%;
    width: 34.4%;
    height: 29.4%;
    pointer-events: none;
}

.qa-area svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.qa-area rect {
    fill: none;
    stroke: var(--qa-accent);
    stroke-width: 1.5;
    stroke-dasharray: 6 5;
    animation: qaAnts 1.6s linear infinite;
}

@keyframes qaAnts {
    to { stroke-dashoffset: -22; }
}

.qa-area i {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1.5px solid var(--qa-accent);
    background: hsl(var(--white));
}

.qa-area i:nth-child(2) { top: -5px; left: -5px; }
.qa-area i:nth-child(3) { top: -5px; right: -5px; }
.qa-area i:nth-child(4) { bottom: -5px; left: -5px; }
.qa-area i:nth-child(5) { right: -5px; bottom: -5px; }

/* ---------- The help card ---------- */
/* Help card: a compact navy card (the footer's blueprint grid) floating over the stage's corner, so it
   stands out against the white tee. White title, the real email and phone as labelled rows between
   hairlines, then the orange Contact button. */
/* Help card: a quiet white card floating over the stage's corner, so the questions stay the focus.
   Title and line, the real email and phone as labelled rows between hairlines, then an outlined
   Contact button (orange only on hover). */
.qa-help {
    position: absolute;
    z-index: 1;
    right: calc(var(--qa-hang-x) * -1);
    bottom: 0;
    width: 292px;
    padding: 22px;
    border: 1px solid var(--qa-line);
    border-radius: var(--radius);
    background: hsl(var(--white));
    box-shadow: 0 18px 40px -28px hsl(var(--footer-bg) / 0.28);
}

.qa-help__title {
    margin: 0;
    color: var(--qa-ink);
    font-family: var(--heading-font);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.qa-help__desc {
    margin: 6px 0 0;
    color: var(--qa-muted);
    font-size: 0.8125rem;
    line-height: 1.55;
    text-wrap: pretty;
}

/* A compact orange button; the open question stays the main focus. */
.qa-help__btn.btn {
    margin-top: 18px;
    height: 40px;
    padding: 0 18px;
    gap: 8px;
    font-size: 0.875rem;
    box-shadow: none;
}

.qa-help__btn i {
    font-size: 1.0625rem;
    transition: transform 0.25s ease;
}

.qa-help__btn:hover i,
.qa-help__btn:focus-visible i {
    transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
    .qa .collapsing,
    .qa-icon,
    .qa-icon::before,
    .qa-icon::after,
    .qa-help__btn i {
        transition: none;
    }

    .qa-area rect {
        animation: none;
    }
}

/* ---------- Laptop ---------- */
@media (max-width: 1199px) {
    .qa {
        --qa-num: 32px;
        --qa-toggle: 40px;
        --qa-hang-x: 24px;
    }

    .qa-text {
        font-size: 1.1875rem;
    }

    .qa-help {
        width: 272px;
        padding: 20px;
    }
}

/* ---------- Tablet & phone: heading, questions, then the stage ---------- */
@media (max-width: 991px) {
    .qa-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "main" "visual";
    }

    .qa-visual {
        position: relative;
        top: auto;
        height: auto;
        min-height: 0;
        margin-top: 48px;
        padding-bottom: 0;
    }

    .qa-stage {
        position: relative;
        inset: auto;
        aspect-ratio: 16 / 10;
    }

    /* Landscape stage: the tee moves left so the card sits beside the print, not over it. */
    .qa-tee {
        --qa-tee-w: 80%;
        left: calc(34% - var(--qa-tee-w) * 0.415);
    }

    .qa-help {
        right: 24px;
        bottom: 24px;
        width: 300px;
    }
}

@media (max-width: 575px) {
    .qa {
        --qa-num: 28px;
        --qa-toggle: 40px;
        --qa-col-gap: 12px;
    }

    .qa-lead {
        font-size: 1rem;
    }

    .qa-btn {
        padding: 16px 0;
    }

    .qa-text {
        font-size: 1.0625rem;
        line-height: 1.4;
    }

    .qa-a {
        padding: 0 0 22px calc(var(--qa-num) + var(--qa-col-gap));
    }

    .qa-a p {
        font-size: 0.9375rem;
    }

    .qa-visual {
        margin-top: 40px;
    }

    .qa-stage {
        aspect-ratio: 1 / 1;
    }

    .qa-tee {
        --qa-tee-w: 140%;
        left: calc(50% - var(--qa-tee-w) * 0.415);
        margin-top: calc(24px - var(--qa-tee-w) * 0.087);
    }

    .qa-help {
        position: relative;
        right: auto;
        bottom: auto;
        width: auto;
        margin: -72px 16px 0;
    }
}
/* ======================  Faq Section End  ======================*/
/*=============== cta section start here ===============*/
/* ================================= CTA ================================= */
/* "Bold orange panel". A white band holding one brand-orange panel. Left: the eyebrow (the
   highlighted words sit in a white chip), a big white Urbanist heading (large text, AA on orange),
   the description in ink (4.6:1 on orange) and two different buttons: navy solid primary, white
   secondary. Right: the cut-out tee PNG, its shoulders breaking out of the panel's top edge and its
   hem cropped by the panel's bottom edge, with the Design Lab's navy dashed print area and square
   handles over its chest print. Phones: the tee sits on top (still breaking out), copy below. */
.cta {
    --cta-orange: hsl(var(--base));
    --cta-ink: hsl(var(--heading-color));
    --cta-navy: hsl(var(--footer-bg));
    --cta-navy-hover: hsl(222 52% 22%);
    --cta-stone: hsl(34 24% 95%);
    --cta-rise: 72px;
    position: relative;
    padding: calc(var(--cta-rise) + 28px) 0 60px;
    background: hsl(var(--white));
}

.cta__panel {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 384px;
    padding: 44px 64px;
    border-radius: 16px;
    background: var(--cta-orange);
}

.cta__copy {
    position: relative;
    z-index: 2;
    width: 52%;
}

.cta__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 0 0 16px;
    color: hsl(var(--white));
    font-family: var(--body-font);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cta__chip {
    display: inline-block;
    padding: 5px 10px 4px;
    border-radius: 4px;
    background: hsl(var(--white));
    color: var(--cta-ink);
    font-weight: 700;
}

.cta .cta__title {
    max-width: 620px;
    margin: 0;
    color: hsl(var(--white)) !important;
    font-family: var(--heading-font);
    font-size: clamp(2.25rem, 1.2rem + 2.4vw, 3.375rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.cta__desc {
    max-width: 500px;
    margin: 16px 0 0;
    color: hsl(var(--white) / 0.92);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.6;
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.cta .cta__btn {
    height: 54px;
    padding: 0 26px;
    border: 0 !important;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: none !important;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cta .cta__btn i {
    font-size: 1.125rem;
    transition: transform 0.25s ease;
}

.cta .cta__btn--primary {
    background: var(--cta-navy) !important;
    color: hsl(var(--white)) !important;
}

.cta .cta__btn--secondary {
    background: hsl(var(--white)) !important;
    color: var(--cta-ink) !important;
}

.cta .cta__btn--primary:hover,
.cta .cta__btn--primary:focus-visible {
    background: var(--cta-navy-hover) !important;
}

.cta .cta__btn--secondary:hover,
.cta .cta__btn--secondary:focus-visible {
    background: var(--cta-stone) !important;
}

.cta .cta__btn:hover i,
.cta .cta__btn:focus-visible i {
    transform: translateX(4px);
}

.cta .cta__btn:focus-visible {
    outline: 2px solid hsl(var(--white));
    outline-offset: 3px;
}

/* ---------- The tee ---------- */
/* The visual column is clipped at the panel's sides and bottom (bottom-right corner rounded like
   the panel) but open at the top, so the tee rises out of the panel: the white tee's collar sits
   20px above the panel edge (margin-top % is taken from the width, like the image: the collar is
   9.1% of the width down the image) and its hem is cropped by the panel's bottom edge. The tee
   figure hugs the image (1320x1266), so the print area is placed in % of it. */
.cta__visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 48%;
    clip-path: inset(calc(var(--cta-rise) * -1 - 8px) 0 0 0 round 0 0 16px 0);
}

.cta__tee {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: calc(-9.1% - 20px) 0 0;
    line-height: 0;
}

.qa-tee img,
.cta__tee img {
    display: block;
    width: 100%;
    height: auto;
}

.cta__area {
    position: absolute;
    left: 24.3%;
    top: 25.6%;
    width: 34.4%;
    height: 29.4%;
    pointer-events: none;
}

.cta__area svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.cta__area rect {
    fill: none;
    stroke: var(--cta-navy);
    stroke-width: 1.5;
    stroke-dasharray: 6 5;
    animation: ctaAnts 1.6s linear infinite;
}

@keyframes ctaAnts {
    to { stroke-dashoffset: -22; }
}

.cta__area i {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1.5px solid var(--cta-navy);
    background: hsl(var(--white));
}

.cta__tag {
    position: absolute;
    bottom: calc(100% + 8px);
    left: -5px;
    padding: 4px 7px 3px;
    border-radius: 3px;
    background: var(--cta-navy);
    color: hsl(var(--white));
    font-family: var(--body-font);
    font-size: 0.625rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cta__area i:nth-of-type(1) { top: -5px; left: -5px; }
.cta__area i:nth-of-type(2) { top: -5px; right: -5px; }
.cta__area i:nth-of-type(3) { bottom: -5px; left: -5px; }
.cta__area i:nth-of-type(4) { right: -5px; bottom: -5px; }

@media (prefers-reduced-motion: reduce) {
    .cta__area rect { animation: none; }
    .cta .cta__btn,
    .cta .cta__btn i { transition: none; }
}

/* ---------- Laptop / tablet ---------- */
@media (max-width: 1199px) {
    .cta {
        --cta-rise: 56px;
        padding-bottom: 72px;
    }

    .cta__panel {
        min-height: 360px;
        padding: 48px;
    }

    .cta__copy {
        width: 52%;
    }

    .cta__desc {
        font-size: 1rem;
    }

    /* A little larger than the column (sleeve tip may cross into the copy's right margin), so the
       hem is still cropped by the panel's bottom edge. */
    .cta__visual {
        width: 48%;
        clip-path: inset(calc(var(--cta-rise) * -1 - 8px) 0 0 -24px round 0 0 16px 0);
    }

    .cta__tee {
        left: -4%;
        width: 110%;
    }
}

@media (max-width: 991px) {
    .cta {
        --cta-rise: 52px;
    }

    .cta__panel {
        padding: 44px 36px;
    }
}

/* ---------- Phone: tee on top, copy below ---------- */
@media (max-width: 767px) {
    .cta {
        --cta-rise: 48px;
        padding: calc(var(--cta-rise) + 32px) 0 56px;
    }

    .cta__panel {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding: 0 24px 32px;
        border-radius: 12px;
    }

    .cta__visual {
        position: relative;
        order: -1;
        width: auto;
        clip-path: none;
    }

    .cta__tee {
        position: relative;
        top: auto;
        left: auto;
        display: block;
        width: min(84%, 340px);
        margin: calc(var(--cta-rise) * -1) auto 0;
        transform: translateX(6%);
    }

    .cta__copy {
        width: auto;
        padding-top: 8px;
    }

    .cta__tag {
        display: none;
    }

    .cta__eyebrow {
        font-size: 0.6875rem;
        margin-bottom: 14px;
    }

    .cta .cta__title {
        font-size: 2.25rem;
    }

    .cta__actions {
        margin-top: 24px;
    }

    .cta .cta__btn {
        flex: 1 1 auto;
        height: 52px;
        padding: 0 20px;
    }
}
/*=============== cta section end here =================*/
/*=============== platform section css start here ===============*/
/* Platform facts: a quiet strip on warm stone just above the footer. Equal cells split by hairlines;
   each has a square line-icon tile (6px radius, orange icon), a short title and one line. */
.platform-section {
    padding: 36px 0;
    border-top: 1px solid hsl(30 14% 88%);
    background-color: hsl(34 24% 95%);
}

/* Desktop: one row; each cell takes its content width, the spare space is shared evenly, the first
   fact starts on the container line and the last one ends on it. */
.platform-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.platform-item {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 0;
    padding: 4px 20px;
    border-left: 1px solid hsl(30 14% 86%);
}

.platform-item:first-child {
    justify-content: flex-start;
    padding-left: 0;
    border-left: 0;
}

.platform-item:last-child {
    justify-content: flex-end;
    padding-right: 0;
}

.platform-item__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid hsl(30 14% 86%);
    border-radius: var(--radius-btn);
    background: hsl(var(--white));
    color: hsl(var(--base));
    font-size: 1.375rem;
    line-height: 1;
}

.platform-item__content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.platform-item__title {
    color: hsl(var(--heading-color));
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.platform-item__title,
.platform-item__desc {
    white-space: nowrap;
}

.platform-item__desc {
    color: hsl(var(--heading-color) / 0.66);
    font-size: 0.8125rem;
    line-height: 1.4;
}

/* Laptop: three per row; the hairlines only sit between cells of the same row. */
@media screen and (max-width: 1199px) {
    .platform-list {
        --platform-cols: 3;
        display: grid;
        grid-template-columns: repeat(var(--platform-cols), minmax(0, 1fr));
        row-gap: 24px;
    }

    .platform-item,
    .platform-item:first-child,
    .platform-item:last-child {
        justify-content: flex-start;
    }

    .platform-item:last-child {
        padding-right: 20px;
    }

    .platform-item__title,
    .platform-item__desc {
        white-space: normal;
    }

    .platform-item:nth-child(3n + 1) {
        padding-left: 0;
        border-left: 0;
    }
}

@media screen and (max-width: 767px) {
    .platform-list {
        --platform-cols: 2;
    }

    .platform-item:nth-child(3n + 1) {
        padding-left: 24px;
        border-left: 1px solid hsl(30 14% 86%);
    }

    .platform-item:nth-child(2n + 1) {
        padding-left: 0;
        border-left: 0;
    }
}

/* Phone: one compact list. */
@media screen and (max-width: 575px) {
    .platform-section {
        padding: 28px 0;
    }

    .platform-list {
        --platform-cols: 1;
        row-gap: 16px;
    }

    .platform-item,
    .platform-item:nth-child(3n + 1) {
        padding: 0;
        border-left: 0;
    }

    .platform-item__icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

/*=============== platform section css end here ===============*/
/* ================================= Blog Section Css Start Here ============================= */
/* ================================= Blog: design guides ================================= */
/* Warm stone band between the white FAQ and the CTA. The heading row is the Popular one (dash
   eyebrow, title and lead on the left; an outlined "View all" button on the right), reusing the
   .pop-head classes, so it sets the same --pop-* tokens. Below: three guide cards. */
.guides {
    --pop-stone: hsl(34 24% 95%);
    --pop-line: hsl(30 14% 86%);
    --pop-ink: hsl(var(--heading-color));
    --pop-muted: hsl(var(--heading-color) / 0.66);
    padding-block: clamp(60px, 5vw, 76px);
    background-color: var(--pop-stone);
}

.guides .pop-lead {
    max-width: 660px;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 24px;
}

/* The blog listing page (.blog-section.blog-list) sits on white with the About page's
   spacing, and more air between its rows of cards. */
.blog-section {
    background-color: hsl(var(--white));
}

.blog-list {
    padding-block: clamp(64px, 5.6vw, 84px);
}

.blog-list .row {
    --bs-gutter-y: 3.25rem;
}

/* ================================= Blog card ================================= */
/* No box: a crisp 16:10 photo with rounded corners, then the text straight on the page
   background: dash + reading time + date, the title, a two-line excerpt and a "Read guide"
   link. The title runs on a short, balanced measure so most titles take two even lines and
   the rows line up across cards. The title link covers the whole card: one link, one tab stop. */
.blog-card {
    --bc-ink: hsl(var(--heading-color));
    --bc-muted: hsl(var(--heading-color) / 0.66);
    --bc-soft: hsl(var(--heading-color) / 0.62);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card__thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
    background: hsl(30 14% 90%);
    isolation: isolate;
}

.blog-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* A faint inner hairline so the rounded corners still read on light photos (white desks,
   white tees) against the light stone background. */
.blog-card__thumb::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px hsl(var(--heading-color) / 0.1);
    pointer-events: none;
}

.blog-card__tag {
    position: absolute;
    z-index: 1;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 4px;
    background: hsl(var(--white));
    color: var(--bc-ink);
    font-family: var(--body-font);
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding-top: 20px;
}

.blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 12px;
    color: var(--bc-soft);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.blog-card__read {
    color: var(--bc-ink);
}

.blog-card__title {
    display: -webkit-box;
    overflow: hidden;
    max-width: 17em;
    margin: 0;
    color: var(--bc-ink);
    font-family: var(--heading-font);
    font-size: clamp(1.25rem, 1.1rem + 0.35vw, 1.375rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
    text-wrap: balance;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-card__link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: text-decoration-color 0.25s ease;
}

.blog-card__link:hover {
    color: inherit;
}

/* The title link covers the whole card. */
.blog-card__link::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
}

.blog-card__link:focus-visible {
    outline: none;
}

.blog-card__excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 10px 0 0;
    color: var(--bc-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-card__more {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--bc-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
}

.blog-card__more i {
    color: hsl(var(--base));
    font-size: 1.0625rem;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__thumb img {
    transform: scale(1.04);
}

.blog-card:hover .blog-card__link,
.blog-card:has(.blog-card__link:focus-visible) .blog-card__link {
    text-decoration-color: currentColor;
}

.blog-card:hover .blog-card__more i,
.blog-card:has(.blog-card__link:focus-visible) .blog-card__more i {
    transform: translateX(5px);
}

@media (prefers-reduced-motion: reduce) {
    .blog-card__thumb img,
    .blog-card__link,
    .blog-card__more i {
        transition: none;
    }
}

/* ---------- Responsive ---------- */
/* Tablet: the three guides become a list of wide cards, photo beside the text. */
@media (min-width: 576px) and (max-width: 991px) {
    .guides-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .guides-grid .blog-card {
        display: grid;
        grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
        align-items: center;
        gap: 28px;
    }

    .guides-grid .blog-card__body {
        padding-top: 0;
    }
}

/* Phone: the latest guide stays a full card; the next two become compact rows (small photo
   beside the meta and title) so the section stays short. */
@media (max-width: 575px) {
    .guides-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .guides-grid .blog-card:first-child {
        padding-bottom: 28px;
    }

    .guides-grid .blog-card + .blog-card {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        align-items: center;
        gap: 16px;
        padding-block: 18px;
        border-top: 1px solid var(--pop-line);
    }

    .guides-grid .blog-card:last-child {
        padding-bottom: 0;
    }

    .guides-grid .blog-card + .blog-card .blog-card__thumb {
        aspect-ratio: 4 / 3;
        border-radius: var(--radius-sm);
    }

    .guides-grid .blog-card + .blog-card .blog-card__body {
        padding-top: 0;
    }

    .guides-grid .blog-card + .blog-card .blog-card__meta {
        margin-bottom: 8px;
        font-size: 0.625rem;
    }

    .guides-grid .blog-card + .blog-card .blog-card__title {
        font-size: 1.0625rem;
        line-height: 1.3;
    }

    .guides-grid .blog-card + .blog-card .blog-card__excerpt,
    .guides-grid .blog-card + .blog-card .blog-card__more {
        display: none;
    }

    .blog-card__body {
        padding-top: 18px;
    }

    .blog-card__more {
        padding-top: 14px;
    }
}
/* ================================= Blog Section Css End Here ================================= */
/*================= why choose section start here =================*/
/* ================================= Why choose us ================================= */
/* A feature index beside one studio frame. Left: the family heading (dash eyebrow, title,
   lead) over four hairline index rows; the active row is "selected" with Design Lab
   corner brackets and a ruler that fills in orange while it is shown. Right: one crisp
   figure per reason on studio paper, framed like the banner card: hairline trim, orange
   corner squares and measuring ticks along the top and left edges. */
.choose {
    --choose-line: hsl(30 14% 86%);
    --choose-paper: hsl(30 14% 87%);
    --choose-ink: hsl(var(--heading-color));
    --choose-muted: hsl(var(--heading-color) / 0.66);
    --choose-time: 6s;
    position: relative;
    padding-block: clamp(64px, 5.6vw, 84px);
    background-color: hsl(var(--white));
}

.choose-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    align-items: center;
    gap: clamp(40px, 5.6vw, 88px);
}

/* ---------- Heading (same family as How it works) ---------- */
.choose-head {
    margin-bottom: clamp(28px, 2.8vw, 40px);
}

.choose-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--choose-ink);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.choose-title {
    margin: 0 0 16px;
    color: var(--choose-ink);
    font-family: var(--heading-font);
    font-size: clamp(2.125rem, 1.35rem + 2vw, 3.25rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.choose-lead {
    max-width: 400px;
    margin: 0;
    color: var(--choose-muted);
    font-size: 1.0625rem;
    line-height: 1.6;
    text-wrap: pretty;
}

/* ---------- Index rows ---------- */
.choose-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid var(--choose-line);
}

.choose-item {
    position: relative;
    border-top: 1px solid var(--choose-line);
}

.choose-item__title {
    margin: 0;
    font-size: inherit;
}

.choose-item__btn {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    padding: 18px 0;
    border: 0;
    background: none;
    color: var(--choose-ink);
    text-align: left;
    cursor: pointer;
}

.choose-item__num {
    color: var(--choose-muted);
    font-family: var(--body-font);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    font-variant-numeric: tabular-nums;
    transition: color 0.25s ease;
}

.choose-item__text {
    font-family: var(--heading-font);
    font-size: clamp(1.1875rem, 0.95rem + 0.45vw, 1.375rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.choose-item__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-right: 12px;
    border: 1px solid var(--choose-line);
    color: var(--choose-muted);
    font-size: 1.125rem;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.choose-item__btn:focus-visible {
    outline: 2px solid var(--choose-ink);
    outline-offset: 4px;
}

/* The description shows under the active row only. The open row always takes the height of the
   tallest description (--choose-open, set by the script) and switches instantly, only the text
   fades, so the list never changes height and the image beside it never moves. */
.choose-item__panel {
    height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
}

.choose-item__desc {
    max-width: 54ch;
    margin: 0;
    padding: 0 56px 24px 44px;
    color: var(--choose-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    text-wrap: pretty;
}

.choose-item.is-active .choose-item__panel {
    height: var(--choose-open, auto);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease;
}

.choose-item.is-active .choose-item__num,
.choose-item.is-active .choose-item__icon {
    color: hsl(var(--base));
}

.choose-item.is-active .choose-item__icon {
    border-color: hsl(var(--base) / 0.45);
}

/* Design Lab selection brackets on the active row. */
.choose-item__sel {
    position: absolute;
    z-index: 1;
    inset: -1px -14px -1px -14px;
    --c: hsl(var(--base));
    --l: 10px;
    --w: 1.5px;
    background:
        linear-gradient(var(--c) 0 0) top left / var(--l) var(--w),
        linear-gradient(var(--c) 0 0) top left / var(--w) var(--l),
        linear-gradient(var(--c) 0 0) top right / var(--l) var(--w),
        linear-gradient(var(--c) 0 0) top right / var(--w) var(--l),
        linear-gradient(var(--c) 0 0) bottom left / var(--l) var(--w),
        linear-gradient(var(--c) 0 0) bottom left / var(--w) var(--l),
        linear-gradient(var(--c) 0 0) bottom right / var(--l) var(--w),
        linear-gradient(var(--c) 0 0) bottom right / var(--w) var(--l);
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(0.985);
    transition: opacity 0.25s ease, transform 0.3s ease;
    pointer-events: none;
}

.choose-item.is-active .choose-item__sel {
    opacity: 1;
    transform: none;
}

/* Ruler: hairline ticks along the bottom of the active row; orange fills while it is shown. */
.choose-item__ruler {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 44px;
    height: 6px;
    opacity: 0;
    background:
        repeating-linear-gradient(to right, hsl(var(--heading-color) / 0.22) 0 1px, transparent 1px 12px) left bottom / 100% 3px no-repeat,
        repeating-linear-gradient(to right, hsl(var(--heading-color) / 0.36) 0 1px, transparent 1px 60px) left bottom / 100% 6px no-repeat;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.choose-item__fill {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: hsl(var(--base));
    transform: scaleX(0);
    transform-origin: left center;
}

.choose-item.is-active .choose-item__ruler {
    opacity: 1;
}

.choose.is-running .choose-item.is-active .choose-item__fill {
    animation: choose-fill var(--choose-time) linear forwards;
}

.choose.is-paused .choose-item.is-active .choose-item__fill {
    animation-play-state: paused;
}

.choose:not(.is-running) .choose-item.is-active .choose-item__fill {
    transform: scaleX(1);
}

@keyframes choose-fill {
    to { transform: scaleX(1); }
}

@media (hover: hover) {
    .choose-item:not(.is-active) .choose-item__btn:hover .choose-item__text {
        color: hsl(var(--base));
    }

    .choose-item:not(.is-active) .choose-item__btn:hover .choose-item__icon {
        border-color: hsl(var(--heading-color) / 0.3);
        color: var(--choose-ink);
    }
}

.choose-item__text {
    transition: color 0.2s ease;
}

/* ---------- Figure ---------- */
.choose-figure {
    margin: 0;
}

.choose-frame {
    position: relative;
    padding: 10px;
    border: 1px solid var(--choose-line);
    background: hsl(var(--white));
}

.choose-frame__corner {
    position: absolute;
    z-index: 3;
    width: 7px;
    height: 7px;
    background: hsl(var(--base));
}

.choose-frame__corner--tl { top: -4px; left: -4px; }
.choose-frame__corner--tr { top: -4px; right: -4px; }
.choose-frame__corner--bl { bottom: -4px; left: -4px; }
.choose-frame__corner--br { right: -4px; bottom: -4px; }

.choose-frame__stage {
    position: relative;
    aspect-ratio: 640 / 580;
    overflow: hidden;
    background: var(--choose-paper);
}

.choose-frame__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.choose-frame__img.is-active {
    opacity: 1;
}

/* Measuring ticks inside the top and left edges of the paper, like the banner card. */
.choose-frame__ruler {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.choose-frame__ruler--x {
    top: 0;
    right: 0;
    left: 0;
    height: 9px;
    background:
        repeating-linear-gradient(to right, transparent 0 15px, hsl(var(--heading-color) / 0.24) 15px 16px) left top / 100% 5px no-repeat,
        repeating-linear-gradient(to right, transparent 0 79px, hsl(var(--heading-color) / 0.34) 79px 80px) left top / 100% 9px no-repeat;
}

.choose-frame__ruler--y {
    top: 0;
    bottom: 0;
    left: 0;
    width: 9px;
    background:
        repeating-linear-gradient(to bottom, transparent 0 15px, hsl(var(--heading-color) / 0.24) 15px 16px) left top / 5px 100% no-repeat,
        repeating-linear-gradient(to bottom, transparent 0 79px, hsl(var(--heading-color) / 0.34) 79px 80px) left top / 9px 100% no-repeat;
}

.choose-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 2px 0;
    color: var(--choose-ink);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.choose-caption__sep {
    color: var(--choose-muted);
}

.choose-caption__count {
    flex: none;
    color: var(--choose-muted);
    font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
    .choose-item__panel,
    .choose-item__sel,
    .choose-item__ruler,
    .choose-item__num,
    .choose-item__icon,
    .choose-item__text,
    .choose-frame__img {
        transition: none;
    }
}

/* ---------- Tablet ---------- */
@media (max-width: 1199px) {
    .choose-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 48px;
    }

    .choose-item__desc {
        padding-right: 24px;
    }
}

/* ---------- Stacked: heading, figure, then the index ---------- */
@media (max-width: 991px) {
    .choose-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .choose-main {
        display: contents;
    }

    .choose-head {
        order: 1;
    }

    .choose-figure {
        order: 2;
        width: 100%;
        max-width: 640px;
        margin-bottom: 36px;
    }

    .choose-list {
        order: 3;
    }
}

@media (max-width: 575px) {
    .choose-frame {
        padding: 6px;
    }

    .choose-item__btn {
        grid-template-columns: 36px minmax(0, 1fr) auto;
        padding: 16px 0;
    }

    .choose-item__icon {
        width: 32px;
        height: 32px;
        margin-right: 0;
        font-size: 1rem;
    }

    .choose-item__desc {
        padding: 0 0 20px 36px;
    }

    .choose-item__ruler {
        left: 36px;
    }

    .choose-item__sel {
        inset-inline: -8px;
    }

    .choose-caption__sep,
    .choose-caption [data-choose-name] {
        display: none;
    }
}
/*================= why choose section end here =================*/
/*============ popular section css start here ============*/
/* ================================= Popular products ================================= */
/* Popular base tees on warm stone, in the family of How it works: dash eyebrow, title and lead on
   the left; a "View all" button and the slider arrows (a joined pair) on the right. */
.pop {
    --pop-stone: hsl(34 24% 95%);
    --pop-line: hsl(30 14% 86%);
    --pop-ink: hsl(var(--heading-color));
    --pop-muted: hsl(var(--heading-color) / 0.66);
    position: relative;
    overflow: hidden;
    padding-block: clamp(60px, 5.6vw, 84px);
    background-color: var(--pop-stone);
}

/* Best sellers uses the same layout on white, so it separates from Popular above it. */
.pop--white {
    background-color: hsl(var(--white));
}

/* ---------- Heading ---------- */
.pop-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 64px;
    margin-bottom: clamp(28px, 3vw, 40px);
}

.pop-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--pop-ink);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.pop-title {
    margin: 0;
    color: var(--pop-ink);
    font-family: var(--heading-font);
    font-size: clamp(2.125rem, 1.35rem + 2vw, 3.25rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

/* Right side: two separate controls on the bottom line of the heading block: an outlined
   "View all" button and, apart from it, the slider arrows as one joined hairline pair. */
.pop-head__side {
    flex: none;
    min-width: 0;
}

.pop-lead {
    max-width: 560px;
    margin: 16px 0 0;
    color: var(--pop-muted);
    font-size: 1.0625rem;
    line-height: 1.6;
    text-wrap: pretty;
}

.pop-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pop-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 50px;
    padding: 0 22px;
    border: 1px solid var(--pop-line);
    background: hsl(var(--white));
    color: var(--pop-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.pop-all i {
    color: hsl(var(--base));
    font-size: 1.0625rem;
    transition: transform 0.25s ease;
}

.pop-all:hover,
.pop-all:focus-visible {
    border-color: var(--pop-ink);
    background: var(--pop-ink);
    color: hsl(var(--white));
}

.pop-all:hover i,
.pop-all:focus-visible i {
    transform: translateX(3px);
}

.pop-nav {
    display: flex;
    height: 50px;
    border: 1px solid var(--pop-line);
    background: hsl(var(--white));
}

.pop-btn {
    display: grid;
    place-items: center;
    width: 50px;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--pop-ink);
    font-size: 1.125rem;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.pop-btn + .pop-btn {
    border-left: 1px solid var(--pop-line);
}

.pop-btn:hover {
    background: hsl(var(--base));
    color: hsl(var(--white));
}

/* Inside the joined pair the ring sits within the cell so the neighbour doesn't cover it. */
.pop-btn:focus-visible {
    outline: 2px solid hsl(var(--base));
    outline-offset: -4px;
}

.pop-btn.swiper-button-disabled {
    background: transparent;
    color: hsl(var(--heading-color) / 0.25);
    cursor: default;
}

/* ---------- Slider ---------- */
/* Room below the cards so the hover shadow is not cut by the slider edge. */
.pop-slider {
    margin-bottom: -32px;
    padding-bottom: 32px;
}

.pop-slider .swiper-slide {
    height: auto;
}

/* Everything fits on screen: no slider controls to show. */
.pop.is-static .pop-nav {
    display: none;
}

/* ================================= Product card ================================= */
/* Garment spec card: the base tee on studio paper with measuring ticks down one edge. Hovering
   "selects" the tee like a Design Lab layer: a dashed print area with square handles lands on
   the chest and a Customize tag slides in. Below: category, title, real colourways, and a title
   block with the starting price and a square arrow. The title link covers the whole card. */
.tee-card {
    --tc-line: hsl(30 14% 86%);
    --tc-ink: hsl(var(--heading-color));
    --tc-muted: hsl(var(--heading-color) / 0.62);
    /* The product photos are shot on this exact paper, so the well and the photo read as one. */
    --tc-paper: #f5f4f2;
    --tc-pad: 8px;
    container-type: inline-size;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--tc-line);
    background: hsl(var(--white));
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* ---------- Image well ---------- */
.tee-card__media {
    position: relative;
    margin: var(--tc-pad) var(--tc-pad) 0;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--tc-paper);
}

.tee-card__fig {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    aspect-ratio: 650 / 620;
    transform: translate(-50%, -50%);
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tee-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Measuring ticks down the left edge of the paper. */
.tee-card__ruler {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    width: 9px;
    background:
        repeating-linear-gradient(to bottom, transparent 0 11px, hsl(var(--heading-color) / 0.2) 11px 12px) left top / 5px 100% no-repeat,
        repeating-linear-gradient(to bottom, transparent 0 59px, hsl(var(--heading-color) / 0.32) 59px 60px) left top / 9px 100% no-repeat;
    pointer-events: none;
}

.tee-card__tag {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border: 1px solid var(--tc-line);
    background: hsl(var(--white));
    color: var(--tc-ink);
    font-family: var(--body-font);
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Dashed print area over the chest with Design Lab handles, placed in % of the photo. */
.tee-card__area {
    position: absolute;
    top: 26%;
    left: 35.5%;
    width: 29%;
    height: 35%;
    border: 1.25px dashed hsl(var(--base));
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.3s ease, transform 0.35s ease;
    pointer-events: none;
}

.tee-card__area i {
    position: absolute;
    width: 7px;
    height: 7px;
    border: 1.5px solid hsl(var(--base));
    background: hsl(var(--white));
}

.tee-card__area i:nth-child(1) { top: -4px; left: -4px; }
.tee-card__area i:nth-child(2) { top: -4px; right: -4px; }
.tee-card__area i:nth-child(3) { bottom: -4px; left: -4px; }
.tee-card__area i:nth-child(4) { right: -4px; bottom: -4px; }

.tee-card__cta {
    position: absolute;
    z-index: 2;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: var(--radius-btn);
    background: hsl(var(--footer-bg));
    color: hsl(var(--white));
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.3s ease;
    pointer-events: none;
}

.tee-card__cta i {
    color: hsl(var(--base-l-300));
    font-size: 0.9375rem;
}

/* ---------- Text ---------- */
.tee-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px 18px 18px;
}

.tee-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 7px;
    color: var(--tc-muted);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tee-card__cat {
    overflow: hidden;
    min-width: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Average review at the right of the category line (the shared .product-rating block): one star
   and the score, in the card's own ink colours. */
.tee-card .product-rating {
    flex-shrink: 0;
    gap: 4px;
    line-height: 1;
    letter-spacing: 0;
}

.tee-card .product-rating__stars {
    font-size: 0.875rem;
    line-height: 1;
}

.tee-card .product-rating__count {
    color: var(--tc-ink);
    font-family: var(--body-font);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.tee-card .product-rating--none .product-rating__stars {
    color: hsl(var(--heading-color) / 0.22);
}

.tee-card .product-rating--none .product-rating__count {
    color: var(--tc-muted);
    font-weight: 500;
}

.tee-card__title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--tc-ink);
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tee-card__link {
    color: inherit;
    transition: color 0.2s ease;
}

/* The title link covers the whole card: one link, one tab stop. */
.tee-card__link::after {
    content: "";
    position: absolute;
    z-index: 4;
    inset: 0;
}

.tee-card__link:focus-visible {
    outline: none;
}

.tee-card:has(.tee-card__link:focus-visible) {
    outline: 2px solid var(--tc-ink);
    outline-offset: 3px;
}

.tee-card__colors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.tee-card__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--dot);
    box-shadow: inset 0 0 0 1px hsl(var(--heading-color) / 0.16);
}

.tee-card__more {
    margin-left: 2px;
    color: var(--tc-muted);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

/* ---------- Title block: price + square arrow ---------- */
.tee-card__foot {
    display: flex;
    align-items: stretch;
    min-height: 56px;
    border-top: 1px solid var(--tc-line);
}

.tee-card__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    flex: 1;
    align-self: center;
    gap: 2px 8px;
    min-width: 0;
    margin: 0;
    padding: 10px 16px 10px 18px;
    color: var(--tc-ink);
    font-family: var(--heading-font);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.tee-card__from {
    color: var(--tc-muted);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* The arrow is a square cell of the title block, split off by a hairline. */
.tee-card__go {
    display: grid;
    flex: none;
    place-items: center;
    width: 56px;
    border-left: 1px solid var(--tc-line);
    color: var(--tc-ink);
    font-size: 1.125rem;
    transition: color 0.25s ease, background-color 0.25s ease;
}

/* ---------- Hover: the tee is selected like a Design Lab layer ---------- */
@media (hover: hover) {
    .tee-card:hover {
        border-color: hsl(var(--heading-color) / 0.2);
        box-shadow: 0 18px 36px -24px hsl(var(--footer-bg) / 0.35);
    }

    .tee-card:hover .tee-card__fig {
        transform: translate(-50%, -50%) scale(1.035);
    }

    .tee-card:hover .tee-card__area,
    .tee-card:hover .tee-card__cta {
        opacity: 1;
        transform: none;
    }

    .tee-card:hover .tee-card__go {
        background: hsl(var(--base));
        color: hsl(var(--white));
    }
}

/* Keyboard focus shows the same selection. */
.tee-card:has(.tee-card__link:focus-visible) .tee-card__area,
.tee-card:has(.tee-card__link:focus-visible) .tee-card__cta {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .tee-card,
    .tee-card__fig,
    .tee-card__area,
    .tee-card__cta,
    .tee-card__go {
        transition: none;
    }
}

/* ---------- Narrow cards (two across on a phone) ---------- */
@container (max-width: 250px) {
    .tee-card__media {
        margin: 6px 6px 0;
    }

    .tee-card__tag {
        top: 8px;
        right: 8px;
        padding: 4px 6px;
        font-size: 0.5625rem;
    }

    .tee-card__cta {
        right: 8px;
        bottom: 8px;
        padding: 7px 9px;
        font-size: 0.75rem;
    }

    .tee-card__body {
        padding: 12px 12px 14px;
    }

    .tee-card__meta {
        margin-bottom: 5px;
        font-size: 0.625rem;
        letter-spacing: 0.12em;
    }

    .tee-card__title {
        font-size: 1rem;
    }

    .tee-card .product-rating {
        gap: 6px;
        margin-top: 6px;
    }

    .tee-card .product-rating__stars,
    .tee-card .product-rating__count {
        font-size: 0.75rem;
    }

    .tee-card__colors {
        gap: 5px;
        margin-top: 10px;
    }

    .tee-card__dot {
        width: 10px;
        height: 10px;
    }

    .tee-card__more {
        font-size: 0.6875rem;
    }

    .tee-card__foot {
        min-height: 50px;
    }

    .tee-card__price {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 12px;
        font-size: 1rem;
    }

    .tee-card__from {
        font-size: 0.5625rem;
    }

    .tee-card__go {
        width: 44px;
        font-size: 1rem;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .pop-head {
        flex-direction: column;
        align-items: stretch;
    }

    .pop-head__side {
        flex-basis: auto;
    }
}

@media (max-width: 575px) {
    .pop-lead {
        margin-top: 14px;
        font-size: 1rem;
    }

    .pop-all {
        flex: 1;
        height: 46px;
        padding: 0 16px;
    }

    .pop-nav {
        height: 46px;
    }

    .pop-btn {
        width: 46px;
    }

    .tee-card__body {
        padding: 14px 16px 16px;
    }

    .tee-card__price {
        padding-left: 16px;
    }
}

/* Star rating row (product cards). */
.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: hsl(var(--body-color));
}

.product-rating__stars {
    color: hsl(var(--warning));
    display: inline-flex;
    gap: 2px;
}

.product-rating__count {
    font-size: 14px;
}

/*============ popular section css end here ============*/
/* ============================ Team Section Css Start ============================ */

/* ============================ Team Section Css End ============================== */
/* ============================ Profit Section Css Start ============================ */

/* ============================ Profit Section Css End ============================ */

/* ====================== Shop Page Css Start ==================== */
/* The Shop (/products): the shared page header with the type tiles, a sticky filter panel (a drawer
   below 992px) and the results. Scoped under .shop-head / .shop. */
.shop-head,
.shop {
    --sh-ink: hsl(var(--heading-color));
    --sh-muted: hsl(var(--heading-color) / 0.64);
    --sh-faint: hsl(var(--heading-color) / 0.4);
    --sh-line: hsl(30 14% 88%);
    --sh-line-strong: hsl(30 10% 78%);
    --sh-stone: hsl(34 24% 95%);
    --sh-paper: #f5f4f2;
    --sh-accent: hsl(var(--base));
    --sh-sticky: 84px;
}

/* ---------- Page header: shared breadcrumb band + type tiles ---------- */
.shop-head.breadcrumb--page {
    padding: clamp(32px, 3.2vw, 44px) 0 clamp(28px, 2.8vw, 40px);
}

/* Title left, lead right on wide screens — keeps the band short so the products stay in view. */
.shop-head .breadcrumb__intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 48px;
}

.shop-head .breadcrumb__lead {
    max-width: 440px;
    margin: 0 0 6px;
    color: var(--sh-muted);
    font-family: var(--body-font);
    font-size: 1.0625rem;
    line-height: 1.6;
}

.shop-types {
    margin-top: clamp(24px, 2.6vw, 36px);
}

.shop-types__list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-type {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--sh-line);
    background: hsl(var(--white));
    color: var(--sh-ink);
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.shop-type:hover {
    border-color: var(--sh-line-strong);
    color: var(--sh-ink);
}

.shop-type:focus-visible {
    outline: 2px solid var(--sh-accent);
    outline-offset: 2px;
}

.shop-type__media {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 92px;
    margin: 6px 6px 0;
    overflow: hidden;
    background: var(--sh-paper);
}

.shop-type__media img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

/* "All tees" shows three real tees side by side. */
.shop-type__media--trio img {
    max-width: 33%;
    height: 76%;
    object-fit: cover;
}

.shop-type:hover .shop-type__media img {
    transform: translateY(-2px);
}

.shop-type__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 11px 14px 13px;
}

.shop-type__name {
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.shop-type__word {
    white-space: nowrap;
}

.shop-type__count {
    color: var(--sh-muted);
    font-family: var(--body-font);
    font-size: 0.8125rem;
    line-height: 1.4;
}

/* Selected type: the Design Lab's selection — orange frame with square handles. */
.shop-type.is-active {
    border-color: var(--sh-accent);
}

.shop-type__handles {
    display: none;
}

.shop-type.is-active .shop-type__handles {
    display: block;
}

.shop-type__handles i {
    position: absolute;
    width: 7px;
    height: 7px;
    background: var(--sh-accent);
}

.shop-type__handles i:nth-child(1) { top: -4px; left: -4px; }
.shop-type__handles i:nth-child(2) { top: -4px; right: -4px; }
.shop-type__handles i:nth-child(3) { bottom: -4px; left: -4px; }
.shop-type__handles i:nth-child(4) { bottom: -4px; right: -4px; }

/* No tees of this type with the other filters: still listed, visibly unavailable. */
.shop-type.is-empty {
    border-style: dashed;
    background: transparent;
    pointer-events: none;
}

.shop-type.is-empty .shop-type__media {
    background: transparent;
}

.shop-type.is-empty .shop-type__media img {
    opacity: 0.35;
    filter: grayscale(1);
}

.shop-type.is-empty .shop-type__name,
.shop-type.is-empty .shop-type__count {
    color: var(--sh-faint);
}

/* ---------- Shop area ---------- */
.shop {
    padding: clamp(24px, 2.4vw, 32px) 0 16px;
    background: hsl(var(--white));
}

.shop__layout {
    display: grid;
    grid-template-columns: 296px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

/* ---------- Tool panel (filters) ---------- */
.shop-panel {
    position: sticky;
    top: var(--sh-sticky);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--sh-sticky) - 24px);
    border: 1px solid var(--sh-line);
    background: hsl(var(--white));
}

.shop-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 0 20px;
    border-bottom: 1px solid var(--sh-line);
}

.shop-panel__title {
    margin: 0;
    color: var(--sh-ink);
    font-family: var(--heading-font);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.shop-panel__title-count {
    margin-left: 6px;
    color: var(--sh-accent);
}

.shop-link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--sh-ink);
    font-family: var(--body-font);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--sh-line-strong);
    text-underline-offset: 4px;
    cursor: pointer;
}

.shop-link:hover {
    color: var(--sh-accent);
    text-decoration-color: currentColor;
}

.shop-panel__close {
    display: none;
}

/* Desktop clears from the chips row; the drawer clears from its footer. */
.shop-panel__head .shop-link {
    display: none;
}

.shop-panel__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.shop-panel__foot {
    display: none;
}

.shop-group {
    padding: 20px;
    border-bottom: 1px solid var(--sh-line);
}

.shop-group--search {
    padding-top: 16px;
    padding-bottom: 16px;
}

.shop-group:last-child {
    border-bottom: 0;
}

.shop-group__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

/* Small tracked label — the Design Lab's panel heading. */
.shop-group__label {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    color: var(--sh-ink);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Fields */
.shop-field {
    position: relative;
    display: flex;
    align-items: center;
}

.shop-field__icon {
    position: absolute;
    left: 12px;
    color: var(--sh-muted);
    font-size: 1rem;
    pointer-events: none;
}

.shop-input {
    width: 100%;
    height: 42px;
    padding: 0 12px 0 36px;
    border: 1px solid var(--sh-line);
    border-radius: var(--radius-btn);
    background: hsl(var(--white));
    color: var(--sh-ink);
    font-family: var(--body-font);
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
}

.shop-input--sm {
    height: 36px;
    font-size: 0.8125rem;
}

.shop-input::placeholder {
    color: var(--sh-muted);
}

.shop-input:hover {
    border-color: var(--sh-line-strong);
}

.shop-input:focus {
    border-color: var(--sh-ink);
    outline: none;
    box-shadow: none;
}

/* Price: native dual range with square Design-Lab handles + two editable boxes */
.shop-range {
    --lo: 0%;
    --hi: 100%;
    position: relative;
    height: 20px;
    margin: 4px 7px 16px;
}

.shop-range::before,
.shop-range::after {
    content: "";
    position: absolute;
    top: 9px;
    height: 2px;
}

.shop-range::before {
    left: -7px;
    right: -7px;
    background: var(--sh-line);
}

.shop-range::after {
    left: var(--lo);
    right: calc(100% - var(--hi));
    background: var(--sh-ink);
}

.shop-range input[type=range] {
    position: absolute;
    inset: 0 -7px;
    width: calc(100% + 14px);
    height: 20px;
    margin: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    z-index: 1;
}

.shop-range input[type=range]::-webkit-slider-runnable-track {
    height: 20px;
    background: none;
}

.shop-range input[type=range]::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
    margin-top: 3px;
    border: 2px solid var(--sh-accent);
    border-radius: 2px;
    background: hsl(var(--white));
    pointer-events: auto;
    cursor: grab;
    -webkit-appearance: none;
}

.shop-range input[type=range]::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border: 2px solid var(--sh-accent);
    border-radius: 2px;
    background: hsl(var(--white));
    pointer-events: auto;
    cursor: grab;
}

.shop-range input[type=range]:focus-visible::-webkit-slider-thumb {
    outline: 2px solid var(--sh-accent);
    outline-offset: 2px;
}

.shop-price {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 8px;
}

.shop-price__box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
}

.shop-group__note,
.shop-price__cap {
    color: var(--sh-muted);
    font-family: var(--body-font);
    font-size: 0.75rem;
}

.shop-price__dash {
    padding-bottom: 10px;
    color: var(--sh-faint);
}

.shop-price__cur {
    position: absolute;
    left: 11px;
    color: var(--sh-muted);
    font-family: var(--body-font);
    font-size: 0.8125rem;
    pointer-events: none;
}

.shop-price .shop-input {
    height: 38px;
    padding-left: 24px;
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
}

.shop-price .shop-input::-webkit-inner-spin-button,
.shop-price .shop-input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

/* Colour: swatch grid with names and counts */
.shop-colors__search {
    margin-bottom: 12px;
}

.shop-swatches {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    margin: 0 -6px;
    padding: 0;
    list-style: none;
}

.shop-swatches.is-collapsed:not(.is-searching) .shop-swatch-item.is-extra {
    display: none;
}

.shop-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    height: 100%;
    margin: 0;
    padding: 10px 4px 9px;
    border-radius: var(--radius-btn);
    color: var(--sh-ink);
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.shop-swatch:hover {
    background: var(--sh-stone);
}

.shop-swatch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.shop-swatch__dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--sw);
    box-shadow: inset 0 0 0 1px hsl(0 0% 0% / 0.14);
    transition: box-shadow 0.2s ease;
}

.shop-swatch__name {
    font-family: var(--body-font);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.25;
}

.shop-swatch__count {
    margin-top: -4px;
    color: var(--sh-muted);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-variant-numeric: tabular-nums;
}

.shop-swatch input:checked ~ .shop-swatch__dot {
    box-shadow: inset 0 0 0 1px hsl(0 0% 0% / 0.14), 0 0 0 2px hsl(var(--white)), 0 0 0 4px var(--sh-accent);
}

.shop-swatch input:checked ~ .shop-swatch__name {
    font-weight: 700;
}

.shop-swatch input:focus-visible ~ .shop-swatch__dot {
    outline: 2px solid var(--sh-ink);
    outline-offset: 5px;
}

.shop-swatch.is-empty {
    cursor: default;
    pointer-events: none;
}

.shop-swatch__dot {
    position: relative;
}

/* Unavailable colour: true colour kept (faded less than the text) with a hairline slash through it. */
.shop-swatch.is-empty .shop-swatch__dot {
    opacity: 0.5;
}

.shop-swatch.is-empty .shop-swatch__dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -3px;
    right: -3px;
    height: 1.5px;
    background: hsl(var(--heading-color) / 0.7);
    transform: rotate(-45deg);
}

.shop-swatch.is-empty .shop-swatch__name,
.shop-swatch.is-empty .shop-swatch__count {
    color: var(--sh-faint);
}

.shop-colors__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.shop-colors__none {
    margin: 4px 0 0;
    color: var(--sh-muted);
    font-size: 0.8125rem;
}

/* Type list — shown only in the mobile drawer (desktop picks the type in the header tiles). */
.shop-group--types {
    display: none;
}

.shop-checks {
    margin: 0 -8px;
    padding: 0;
    list-style: none;
}

.shop-check {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin: 0;
    padding: 0 8px;
    border-radius: var(--radius-btn);
    color: var(--sh-ink);
    font-family: var(--body-font);
    font-size: 0.9375rem;
    cursor: pointer;
}

.shop-check input {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1.5px solid var(--sh-line-strong);
    border-radius: 4px;
    background: hsl(var(--white));
    -webkit-appearance: none;
    appearance: none;
}

.shop-check input:checked {
    border-color: var(--sh-accent);
    background: var(--sh-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.shop-check__count {
    margin-left: auto;
    color: var(--sh-muted);
    font-size: 0.8125rem;
    font-variant-numeric: tabular-nums;
}

.shop-check.is-empty {
    color: var(--sh-faint);
    pointer-events: none;
}

.shop-check.is-empty input {
    border-style: dashed;
}

/* ---------- Results column ---------- */
.shop-results {
    position: relative;
    min-width: 0;
}

.shop-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 56px;
    padding: 8px 0;
    border-bottom: 1px solid var(--sh-line);
}

.shop-bar__filters {
    display: none;
}

.shop-bar__count {
    margin: 0 auto 0 0;
    color: var(--sh-muted);
    font-family: var(--body-font);
    font-size: 0.9375rem;
}

.shop-bar__count b {
    color: var(--sh-ink);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.shop-sort__label {
    color: var(--sh-muted);
    font-family: var(--body-font);
    font-size: 0.875rem;
    white-space: nowrap;
}

.shop-sort select {
    height: 40px;
    padding: 0 38px 0 14px;
    border: 1px solid var(--sh-line);
    border-radius: var(--radius-btn);
    background: hsl(var(--white)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23151414' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 14px no-repeat;
    color: var(--sh-ink);
    font-family: var(--body-font);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.shop-sort select:hover {
    border-color: var(--sh-line-strong);
}

.shop-sort select:focus-visible {
    border-color: var(--sh-ink);
    outline: none;
}

/* Active-filter chips */
.shop-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
}

.shop-chips[hidden] {
    display: none;
}

.shop-chips__list {
    display: contents;
}

.shop-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 10px 0 12px;
    border: 1px solid var(--sh-line);
    border-radius: var(--radius-btn);
    background: var(--sh-stone);
    color: var(--sh-ink);
    font-family: var(--body-font);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.shop-chip:hover {
    border-color: var(--sh-ink);
}

.shop-chip__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--sw);
    box-shadow: inset 0 0 0 1px hsl(0 0% 0% / 0.18);
}

.shop-chip__x {
    color: var(--sh-muted);
    font-size: 0.875rem;
}

.shop-chip:hover .shop-chip__x {
    color: var(--sh-ink);
}

.shop-chips .shop-link {
    margin-left: 6px;
}

/* Loading: a thin progress line under the toolbar and a dimmed grid */
.shop-progress {
    position: absolute;
    left: 0;
    right: 0;
    top: 55px;
    height: 2px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.shop-progress::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 40%;
    background: var(--sh-accent);
    animation: shop-progress 1.1s ease-in-out infinite;
}

.shop-results.is-loading .shop-progress {
    opacity: 1;
}

.shop-results.is-loading .productResults {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

@keyframes shop-progress {
    from { transform: translateX(-100%); }
    to { transform: translateX(250%); }
}

/* Grid */
.shop .productResults {
    padding-top: 24px;
}

.shop .productResults:focus {
    outline: none;
}

.shop .productGrid {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
}

/* Empty state */
.shop-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(48px, 6vw, 80px) 24px;
    border: 1px solid var(--sh-line);
    background: var(--sh-stone);
    text-align: center;
}

.shop-empty__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border: 1px solid var(--sh-line-strong);
    border-radius: 50%;
    background: hsl(var(--white));
    color: var(--sh-ink);
    font-size: 1.5rem;
}

.shop-empty__title {
    margin: 0 0 8px;
    color: var(--sh-ink);
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.shop-empty__text {
    max-width: 420px;
    margin: 0 0 24px;
    color: var(--sh-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Pagination */
.shop .product-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
}

.shop-pages__info {
    margin: 0;
    color: var(--sh-muted);
    font-family: var(--body-font);
    font-size: 0.875rem;
}

.shop .product-pagination nav {
    margin: 0;
}

.shop .product-pagination .pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.shop .product-pagination .page-item {
    margin: 0;
}

.shop .product-pagination .pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    min-width: 40px;
    height: 40px;
    margin: 0;
    padding: 0 12px;
    line-height: 1;
    white-space: nowrap;
    opacity: 1;
    border: 1px solid var(--sh-line);
    border-radius: var(--radius-btn) !important;
    background: hsl(var(--white));
    color: var(--sh-ink);
    font-family: var(--body-font);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: none;
    transition: border-color 0.2s ease;
}

.shop .product-pagination .pagination .page-item a.page-link:hover {
    border-color: var(--sh-ink);
    background: hsl(var(--white));
    color: var(--sh-ink);
}

.shop .product-pagination .pagination .page-item.active .page-link {
    border-color: var(--sh-ink);
    background: var(--sh-ink);
    color: hsl(var(--white));
}

.shop .product-pagination .pagination .page-item.disabled .page-link {
    border-color: var(--sh-line);
    background: transparent;
    color: var(--sh-faint);
}

/* ---------- ≤1199: tighter panel ---------- */
@media (max-width: 1199px) {
    .shop__layout {
        grid-template-columns: 264px minmax(0, 1fr);
        gap: 24px;
    }

    .shop-head .breadcrumb__intro {
        display: block;
    }

    .shop-head .breadcrumb__lead {
        max-width: 560px;
        margin: 12px 0 0;
    }

    .shop-types__list {
        gap: 12px;
    }

    .shop-type__media {
        height: 88px;
    }

    .shop-type__body {
        padding: 10px 12px 12px;
    }

    .shop-type__name {
        font-size: 0.9375rem;
    }
}

/* ---------- ≤991: drawer + sticky toolbar ---------- */
@media (max-width: 991px) {
    .shop-head,
    .shop {
        --sh-sticky: 64px;
    }

    .shop__layout {
        display: block;
    }

    .shop-types__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .shop-panel {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 1100;
        width: min(420px, 100%);
        max-height: none;
        border: 0;
        transform: translateX(-100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s;
    }

    .shop-panel.is-open {
        transform: none;
        visibility: visible;
    }

    .shop-panel__head {
        min-height: 64px;
    }

    .shop-panel__title {
        font-size: 1.25rem;
    }

    .shop-panel__head .shop-link {
        display: none;
    }

    .shop-panel__close {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        margin-right: -8px;
        padding: 0;
        border: 0;
        border-radius: var(--radius-btn);
        background: none;
        color: var(--sh-ink);
        font-size: 1.375rem;
    }

    .shop-panel__foot {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--sh-line);
        background: hsl(var(--white));
    }

    .shop-panel__foot .btn {
        flex: 1;
        height: 48px;
    }

    .shop-group--types {
        display: block;
    }

    .shop-swatches {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.shop-drawer-open {
        overflow: hidden;
    }

    .shop-bar {
        position: sticky;
        top: var(--sh-sticky);
        z-index: 5;
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 10px;
        margin: 0 calc(var(--bs-gutter-x, 24px) * -0.5);
        padding: 10px calc(var(--bs-gutter-x, 24px) * 0.5);
        background: hsl(var(--white));
    }

    .shop-bar__filters {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        height: 40px;
        padding: 0 14px;
        border: 1px solid var(--sh-ink);
        border-radius: var(--radius-btn);
        background: hsl(var(--white));
        color: var(--sh-ink);
        font-family: var(--body-font);
        font-size: 0.875rem;
        font-weight: 600;
    }

    .shop-bar__badge {
        display: inline-grid;
        place-items: center;
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        border-radius: 4px;
        background: var(--sh-accent);
        color: hsl(var(--white));
        font-size: 0.6875rem;
        font-weight: 700;
    }

    .shop-bar__count {
        grid-column: 2;
        font-size: 0.8125rem;
        text-align: center;
    }

    .shop-sort__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .shop-progress {
        position: sticky;
        top: calc(var(--sh-sticky) + 60px);
    }

    .shop .product-pagination {
        flex-direction: column-reverse;
    }
}

@media (max-width: 575px) {
    .shop-head .breadcrumb__lead {
        font-size: 0.9375rem;
    }

    .shop-type__media {
        height: 64px;
        margin: 4px 4px 0;
    }

    .shop-type__body {
        padding: 8px 8px 10px;
    }

    .shop-type__name {
        font-size: 0.8125rem;
    }

    .shop-type__count {
        font-size: 0.75rem;
    }

    .shop-bar__count {
        display: none;
    }

    .shop-bar {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .shop-results__count-sm {
        display: block !important;
    }

    .shop .productGrid {
        --bs-gutter-x: 12px;
        --bs-gutter-y: 12px;
    }

    .shop .productResults {
        padding-top: 16px;
    }

    .shop .product-pagination .pagination .page-item .page-link {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
    }

    .shop-pages__text {
        display: none;
    }
}

.shop-results__count-sm {
    display: none;
    margin: 14px 0 0;
    color: var(--sh-muted);
    font-size: 0.8125rem;
}

.shop-results__count-sm b {
    color: var(--sh-ink);
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    .shop-type,
    .shop-type__media img,
    .shop-panel,
    .shop-progress::before {
        transition: none;
        animation: none;
    }
}
/* ====================== Shop Page Css End ==================== */
/* =========================================== Blog Details Css Start ==============================*/

.color-variant-list {
    display: flex;
    flex-wrap: wrap;
}

/*========qty container==========*/
.qty-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.qty-container .input-qty {
    text-align: center;
    max-width: 80px;
    width: 6ch;
    height: 25px;
    border-radius: 50%;
    border: 0;
    background: transparent;
}

.qty-container .input-qty:focus {
    outline: none !important;
}

.qty-container .qty-btn-minus,
.qty-container .qty-btn-plus {
    border: 1px solid hsl(var(--border-color));
    font-size: 16px;
    height: 38px;
    width: 48px;
    border-radius: var(--radius-btn);
    transition: 0.3s;
    background-color: hsl(var(--section-bg));
}

.qty-container .qty-btn-plus {
    margin-left: -1px;
}

.qty-container .qty-btn-minus {
    margin-right: -1px;
}

/*=================== product description css start here ================*/

.product-review__item {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 12px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid hsl(var(--border-color));
}

.product-review__item:nth-last-child(2) {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.product-review__avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    background: hsl(var(--section-bg));
}

.product-review__bottom {
    margin-top: 45px;
}

.product-review__name {
    font-weight: 500;
    margin-bottom: 3px;
}

.product-review__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: hsl(var(--body-color));
    margin-bottom: 16px;
}

.product-review__text {
    color: hsl(var(--heading-color));
    margin-bottom: 16px;
}

.product-review__actions {
    display: flex;
    gap: 14px;
    font-size: 14px;
}

.product-review__action {
    border: 0;
    background: transparent;
    color: hsl(var(--heading-color));
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-review__action .number {
    font-weight: 600;
}

.product-review__action i {
    font-size: 18px;
}

/*=================== product description css end here ================*/
.cart-section {
    overflow: hidden;
}

.cart-section .cart-wrapper {
    display: flex;
    width: 100%;
    gap: 24px;
    align-items: flex-start;
}

.cart-section .cart-wrapper__right {
    width: 530px;
    border-radius: 12px;
    background-color: hsl(var(--section-bg-two));
    padding: 48px;
    flex-shrink: 0;
}

@media screen and (max-width: 1499px) {
    .cart-section .cart-wrapper__right {
        width: 400px;
        padding: 32px;
    }
}

@media screen and (max-width: 1199px) {
    .cart-section .cart-wrapper__right {
        width: 350px;
    }
}

.cart-section .cart-wrapper__left {
    border: 0;
    -webkit-box-flex: 1;
    flex-grow: 1;
    background-color: hsl(var(--white));
    padding: 48px;
    border-radius: 12px;
    width: 100%;
}

@media screen and (max-width: 1499px) {
    .cart-section .cart-wrapper__left {
        padding: 32px;
    }
}

@media screen and (max-width: 575px) {
    .cart-section .cart-wrapper__left {
        padding: 16px;
    }
}

.cart-section .checkout-information__list-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 16px;
    border-bottom: 1px solid hsl(var(--border-color));
    padding-bottom: 16px;
}

.cart-section .checkout-information__list-item .title {
    font-size: 14px;
}

.cart-section .checkout-information__list-item .value {
    font-size: 16px;
    color: hsl(var(--heading-color));
}

.cart-section .checkout-information__total {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 32px;
}

.cart-section .checkout-information__total span {
    font-weight: 600;
    color: hsl(var(--heading-color));
}

.cart-section .checkout-information__total span:last-child {
    font-size: 1.25rem;
    color: hsl(var(--base)) !important;
    font-weight: 700;
}

.cart-section .checkout-payment-gateway {
    border-bottom: 1px solid hsl(var(--black)/0.1);
    padding-bottom: 15px;
    margin-bottom: 16px;
}

@media screen and (max-width: 991px) {
    .cart-section .cart-wrapper {
        flex-direction: column;
    }

    .cart-section .cart-wrapper__right {
        width: 100% !important;
    }
}

.cart-section .cart-header__title {
    margin-bottom: 16px;
    font-weight: 500;
}

.cart-section .cart-list {
    padding: 20px;
    background-color: hsl(var(--section-bg));
    border-radius: 12px;
    margin-bottom: 10px;
}

.cart-section .cart-list:last-child {
    margin-bottom: 0;
}

.cart-section .cart-list-item {
    display: flex;
    gap: 16px;
}

@media screen and (max-width: 575px) {
    .cart-section .cart-list-item {
        flex-direction: column;
    }
}

.cart-section .cart-list-item:not(:last-child) {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid hsl(var(--black)/0.1);
}

.cart-section .cart-list-item__thumb {
    width: 90px;
    display: block;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-section .cart-list-item__thumb img {
    width: 100%;
    height: 100%;
}

.cart-section .cart-list-item__content {
    -webkit-box-flex: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cart-section .cart-list-item__content-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.cart-section .cart-list-item__content-middle {
    flex: 1 1 auto;
}

.cart-section .cart-list-item__title {
    margin-bottom: 4px;
    font-family: var(--body-font);
}

.cart-section .cart-list-item__price {
    color: hsl(var(--base)) !important;
    font-weight: 500;
    margin-bottom: 0;
    margin-top: 12px;
}

.cart-section .cart-list-item__content-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: end;
    font-size: 13px;
}

.cart-section .cart-list-item__content-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cart-section .cart-list-item__action {
    display: flex;
    gap: 8px;
}

.cart-section .cart-list-item__action-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-btn);
    color: hsl(var(--text-color));
}

.cart-section .cart-list-item__action-btn:hover {
    color: hsl(var(--danger));
}

.cart-section .cart-list-item__content-info li span:last-child {
    color: hsl(var(--heading-color));
    font-weight: 600;
}

/*=============== dashboard banner section start here ===============*/

/*=============== dashboard banner section end here ===============*/
/*============= account setting section css start here =============*/
.account-setting-section .account-header {
    margin-top: -40px;
    background-color: hsl(var(--white));
    padding: 5px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    --wd: 100px;
    margin-bottom: 32px;
}

@media screen and (max-width: 991px) {
    .account-setting-section .account-header {
        margin-top: 32px;
    }
}

.account-setting-section .account-header__thumb {
    width: var(--wd);
    height: var(--wd);
}

.account-setting-section .account-header__thumb img {
    border-radius: 12px;
}

.account-setting-section .account-header__content {
    width: calc(100% - var(--wd));
    padding: 4px;
}

.account-setting-section .account-header__name {
    font-weight: 500;
    margin-bottom: 0;
}

.account-setting-section .account-header__mail .link {
    color: hsl(var(--body-color));
}

.account-setting-section .account-tab {
    margin-top: 40px;
}

.account-setting-section .account-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.account-setting-section .account-panel__title {
    margin-bottom: 0;
    font-weight: 500;
}

.account-setting-section .account-panel__edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid hsl(var(--border-color));
    background-color: hsl(var(--section-bg-two));
    color: hsl(var(--heading-color));
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s linear;
}

.account-setting-section .account-panel__edit:hover {
    background-color: hsl(var(--base));
    border-color: hsl(var(--base));
    color: hsl(var(--white));
}

.account-setting-section .account-upload {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 26px;
}

.account-setting-section .account-upload__box {
    width: 120px;
    height: 120px;
    border-radius: 14px;
    border: 1px dashed hsl(var(--border-color));
    background-color: hsl(var(--section-bg));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    color: hsl(var(--body-color));
    cursor: pointer;
}

.account-setting-section .account-upload__input {
    display: none;
}

.account-setting-section .account-upload__icon {
    font-size: 18px;
    color: hsl(var(--body-color));
}

.account-setting-section .account-upload__text {
    font-size: 13px;
}

.account-setting-section .account-upload__note {
    font-size: 13px;
    color: hsl(var(--body-color));
    margin-bottom: 0;
}

.account-setting-section .account-form .form--label,
.account-setting-section .account-form .form-label {
    margin-bottom: 10px;
    font-weight: 500;
    color: hsl(var(--heading-color));
}

.account-setting-section .account-phone {
    display: flex;
    align-items: center;
    border-radius: 12px;
    border: 1px solid rgba(225, 220, 216, 0.5);
    background-color: hsl(var(--section-bg));
    overflow: hidden;
}

.account-setting-section .account-phone .form--control {
    border: 0;
    background-color: transparent;
    padding: 13px 18px;
    border-radius: 0;
}

.account-setting-section .account-phone__code {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background-color: hsl(var(--section-bg-two));
    border-right: 1px solid rgba(225, 220, 216, 0.5);
    color: hsl(var(--heading-color));
}

.account-setting-section .account-phone__flag {
    display: inline-flex;
    align-items: center;
}

.account-setting-section .account-phone__flag img {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
}

.account-setting-section .account-phone__caret {
    font-size: 14px;
}

.account-setting-section .notification-settings {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.account-setting-section .notification-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid hsl(var(--border-color));
}

.account-setting-section .notification-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.account-setting-section .notification-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.account-setting-section .notification-item__title {
    font-weight: 600;
    font-size: 14px;
    font-family: var(--body-font);
    margin-bottom: 4px;
}

.account-setting-section .notification-item__text {
    margin-bottom: 0;
    font-size: 12px;
    color: hsl(var(--body-color));
}

.account-setting-section .switch {
    position: relative;
    display: inline-flex;
    width: 44px;
    height: 24px;
}

.account-setting-section .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.account-setting-section .account-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: var(--radius-btn);
    font-size: 12px;
    font-weight: 500;
    transition: 0.2s linear;
}

.account-setting-section .account-btn--muted {
    background-color: hsl(var(--section-bg-two));
    color: hsl(var(--heading-color));
    border: 1px solid hsl(var(--border-color));
}

.account-setting-section .account-btn--muted:hover {
    background-color: hsl(var(--base));
    border-color: hsl(var(--base));
    color: hsl(var(--white));
}

.account-setting-section .account-btn--base {
    background-color: hsl(var(--base));
    color: hsl(var(--white));
    border: 1px solid hsl(var(--base));
}

.account-setting-section .account-btn--base:hover {
    background-color: hsl(var(--base-d-200));
    border-color: hsl(var(--base-d-200));
}

.password-form__bottom {
    margin-top: 32px;
}

.account-modal-close {
    width: 100%;
    margin-top: 32px;
}

/*============= account setting section css end here =============*/
.account-setting-section .account-header__thumb--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: hsl(var(--base) / 0.08);
    color: hsl(var(--base));
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

.account-setting-section .account-header__logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    margin-right: 10px;
    align-self: center;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid hsl(var(--border-color));
    color: hsl(var(--body-color));
    white-space: nowrap;
}

.account-setting-section .account-header__logout:hover {
    background-color: hsl(var(--base));
    border-color: hsl(var(--base));
    color: hsl(var(--white));
}

@media screen and (max-width: 575px) {
    .account-setting-section .account-header {
        flex-wrap: wrap;
    }

    .account-setting-section .account-header__logout {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

.account-setting-section .account-body {
    margin-top: 32px;
}

.account-setting-section .account-body .card-title {
    margin-bottom: 0;
    font-weight: 500;
}

.custom--table {
    background-color: hsl(var(--white));
    margin-bottom: 0;
}

.custom--table thead tr th {
    background-color: hsl(var(--section-bg));
    color: hsl(var(--heading-color));
    font-weight: 500;
    white-space: nowrap;
}

.custom--table tbody tr td,
.custom--table thead tr th {
    vertical-align: middle;
    padding: 12px 20px;
    border-color: hsl(var(--border-color));
}

.custom--table tbody tr td:last-child,
.custom--table thead tr th:last-child {
    text-align: right;
}

@media screen and (max-width: 767px) {
    .custom--table thead {
        display: none;
    }

    .custom--table tbody tr {
        display: block;
        border-bottom: 1px solid hsl(var(--border-color));
    }

    .custom--table tbody tr td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        text-align: right;
        border: 0;
    }

    .custom--table tbody tr td::before {
        content: attr(data-label);
        font-weight: 500;
        color: hsl(var(--heading-color));
        text-align: left;
    }
}

/*============= account details section css start here =============*/

@media screen and (max-width: 991px) {
    .account-details-banner {
        padding: 32px 0 80px;
    }
}

@media screen and (max-width: 1199px) {
    .account-details-section .account-details {
        margin-top: -70px;
    }
}

@media screen and (max-width: 991px) {
    .account-details-hero {
        flex-direction: column;
    }

    .account-details-hero__actions {
        width: 100%;
        align-items: flex-start;
    }

    .account-details-section .account-details__toolbar {
        margin-top: 32px;
    }
}

@media screen and (max-width: 575px) {
    .account-details-section .account-details {
        margin-top: -56px;
    }

    .account-details-section .account-details__toolbar-actions {
        width: 100%;
    }

    .account-details-section .account-details__action-btn,
    .account-details-section .account-details__pay-btn {
        flex: 1;
    }

    .account-details-hero__user {
        align-items: flex-start;
    }

    .account-details-hero__thumb {
        width: 72px;
        height: 72px;
    }

    .account-details-chart {
        overflow-x: auto;
    }

    .account-details-chart__bars {
        min-width: 420px;
    }
}

/*============= account details section css end here =============*/
/*============= account details section css start here =============*/
.account-details-banner {
    background-color: hsl(var(--section-bg-two));
    padding: 40px 0 110px;
}

@media screen and (max-width: 991px) {
    .account-details-banner {
        padding: 32px 0 80px;
    }
}

.account-details-section .account-details {
    margin-top: -98px;
    position: relative;
    z-index: 1;
}

.account-details-section .account-details__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin: 42px 0 22px;
}

.account-details-section .account-details__toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.account-details-section .account-details__action-btn {
    min-width: 110px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: hsl(var(--white));
}

.account-details-section .account-details__pay-btn {
    min-width: 110px;
}

.account-details-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.account-details-hero__user {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.account-details-hero__thumb {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
}

.account-details-hero__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-details-hero__name {
    margin-bottom: 4px;
    font-weight: 600;
}

.account-details-hero__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.account-details-hero__username {
    color: hsl(var(--body-color));
}

.account-details-hero__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.account-details-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.account-details-hero__icon {
    padding: 0;
    border: 0;
    background-color: transparent;
    color: hsl(var(--heading-color));
    font-size: 26px;
    line-height: 1;
}

.account-details-hero__share {
    padding: 0;
    border: 0;
    background-color: transparent;
    color: hsl(var(--body-color));
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.account-details-hero__share .icon {
    color: hsl(var(--heading-color));
    font-size: 22px;
    line-height: 1;
}

.account-stats {
    margin-top: 28px;
}

.account-stats__label {
    display: block;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: hsl(var(--white)/0.75);
}

.account-stats__value {
    color: hsl(var(--white));
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.account-stats__growth {
    margin-bottom: 0;
    color: hsl(var(--success));
    font-size: 13px;
    font-weight: 500;
}

.account-details-panel {
    margin-bottom: 20px;
}

.account-details-panel__top {
    margin-bottom: 18px;
}

.account-details-panel__top--between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.account-details-panel__subtitle {
    margin-bottom: 0;
    margin-top: 26px;
    font-weight: 600;
}

.account-details-panel__filter {
    min-width: 180px;
}

.account-details-panel__filter .form--control {
    background-color: hsl(var(--white));
}

.account-details-info {
    height: 100%;
    border-radius: 12px;
    border: 1px solid hsl(var(--border-color));
    background-color: hsl(var(--white));
    padding: 16px 20px;
}

.account-details-info__label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: hsl(var(--body-color));
}

.account-details-info__value {
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 500;
}

.account-details-info__badge .badge {
    min-width: auto;
}

.account-details-info .text-base {
    color: hsl(var(--base));
}

@media screen and (max-width: 1199px) {
    .account-details-section .account-details {
        margin-top: -70px;
    }
}

@media screen and (max-width: 991px) {
    .account-details-hero {
        flex-direction: column;
    }

    .account-details-hero__actions {
        width: 100%;
        align-items: flex-start;
    }

    .account-details-section .account-details__toolbar {
        margin-top: 32px;
    }
}

@media screen and (max-width: 575px) {
    .account-details-section .account-details {
        margin-top: -56px;
    }

    .account-details-section .account-details__toolbar-actions {
        width: 100%;
    }

    .account-details-section .account-details__action-btn,
    .account-details-section .account-details__pay-btn {
        flex: 1;
    }

    .account-details-hero__user {
        align-items: flex-start;
    }

    .account-details-hero__thumb {
        width: 72px;
        height: 72px;
    }

    .account-details-chart {
        overflow-x: auto;
    }

    .account-details-chart__bars {
        min-width: 420px;
    }
}

/*============= account details section css end here =============*/

.pod-qty__btn {
    transition: all 0.2s ease;
}

/* ======================  Plugin Customization Start  ======================*/
/* ======================  Select2 Start  ======================*/
.select2-wrapper {
    --border-radius: var(--radius-btn);
    --height: 48px;
    --select2-border: rgba(225, 220, 216, 0.50);
    min-width: 110px;
}

.select2+.select2-container {
    border: 1px solid var(--select2-border, rgba(225, 220, 216, 0.5));
    border-radius: var(--border-radius, var(--radius-btn));
    height: 48px;
    background: hsl(var(--section-bg));
}

.select2+.select2-container .select2-selection__rendered {
    line-height: var(--height, 48px);
    padding-left: 16px !important;
    padding-right: 30px !important;
}

.select2+.select2-container .select2-selection--single {
    height: var(--height, 48px);
}

.select2+.select2-container .select2-selection {
    border: 0;
    background-color: transparent;
    width: 100%;
}

.select2+.select2-container .selection {
    width: 100%;
}

.select2+.select2-container .select2-selection__arrow {
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    background-color: transparent;
    border-radius: inherit;
    height: calc(var(--height, 48px) - 10px);
    width: 20px;
}

.select2+.select2-container .select2-selection__arrow::after {
    position: absolute;
    content: "\f0d7";
    inset: 0;
    font-weight: 900;
    font-family: "Font Awesome 6 Free";
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: hsl(var(--black));
    font-size: 14px;
}

.select2+.select2-container .select2-selection__arrow b {
    border: 0;
}

.select2-container--open:has(.select2-dropdown--above) {
    margin-top: -12px;
}

.select2-container--open:has(.select2-dropdown--below) {
    margin-top: 10px;
}

.select2-container--open .select2-dropdown {
    border: 1px solid hsl(var(--black)/0.1) !important;
    border-radius: 4px !important;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.select2-container--open .select2-dropdown--above {
    margin-bottom: 10px;
}

.select2-search__field {
    border-radius: 4px !important;
    border: 1px solid hsl(var(--black)/0.1) !important;
}

.select2-search__field:focus {
    outline: 0;
    border-color: hsl(var(--base)) !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: hsl(var(--base));
}

.select2-container--below.select2-container--open .select2-selection__arrow::after {
    transform: rotate(180deg);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: hsl(var(--body-color));
    font-weight: 400;
    font-size: 16px;
}

/* ======================  Select2 End  ======================*/
.select2-container:has(.select2-selection--single) {
    width: 100% !important;
}

.select2-container {
    position: relative;
}

/* ================= Slick Arrow & Dots css Start ================ */

/* Dots Css End */
/* ================= Slick Arrow & Dots css Start ================ */
/*============== swiper navigation css start here ==============*/

/*============== swiper navigation css end here ==============*/
/* ======================  Plugin Customization End  ======================*/
/* ======================  Pages Design Start  ======================*/
/* =========================================== Account Css Start =========================*/
/* Forms on the account pages (profile, password, support, payment). */
.account-form {
    width: 100%;
}

.account-form .text {
    text-align: left;
}

/* Sign-in pages (log in, register, password help, verification, profile completion).
   Left: the form column, with the logo and a way back to the site above it and the policy links
   below. Right, from 992px: a navy panel on the footer's blueprint grid with a customer's words and
   the showcase photo; it stays in place while a long form scrolls. */
.auth {
    --auth-ink: hsl(var(--heading-color));
    --auth-muted: hsl(var(--heading-color) / 0.64);
    --auth-line: hsl(30 14% 88%);
    --auth-line-strong: hsl(30 10% 78%);
    --auth-side-pad: clamp(32px, 4vw, 64px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100dvh;
    background: hsl(var(--white));
}

.auth__main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px clamp(20px, 5vw, 72px) 24px;
}

.auth__logo img {
    display: block;
    width: auto;
    height: 40px;
}

.auth__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--auth-muted);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.auth__back i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.auth__back:hover,
.auth__back:focus-visible {
    color: var(--auth-ink);
}

.auth__back:hover i,
.auth__back:focus-visible i {
    transform: translateX(-3px);
}

.auth__body {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding-block: clamp(16px, 3vh, 72px);
}

/* The register form already lists the policies beside its checkbox. */
.auth__main:has([name="agree"]) .auth__foot {
    display: none;
}

.auth__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.auth__links a {
    color: var(--auth-muted);
    transition: color 0.2s ease;
}

.auth__links a:hover,
.auth__links a:focus-visible {
    color: var(--auth-ink);
}

/* ---------- The form ---------- */
.auth-form {
    width: 100%;
    max-width: 440px;
}

/* The page's small label, with the site's orange dash. */
.auth-form__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    color: var(--auth-ink);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.auth-form__title {
    margin: 0 0 12px;
    color: var(--auth-ink) !important;
    font-family: var(--heading-font);
    font-size: clamp(2rem, 1.45rem + 1.6vw, 2.75rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.032em;
    text-wrap: balance;
}

.auth-form__lead {
    margin: 0 0 32px;
    color: var(--auth-muted);
    font-size: 1.0625rem;
    line-height: 1.55;
    text-wrap: pretty;
}

/* A title with no lead under it still keeps its distance from the form. */
.auth-form__title + form,
.auth-form__title + .auth-ban {
    margin-top: 32px;
}

.auth-form__row {
    --bs-gutter-x: 16px;
    --bs-gutter-y: 20px;
}

.auth-form .form-group {
    margin-bottom: 0;
}

.auth-form .form--label {
    display: block;
}

.auth-form__options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
}

/* Links inside the form: bold ink, the base colour on hover. */
.auth-form__link,
.auth-form__alt a,
.auth-form .form--check a {
    color: var(--auth-ink);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-form__link {
    padding-block: 10px;
    font-size: 0.875rem;
}

.auth-form__link:hover,
.auth-form__alt a:hover,
.auth-form .form--check a:hover {
    color: hsl(var(--base-d-200));
}

.auth-form__submit {
    margin-top: 4px;
}

.auth-form__submit i {
    display: inline-block;
    margin-left: 6px;
    font-size: 1.125rem;
    vertical-align: -2px;
    transition: transform 0.2s ease;
}

.auth-form__submit:hover i,
.auth-form__submit:focus-visible i {
    transform: translateX(3px);
}

/* "or continue with" between two hairlines. */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0 20px;
    color: var(--auth-muted);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--auth-line);
}

.auth-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-social li {
    flex: 1 1 130px;
}

.auth-social__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--auth-line-strong);
    border-radius: var(--radius-btn);
    background: hsl(var(--white));
    color: var(--auth-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.auth-social__btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.auth-social__btn:hover {
    border-color: var(--auth-ink);
    background: hsl(34 24% 97%);
    color: var(--auth-ink);
}

/* The line under the form ("Don't have an account? …"). */
.auth-form__alt {
    margin: 28px 0 0;
    color: var(--auth-muted);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    text-wrap: pretty;
}

.auth-form__alt + .auth-form__alt {
    margin-top: 10px;
}

/* Six-digit code pages: the code boxes need this exact column width. */
.auth-form:has(.verification-code) {
    max-width: 400px;
}

/* Banned account: the reason given by the site. */
.auth-ban {
    margin-bottom: 4px;
    padding: 16px 20px;
    border: 1px solid hsl(var(--danger) / 0.3);
    border-left: 3px solid hsl(var(--danger));
    border-radius: var(--radius-btn);
    background: hsl(var(--danger) / 0.05);
}

.auth-ban__label {
    margin: 0 0 4px;
    color: var(--auth-ink);
    font-weight: 600;
}

.auth-ban__reason {
    margin: 0;
    color: var(--auth-ink);
}

/* "Registration is closed" screen: its button takes the site's base colour (set in the admin
   panel). The screen's own markup and styles are a shared file and stay as they are. */
.register-disable .register-disable-footer-link {
    display: inline-block;
    border-radius: var(--radius-btn);
    background-color: hsl(var(--base));
    color: hsl(var(--white));
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.register-disable .register-disable-footer-link:hover,
.register-disable .register-disable-footer-link:focus-visible {
    background-color: hsl(var(--base-d-100));
    color: hsl(var(--white));
}

/* ---------- The navy panel ---------- */
.auth-side {
    display: none;
}

@media (min-width: 992px) {
    .auth {
        grid-template-columns: minmax(0, 1fr) minmax(0, 43%);
    }

    .auth-side {
        position: sticky;
        top: 0;
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
        padding: clamp(56px, 6.4vw, 96px) var(--auth-side-pad) 0;
        background-color: hsl(var(--footer-bg));
        /* The footer's blueprint sheet: 24px minor hairlines, a stronger line every 5 cells. */
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23fff'%3E%3Cpath d='M24.5 0V120M48.5 0V120M72.5 0V120M96.5 0V120M0 24.5H120M0 48.5H120M0 72.5H120M0 96.5H120' stroke-opacity='.03'/%3E%3Cpath d='M.5 0V120M0 .5H120' stroke-opacity='.065'/%3E%3C/g%3E%3C/svg%3E");
        color: hsl(var(--white) / 0.78);
    }

    /* The footer's corner marks. */
    .auth-side__mark {
        position: absolute;
        top: 24px;
        width: 6px;
        height: 6px;
        background: hsl(var(--base));
    }

    .auth-side__mark:nth-of-type(1) {
        left: 24px;
    }

    .auth-side__mark:nth-of-type(2) {
        right: 24px;
    }

    .auth-quote {
        position: relative;
        z-index: 1;
        max-width: 540px;
        margin: 0;
    }

    .auth-quote__label {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0 0 20px;
        color: hsl(var(--white));
        font-family: var(--body-font);
        font-size: 0.6875rem;
        font-weight: 600;
        line-height: 1.4;
        letter-spacing: 0.2em;
        text-transform: uppercase;
    }

    .auth-quote__label::before {
        content: "";
        flex: none;
        width: 16px;
        height: 2px;
        background: hsl(var(--base));
    }

    .auth-quote__text {
        margin: 0;
        padding: 0;
        border: 0;
        color: hsl(var(--white));
        font-family: var(--heading-font);
        font-size: clamp(1.5rem, 0.9rem + 1.5vw, 2.125rem);
        font-style: normal;
        font-weight: 600;
        line-height: 1.24;
        letter-spacing: -0.02em;
        text-wrap: balance;
    }

    .auth-quote__meta {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-top: 26px;
    }

    .auth-quote__avatar {
        flex: none;
        width: 44px;
        height: 44px;
        border: 2px solid hsl(var(--white));
        border-radius: 50%;
        object-fit: cover;
    }

    .auth-quote__who {
        display: grid;
        gap: 3px;
        min-width: 0;
    }

    .auth-quote__name {
        color: hsl(var(--white));
        font-size: 0.9375rem;
        font-weight: 600;
        line-height: 1.3;
    }

    .auth-quote__rating {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 2px 8px;
        color: hsl(var(--white) / 0.72);
        font-size: 0.8125rem;
        line-height: 1.4;
    }

    .auth-quote__stars {
        display: inline-flex;
        gap: 1px;
        color: hsl(var(--warning));
        font-size: 0.875rem;
    }

    /* The photo fills what is left and sits on the panel's bottom-right corner. */
    .auth-side__media {
        flex: 1;
        min-height: 0;
        margin: 28px calc(var(--auth-side-pad) * -1) 0 0;
    }

    .auth-side__media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: right bottom;
    }
}

@media (min-width: 1400px) {
    .auth {
        grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
    }
}

@media (max-width: 575px) {
    .auth__main {
        padding-top: 20px;
    }

    .auth__logo img {
        height: 34px;
    }

    .auth__body {
        align-items: flex-start;
    }

    .auth-form__lead {
        margin-bottom: 28px;
        font-size: 1rem;
    }

    .auth-form:has(.verification-code) {
        max-width: 336px;
    }
}

@media (max-width: 450px) {
    .auth-form:has(.verification-code) {
        max-width: 316px;
    }
}

@media (max-width: 400px) {
    .auth-form:has(.verification-code) {
        max-width: 276px;
    }
}

@media (max-width: 375px) {
    .auth-form:has(.verification-code) {
        max-width: 236px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth__back,
    .auth__back i,
    .auth__links a,
    .auth-form__link,
    .auth-form__alt a,
    .auth-form__submit i,
    .auth-social__btn {
        transition: none;
    }
}

/* The country field on the profile completion page: the same box as the inputs beside it. */
.auth-form .select2+.select2-container {
    --height: 46px;
    transition: border-color 0.2s ease;
}

.auth-form .select2+.select2-container--open,
.auth-form .select2+.select2-container--focus {
    border-color: hsl(var(--base));
}

.auth-form .select2+.select2-container .select2-selection__rendered {
    padding-left: 24px !important;
    padding-right: 40px !important;
    color: hsl(var(--black));
}

.auth-form .select2+.select2-container .select2-selection__arrow {
    right: 14px;
}

/* ============================================ Account Css End ====================================*/
/* =========================================== Blog Details Css Start ==============================*/
/* Blog post page.
   "Editorial, centred". The inner-page band (faint dotted stone "canvas", breadcrumb trail with the
   orange dash) carries a centred masthead: reading time + date, then the title as the page's h1.
   The 800px featured photo sits half on the band and half on the white page, never wider than its
   upload size. Below: one centred reading column with a quiet sticky rail ("In this guide" + share)
   at >= 1200px, an end prompt to the Shop, and "More guides" (the approved blog cards on stone). */
.post {
    --post-ink: hsl(var(--heading-color));
    --post-text: hsl(var(--heading-color) / 0.8);
    --post-muted: hsl(var(--heading-color) / 0.62);
    --post-line: hsl(30 14% 88%);
    --post-stone: hsl(34 24% 97%);
    --post-col: 640px;
    --post-cover: 800px;
    background: hsl(var(--white));
}

/* ---------- Reading progress ---------- */
/* A 2px orange rule along the very top of the window. On this page it takes the place of the fixed
   header's own orange top rule, so that rule now means something: how far through the guide you are. */
.post-progress {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    pointer-events: none;
}

.post-progress__bar {
    display: block;
    height: 100%;
    background: hsl(var(--base));
    transform: scaleX(var(--post-progress, 0));
    transform-origin: left center;
}

body:has(.post-progress) .header.hs::before {
    display: none;
}

/* ---------- Band: trail + masthead ---------- */
.post-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: var(--post-stone);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23151414' fill-opacity='.09'/%3E%3C/svg%3E");
    background-position: center top;
}

/* The shared trail, sitting on the band instead of on its own white strip. */
.post-band .breadcrumb.post-crumbs {
    padding: clamp(24px, 2.6vw, 36px) 0 0;
    border-bottom: 0;
    background: none;
}

.post-head {
    padding-top: clamp(24px, 2.6vw, 36px);
    text-align: center;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
    margin: 0 0 18px;
    color: var(--post-muted);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.post-meta__read {
    color: var(--post-ink);
}

.blog-card__sep,
.post-meta__sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.7;
}

.post-title {
    /* Never wider than the photo under it. */
    max-width: var(--post-cover);
    margin: 0 auto;
    color: var(--post-ink);
    font-family: var(--heading-font);
    font-size: clamp(2.125rem, 1.3rem + 2.8vw, 3.5rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.032em;
    text-wrap: balance;
}

/* The featured photo: 800px at most (its upload size). The band ends behind it: the lower part of
   the photo stands on a white floor drawn full-bleed by ::before, with the band's closing hairline. */
.post-cover {
    position: relative;
    width: min(100%, var(--post-cover));
    margin: clamp(28px, 3vw, 40px) auto 0;
}

.post-cover::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 44%;
    bottom: 0;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    border-top: 1px solid var(--post-line);
    background: hsl(var(--white));
}

/* A faint inner hairline so a light photo (white tee, white desk) keeps its edge on the white floor. */
.post-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 1px hsl(var(--heading-color) / 0.1);
    pointer-events: none;
}

.post-cover__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 5;
    border-radius: var(--radius);
    background: hsl(30 14% 90%);
    object-fit: cover;
}

/* ---------- Layout: rail + reading column ---------- */
.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding-top: clamp(40px, 4.4vw, 64px);
}

.post-main {
    width: min(100%, var(--post-col));
    min-width: 0;
    margin-inline: auto;
}

/* The rail comes after the column in the markup. Below 1200px it is simply the share line under
   the article (its contents list is replaced by the folded one above the article). */
.post-rail {
    width: min(100%, var(--post-col));
    margin-inline: auto;
}

@media (min-width: 1200px) {
    .post-layout {
        grid-template-columns: minmax(0, 1fr) var(--post-col) minmax(0, 1fr);
    }

    .post-main {
        grid-row: 1;
        grid-column: 2;
        width: auto;
        margin-inline: 0;
    }

    .post-rail {
        grid-row: 1;
        grid-column: 1;
        width: auto;
        margin-inline: 0;
    }

    .post-rail__inner {
        position: sticky;
        top: 100px;
        width: min(232px, 100% - 48px);
        padding-top: 6px;
    }
}

/* ---------- "In this guide" ---------- */
.post-label {
    margin: 0 0 14px;
    color: var(--post-ink);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.post-toc[hidden] {
    display: none;
}

.post-toc__list {
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--post-line);
    list-style: none;
}

.post-toc__item {
    padding-block: 7px;
}

.post-toc__link {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-left: -1px;
    padding: 0 0 0 16px;
    border-left: 2px solid transparent;
    color: var(--post-muted);
    font-size: 0.875rem;
    line-height: 1.4;
    text-wrap: pretty;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.post-toc__item--sub .post-toc__link {
    padding-left: 28px;
}

.post-toc__link:hover {
    color: var(--post-ink);
}

.post-toc__link.is-active {
    border-left-color: hsl(var(--base));
    color: var(--post-ink);
}

/* Small screens: the same list folded into one line above the article. */
.post-toc--fold {
    margin-bottom: 32px;
    border-block: 1px solid var(--post-line);
}

.post-toc--fold summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 0;
    color: var(--post-ink);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    list-style: none;
    cursor: pointer;
}

.post-toc--fold summary::-webkit-details-marker {
    display: none;
}

.post-toc--fold summary i {
    color: var(--post-muted);
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.post-toc--fold[open] summary i {
    transform: rotate(180deg);
}

.post-toc--fold .post-toc__list {
    margin-bottom: 18px;
}

@media (min-width: 1200px) {
    .post-toc--fold {
        display: none;
    }
}

/* ---------- Share ---------- */
.post-share__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    margin: 0 0 0 -10px;
    padding: 0;
    list-style: none;
}

.post-share__btn {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-btn);
    background: transparent;
    color: hsl(var(--heading-color) / 0.7);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.post-share__btn .las {
    font-size: 1.25rem;
}

.post-share__btn:hover {
    background: hsl(34 24% 95%);
    color: var(--post-ink);
}

.post-share__copy.is-copied {
    color: var(--post-ink);
}

.post-share__note {
    display: block;
    min-height: 1.4em;
    margin-top: 6px;
    color: var(--post-muted);
    font-size: 0.8125rem;
    line-height: 1.4;
}

@media (min-width: 1200px) {
    /* In the rail: under the contents list, split off by a hairline (none when there is no list). */
    .post-toc:not([hidden]) + .post-share {
        margin-top: 26px;
        padding-top: 24px;
        border-top: 1px solid var(--post-line);
    }

    .post-share .post-label {
        margin-bottom: 12px;
    }
}

/* Below 1200px: one line under the article, label left, icons right. */
@media (max-width: 1199px) {
    .post-rail .post-toc {
        display: none;
    }

    .post-share {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 4px 16px;
        margin-top: 40px;
        padding-top: 18px;
        border-top: 1px solid var(--post-line);
    }

    .post-share .post-label {
        margin: 0;
    }

    .post-share__list {
        margin: 0 -10px 0 0;
    }

    .post-share__note {
        flex-basis: 100%;
        min-height: 0;
        margin: 0;
        text-align: right;
    }
}

/* ---------- Article typography ---------- */
/* Everything an admin's rich-text editor can produce, on a 640px measure (about 70 characters a line). */
.post-body {
    color: var(--post-text);
    font-size: 1.125rem;
    line-height: 1.75;
    overflow-wrap: break-word;
}

/* The site sets a size and colour on every p, and makes every span inline-block: undo both here. */
.post-body p {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.post-body span {
    display: inline;
}

.post-body :is(p, ul, ol, pre, dl) {
    margin: 0 0 1.5rem;
}

/* Opening paragraph (also when the editor wraps the whole post, or its paragraphs, in bare divs). */
.post-body > :is(p, div):first-child:not(:has(:is(h1, h2, h3, h4, h5, h6, p, div, ul, ol, blockquote, table, img))),
.post-body > div:only-child > :is(p, div):first-child:not(:has(:is(h1, h2, h3, h4, h5, h6, p, div, ul, ol, blockquote, table, img))) {
    color: var(--post-ink);
    font-size: 1.3125rem;
    line-height: 1.6;
    letter-spacing: -0.006em;
}

.post-body :is(h1, h2, h3, h4, h5, h6) {
    margin: 3rem 0 1rem;
    color: var(--post-ink);
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-wrap: balance;
    scroll-margin-top: 104px;
}

.post-body :is(h1, h2) {
    font-size: clamp(1.625rem, 1.45rem + 0.7vw, 1.875rem);
}

.post-body :is(h3, h4) {
    font-size: clamp(1.4375rem, 1.35rem + 0.4vw, 1.625rem);
}

.post-body h5 {
    font-size: clamp(1.3125rem, 1.25rem + 0.3vw, 1.4375rem);
}

.post-body h6 {
    font-size: 1.125rem;
    letter-spacing: -0.01em;
}

.post-body > :first-child,
.post-body > div:only-child > :first-child {
    margin-top: 0 !important;
}

.post-body > :last-child,
.post-body > div:only-child > :last-child {
    margin-bottom: 0 !important;
}

.post-body :is(strong, b) {
    color: var(--post-ink);
    font-weight: 600;
}

.post-body a {
    color: var(--post-ink);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: hsl(var(--base));
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.post-body a:hover {
    color: hsl(var(--base-d-200));
}

/* Lists: a small orange square for bullets, two-digit ink numerals for steps. */
.post-body :is(ul, ol) {
    padding-left: 0;
    list-style: none !important;
}

.post-body li {
    position: relative;
    margin-bottom: 0.625rem;
    padding-left: 2rem;
}

.post-body li > :is(p, ul, ol) {
    margin-bottom: 0.625rem;
}

.post-body li > :is(ul, ol) {
    margin-top: 0.625rem;
}

.post-body ul > li::before {
    content: "";
    position: absolute;
    top: calc(0.875em - 3px);
    left: 4px;
    width: 6px;
    height: 6px;
    background: hsl(var(--base));
}

.post-body ol {
    counter-reset: post-step;
}

.post-body ol > li {
    padding-left: 2.75rem;
    counter-increment: post-step;
}

.post-body ol > li::before {
    content: counter(post-step, decimal-leading-zero);
    position: absolute;
    top: 0.5em;
    left: 0;
    color: var(--post-ink);
    font-family: var(--body-font);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.1em;
    font-variant-numeric: tabular-nums;
}

/* Pull quote: the sentence set in the heading face behind a 2px orange rule. */
.post-body blockquote {
    margin: 3rem 0;
    padding: 0.125rem 0 0.125rem 1.75rem;
    border-left: 2px solid hsl(var(--base));
    color: var(--post-ink);
    font-family: var(--heading-font);
    font-size: clamp(1.375rem, 1.2rem + 0.75vw, 1.75rem);
    font-style: normal;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.018em;
    text-wrap: balance;
}

.post-body blockquote > * {
    margin: 0;
    color: inherit;
    font: inherit;
}

.post-body blockquote :is(cite, footer) {
    display: block;
    margin-top: 12px;
    color: var(--post-muted);
    font-family: var(--body-font);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0;
}

.post-body :is(img, video, iframe) {
    display: block;
    max-width: 100%;
    margin: 2.5rem auto;
    border-radius: var(--radius);
}

.post-body img {
    height: auto;
}

.post-body figure {
    margin: 2.5rem 0;
}

.post-body figure img {
    margin: 0 auto;
}

.post-body figcaption {
    margin-top: 12px;
    color: var(--post-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    text-align: center;
}

/* Tables: hairline rows, the header row as a small tracked label. JS wraps each table in
   .post-table so a wide one scrolls sideways on a phone instead of stretching the page. */
.post-table {
    margin: 2.5rem 0;
    overflow-x: auto;
}

.post-body table {
    width: 100%;
    margin: 2.5rem 0;
    border-collapse: collapse;
    font-size: 1rem;
    line-height: 1.5;
}

.post-table table {
    margin: 0;
}

.post-body :is(th, td) {
    padding: 13px 20px 13px 0;
    border: 0;
    border-bottom: 1px solid var(--post-line);
    text-align: left;
    vertical-align: top;
}

.post-body :is(th, td):last-child {
    padding-right: 0;
}

.post-body th {
    border-bottom-color: var(--post-ink);
    color: var(--post-ink);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    vertical-align: bottom;
}

.post-body hr {
    margin: 3rem 0;
    border: 0;
    border-top: 1px solid var(--post-line);
    opacity: 1;
}

.post-body :is(code, pre) {
    border-radius: 4px;
    background: hsl(34 24% 95%);
    color: var(--post-ink);
    font-size: 0.9375rem;
}

.post-body code {
    padding: 2px 6px;
}

.post-body pre {
    padding: 16px 18px;
    overflow-x: auto;
}

.post-body pre code {
    padding: 0;
    background: none;
}

/* ---------- After the article: end prompt (+ comments) ---------- */
/* Outside the rail's grid, so the sticky rail lets go before the prompt. As wide as the featured
   photo: the article is bookended by two 800px blocks. */
.post-end {
    width: min(100%, var(--post-cover));
    margin-inline: auto;
    padding-top: clamp(44px, 4.4vw, 64px);
    padding-bottom: clamp(64px, 6.4vw, 96px);
}

/* Below 1200px the share line sits right above, so the prompt moves closer. */
@media (max-width: 1199px) {
    .post-end {
        padding-top: 28px;
    }
}

/* The prompt is drawn as an empty Design Lab print area (dashed outline, square handles): the
   reader's turn. */
.post-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    padding: clamp(24px, 3vw, 34px) clamp(22px, 3.2vw, 40px);
    border: 1px dashed hsl(var(--base));
}

.post-cta__handle {
    position: absolute;
    width: 9px;
    height: 9px;
    border: 1px solid hsl(var(--base));
    background: hsl(var(--white));
}

.post-cta__handle:nth-of-type(1) {
    top: -5px;
    left: -5px;
}

.post-cta__handle:nth-of-type(2) {
    top: -5px;
    right: -5px;
}

.post-cta__handle:nth-of-type(3) {
    bottom: -5px;
    left: -5px;
}

.post-cta__handle:nth-of-type(4) {
    right: -5px;
    bottom: -5px;
}

.post-cta__title {
    margin: 0;
    color: var(--post-ink);
    font-family: var(--heading-font);
    font-size: clamp(1.375rem, 1.3rem + 0.4vw, 1.625rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.post-cta__text {
    max-width: 27em;
    margin: 8px 0 0;
    color: hsl(var(--heading-color) / 0.7);
    font-size: 1rem;
    line-height: 1.55;
    text-wrap: pretty;
}

.post-cta .post-cta__btn {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.post-cta__btn i {
    font-size: 1.125rem;
    transition: transform 0.25s ease;
}

.post-cta__btn:hover i,
.post-cta__btn:focus-visible i {
    transform: translateX(3px);
}

/* Facebook comments: no room taken until the extension actually renders something. */
.post .fb-comments:not(:empty) {
    display: block;
    max-width: var(--post-col);
    margin: clamp(40px, 4vw, 56px) auto 0;
}

/* ---------- Phones / tablets ---------- */
@media (max-width: 767px) {
    .post-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .post-head {
        text-align: left;
    }

    .post-meta {
        justify-content: flex-start;
        margin-bottom: 14px;
    }

    .post-title {
        margin-inline: 0;
    }

    .post-body {
        font-size: 1.0625rem;
        line-height: 1.7;
    }

    .post-body > :is(p, div):first-child:not(:has(:is(h1, h2, h3, h4, h5, h6, p, div, ul, ol, blockquote, table, img))),
    .post-body > div:only-child > :is(p, div):first-child:not(:has(:is(h1, h2, h3, h4, h5, h6, p, div, ul, ol, blockquote, table, img))) {
        font-size: 1.1875rem;
    }

    .post-body :is(h1, h2, h3, h4, h5, h6) {
        margin-top: 2.5rem;
    }

    .post-body blockquote {
        margin: 2.5rem 0;
        padding-left: 1.25rem;
    }

    .post-body ol > li {
        padding-left: 2.5rem;
    }

    .post-cta .post-cta__btn {
        justify-content: center;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .post-toc__link,
    .post-toc--fold summary i,
    .post-share__btn,
    .post-body a,
    .post-cta__btn i {
        transition: none;
    }
}

/* ========================================== Blog Details Css End ======================================*/
/*=========== contact section css start here ===========*/
/* Contact page: the shared page header (trail, title, CMS lead), then ONE joined sheet inside the
   container: the message form on white (the thing to do), a navy "studio card" beside it with
   the direct lines, the studio heading, the address and "Get directions". The map is its own rounded block
   underneath, across the full width, with a gap above it; nothing overlaps.
   Flat colours only; the navy uses the footer's blueprint grid. */

/* ---------- Page header: title on the left, CMS lead on the right ---------- */
.contact-head .breadcrumb__intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 48px;
}

.contact-head .breadcrumb__lead {
    /* As wide as the navy card below, so the two share a left edge. */
    flex: 0 0 432px;
    max-width: 432px;
    margin: 0 0 6px;
    color: hsl(30 4% 38%);
    font-family: var(--body-font);
    font-size: 1.0625rem;
    line-height: 1.6;
    text-wrap: pretty;
}

/* ---------- Section + sheet ---------- */
.contact {
    --ct-navy: hsl(var(--footer-bg));
    --ct-ink: hsl(var(--heading-color));
    --ct-muted: hsl(30 4% 38%);
    --ct-line: hsl(30 14% 88%);
    --ct-on-navy: hsl(var(--white) / 0.78);
    --ct-navy-line: hsl(var(--white) / 0.16);
    /* 18 cells of the card's 24px grid; its side padding is 2 cells. */
    --ct-card-w: 432px;
    --ct-pad: 48px;
    --ct-map-h: 500px;
    padding: clamp(32px, 4vw, 56px) 0 clamp(64px, 7vw, 104px);
    background: hsl(var(--white));
}

.contact-sheet {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--ct-card-w);
}

/* ---------- The form ---------- */
.contact-form {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    padding: var(--ct-pad);
    border: 1px solid var(--ct-line);
    border-right: 0;
    border-radius: var(--radius) 0 0 var(--radius);
    background: hsl(var(--white));
}

.contact-form__title {
    margin: 0 0 8px;
    color: var(--ct-ink) !important;
    font-family: var(--heading-font);
    font-size: clamp(1.625rem, 1.25rem + 1vw, 2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.contact-form__desc {
    margin: 0 0 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ct-line);
    color: var(--ct-muted);
    font-size: 1rem;
    line-height: 1.6;
    text-wrap: pretty;
}

.contact-form__row {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 16px;
}

.contact-form .form-group {
    margin-bottom: 0;
}

.contact-form .form--label {
    margin-bottom: 6px;
}

/* Fields and labels are the site's shared ones; only the message box is taller here. */
.contact-form textarea.form--control {
    height: 132px;
}

.contact-form__locked {
    margin: 8px 0 0;
    color: var(--ct-muted);
    font-size: 0.8125rem;
    line-height: 1.4;
}

/* Captcha slot (rendered by the captcha partial inside the row when the admin enables one): the
   shared stacked layout, code on one line and its field on the next. */
.contact-form .pod-captcha__google {
    max-width: 100%;
    overflow: hidden;
}

/* Send row. */
.contact-form__foot {
    margin-top: 22px;
}

.contact-form__submit {
    min-height: 52px;
    padding: 0 28px;
    font-size: 1rem;
}

.contact-form__submit i {
    font-size: 1.125rem;
    transition: transform 0.2s ease;
}

.contact-form__submit:hover i,
.contact-form__submit:focus-visible i {
    transform: translateX(3px);
}

.contact-form__submit:focus-visible {
    outline: 2px solid var(--ct-ink);
    outline-offset: 3px;
}

/* ---------- The navy studio card ---------- */
.contact-card {
    position: relative;
    z-index: 1;
    display: flex;
    grid-column: 2;
    grid-row: 1;
    flex-direction: column;
    min-width: 0;
    padding: var(--ct-pad) 48px 44px;
    border-radius: 0 var(--radius) var(--radius) 0;
    background-color: var(--ct-navy);
    /* The footer's blueprint sheet: 24px minor hairlines, a stronger line every 5 cells. */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23fff'%3E%3Cpath d='M24.5 0V120M48.5 0V120M72.5 0V120M96.5 0V120M0 24.5H120M0 48.5H120M0 72.5H120M0 96.5H120' stroke-opacity='.03'/%3E%3Cpath d='M.5 0V120M0 .5H120' stroke-opacity='.065'/%3E%3C/g%3E%3C/svg%3E");
    background-position: right top;
    color: var(--ct-on-navy);
}

.hs-top :focus-visible,
.footer-area :focus-visible,
.voices :focus-visible,
.blog-card:has(.blog-card__link:focus-visible) .blog-card__thumb,
.pop-all:focus-visible,
.auth-form__link:focus-visible,
.auth-form__alt a:focus-visible,
.auth-social__btn:focus-visible,
.auth__back:focus-visible,
.auth__links a:focus-visible,
.auth__logo:focus-visible,
.contact-card :focus-visible {
    outline: 2px solid hsl(var(--base));
    outline-offset: 3px;
}

.contact-card__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: hsl(var(--white)) !important;
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.contact-card__eyebrow::before {
    content: "";
    flex: none;
    width: 16px;
    height: 2px;
    background: hsl(var(--base));
}

/* The lines share whatever height the form gives the card, so the card never shows a hole. */
.contact-card__lines {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
}

/* One line per channel: small tracked label, the value set large, an arrow that steps aside on hover. */
.contact-line {
    display: grid;
    flex: 1 0 auto;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: center;
    column-gap: 16px;
    padding: 22px 0;
    border-top: 1px solid var(--ct-navy-line);
    color: hsl(var(--white));
}

.contact-line__label {
    grid-column: 1;
    margin-bottom: 8px;
    color: var(--ct-on-navy);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.contact-line__value {
    grid-column: 1;
    color: hsl(var(--white));
    font-family: var(--heading-font);
    font-size: 1.625rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
    text-decoration: underline transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
    transition: text-decoration-color 0.2s ease;
}

.contact-line__arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: hsl(var(--white) / 0.6);
    font-size: 1.25rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

a.contact-line:hover,
a.contact-line:focus-visible {
    color: hsl(var(--white));
}

a.contact-line:hover .contact-line__value,
a.contact-line:focus-visible .contact-line__value {
    text-decoration-color: hsl(var(--white) / 0.6);
}

a.contact-line:hover .contact-line__arrow,
a.contact-line:focus-visible .contact-line__arrow {
    color: hsl(var(--white));
    transform: translateX(4px);
}

/* Social links: the footer's joined strip of hairline squares. */
.contact-social {
    display: flex;
    grid-column: 1 / -1;
    width: max-content;
    max-width: 100%;
    flex-wrap: wrap;
    margin: 6px 0 0;
    padding: 0;
    border-left: 1px solid hsl(var(--white) / 0.24);
    list-style: none;
}

.contact-social__link {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid hsl(var(--white) / 0.24);
    border-left: 0;
    color: hsl(var(--white));
    font-size: 15px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-social__link:hover,
.contact-social__link:focus-visible {
    background: hsl(var(--white));
    color: var(--ct-navy);
}

/* The studio: pinned to the card's foot, right above the map. */
.contact-card__studio {
    padding-top: 32px;
    border-top: 1px solid var(--ct-navy-line);
}

.contact-card__title {
    margin: 0;
    color: hsl(var(--white)) !important;
    font-family: var(--heading-font);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.contact-card__text {
    margin: 10px 0 0;
    color: var(--ct-on-navy);
    font-size: 0.9375rem;
    line-height: 1.6;
    text-wrap: pretty;
}

.contact-card__address {
    margin: 18px 0 0;
    color: hsl(var(--white));
    font-size: 1.0625rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    text-wrap: balance;
}

.contact-card__directions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    margin-top: 20px;
    padding: 0 20px;
    border: 1px solid hsl(var(--white) / 0.4);
    border-radius: var(--radius-btn);
    color: hsl(var(--white));
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact-card__directions i {
    font-size: 1.0625rem;
    transform: rotate(-45deg);
}

.contact-card__directions:hover,
.contact-card__directions:focus-visible {
    border-color: hsl(var(--white));
    background: hsl(var(--white));
    color: var(--ct-navy);
}

/* ---------- The map ---------- */
.contact-map {
    grid-column: 1 / -1;
    grid-row: 2;
    height: var(--ct-map-h);
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid var(--ct-line);
    border-radius: var(--radius);
    background: hsl(34 24% 95%);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- ≤1199: a narrower card ---------- */
@media (max-width: 1199px) {
    .contact {
        --ct-card-w: 360px;
        --ct-pad: 36px;
        --ct-map-h: 460px;
    }

    .contact-head .breadcrumb__lead {
        flex-basis: 360px;
        max-width: 360px;
    }

    .contact-card {
        padding-inline: 36px;
        padding-bottom: 36px;
    }

    .contact-line__value {
        font-size: 1.3125rem;
    }

    .contact-card__title {
        font-size: 1.5rem;
    }
}

/* ---------- ≤991: one column — form, card, map — still one joined sheet ---------- */
@media (max-width: 991px) {
    .contact-head .breadcrumb__intro {
        display: block;
    }

    .contact-head .breadcrumb__lead {
        flex: none;
        max-width: 560px;
        margin: 12px 0 0;
    }

    .contact {
        --ct-map-h: 400px;
    }

    .contact-sheet {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-form {
        border-right: 1px solid var(--ct-line);
        border-bottom: 0;
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .contact-card {
        display: grid;
        grid-column: 1;
        grid-row: 2;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 40px;
        margin-bottom: 0;
        padding: var(--ct-pad);
        border-radius: 0 0 var(--radius) var(--radius);
    }

    .contact-card__studio {
        align-self: end;
        padding-top: 0;
        border-top: 0;
    }

    .contact-map {
        grid-row: 3;
    }
}

@media (max-width: 767px) {
    .contact-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-card__studio {
        padding-top: 28px;
        border-top: 1px solid var(--ct-navy-line);
    }
}

@media (max-width: 575px) {
    .contact-head .breadcrumb__lead {
        font-size: 0.9375rem;
    }

    .contact {
        --ct-pad: 22px;
        --ct-map-h: 340px;
        padding-top: 24px;
    }

    .contact-form {
        padding-block: 26px 28px;
    }

    .contact-form__desc {
        margin-bottom: 18px;
        padding-bottom: 16px;
        font-size: 0.9375rem;
    }

    .contact-form__submit {
        width: 100%;
    }

    .contact-card {
        padding-block: 30px 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-form__submit i,
    .contact-line__value,
    .contact-line__arrow,
    .contact-social__link,
    .contact-card__directions {
        transition: none;
    }

    .contact-form__submit:hover i,
    .contact-form__submit:focus-visible i,
    a.contact-line:hover .contact-line__arrow,
    a.contact-line:focus-visible .contact-line__arrow {
        transform: none;
    }
}
/*============= contact section css end here ===========*/

@media screen and (max-width: 991px) {
    .dashboard {
        padding-top: 60px;
    }
}

/* ================= Platform Health ================= */
.platform-health {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.platform-health__item {
    display: grid;
    grid-template-columns: 180px 1fr 48px;
    align-items: center;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid hsl(var(--border-color));
}

@media screen and (max-width: 767px) {
    .platform-health__item {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

.platform-health__label {
    color: hsl(var(--heading-color));
}

.platform-health__value {
    font-weight: 500;
    color: hsl(var(--heading-color));
    text-align: right;
}

@media screen and (max-width: 767px) {
    .platform-health__value {
        text-align: left;
    }
}

.platform-health__bar .progress {
    height: 6px;
    background-color: hsl(var(--black)/0.08);
    border-radius: 999px;
}

.platform-health__bar .progress-bar {
    border-radius: 999px;
}

.platform-health__bar--success .progress-bar {
    background-color: hsl(var(--success));
}

.platform-health__bar--warning .progress-bar {
    background-color: hsl(var(--warning));
}

/* ================= Live Activity Feed ================= */

/* ================= Top Creators ================= */

.top-creator {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid hsl(var(--border-color));
}

.platform-health__item:last-child,
.top-creator:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.choose-caption__label,
.top-creator__info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.top-creator__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.top-creator__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.top-creator__name {
    font-size: 14px;
    font-weight: 600;
    color: hsl(var(--heading-color));
    margin-bottom: 0;
}

.top-creator__meta {
    font-size: 12px;
    color: hsl(var(--body-color));
}

.top-creator__amount {
    font-size: 14px;
    font-weight: 600;
    color: hsl(var(--danger));
}

.top-creator__trend {
    color: hsl(var(--danger));
    font-size: 14px;
}

@media screen and (max-width: 767px) {
    .top-creator {
        grid-template-columns: 1fr auto;
    }

    .top-creator__trend {
        display: none;
    }
}

/* ================= Today's Snapshot ================= */

.dashboard-product-wrapper {
    border-radius: 12px;
    background: rgba(234, 230, 228, 0.24);
    padding: 24px;
}

.dashboard-product-wrapper__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

/*=============== card-item css start here ===============*/

/*=============== card-item css end here ================*/
/*=============== payout review modal two css start here ===============*/

/*=============== payout review modal two css end here ================*/
/*=============== payout review confirm tab css start here ===============*/

/*=============== payout review confirm tab css end here ================*/
/*=============== success modal css start here ===============*/

/*=============== success modal css end here ================*/
/* ======================  Pages Design End  ======================*/

label.required:after {
    content: '*';
    color: #dc3545;
    margin-left: 2px;
}

.account-form .form-group {
    margin-bottom: 0;
}

@keyframes podSheetIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes podPulse {
    50% {
        opacity: 0.35;
    }
}

.pod-qty {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid hsl(var(--border-color));
    border-radius: var(--radius-btn);
    background: hsl(var(--white));
}

.pod-qty__btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: hsl(var(--heading-color));
    font-size: 16px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pod-qty__btn:hover:not(:disabled) {
    background: hsl(var(--base)/0.1);
    color: hsl(var(--base));
}

.pod-qty__input {
    width: 56px;
    height: 40px;
    padding: 0 4px;
    border: 0;
    border-left: 1px solid hsl(var(--border-color));
    border-right: 1px solid hsl(var(--border-color));
    background: transparent;
    color: hsl(var(--heading-color));
    font-weight: 600;
    text-align: center;
}

.pod-qty__input:focus {
    outline: 0;
    background: hsl(var(--base)/0.05);
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 48px 16px;
    text-align: center;
}

.cart-empty__icon {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    border-radius: 50%;
    background: hsl(var(--base)/0.1);
    color: hsl(var(--base));
    font-size: 40px;
}

.cart-empty__title {
    margin: 0;
}

.cart-empty__desc {
    margin: 0 0 8px;
    color: hsl(var(--body-color));
}

.cart-section .checkout-information__advance,
.cart-section .checkout-information__notice {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
}

.cart-section .checkout-information__advance {
    background: hsl(var(--white));
    color: hsl(var(--body-color));
}

.cart-section .checkout-information__advance strong {
    color: hsl(var(--base));
}

.cart-section .checkout-information__notice {
    background: hsl(var(--warning)/0.14);
    color: hsl(var(--heading-color));
}

.cart-section .cartCheckout:disabled,
.cart-section .cartCheckout.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.cart-section .cartCheckout.is-disabled {
    pointer-events: none;
}

.pod-checkout-note {
    display: block;
    margin-top: 4px;
    color: hsl(var(--body-color));
    font-size: 12px;
    font-weight: 400;
}

.pod-captcha__code {
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: var(--radius-btn);
}

.pod-captcha__code>div {
    height: 100% !important;
    min-height: 50px;
    align-items: center;
}

/* ====================== Policy Pages Css Start ==================== */
/* Policy pages (and the cookie policy). The shared page header carries the title. Below, on white:
   a column that stays in view with the list of policies and the sections of this one, and the text
   in a reading column set like a blog post (.post-body) under the date of its last update, closed
   by a way to ask a question. */
.policy {
    /* The article typography and the contents lists read these. */
    --post-ink: hsl(var(--heading-color));
    --post-text: hsl(var(--heading-color) / 0.8);
    --post-muted: hsl(var(--heading-color) / 0.62);
    --post-line: hsl(30 14% 88%);
    /* The outlined button reads these. */
    --pop-line: hsl(30 14% 86%);
    --pop-ink: hsl(var(--heading-color));
    padding-block: clamp(40px, 5vw, 72px) var(--section-space);
    background: hsl(var(--white));
}

.policy__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
}

.policy__main {
    min-width: 0;
    max-width: 720px;
}

.policy__date {
    margin: 0 0 24px;
    color: var(--post-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* The admin's editor leaves a line break between sections; the headings already space them. */
.policy-body > br {
    display: none;
}

.policy-toc {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--post-line);
}

/* ---------- A question? ---------- */
.policy-help {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 32px;
    margin-top: clamp(48px, 5vw, 72px);
    padding-top: 28px;
    border-top: 1px solid var(--post-line);
}

.policy-help__title {
    margin: 0;
    color: var(--post-ink) !important;
    font-family: var(--heading-font);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.policy-help__text {
    margin: 6px 0 0;
    color: var(--post-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.policy-help .pop-all {
    border-radius: var(--radius-btn);
}

@media (min-width: 992px) {
    .policy__layout {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: clamp(48px, 6vw, 96px);
        align-items: start;
    }

    .policy__side {
        position: sticky;
        top: 100px;
        /* A long list of sections scrolls inside the column instead of running off the screen. */
        max-height: calc(100vh - 124px);
        overflow-y: auto;
        scrollbar-width: thin;
    }
}

/* Tablets and phones: the policies become one row of tabs that scrolls sideways; the list of
   sections is left out. */
@media (max-width: 991px) {
    .policy__layout {
        gap: 28px;
    }

    .policy-menu .post-label {
        display: none;
    }

    .policy-menu .post-toc__list {
        display: flex;
        gap: 24px;
        overflow-x: auto;
        border-bottom: 1px solid var(--post-line);
        border-left: 0;
        scrollbar-width: none;
    }

    .policy-menu .post-toc__list::-webkit-scrollbar {
        display: none;
    }

    .policy-menu .post-toc__item {
        flex: none;
        padding: 0;
    }

    .policy-menu .post-toc__link {
        display: block;
        margin: 0 0 -1px;
        padding: 12px 0;
        border-bottom: 2px solid transparent;
        border-left: 0;
        font-size: 0.9375rem;
        font-weight: 500;
        white-space: nowrap;
    }

    .policy-menu .post-toc__link.is-active {
        border-bottom-color: hsl(var(--base));
    }

    .policy-toc {
        display: none;
    }
}
/* ====================== Policy Pages Css End ==================== */

.blog-list__pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.blog-list__empty {
    margin: 0;
    padding: 40px 0;
    text-align: center;
}

.pod-orders-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.pod-orders-head__title {
    margin-bottom: 0;
    font-weight: 600;
}

.fileUploadsContainer {
    margin-top: 0;
}

.fileUploadsContainer:not(:empty) {
    margin-top: 12px;
}

.pod-order-badges {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* The state pill is the shortest thing in its flex row, so it is what gets squeezed first. */
.account-setting-section .account-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

#podConfirm .modal-dialog {
    max-width: 440px;
}

.pod-cart-dropped {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    text-align: left;
    padding: 12px 16px;
    border: 1px solid rgba(236, 171, 19, 0.28);
    border-radius: 12px;
    background: #FDF7E7;
    font-size: 14px;
}

.pod-cart-dropped i {
    margin-top: 2px;
    color: hsl(var(--warning));
}

.cart-empty .pod-cart-dropped {
    margin: 24px 0 0;
}

/* Product reviews: customers have no profile photo, so the avatar shows their initials. */
.product-review__initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: hsl(var(--heading-color));
}

.product-review__text {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.product-review__meta {
    flex-wrap: wrap;
}

.product-review__action.active {
    color: hsl(var(--base));
}

.product-review__action.active .text--danger {
    color: inherit !important;
}

.product-review__action:disabled {
    opacity: 0.6;
    cursor: default;
}

.product-review__item--empty {
    grid-template-columns: 1fr;
    color: hsl(var(--body-color));
}

/* Star picker: inputs are 5..1 in the DOM and shown reversed, so "~" lights every lower star. */
.pod-star-picker {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.pod-star-picker label {
    font-size: 28px;
    line-height: 1;
    color: hsl(var(--border-color));
    cursor: pointer;
    transition: color 0.15s linear;
}

.pod-star-picker input:checked~label,
.pod-star-picker label:hover,
.pod-star-picker label:hover~label {
    color: hsl(var(--warning));
}

.pod-star-picker input:focus-visible+label {
    outline: 2px solid hsl(var(--base));
    outline-offset: 2px;
    border-radius: 4px;
}

/* Review modal: every field is label on top, control below, one even gap between fields. */
.pod-review-form__field+.pod-review-form__field {
    margin-top: 24px;
}

.pod-review-form .form--label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: hsl(var(--heading-color));
}

.pod-review-form__optional {
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: hsl(var(--section-bg));
    font-size: 12px;
    font-weight: 400;
    color: hsl(var(--body-color));
    vertical-align: 1px;
}

.pod-review-form__hint {
    margin: -4px 0 12px;
    font-size: 13px;
    color: hsl(var(--body-color));
}

.pod-star-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.pod-star-picker__label {
    font-size: 14px;
    font-weight: 500;
    color: hsl(var(--heading-color));
}

.pod-star-picker__label.is-empty {
    font-weight: 400;
    color: hsl(var(--body-color));
}

.pod-review-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pod-review-photos:not(:empty) {
    margin-bottom: 12px;
}

.pod-review-photo {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid hsl(var(--border-color));
}

.fit-image,
.product-review__avatar img,
.pod-review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pod-review-photo.is-removed img {
    opacity: 0.3;
}

.pod-review-photo__remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: hsl(var(--black) / 0.6);
    color: hsl(var(--white));
    font-size: 12px;
}

.pod-review-stars {
    font-size: 13px;
    flex-wrap: nowrap;
}

/* Product share modal: the product on a stone strip, each network as an icon in its own brand
   colour, and the link in a framed field with a copy button on its end. */
.pod-share__product {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding: 12px 14px;
    border: 1px solid hsl(30 14% 88%);
    border-left: 3px solid hsl(var(--base));
    background: hsl(34 24% 97%);
}

.pod-share__thumb {
    flex: none;
    width: 52px;
    height: 52px;
    border: 1px solid hsl(30 14% 88%);
    background: hsl(var(--white));
    object-fit: contain;
}

.pod-share__title {
    margin: 0 0 2px;
    color: hsl(var(--heading-color));
    font-family: var(--heading-font);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
}

.pod-share__price {
    color: hsl(var(--heading-color) / 0.76);
    font-size: 0.875rem;
    font-weight: 600;
}

.pod-share__heading {
    display: block;
    margin: 0 0 12px;
    color: hsl(var(--heading-color) / 0.58);
    font-size: 0.65625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.pod-share__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.pod-share__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 6px;
    border-radius: 10px;
    color: hsl(var(--heading-color));
    transition: background-color 0.2s ease;
}

.pod-share__item:hover,
.pod-share__item:focus-visible {
    background: hsl(34 24% 95%);
    color: hsl(var(--heading-color));
}

/* Each network in its own colour (their brand colours, not the site's). */
.pod-share__icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--share-tone, hsl(var(--heading-color)));
    color: #fff;
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.pod-share__item:hover .pod-share__icon,
.pod-share__item:focus-visible .pod-share__icon {
    transform: translateY(-2px);
}

.pod-share__item:has(.pod-share__icon--facebook) { --share-tone: #1877f2; }
.pod-share__item:has(.pod-share__icon--twitter) { --share-tone: #0f1419; }
.pod-share__item:has(.pod-share__icon--whatsapp) { --share-tone: #25d366; }
.pod-share__item:has(.pod-share__icon--linkedin) { --share-tone: #0a66c2; }
.pod-share__item:has(.pod-share__icon--pinterest) { --share-tone: #e60023; }
.pod-share__item:has(.pod-share__icon--telegram) { --share-tone: #26a5e4; }
.pod-share__item:has(.pod-share__icon--reddit) { --share-tone: #ff4500; }
.pod-share__item:has(.pod-share__icon--email) { --share-tone: #5f6368; }

.pod-share__label {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.3;
}

/* The link: a soft stone field holding the address, with "Copy" as plain text at its end. */
.pod-share__copy {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 7px 7px 16px;
    border-radius: 10px;
    background: hsl(34 24% 95%);
    transition: background-color 0.2s ease;
}

.pod-share__copy:focus-within {
    background: hsl(34 24% 92%);
}

.pod-share__copy-icon {
    flex: none;
    color: hsl(var(--heading-color) / 0.5);
    font-size: 1.25rem;
}

.pod-share__copy-input {
    flex: 1;
    min-width: 0;
    padding: 0;
    border: 0;
    background: none;
    color: hsl(var(--heading-color));
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    text-overflow: ellipsis;
    outline: none;
}

.pod-share__copy .btn.pod-share__copy-btn {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background-color: transparent !important;
    color: hsl(var(--heading-color)) !important;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: none !important;
    transition: color 0.2s ease;
}

.pod-share__copy .btn.pod-share__copy-btn i {
    font-size: 1.0625rem;
}

.pod-share__copy .btn.pod-share__copy-btn:hover,
.pod-share__copy .btn.pod-share__copy-btn:focus-visible {
    color: hsl(var(--base)) !important;
}

@media screen and (max-width: 575px) {
    .pod-share__list {
        gap: 8px;
    }

    .pod-share__item {
        padding: 12px 2px;
    }

    .pod-share__label {
        font-size: 0.75rem;
        white-space: nowrap;
    }
}

@media screen and (max-width: 375px) {
    .pod-share__list {
        gap: 8px;
    }

    .pod-share__icon {
        width: 38px;
        height: 38px;
        font-size: 1.0625rem;
    }
}

/* Account cards (profile, password): card header subtitle, actions row and footnote. */
.pod-account-card {
    height: 100%;
    border: 1px solid hsl(var(--border-color) / 0.6);
}

.pod-account-card .dashboard-product-wrapper__top {
    padding-bottom: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid hsl(var(--border-color) / 0.6);
}

.pod-account-card__subtitle {
    margin: 4px 0 0;
    font-size: 14px;
    color: hsl(var(--body-color));
}

.pod-account-card .form--control:not([readonly]):not(:disabled) {
    background-color: hsl(var(--white));
}

/* Locked (readonly / disabled) fields, site-wide: the template's black/0.2-0.3 fill read as a broken
   field. A calm dashed box with muted text says "shown, not editable" instead. */
.form--control:disabled,
.form--control[readonly] {
    background-color: hsl(var(--section-bg) / 0.6);
    border: 1px dashed hsl(var(--border-color));
    color: hsl(var(--body-color));
    cursor: default;
}

.form--control:disabled {
    cursor: not-allowed;
}

.form--control:disabled:focus,
.form--control[readonly]:focus {
    border-color: hsl(var(--border-color));
    box-shadow: none;
}

.input--group:has(.form--control[readonly]),
.input--group:has(.form--control:disabled) {
    background: hsl(var(--section-bg) / 0.6) !important;
    border: 1px dashed hsl(var(--border-color)) !important;
}

.input--group .form--control[readonly],
.input--group .form--control:disabled {
    background: transparent !important;
}

.input--group:has(.form--control[readonly]) .input-group-text,
.input--group:has(.form--control:disabled) .input-group-text {
    background: transparent;
    border-right: 1px dashed hsl(var(--border-color)) !important;
    border-radius: 0;
}

/* Review photo lightbox: full-screen overlay, not a Bootstrap modal. */
.pod-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 80px;
    background: rgba(12, 12, 12, 0.92);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.pod-lightbox[hidden] {
    display: none;
}

.pod-lightbox.is-open {
    opacity: 1;
}

.pod-lightbox__stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
}

.pod-lightbox__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    transform: scale(0.97);
    transition: opacity 0.2s ease, transform 0.25s ease;
    user-select: none;
}

.pod-lightbox.is-open .pod-lightbox__img {
    transform: scale(1);
}

.pod-lightbox__img.is-loading {
    opacity: 0.35;
}

.pod-lightbox__btn {
    position: absolute;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 24px;
    transition: background 0.2s ease;
}

.pod-lightbox__btn:hover,
.pod-lightbox__btn:focus-visible {
    background: hsl(var(--base));
    outline: 0;
}

.pod-lightbox__close {
    top: 16px;
    right: 16px;
}

.pod-lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
}

.pod-lightbox__nav--prev {
    left: 16px;
}

.pod-lightbox__nav--next {
    right: 16px;
}

.pod-lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 14px;
}

.pod-lightbox__counter:empty {
    display: none;
}

body.pod-lightbox-open {
    overflow: hidden;
}

@media screen and (max-width: 575px) {
    .pod-lightbox {
        padding: 64px 12px;
    }

    .pod-lightbox__nav {
        top: auto;
        bottom: 12px;
        transform: none;
        width: 44px;
        height: 44px;
    }

    .pod-lightbox__counter {
        bottom: 22px;
    }
}

/* Order page review cell: stars + score and the button form one right-aligned group. */

/* Payment gateway pages (user/payment/layout): one card for every gateway. */
.pod-pay-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pod-pay-card__logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid hsl(var(--border-color) / 0.7);
    background: hsl(var(--white));
}

.pod-pay-summary {
    margin: 0 0 24px;
    padding: 4px 18px;
    list-style: none;
    border-radius: 12px;
    border: 1px solid hsl(var(--border-color) / 0.6);
    background: hsl(var(--white));
}

.pod-pay-summary li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 12px 0;
    font-size: 15px;
    color: hsl(var(--body-color));
}

.pod-pay-summary li+li {
    border-top: 1px dashed hsl(var(--border-color));
}

.pod-pay-summary strong {
    color: hsl(var(--heading-color));
    font-weight: 600;
    text-align: right;
}

.pod-pay-summary__total span {
    color: hsl(var(--heading-color));
    font-weight: 600;
}

.pod-pay-summary li.pod-pay-summary__total strong {
    font-size: 18px;
    color: hsl(var(--base));
}

.pod-pay-card__preview {
    margin-bottom: 20px;
}

.pod-pay-card__preview .jp-card-container {
    max-width: 100%;
}

.pod-pay-field {
    position: relative;
}

.pod-pay-field .form--control {
    padding-right: 48px;
}

.pod-pay-field i {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    font-size: 20px;
    color: hsl(var(--body-color));
    pointer-events: none;
}

.pod-pay-card__gateway-form .pod-pay-card__submit {
    margin-top: 0;
}

.pod-pay-card .form-group {
    margin-bottom: 16px;
}

.pod-pay-instructions {
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 12px;
    background: hsl(var(--base) / 0.06);
    border: 1px solid hsl(var(--base) / 0.18);
}

.pod-pay-instructions__title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-weight: 600;
}

.pod-pay-instructions__title i {
    font-size: 18px;
    color: hsl(var(--base));
}

.pod-pay-instructions__body {
    font-size: 14px;
    color: hsl(var(--body-color));
}

.pod-pay-instructions__body> :last-child {
    margin-bottom: 0;
}

.pod-pay-crypto {
    text-align: center;
}

.pod-pay-crypto__qr {
    width: 200px;
    max-width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid hsl(var(--border-color));
    background: hsl(var(--white));
}

.pod-pay-crypto__lead {
    margin: 14px 0 20px;
    font-size: 14px;
    color: hsl(var(--body-color));
}

.pod-pay-crypto .form--label {
    display: block;
    text-align: left;
}

.pod-pay-copy .form--control {
    flex: 1;
    min-width: 0;
    font-size: 14px;
}

.pod-pay-copy .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.pod-pay-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid hsl(var(--border-color) / 0.6);
}

.pod-pay-card__secure {
    display: flex;
    gap: 8px;
    flex: 1 1 260px;
    margin: 0;
    font-size: 13px;
    color: hsl(var(--body-color));
}

.pod-pay-card__secure i {
    font-size: 17px;
    color: hsl(var(--success));
    flex-shrink: 0;
}

.pod-pay-card__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: hsl(var(--heading-color));
    white-space: nowrap;
}

/* Shared account-card pieces: status pill, label/value rows, document links, empty state, notes,
   and generated forms (KYC, withdraw, manual payment) inside any account card. */
.pod-account-card .form-group {
    margin-bottom: 16px;
}

.pod-pay-card .form-label,
.pod-account-card .form-label {
    margin-bottom: 10px;
    font-weight: 500;
    color: hsl(var(--heading-color));
}

.pod-account-card .form--control:not([readonly]):not(:disabled),
.pod-account-card .form-control:not([readonly]):not(:disabled) {
    background-color: hsl(var(--white));
}

.pod-account-card.gateway-card {
    padding: 24px;
}

/* select2 fields from generated forms (x-viser-form) inside account cards: the site's select2 rules read
   --height / --select2-border / --border-radius, which only .select2-wrapper defines, so these fields
   rendered with no border or height. Give them the same box as the other inputs in the card. */
.pod-account-card .select2+.select2-container {
    --height: 48px;
    --border-radius: var(--radius-btn);
    --select2-border: rgba(225, 220, 216, 0.5);
    height: var(--height);
    border: 1px solid var(--select2-border);
    border-radius: var(--border-radius);
    background: hsl(var(--white));
    transition: border-color 0.2s ease;
}

.pod-account-card .select2+.select2-container--open,
.pod-account-card .select2+.select2-container--focus {
    border-color: hsl(var(--base));
}

.pod-account-card .select2+.select2-container .select2-selection--single {
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent;
}

.pod-account-card .select2+.select2-container .select2-selection__rendered {
    padding-left: 24px !important;
    line-height: calc(var(--height) - 2px);
    color: hsl(var(--heading-color));
}

.pod-account-card .select2+.select2-container .select2-selection__placeholder,
.pod-account-card .select2+.select2-container .select2-selection__rendered[title="Select One"] {
    color: hsl(var(--body-color));
}

.pod-account-card .select2+.select2-container .select2-selection__arrow {
    top: 50% !important;
    right: 12px;
    height: 100%;
    transform: translateY(-50%);
}

.pod-account-card .select2+.select2-container .select2-selection__arrow::after {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    line-height: 1;
}

.pod-account-card .select2+.select2-container.select2-container--open .select2-selection--single .select2-selection__arrow::after {
    transform: translateY(-50%) rotate(-180deg);
}

.select2-container--open .select2-dropdown .select2-results__option {
    padding: 10px 16px;
    font-size: 15px;
}

/* ====================== Product Page Css Start ==================== */
/* ================================= Product page: "The print stage" =================================
   The page previews the Design Lab. Left: a paper stage with the tee mockup in the chosen colour,
   the side's real printable area drawn as a dashed outline with square handles and its size, and
   Front / Back / sleeve tabs (the product photos are one more tab of the same stage). Right: the
   buy panel (sticky on desktop). Below the stage: print-area spec list, description, reviews.
   Everything is scoped to .pdp (and .pdp-more / .pdp-bar, which sit outside it). */
.pdp {
    --pdp-ink: hsl(var(--heading-color));
    --pdp-text: hsl(var(--heading-color) / 0.74);
    --pdp-muted: hsl(var(--heading-color) / 0.62);
    --pdp-line: hsl(30 14% 88%);
    --pdp-line-strong: hsl(30 10% 78%);
    /* The product photos are shot on this exact paper, so photo and stage read as one. */
    --pdp-paper: #f5f4f2;
    --pdp-top: 85px;
    /* The shared outlined button (.pop-all) reads these two. */
    --pop-line: hsl(30 14% 86%);
    --pop-ink: hsl(var(--heading-color));
    padding: clamp(20px, 2.2vw, 28px) 0 clamp(64px, 6.5vw, 96px);
    background: hsl(var(--white));
}

.pdp p {
    color: inherit;
}

.pdp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 28px;
}

.pdp-gallery,
.pdp-details,
.pdp-buy {
    min-width: 0;
}

@media (min-width: 992px) {
    .pdp-grid {
        grid-template-columns: minmax(0, 1fr) 400px;
        grid-template-rows: auto 1fr;
        column-gap: 40px;
        row-gap: 0;
    }

    .pdp-gallery {
        grid-column: 1;
        grid-row: 1;
    }

    .pdp-details {
        grid-column: 1;
        grid-row: 2;
    }

    /* The buy panel rides along while the stage, description and reviews scroll. */
    .pdp-buy {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: start;
        position: sticky;
        top: var(--pdp-top);
    }

    /* Taller than the window (set by the script): it scrolls with the page instead, so its
       button can always be reached. */
    .pdp-buy.is-tall {
        position: static;
    }
}

@media (min-width: 1200px) {
    .pdp-grid {
        grid-template-columns: minmax(0, 1fr) 464px;
        column-gap: 64px;
    }
}

/* ---------------------------------- Stage ---------------------------------- */
.pdp-stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 108px;
    overflow: hidden;
    border: 1px solid var(--pdp-line);
    border-radius: var(--radius);
    background: var(--pdp-paper);
}

/* Photos only (no mockups for this product): the canvas takes the whole stage. */
.pdp-stage--plain {
    grid-template-columns: minmax(0, 1fr);
}

/* Views rail: every print side as a small mockup in the chosen colour, then the photos. */
.pdp-stage__rail {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    border-left: 1px solid var(--pdp-line);
    background: hsl(var(--white));
}

.pdp-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 8px 4px 9px;
    border: 1px solid transparent;
    border-radius: var(--radius-btn);
    background: transparent;
    color: var(--pdp-muted);
    font-family: var(--body-font);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.pdp-view__thumb {
    position: relative;
    display: block;
    width: 64px;
    aspect-ratio: 1950 / 1860;
    border-radius: 4px;
    background: var(--pdp-paper);
}

.pdp-view__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: contain;
}

.pdp-view--photos .pdp-view__thumb img {
    object-fit: cover;
}

/* The side's printable area, in miniature. */
.pdp-view__thumb i {
    position: absolute;
    border: 1px dashed hsl(var(--base));
}

.pdp-view__thumb i.is-mid { border-color: hsl(var(--heading-color)); }
.pdp-view__thumb i.is-dark { border-color: hsl(var(--white)); }

.pdp-view:hover {
    color: var(--pdp-ink);
}

.pdp-view.is-active {
    border-color: var(--pdp-ink);
    color: var(--pdp-ink);
    font-weight: 600;
}

.pdp-view--photos {
    position: relative;
    margin-top: 4px;
}

.pdp-view--photos::before {
    content: "";
    position: absolute;
    top: -5px;
    right: 0;
    left: 0;
    border-top: 1px solid var(--pdp-line);
}

.pdp-stage__canvas {
    container-type: size;
    position: relative;
    display: grid;
    place-items: center;
    height: clamp(420px, calc(100vh - 276px), 640px);
    padding: 0;
}

/* Measuring ticks down the left edge of the paper (the tee cards carry the same ruler). */
.pdp-stage__ruler {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    width: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='60'%3E%3Cg stroke='%23151414'%3E%3Cpath d='M0 11.5h5M0 23.5h5M0 35.5h5M0 47.5h5' stroke-opacity='.2'/%3E%3Cpath d='M0 59.5h10' stroke-opacity='.34'/%3E%3C/g%3E%3C/svg%3E") left top repeat-y;
    pointer-events: none;
}

/* The mockup box keeps the mockup's own 1950 x 1860 ratio, so the print area can be placed on it
   in percentages. It is as large as the canvas allows in both directions. */
.pdp-stage__fig {
    position: relative;
    width: min(100cqw - 32px, (100cqh - 68px) * 1950 / 1860);
    aspect-ratio: 1950 / 1860;
    /* Room under the mockup for the caption. */
    margin: 0 0 36px;
    transition: opacity 0.18s ease;
}

.pdp-stage__fig.is-swapping {
    opacity: 0;
}

.pdp-stage__mockup {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* A faint lift off the paper, so a white tee does not read as a line drawing. */
    filter: drop-shadow(0 16px 18px hsl(var(--heading-color) / 0.09));
}

/* Printable area: dashed outline + four square handles, as a selected layer looks in the Lab. */
.pdp-stage__area {
    --pdp-area: hsl(var(--base));
    --pdp-area-ink: hsl(var(--heading-color) / 0.62);
    container-type: size;
    position: absolute;
    display: grid;
    place-items: center;
    border: 1.5px dashed var(--pdp-area);
    transition: top 0.35s ease, left 0.35s ease, width 0.35s ease, height 0.35s ease;
    pointer-events: none;
}

/* The outline keeps its contrast on every garment colour. */
.pdp-stage__area.is-mid {
    --pdp-area: hsl(var(--heading-color));
    --pdp-area-ink: hsl(var(--heading-color) / 0.8);
}

.pdp-stage__area.is-dark {
    --pdp-area: hsl(var(--white));
    --pdp-area-ink: hsl(var(--white) / 0.86);
}

/* What the outline is for, said inside it (only where the area has room for it). */
.pdp-stage__hint {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--pdp-area-ink);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
    max-width: 7.5em;
    text-align: center;
}

.pdp-stage__hint i {
    position: static;
    width: auto;
    height: auto;
    border: 0;
    background: none;
    font-size: 1.375rem;
}

@container (min-width: 132px) and (min-height: 112px) {
    .pdp-stage__hint {
        display: flex;
    }
}

.pdp-stage__area > i {
    position: absolute;
    width: 9px;
    height: 9px;
    border: 1.5px solid hsl(var(--base));
    background: hsl(var(--white));
}

.pdp-stage__area > i:nth-child(1) { top: -5px; left: -5px; }
.pdp-stage__area > i:nth-child(2) { top: -5px; right: -5px; }
.pdp-stage__area > i:nth-child(3) { bottom: -5px; left: -5px; }
.pdp-stage__area > i:nth-child(4) { right: -5px; bottom: -5px; }

/* Size tag under the outline, the way a design tool labels a selection. */
.pdp-stage__size {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border: 1px solid hsl(var(--heading-color) / 0.16);
    background: hsl(var(--white));
    color: var(--pdp-ink);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translateX(-50%);
}

/* Photos: never wider than the 650px original. */
.pdp-stage__photo {
    display: block;
    width: auto;
    max-width: min(100cqw - 32px, 650px);
    height: auto;
    max-height: calc(100cqh - 96px);
    margin-bottom: 68px;
    transition: opacity 0.18s ease;
}

.pdp-stage__photo.is-swapping {
    opacity: 0;
}

/* A single photo has no thumbnail row to leave room for. */
.pdp-stage__canvas:not(:has(.pdp-stage__thumbs)) .pdp-stage__photo {
    max-height: calc(100cqh - 32px);
    margin-bottom: 0;
}

.pdp-stage__nav {
    position: absolute;
    z-index: 2;
    top: calc(50% - 34px);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--pdp-line);
    border-radius: var(--radius-btn);
    background: hsl(var(--white));
    color: var(--pdp-ink);
    font-size: 1.125rem;
    transform: translateY(-50%);
    transition: border-color 0.2s ease;
}

.pdp-stage__nav:hover {
    border-color: var(--pdp-ink);
}

.pdp-stage__nav--prev { left: 16px; }
.pdp-stage__nav--next { right: 16px; }

.pdp-stage__thumbs {
    position: absolute;
    z-index: 2;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pdp-stage__thumb {
    flex: none;
    width: 56px;
    height: 56px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--pdp-line);
    border-radius: var(--radius-btn);
    background: hsl(var(--white));
    transition: border-color 0.2s ease;
}

.pdp-stage__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-stage__thumb:hover {
    border-color: var(--pdp-line-strong);
}

.pdp-stage__thumb.is-active {
    border-color: var(--pdp-ink);
    box-shadow: inset 0 0 0 1px var(--pdp-ink);
}

/* Caption in the bottom corner: which colour is on the stage and what the outline means. */
.pdp-stage__note {
    position: absolute;
    z-index: 1;
    bottom: 14px;
    left: 26px;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100% - 52px);
    margin: 0;
    color: var(--pdp-muted) !important;
    font-size: 0.8125rem;
    line-height: 1.35;
}

.pdp-stage__dot {
    flex: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px hsl(var(--heading-color) / 0.2);
}

/* Print view / photo view: only one is laid out at a time. */
.pdp-stage[data-mode="print"] .pdp-stage__photo,
.pdp-stage[data-mode="print"] .pdp-stage__nav,
.pdp-stage[data-mode="print"] .pdp-stage__thumbs,
.pdp-stage[data-mode="photo"] .pdp-stage__fig,
.pdp-stage[data-mode="photo"] .pdp-stage__note,
.pdp-stage[data-mode="photo"] .pdp-stage__ruler {
    display: none;
}

/* ---------------------------------- Buy panel ---------------------------------- */
.pdp-buy__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 28px;
    margin-bottom: 12px;
}

.pdp-buy__cat {
    color: var(--pdp-muted);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

a.pdp-buy__cat:hover,
a.pdp-buy__cat:focus-visible {
    color: var(--pdp-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pdp-buy__new {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border: 1px solid var(--pdp-line);
    color: var(--pdp-ink);
    font-family: var(--body-font);
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.blog-card__tag::before,
.tee-card__tag::before,
.pdp-stage__size::before,
.pdp-buy__new::before {
    content: "";
    width: 5px;
    height: 5px;
    background: hsl(var(--base));
}

.pdp-buy__share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: -8px -8px -8px auto;
    padding: 8px;
    border: 0;
    background: transparent;
    color: var(--pdp-muted);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1;
    transition: color 0.2s ease;
}

.pdp-buy__share i {
    font-size: 1.125rem;
}

@media (max-width: 991px) {
    .pdp-buy__share {
        min-height: 44px;
        margin-block: -8px;
    }

    .pdp-buy__cat {
        margin-block: -10px;
        padding-block: 10px;
    }
}

.pdp-buy__share:hover,
.pdp-buy__share:focus-visible {
    color: var(--pdp-ink);
}

.pdp-buy__title {
    margin: 0;
    color: var(--pdp-ink);
    font-family: var(--heading-font);
    font-size: clamp(1.875rem, 1.3rem + 1.35vw, 2.5rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.028em;
    text-wrap: balance;
}

.pdp-buy__rating {
    margin-top: 12px;
}

.pdp-buy__rating .rating-list {
    gap: 2px;
    margin: 0;
    padding: 0;
    font-size: 0.8125rem;
    line-height: 1;
    list-style: none;
}

.pdp-buy__rating .rating-list__item {
    padding: 0;
}

.pdp-buy__rating .rating-list__text {
    margin-left: 8px;
    color: var(--pdp-muted);
    font-size: 0.875rem;
}

.pdp-buy__rating .rating-list__text a {
    color: var(--pdp-ink);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: hsl(var(--heading-color) / 0.3);
    text-underline-offset: 4px;
}

.pdp-buy__rating .rating-list__text a:hover {
    text-decoration-color: hsl(var(--base));
}

/* Unreviewed: grey outline stars, so nothing reads as a score. */
.pdp-buy__rating--none .rating-list__item {
    color: hsl(var(--heading-color) / 0.24);
}

.pdp-buy__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 10px;
    margin-top: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--pdp-line);
}

.pdp-buy__unit {
    color: var(--pdp-ink);
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.pdp-buy__per {
    color: var(--pdp-muted);
    font-size: 0.9375rem;
}

/* ---------- Options ---------- */
.pdp-opt {
    margin-top: 18px;
}

.pdp-opt__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.pdp-opt__head .form--label {
    margin: 0;
    color: var(--pdp-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
}

.pdp-opt__value {
    margin-left: 6px;
    color: var(--pdp-muted);
    font-weight: 400;
}

.pdp-opt__hint {
    color: var(--pdp-muted);
    font-size: 0.8125rem;
    line-height: 1.3;
    text-align: right;
}

.pdp-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pdp-size {
    flex: none;
    min-width: 52px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--pdp-line-strong);
    border-radius: var(--radius-btn);
    background: hsl(var(--white));
    color: var(--pdp-ink);
    font-family: var(--body-font);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.pdp-size:hover {
    border-color: var(--pdp-ink);
}

.pdp-size.active {
    border-color: var(--pdp-ink);
    background: var(--pdp-ink);
    color: hsl(var(--white));
}

/* Not made in the chosen colour: still clickable (the picker then switches colour). */
.pdp-size.unavailable:not(.active) {
    border-style: dashed;
    color: var(--pdp-muted);
    font-weight: 500;
    text-decoration: line-through;
}

.pdp-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-left: -5px;
}

.pdp-swatch {
    position: relative;
    display: grid;
    flex: none;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1.5px solid transparent;
    border-radius: 50%;
    background: transparent;
    transition: border-color 0.2s ease;
}

.pdp-swatch .color {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    /* An inner edge keeps white and other pale colours visible on the white panel. */
    box-shadow: inset 0 0 0 1px hsl(var(--heading-color) / 0.22);
}

.pdp-swatch:hover {
    border-color: var(--pdp-line-strong);
}

.pdp-swatch.active {
    border-color: var(--pdp-ink);
}

.pdp-swatch.unavailable:not(.active) .color {
    opacity: 0.4;
}

/* A stroke through colours that are not made in the chosen size. */
.pdp-swatch.unavailable:not(.active)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 5px;
    right: 5px;
    border-top: 1.5px solid var(--pdp-muted);
    transform: rotate(-45deg);
}

/* ---------- Quantity + total ---------- */
.auth__bar,
.pdp-qty__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* The shared field (.form--control) with the two step buttons inside it. */
.pdp .qty-container {
    position: relative;
    display: block;
    flex: none;
    width: 148px;
    margin: 0;
}

.pdp .qty-container .input-qty {
    width: 100%;
    max-width: none;
    height: 48px;
    padding: 0 46px;
    border: 1px solid rgba(225, 220, 216, 0.5);
    border-radius: var(--radius-btn);
    background: hsl(var(--section-bg));
    color: var(--pdp-ink);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.pdp .qty-container .input-qty:focus {
    border-color: hsl(var(--base));
}

.pdp .qty-container .qty-btn-minus,
.pdp .qty-container .qty-btn-plus {
    position: absolute;
    top: 2px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--pdp-ink);
    font-size: 1rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pdp .qty-container .qty-btn-minus { left: 2px; }
.pdp .qty-container .qty-btn-plus { right: 2px; }

.pdp .qty-container .qty-btn-minus:hover,
.pdp .qty-container .qty-btn-plus:hover {
    background: hsl(var(--heading-color) / 0.07);
}

.pdp .qty-container .qty-btn-minus:focus-visible,
.pdp .qty-container .qty-btn-plus:focus-visible {
    outline: 2px solid hsl(var(--base));
    outline-offset: -2px;
}

.pdp .qty-container .is-limit {
    color: hsl(var(--heading-color) / 0.28);
    cursor: default;
}

.pdp .qty-container .is-limit:hover {
    background: transparent;
}

.pdp-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    min-width: 0;
    margin: 0;
    text-align: right;
}

.pdp-total[hidden] {
    display: flex;
    visibility: hidden;
}

.pdp-total__label {
    color: var(--pdp-muted);
    font-size: 0.8125rem;
    line-height: 1.3;
}

.pdp-total__sum {
    color: var(--pdp-ink);
    font-family: var(--heading-font);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.015em;
    font-variant-numeric: tabular-nums;
}

.pdp-buy__submit {
    width: 100%;
    min-height: 56px;
    margin-top: 20px;
    font-size: 1rem;
}

.pdp-buy__submit i,
.pdp-bar .btn i {
    font-size: 1.125rem;
    transition: transform 0.25s ease;
}

.pdp-buy__submit:hover i {
    transform: translateX(3px);
}

.pdp-buy__next {
    margin: 12px 0 0;
    text-wrap: balance;
    color: var(--pdp-muted) !important;
    font-size: 0.875rem;
    line-height: 1.5;
}

.pdp-buy__off {
    margin: 20px 0 0;
    color: var(--pdp-text) !important;
}

/* ---------------------------------- Blocks under the stage ---------------------------------- */
.pdp-block {
    margin-top: clamp(40px, 4.4vw, 56px);
    padding-top: clamp(36px, 4vw, 48px);
    border-top: 1px solid var(--pdp-line);
    scroll-margin-top: 84px;
}

.pdp-block__title {
    margin: 0;
    color: var(--pdp-ink);
    font-family: var(--heading-font);
    font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.875rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.022em;
}

/* ---------- Description + print areas, side by side ---------- */
.pdp-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
}

@media (min-width: 1200px) {
    .pdp-info--pair {
        grid-template-columns: minmax(0, 1fr) 256px;
        column-gap: 56px;
        align-items: start;
    }
}

/* Print areas: a ruled spec list, side -> largest printable size. */
.pdp-areas__list {
    margin: 20px 0 0;
    padding: 0;
    border-top: 1px solid var(--pdp-ink);
    list-style: none;
}

.pdp-areas__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--pdp-line);
    color: var(--pdp-ink);
}

.pdp-areas__name {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
}

.pdp-areas__dims {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    font-size: 0.9375rem;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pdp-areas__in {
    color: var(--pdp-muted);
    font-size: 0.8125rem;
}

.pdp-areas__note {
    margin: 14px 0 0;
    color: var(--pdp-muted) !important;
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* ---------- Description: the admin's rich text ---------- */
.pdp-prose {
    max-width: 680px;
    margin-top: 20px;
    color: var(--pdp-text);
    font-size: 1rem;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.pdp-prose p {
    color: inherit;
    font-size: inherit;
}

.pdp-prose span {
    display: inline;
}

.pdp-prose :is(p, ul, ol, table, pre, dl) {
    margin: 0 0 1.125rem;
}

/* Opening paragraph, when the text starts with one and more follows. */
.pdp-prose > p:first-child:not(:only-child) {
    color: var(--pdp-ink);
    font-size: 1.125rem;
    line-height: 1.6;
}

.pdp-prose :is(h1, h2, h3, h4, h5, h6) {
    margin: 2rem 0 0.75rem;
    color: var(--pdp-ink);
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.pdp-prose :is(h5, h6) {
    font-size: 1.0625rem;
}

.pdp-prose > :first-child {
    margin-top: 0 !important;
}

.pdp-prose > :last-child {
    margin-bottom: 0 !important;
}

.pdp-prose :is(strong, b) {
    color: var(--pdp-ink);
    font-weight: 600;
}

.pdp-prose a {
    color: var(--pdp-ink);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: hsl(var(--base));
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}

.pdp-prose a:hover {
    color: hsl(var(--base-d-200));
}

.pdp-prose :is(ul, ol) {
    padding-left: 0;
    list-style: none !important;
}

.pdp-prose li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 1.625rem;
}

.pdp-prose ul > li::before {
    content: "";
    position: absolute;
    top: calc(0.85em - 2.5px);
    left: 3px;
    width: 5px;
    height: 5px;
    background: hsl(var(--base));
}

.pdp-prose ol {
    counter-reset: pdp-step;
}

.pdp-prose ol > li {
    padding-left: 2.25rem;
    counter-increment: pdp-step;
}

.pdp-prose ol > li::before {
    content: counter(pdp-step, decimal-leading-zero);
    position: absolute;
    top: 0.42em;
    left: 0;
    color: var(--pdp-ink);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
}

.pdp-prose table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.pdp-prose :is(th, td) {
    padding: 10px 16px 10px 0;
    border-bottom: 1px solid var(--pdp-line);
    text-align: left;
    vertical-align: top;
}

.pdp-prose th {
    border-bottom-color: var(--pdp-ink);
    color: var(--pdp-ink);
    font-weight: 600;
}

.pdp-prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* ---------- Reviews ---------- */
.pdp-reviews__summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(32px, 5vw, 72px);
    margin-top: 24px;
}

.top-creators,
.snapshot,
.pdp-reviews__score {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pdp-reviews__avg {
    color: var(--pdp-ink);
    font-family: var(--heading-font);
    font-size: 4rem;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.pdp-reviews__avg small {
    margin-left: 4px;
    color: var(--pdp-muted);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0;
}

.pdp-reviews__score .rating-list {
    gap: 3px;
    margin: 0;
    padding: 0;
    font-size: 0.9375rem;
    line-height: 1;
    list-style: none;
}

.pdp-reviews__score .rating-list__item {
    padding: 0;
}

.pdp-reviews__count {
    color: var(--pdp-muted);
    font-size: 0.875rem;
    line-height: 1.3;
}

.pdp-reviews__bars {
    display: grid;
    gap: 9px;
    max-width: 440px;
}

.pdp-reviews__bar {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 44px;
    align-items: center;
    column-gap: 14px;
    color: var(--pdp-text);
    font-size: 0.875rem;
    line-height: 1.2;
}

.pdp-reviews__track {
    display: block;
    height: 6px;
    overflow: hidden;
    background: hsl(var(--heading-color) / 0.08);
}

.pdp-reviews__fill {
    display: block;
    width: 0;
    height: 100%;
    background: var(--pdp-ink);
}

.pdp-reviews__pct {
    white-space: nowrap;
    color: var(--pdp-muted);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.pdp-reviews__photos {
    margin-top: 32px;
}

.pdp-reviews__sub {
    margin: 0 0 12px;
    color: var(--pdp-ink);
    font-family: var(--body-font);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
}

.pdp-reviews__photo-list {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0 0 4px;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: thin;
}

.pdp-reviews__photo-list a {
    display: block;
    width: 88px;
    height: 88px;
    overflow: hidden;
    border-radius: var(--radius-btn);
    background: var(--pdp-paper);
}

.pdp-reviews__photo-list a:focus-visible {
    outline: 2px solid hsl(var(--base));
    outline-offset: -2px;
}

.pdp-reviews__photo-list img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.pdp-reviews__photo-list a:hover img {
    transform: scale(1.05);
}

.pdp-reviews__list {
    margin-top: 36px;
}

.pdp-reviews__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--pdp-ink);
}

.pdp-reviews__head .pdp-reviews__sub {
    margin: 0;
}

.pdp-reviews__sort {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--pdp-muted);
    font-size: 0.875rem;
    white-space: nowrap;
}

/* The shared field, at select width. */
.pdp-reviews__sort .form--control {
    width: auto;
    min-width: 172px;
    height: 44px;
    padding: 0 40px 0 16px;
    color: var(--pdp-ink);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
}

/* Review rows come from partials/product_review_items (also loaded by AJAX): restyled in place. */
.pdp-reviews .product-review__item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    margin: 0;
    padding: 24px 0;
    border-bottom: 1px solid var(--pdp-line);
}

.pdp-reviews .product-review__avatar {
    width: 44px;
    height: 44px;
    overflow: hidden;
    border-radius: var(--radius-btn);
    background: hsl(34 24% 95%);
}

.pdp-reviews .product-review__initials {
    color: var(--pdp-ink);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.pdp-reviews .product-review__name {
    margin: 2px 0 6px;
    color: var(--pdp-ink);
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
}

.pdp-reviews .product-review__meta {
    gap: 6px 12px;
    margin-bottom: 12px;
    color: var(--pdp-muted);
    font-size: 0.8125rem;
    line-height: 1.3;
}

.pdp-reviews .product-review__meta .rating-list {
    gap: 2px;
    margin: 0;
    padding: 0;
    font-size: 0.75rem;
    line-height: 1;
    list-style: none;
}

.pdp-reviews .product-review__meta .rating-list__item {
    padding: 0;
}

.pdp-reviews .product-review__text {
    max-width: 640px;
    margin: 0 0 12px;
    color: var(--pdp-text) !important;
    font-size: 1rem;
    line-height: 1.65;
}

.pdp-reviews .product-review__actions {
    gap: 8px;
    margin-left: -10px;
    font-size: 0.8125rem;
}

.pdp-reviews .product-review__action {
    gap: 6px;
    min-height: 36px;
    padding: 0 10px;
    border-radius: var(--radius-btn);
    color: var(--pdp-muted);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.pdp-reviews .product-review__action i {
    font-size: 1.0625rem;
}

.pdp-reviews .product-review__action .text--danger {
    color: inherit !important;
}

.pdp-reviews .product-review__action:not(:disabled):hover {
    background: hsl(var(--heading-color) / 0.06);
    color: var(--pdp-ink);
}

.pdp-stage__note b,
.pdp-buy__next b,
.pdp-reviews .product-review__action.active {
    color: var(--pdp-ink);
    font-weight: 600;
}

.pdp-reviews .product-review__action:focus-visible {
    outline: 2px solid hsl(var(--base));
    outline-offset: 1px;
}

.pdp-reviews .product-review__item--empty {
    display: block;
    color: var(--pdp-muted);
}

.pdp-reviews .product-review__bottom {
    margin-top: 24px;
}

/* ---------------------------------- More tees ---------------------------------- */
/* Heading: the shared .pop / .pop-head family. Cards: the shared .tee-card. */
.pdp-more__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 1199px) {
    .pdp-more__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .pdp-more__grid > :nth-child(n + 4) {
        display: none;
    }
}

/* Phones and small tablets: one swipeable row, so the cards keep a comfortable width. */
@media (max-width: 767px) {
    .pdp-more__grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: min(74%, 280px);
        gap: 12px;
        margin-inline: -12px;
        padding: 0 12px 4px;
        overflow-x: auto;
        scroll-padding-inline: 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .pdp-more__grid::-webkit-scrollbar {
        display: none;
    }

    .pdp-more__grid > * {
        scroll-snap-align: start;
    }

    .pdp-more__grid > :nth-child(n + 4) {
        display: block;
    }
}

/* ---------------------------------- Phone: sticky buy bar ---------------------------------- */
.pdp-bar {
    position: fixed;
    z-index: 990;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: center;
    gap: 14px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid hsl(30 14% 88%);
    background: hsl(var(--white));
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
}

.pdp-bar.is-visible {
    transform: none;
    visibility: visible;
    transition: transform 0.25s ease;
}

.pdp-bar__info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.pdp-bar__sum {
    color: hsl(var(--heading-color));
    font-family: var(--heading-font);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}

.pdp-bar__meta {
    overflow: hidden;
    color: hsl(var(--heading-color) / 0.62);
    font-size: 0.75rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pdp-bar .btn {
    flex: none;
    min-height: 48px;
    padding: 12px 18px;
}

@media (max-width: 991px) {
    .pdp-bar {
        display: flex;
    }

    /* The page's own scroll-to-top button moves up while the bar is showing. */
    body:has(.pdp-bar.is-visible) .scroll-top {
        bottom: 84px;
    }

    .pdp-stage__canvas {
        height: auto;
        aspect-ratio: 1950 / 1860;
        max-height: 560px;
        width: 100%;
    }

    .pdp-stage[data-mode="photo"] .pdp-stage__canvas {
        aspect-ratio: auto;
        height: min(118vw, 560px);
    }
}

@media (max-width: 575px) {
    .pdp-stage {
        margin-inline: -4px;
    }

    .pdp-stage__canvas {
        aspect-ratio: 1950 / 2010;
    }

    .pdp-stage__fig {
        width: min(100cqw - 8px, (100cqh - 40px) * 1950 / 1860);
        margin-bottom: 32px;
    }

    .pdp-stage__note {
        left: 20px;
        bottom: 10px;
        font-size: 0.75rem;
    }

    .pdp-stage__size {
        font-size: 0.625rem;
        letter-spacing: 0.08em;
    }

    .pdp-stage__nav {
        display: none;
    }

    .pdp-stage__thumb {
        width: 48px;
        height: 48px;
    }

    .pdp-size {
        min-width: 56px;
        height: 48px;
    }

    .pdp-swatch {
        width: 46px;
        height: 46px;
    }

    .pdp-swatch .color {
        width: 32px;
        height: 32px;
    }

    .pdp-reviews__summary {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 24px;
    }

    .pdp-reviews__bar {
        grid-template-columns: 72px minmax(0, 1fr) 44px;
    }

    .pdp-reviews__head {
        flex-wrap: wrap;
    }

    .pdp-reviews .product-review__action {
        min-height: 44px;
    }

    .pdp-reviews .product-review__item {
        gap: 12px;
    }
}

@media (max-width: 575px) {
    .pdp-stage {
        grid-template-columns: minmax(0, 1fr);
    }

    .pdp-stage__rail {
        flex-direction: row;
        gap: 2px;
        padding: 6px;
        overflow-x: auto;
        border-top: 1px solid var(--pdp-line);
        border-left: 0;
        scrollbar-width: none;
    }

    .pdp-view {
        flex: 1 0 auto;
        width: auto;
        min-width: 58px;
        padding: 6px 4px 8px;
        font-size: 0.6875rem;
        white-space: nowrap;
    }

    .pdp-view__thumb {
        width: 46px;
    }

    .pdp-view--photos {
        margin: 0 0 0 5px;
    }

    .pdp-view--photos::before {
        top: 4px;
        right: auto;
        bottom: 4px;
        left: -4px;
        border-top: 0;
        border-left: 1px solid var(--pdp-line);
    }
}

/* Narrow two-column layout: seven sizes still share one row. */
@media (min-width: 992px) and (max-width: 1199px) {
    .pdp-sizes {
        gap: 6px;
    }

    .pdp-size {
        min-width: 48px;
        padding: 0 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pdp *,
    .pdp-bar,
    .pdp-bar * {
        transition: none !important;
    }
}
/* ====================== Product Page Css End ==================== */

/* ====================== Design Lab Css Start ==================== */
/*
   "White workbench". The app frame (top bar + tool rail) is white with hairlines, like every
   panel inside it; the stage is paper with ruler ticks and a dotted canvas, a dashed print area
   with a size tag, and a thin selection outline with square handles. Orange is used for three things only: the
   Add to Cart button, whatever is selected on the stage, and focus. Active controls are ink.
   Flat colours and hairlines: no gradients, glows or blends.
   Layout: rail | drawer | stage | inspector. The drawer is part of the grid (it never covers
   the stage), so the T-shirt is always centred in the visible stage. On phones the rail is a
   bottom bar and the drawers open as sheets between the stage and the bar. */

html:has(.pod-builder--app),
body:has(.pod-builder--app) {
    height: 100%;
    overflow: hidden;
}

.pod-builder-section--app {
    padding: 0;
}

.pod-builder,
.pod-modal {
    --lab-navy: hsl(var(--footer-bg));
    --lab-ink: hsl(var(--heading-color));
    --lab-text: hsl(var(--heading-color) / 0.78);
    --lab-muted: hsl(var(--heading-color) / 0.62);
    --lab-faint: hsl(var(--heading-color) / 0.4);
    --lab-line: hsl(30 14% 88%);
    --lab-line-strong: hsl(30 10% 78%);
    --lab-paper: #f5f4f2;
    --lab-stone: hsl(34 24% 95%);
    --lab-stone-light: hsl(34 24% 97%);
    --lab-field: hsl(var(--section-bg));
    --lab-white: hsl(var(--white));
    --lab-accent: hsl(var(--base));
    --lab-frame-ink: hsl(var(--heading-color));
    --lab-frame-muted: hsl(var(--heading-color) / 0.62);
    --lab-frame-line: hsl(30 14% 88%);
    --lab-ok: #1f8a4c;
    --lab-warn: #b36b00;
    --lab-bad: #c62828;
    --lab-ctl: 36px;
    /* The dotted "canvas" of the inner-page headers and the ruler of the product stage. */
    --lab-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23151414' fill-opacity='.09'/%3E%3C/svg%3E");
    --lab-ruler: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='60'%3E%3Cg stroke='%23151414'%3E%3Cpath d='M0 11.5h5M0 23.5h5M0 35.5h5M0 47.5h5' stroke-opacity='.2'/%3E%3Cpath d='M0 59.5h10' stroke-opacity='.34'/%3E%3C/g%3E%3C/svg%3E");
}

.pod-builder {
    --lab-top: 60px;
    --lab-rail: 72px;
    --lab-drawer: 300px;
    --lab-inspector: 320px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: var(--lab-white);
    color: var(--lab-text);
    font-family: var(--body-font);
    font-size: 0.875rem;
    line-height: 1.4;
}

.pod-builder * {
    scrollbar-width: thin;
    scrollbar-color: var(--lab-line-strong) transparent;
}

.pod-builder ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.pod-builder ::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: var(--lab-line-strong);
}

/* The site turns every span into an animated inline-block; inside the editor spans are plain text. */
.pod-builder span,
.pod-modal span {
    transition: none;
}

.pod-builder :is(a, button, li, label, [tabindex], input[type="range"], input[type="checkbox"], input[type="color"]):focus-visible,
.pod-modal :is(a, button, li):focus-visible {
    outline: 2px solid var(--lab-accent);
    outline-offset: 2px;
}

.pod-builder :is(button, a):disabled,
.pod-builder :is(button, a)[disabled] {
    cursor: not-allowed;
}

/* ---------------------------------- Atoms ---------------------------------- */

/* The site's small tracked label with its 16 x 2 orange dash. */
.pod-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--lab-muted);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pod-eyebrow::before {
    content: "";
    flex: none;
    width: 16px;
    height: 2px;
    background: var(--lab-accent);
}

.pod-btn {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: var(--radius-btn);
    font-family: var(--body-font);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pod-btn i {
    font-size: 1.125rem;
}

.pod-btn--block {
    width: 100%;
}

.pod-btn--icon {
    width: 40px;
    padding: 0;
}

/* Quiet outlined button on the top bar. */
.pod-btn--ghost {
    border-color: var(--lab-line-strong);
    color: var(--lab-frame-ink);
}

.pod-btn--ghost:hover,
.pod-btn--ghost[aria-expanded="true"] {
    border-color: var(--lab-ink);
    background: var(--lab-stone-light);
    color: var(--lab-ink);
}

/* Outlined button on a white surface. */
.pod-btn--line {
    border-color: var(--lab-line-strong);
    background: var(--lab-white);
    color: var(--lab-ink);
}

.pod-btn--ink {
    background: var(--lab-ink);
    color: hsl(var(--white));
}

.pod-btn--ink:hover,
.pod-btn--ink:focus-visible {
    background: hsl(var(--heading-color) / 0.84);
    color: hsl(var(--white));
}

.pod-btn--base {
    background: var(--lab-accent);
    color: hsl(var(--white));
}

.pod-btn--base:hover,
.pod-btn--base:focus-visible {
    background: hsl(var(--base-d-100));
    color: hsl(var(--white));
}

.pod-btn:disabled {
    opacity: 0.5;
}

.pod-btn.is-busy {
    opacity: 0.6;
    cursor: progress;
}

/* The total in the Add to Cart button: a fixed width (sized for the largest possible total)
   behind a hairline, so neither the button nor the bar moves while the quantity changes. */
.pod-btn__amount {
    display: inline-block;
    min-width: calc(var(--amount-chars, 0) * 1ch + 13px);
    margin-left: 4px;
    padding-left: 12px;
    border-left: 1px solid hsl(var(--white) / 0.38);
    font-family: var(--heading-font);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* ONE compact control: the site's field (.form--control) at editor size. */
.pod-control,
.pod-field,
.pod-font-picker,
.pod-color-field,
.pod-shadow__input,
.pod-builder .qty-container .input-qty {
    height: var(--lab-ctl);
    border: 1px solid var(--lab-line);
    border-radius: var(--radius-btn);
    background: var(--lab-field);
    color: var(--lab-ink);
    font-family: var(--body-font);
    font-size: 0.875rem;
    line-height: 1;
    outline: 0;
    transition: border-color 0.2s ease;
}

.pod-control {
    display: block;
    width: 100%;
    padding: 0 12px;
}

.pod-control::placeholder,
.pod-field input::placeholder {
    color: var(--lab-muted);
    font-size: 0.8125rem;
}

.pod-control:hover,
.pod-field:hover,
.pod-font-picker:hover,
.pod-color-field:hover,
.pod-shadow__input:hover,
.pod-builder .qty-container .input-qty:hover {
    border-color: var(--lab-line-strong);
}

.pod-control:focus,
.pod-field:focus-within,
.pod-font-picker:focus-visible,
.pod-color-field:focus-within,
.pod-shadow__input:focus,
.pod-builder .qty-container .input-qty:focus {
    border-color: var(--lab-accent);
}

.pod-control::-webkit-search-cancel-button {
    cursor: pointer;
}

/* A number with its letter in front (X, Y, W, H, rotation). */
.pod-field {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 0 10px;
}

.pod-field > span {
    flex: none;
    width: 14px;
    color: var(--lab-muted);
    font-size: 0.75rem;
    font-weight: 600;
}

.pod-field > span i {
    font-size: 0.9375rem;
    vertical-align: -2px;
}

.pod-field input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--lab-ink);
    font-size: 0.875rem;
    font-variant-numeric: tabular-nums;
    appearance: textfield;
}

.pod-field em {
    color: var(--lab-muted);
    font-style: normal;
}

/* Stepper: the field with a step button inside each end (as on the product page). */
.pod-builder .qty-container {
    position: relative;
    display: block;
    flex: none;
    width: 116px;
    margin: 0;
}

.pod-builder .qty-container .input-qty {
    width: 100%;
    max-width: none;
    padding: 0 34px;
    font-weight: 600;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.pod-builder .qty-container .qty-btn-minus,
.pod-builder .qty-container .qty-btn-plus {
    position: absolute;
    top: 2px;
    display: grid;
    place-items: center;
    width: 32px;
    height: calc(var(--lab-ctl) - 4px);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--lab-ink);
    font-size: 0.875rem;
    transition: background-color 0.2s ease;
}

.pod-builder .qty-container .qty-btn-minus {
    left: 2px;
}

.pod-builder .qty-container .qty-btn-plus {
    right: 2px;
}

.pod-builder .qty-container .qty-btn-minus:hover,
.pod-builder .qty-container .qty-btn-plus:hover {
    background: hsl(var(--heading-color) / 0.07);
}

/* Segmented group: joined cells in one hairline box. Used for the side switch, tool
   buttons, curve presets and layer order. The active cell is ink. */
.pod-seg {
    display: flex;
    min-width: 0;
    border: 1px solid var(--lab-line-strong);
    border-radius: var(--radius-btn);
    background: var(--lab-white);
}

.pod-seg > button {
    flex: 1 1 0;
    min-width: 0;
    height: calc(var(--lab-ctl) - 2px);
    padding: 0 10px;
    border-left: 1px solid var(--lab-line);
    color: var(--lab-ink);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pod-seg > button:first-child {
    border-left: 0;
    border-radius: 5px 0 0 5px;
}

.pod-seg > button:last-child {
    border-radius: 0 5px 5px 0;
}

.pod-seg > button:hover:not(:disabled, .active) {
    background: var(--lab-stone);
}

.pod-seg > button.active {
    border-left-color: var(--lab-ink);
    background: var(--lab-ink);
    color: hsl(var(--white));
}

.pod-seg > button.active + button {
    border-left-color: var(--lab-ink);
}

.pod-seg > button:disabled {
    color: var(--lab-faint);
}

.pod-pay-copy,
.pod-tool-row {
    display: flex;
    gap: 8px;
}

.pod-tool-row > .pod-seg {
    flex: 1 1 0;
}

.pod-tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 1.0625rem;
}

.pod-seg > .pod-tool-btn {
    padding: 0 4px;
}

.pod-tool-btn svg {
    flex: none;
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 0;
}

.pod-tool-btn svg path {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.pod-tool-btn i {
    font-size: 1.1875rem;
}

.pod-tool-row--labels .pod-tool-btn span {
    font-size: 0.8125rem;
    font-weight: 500;
}

/* B / I / U as letters: clearer than icon-font glyphs at this size. */
.pod-glyph {
    font-size: 0.9375rem;
    line-height: 1;
}

.pod-glyph--bold {
    font-weight: 800;
}

.pod-glyph--italic {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-style: italic;
}

.pod-glyph--underline {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pod-chip-row .pod-chip-btn {
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--lab-line-strong);
    border-radius: var(--radius-btn);
    background: var(--lab-white);
    color: var(--lab-ink);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pod-chip-row .pod-chip-btn:hover {
    border-color: var(--lab-ink);
}

.pod-chip-row .pod-chip-btn.active {
    border-color: var(--lab-ink);
    background: var(--lab-ink);
    color: hsl(var(--white));
}

/* Slider: a hairline track and a square handle, like the handles on the stage. */
.pod-range {
    display: block;
    width: 100%;
    height: 20px;
    margin: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    appearance: none;
}

.pod-range::-webkit-slider-runnable-track {
    height: 2px;
    background: var(--lab-line-strong);
}

.pod-range::-moz-range-track {
    height: 2px;
    background: var(--lab-line-strong);
}

.pod-range::-moz-range-progress {
    height: 2px;
    background: var(--lab-ink);
}

.pod-range::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    margin-top: -5px;
    border: 1.5px solid var(--lab-ink);
    border-radius: 0;
    background: var(--lab-white);
    appearance: none;
}

.pod-range::-moz-range-thumb {
    box-sizing: border-box;
    width: 12px;
    height: 12px;
    border: 1.5px solid var(--lab-ink);
    border-radius: 0;
    background: var(--lab-white);
}

.pod-range:hover::-webkit-slider-thumb,
.pod-range:focus-visible::-webkit-slider-thumb {
    border-color: var(--lab-accent);
}

.pod-range:hover::-moz-range-thumb,
.pod-range:focus-visible::-moz-range-thumb {
    border-color: var(--lab-accent);
}

.pod-switch {
    position: relative;
    display: inline-flex;
    flex: none;
    width: 32px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.pod-switch input {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.pod-switch__track {
    width: 100%;
    height: 100%;
    border-radius: 9px;
    background: var(--lab-line-strong);
    transition: background-color 0.2s ease;
    pointer-events: none;
}

.pod-switch__track::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--lab-white);
    transition: transform 0.2s ease;
}

.pod-switch input:checked + .pod-switch__track {
    background: var(--lab-ink);
}

.pod-switch input:checked + .pod-switch__track::after {
    transform: translateX(14px);
}

.pod-switch input:focus-visible + .pod-switch__track {
    outline: 2px solid var(--lab-accent);
    outline-offset: 2px;
}

/* Colour swatches: a ring around the chosen one (the product page's swatch, smaller). */
.pod-builder .color-variant-list,
.pod-modal .color-variant-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin: 0 0 0 -3px;
    padding: 0;
}

.color-variant-list__item {
    position: relative;
    display: grid;
    flex: none;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 1.5px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.color-variant-list__item .color {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    /* An inner edge keeps white and other pale colours visible on the white panel. */
    box-shadow: inset 0 0 0 1px hsl(var(--heading-color) / 0.22);
}

.color-variant-list__item:hover {
    border-color: var(--lab-line-strong);
}

.color-variant-list__item.active {
    border-color: var(--lab-ink);
}

.color-variant-list__item.unavailable:not(.active) .color {
    opacity: 0.4;
}

/* A stroke through colours that are not made in the chosen size. */
.color-variant-list__item.unavailable:not(.active)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 3px;
    left: 3px;
    border-top: 1.5px solid var(--lab-muted);
    transform: rotate(-45deg);
}

/* The garment's own colours are larger than the element colours. */
.shirtColors .color-variant-list__item,
.previewColors .color-variant-list__item {
    width: 36px;
    height: 36px;
}

.shirtColors .color-variant-list__item .color,
.previewColors .color-variant-list__item .color {
    width: 26px;
    height: 26px;
}

/* "Any colour": the native picker sits invisibly over a dashed ring with a pipette. */
.designCustomColor {
    overflow: hidden;
    color: var(--lab-ink);
    font-size: 0.875rem;
}

.designCustomColor::before {
    content: "";
    position: absolute;
    inset: 2px;
    border: 1px dashed var(--lab-line-strong);
    border-radius: 50%;
}

.designCustomColor input[type="color"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    opacity: 0;
    cursor: pointer;
}

.pod-lock-btn {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 26px;
    height: 22px;
    padding: 0;
    border: 1px solid var(--lab-line-strong);
    border-radius: 4px;
    background: var(--lab-white);
    color: var(--lab-muted);
    font-size: 0.875rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pod-lock-btn:hover:not(:disabled) {
    border-color: var(--lab-ink);
    color: var(--lab-ink);
}

.pod-lock-btn.active {
    border-color: var(--lab-ink);
    background: var(--lab-ink);
    color: hsl(var(--white));
}

.pod-lock-btn:disabled {
    opacity: 0.45;
}

/* ---------------------------------- Top bar ---------------------------------- */
.pod-builder__top {
    position: relative;
    z-index: 30;
    display: flex;
    flex: none;
    align-items: stretch;
    justify-content: space-between;
    gap: 16px;
    height: var(--lab-top);
    padding-right: 14px;
    border-bottom: 1px solid var(--lab-frame-line);
    background: var(--lab-white);
    color: var(--lab-frame-ink);
}

.pod-builder__brand {
    display: flex;
    align-items: stretch;
    min-width: 0;
}

/* Sits exactly over the tool rail, as its first cell. */
.pod-builder__back {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: var(--lab-rail);
    border-right: 1px solid var(--lab-frame-line);
    color: var(--lab-frame-muted);
    font-size: 0.6875rem;
    font-weight: 500;
    line-height: 1.2;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pod-builder__back i {
    font-size: 1.25rem;
}

.pod-builder__logo {
    display: flex;
    flex: none;
    align-items: center;
    padding: 0 20px;
    border-right: 1px solid var(--lab-frame-line);
    transition: none;
}

.pod-builder__logo img {
    display: block;
    width: auto;
    max-width: 124px;
    max-height: 30px;
}

.pod-builder__title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    padding: 0 20px;
}

.pod-builder__title .pod-eyebrow {
    color: var(--lab-frame-muted);
    font-size: 0.625rem;
}

.pod-builder__product {
    overflow: hidden;
    color: var(--lab-ink);
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pod-builder__actions {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
}

.pod-btn--cart {
    margin-left: 4px;
}

/* Draft status: quiet text next to Save on wide screens, and the first line of the Save menu. */
.pod-draft-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    line-height: 1.2;
    white-space: nowrap;
}

.pod-draft-status.d-none {
    display: none;
}

.pod-draft-status__dot {
    flex: none;
    width: 6px;
    height: 6px;
    background: #4cc38a;
}

.pod-draft-status.is-unsaved .pod-draft-status__dot {
    background: var(--lab-accent);
}

.pod-draft-status--bar {
    margin-right: 8px;
    color: var(--lab-frame-muted);
}

.pod-draft-status--menu {
    padding: 4px 10px 10px;
    border-bottom: 1px solid var(--lab-line);
    color: var(--lab-muted);
}

.pod-save {
    position: relative;
}

.pod-save__caret.las {
    margin: 0 -4px 0 -2px;
    font-size: 0.75rem;
}

.pod-save:has(.saveDesign.is-busy) .pod-save__toggle {
    opacity: 0.6;
    cursor: progress;
}

.pod-builder .pod-save__menu {
    top: calc(100% + 8px) !important;
    width: 304px;
    padding: 6px;
    border: 1px solid var(--lab-line-strong);
    border-radius: var(--radius-btn);
    background: var(--lab-white);
    box-shadow: 0 14px 28px -18px hsl(var(--footer-bg) / 0.5);
    transition: opacity 0.15s ease, visibility 0.15s ease;
    transform: none !important;
}

.pod-save__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    color: var(--lab-ink);
    text-align: left;
    transition: background-color 0.2s ease;
}

.pod-save__item:hover:not(:disabled) {
    background: var(--lab-stone);
}

.pod-save__item:disabled {
    opacity: 0.5;
}

.pod-save__item > i {
    flex: none;
    margin-top: 1px;
    font-size: 1.25rem;
}

.pod-save__text {
    display: grid;
    flex: 1;
    gap: 3px;
    min-width: 0;
}

.pod-save__text strong {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
}

.pod-save__text small {
    color: var(--lab-muted);
    font-size: 0.75rem;
    line-height: 1.4;
}

.pod-save__item--plain {
    align-items: center;
    margin-top: 6px;
    border-top: 1px solid var(--lab-line);
    border-radius: 0 0 4px 4px;
    padding-top: 12px;
}

.pod-cart-link {
    position: relative;
}

.pod-cart-link i {
    font-size: 1.25rem;
}

.pod-cart-link__badge {
    position: absolute;
    top: -6px;
    right: -6px;
    display: inline-grid;
    place-items: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 3px;
    background: var(--lab-accent);
    color: hsl(var(--white));
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
}

.pod-cart-link__badge.d-none {
    display: none;
}

/* ---------------------------------- Layout ---------------------------------- */
.pod-builder__layout {
    position: relative;
    display: grid;
    flex: 1;
    grid-template-columns: var(--lab-rail) var(--lab-drawer) minmax(0, 1fr) var(--lab-inspector);
    grid-template-rows: minmax(0, 1fr);
    min-height: 0;
}

/* ---------------------------------- Tool rail ---------------------------------- */
.pod-rail {
    z-index: 2;
    display: flex;
    flex-direction: column;
    grid-column: 1;
    gap: 2px;
    padding: 8px 6px;
    overflow-x: hidden;
    overflow-y: auto;
    border-right: 1px solid var(--lab-frame-line);
    background: var(--lab-white);
    scrollbar-width: none;
}

.pod-rail::-webkit-scrollbar {
    display: none;
}

.pod-rail__btn {
    position: relative;
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: 58px;
    padding: 8px 2px;
    border-radius: 6px;
    color: var(--lab-frame-muted);
    font-size: 0.6875rem;
    font-weight: 500;
    line-height: 1.2;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pod-rail__btn i {
    font-size: 1.375rem;
}

.pod-rail__btn:hover {
    background: var(--lab-stone);
    color: var(--lab-ink);
}

/* The open tool: a soft tile in the base colour, its icon in the base colour. */
.pod-rail__btn.active {
    background: hsl(var(--base) / 0.08);
    color: var(--lab-ink);
    font-weight: 600;
}

.pod-rail__btn.active i {
    color: var(--lab-accent);
}

.pod-rail__btn:focus-visible {
    outline-offset: -3px;
}

/* A hairline between the tools that add something and the two that manage the design. */
.pod-rail__btn--split {
    margin-top: 11px;
}

.pod-rail__btn--split::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 16px;
    left: 10px;
    border-top: 1px solid var(--lab-frame-line);
}

.pod-rail__badge {
    position: absolute;
    top: 5px;
    left: calc(50% + 7px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 3px;
    background: var(--lab-accent);
    color: hsl(var(--white));
    font-size: 0.625rem;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.pod-rail__btn--mobile {
    display: none;
}

/* ---------------------------------- Drawer ---------------------------------- */
.pod-drawer {
    grid-column: 2;
    min-width: 0;
    min-height: 0;
    border-right: 1px solid var(--lab-line);
    background: var(--lab-white);
}

.pod-drawer__panel {
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: var(--lab-white);
}

.pod-drawer__panel.is-open {
    display: flex;
}

.pod-drawer__head {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 56px;
    padding: 0 12px 0 20px;
    border-bottom: 1px solid var(--lab-line);
}

.pod-drawer__title {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.2;
    letter-spacing: -0.005em;
}

.pod-drawer__close {
    display: grid;
    flex: none;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-btn);
    color: var(--lab-muted);
    font-size: 1.125rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pod-drawer__body {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.pod-drawer__foot {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 12px 12px 20px;
    border-top: 1px solid var(--lab-line);
}

.pod-drawer__count {
    color: var(--lab-muted);
    font-size: 0.8125rem;
}

.pod-drawer__count strong {
    color: var(--lab-ink);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pod-panel {
    padding: 18px 20px 20px;
    border-bottom: 1px solid var(--lab-line);
}

.pod-panel:last-child {
    border-bottom: 0;
}

.pod-panel--flush {
    padding: 0;
}

/* Tracked section label (overrides the site-wide heading colour, which is !important). */
.pod-panel__title {
    margin: 0 0 12px;
    color: var(--lab-muted) !important;
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pod-panel__lead,
.pod-panel__note,
.pod-panel__empty {
    margin: 0;
    color: var(--lab-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.pod-panel__lead {
    margin-bottom: 14px;
    color: var(--lab-text);
}

.pod-panel__note {
    margin-top: 10px;
}

.pod-panel--flush .pod-panel__empty {
    padding: 18px 20px;
}

.pod-size {
    flex: none;
    min-width: 44px;
    height: var(--lab-ctl);
    padding: 0 10px;
    border: 1px solid var(--lab-line-strong);
    border-radius: var(--radius-btn);
    background: var(--lab-white);
    color: var(--lab-ink);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pod-size:hover {
    border-color: var(--lab-ink);
}

.pod-size.active {
    border-color: var(--lab-ink);
    background: var(--lab-ink);
    color: hsl(var(--white));
}

/* Not made in the chosen colour: still clickable (the picker then switches colour). */
.pod-size.unavailable:not(.active) {
    border-style: dashed;
    color: var(--lab-muted);
    font-weight: 500;
    text-decoration: line-through;
}

.pod-order__qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pod-order__qty .pod-panel__title {
    margin-bottom: 5px;
}

.pod-order__limit {
    display: block;
    color: var(--lab-muted);
    font-size: 0.75rem;
    line-height: 1.3;
}

.pod-builder .pod-order__stepper {
    width: 128px;
}

.pod-order__prices {
    display: grid;
    gap: 7px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--lab-line);
}

.pod-order__row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--lab-muted);
    font-size: 0.8125rem;
}

.pod-order__row > span:last-child {
    color: var(--lab-ink);
    font-variant-numeric: tabular-nums;
}

.pod-order__total {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--lab-line);
}

.pod-order__total-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 2px 10px;
}

.pod-order__total-label {
    color: var(--lab-ink);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.pod-order__total-amount {
    color: var(--lab-ink);
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.pod-order__note {
    display: block;
    margin-top: 4px;
    color: var(--lab-muted);
    font-size: 0.75rem;
}

/* Upload drawer. */
.pod-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 100%;
    padding: 22px 16px 20px;
    border: 1.5px dashed var(--lab-line-strong);
    border-radius: var(--radius-btn);
    background: var(--lab-stone-light);
    color: var(--lab-muted);
    font-size: 0.8125rem;
    text-align: center;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.pod-dropzone:hover:not(:disabled) {
    border-color: var(--lab-accent);
    background: var(--lab-white);
}

.pod-dropzone:disabled {
    cursor: progress;
}

.pod-dropzone__icon {
    margin-bottom: 4px;
    color: var(--lab-ink);
    font-size: 1.75rem;
    line-height: 1;
}

.pod-dropzone.is-busy .pod-dropzone__icon i {
    animation: podPulse 1s ease-in-out infinite;
}

.pod-dropzone strong {
    color: var(--lab-ink);
    font-size: 0.9375rem;
    font-weight: 600;
}

.pod-dropzone small {
    margin-top: 8px;
    font-size: 0.75rem;
}

.pod-upload-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pod-upload-item {
    position: relative;
}

.pod-upload-item.is-busy {
    opacity: 0.4;
    pointer-events: none;
}

.pod-upload-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    padding: 6px;
    border: 1px solid var(--lab-line);
    border-radius: var(--radius-btn);
    background: var(--lab-paper);
    transition: border-color 0.2s ease;
}

.pod-upload-thumb:hover {
    border-color: var(--lab-ink);
}

.pod-upload-delete {
    position: absolute;
    top: 4px;
    right: 4px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 3px;
    background: var(--lab-ink);
    color: hsl(var(--white));
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.pod-upload-item:hover .pod-upload-delete,
.pod-upload-delete:focus-visible {
    opacity: 1;
}

.pod-upload-delete:hover {
    background: var(--lab-bad);
}

/* Text drawer: the search and the categories stay in view while the list scrolls. */
.pod-fonts__head {
    position: sticky;
    z-index: 2;
    top: 0;
    margin: -18px -20px 0;
    padding: 18px 20px 12px;
    background: var(--lab-white);
}

.pod-search {
    position: relative;
    margin-bottom: 10px;
}

.pod-search i {
    position: absolute;
    top: 50%;
    left: 11px;
    color: var(--lab-muted);
    font-size: 1rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.pod-search .pod-control {
    padding-left: 34px;
}

.pod-fonts .pod-panel__note {
    margin-top: 0;
}

.pod-font-list {
    display: grid;
    margin: 10px -10px 0;
}

.pod-font {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 40px;
    padding: 4px 10px;
    border-radius: var(--radius-btn);
    color: var(--lab-ink);
    text-align: left;
    transition: background-color 0.15s ease;
}

.pod-font.d-none {
    display: none;
}

.pod-font:hover {
    background: var(--lab-stone-light);
}

.pod-font.active {
    background: var(--lab-stone);
}

.pod-font.is-loading {
    opacity: 0.55;
}

.pod-font__name {
    overflow: hidden;
    font-size: 1.125rem;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pod-font__check {
    flex: none;
    visibility: hidden;
    font-size: 1rem;
}

.pod-font.active .pod-font__check {
    visibility: visible;
}

/* Graphics drawer: the shapes in one hairline grid; text designs printed on paper tiles. */
.pod-shape-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--lab-line);
    border-left: 1px solid var(--lab-line);
}

.pod-shape-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    height: 66px;
    padding: 0 2px;
    border-right: 1px solid var(--lab-line);
    border-bottom: 1px solid var(--lab-line);
    color: var(--lab-ink);
    transition: background-color 0.2s ease;
}

.pod-shape-btn:hover {
    background: var(--lab-stone);
}

.pod-shape-btn:focus-visible {
    outline-offset: -2px;
}

.pod-shape-btn svg {
    flex: none;
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.pod-shape-btn span {
    max-width: 100%;
    overflow: hidden;
    color: var(--lab-muted);
    font-size: 0.6875rem;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pod-text-design {
    aspect-ratio: 3 / 2;
    padding: 6px;
    border: 1px solid var(--lab-line);
    border-radius: var(--radius-btn);
    background: var(--lab-paper);
    transition: border-color 0.2s ease;
}

.pod-text-design:hover {
    border-color: var(--lab-ink);
}

/* The script draws each preview in white; on the paper tile it is shown in ink. */
.pod-text-design img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(1);
}

.pod-text-design img:not([src]) {
    visibility: hidden;
}

/* Draw drawer. */
.pod-draw-preview {
    display: grid;
    place-items: center;
    height: 60px;
    margin-bottom: 16px;
    border: 1px solid var(--lab-line);
    border-radius: var(--radius-btn);
    background: var(--lab-paper) var(--lab-dots) center;
}

.pod-draw-preview__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #000000;
    box-shadow: 0 0 0 1px hsl(var(--heading-color) / 0.25);
}

/* Layers drawer. A virtual list: rows are placed by JS (design-lab-arrange.js ROW_HEIGHT / ROW_GAP). */
.pod-layer-list {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pod-layer {
    position: absolute;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    height: 40px;
    min-width: 0;
    padding: 0 8px 0 6px;
    border-bottom: 1px solid var(--lab-line);
    border-left: 2px solid transparent;
    background: var(--lab-white);
    cursor: grab;
    user-select: none;
    transition: background-color 0.2s ease;
}

.pod-layer:hover {
    background: var(--lab-stone-light);
}

/* Selected on the stage: the same orange as the outline around it. */
.pod-layer.active {
    border-left-color: var(--lab-accent);
    background: var(--lab-stone);
}

.pod-layer__grip {
    display: inline-flex;
    flex: none;
    align-items: center;
    color: var(--lab-faint);
    font-size: 1rem;
    touch-action: none;
}

.pod-layer:hover .pod-layer__grip {
    color: var(--lab-muted);
}

.pod-layer__main {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 8px;
    min-width: 0;
    height: 100%;
    padding: 0;
    color: var(--lab-ink);
    font-size: 0.8125rem;
    text-align: left;
}

.pod-layer.active .pod-layer__main {
    font-weight: 600;
}

.pod-layer__icon {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid var(--lab-line);
    border-radius: 4px;
    background: var(--lab-white);
    font-size: 0.875rem;
}

.pod-layer__icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.pod-layer__input {
    flex: 1;
    min-width: 0;
    height: 28px;
    padding: 0 8px;
    border: 1px solid var(--lab-accent);
    border-radius: 4px;
    outline: 0;
    background: var(--lab-white);
    color: var(--lab-ink);
    font-size: 0.8125rem;
}

.pod-layer.is-renaming {
    cursor: default;
}

.pod-layer.is-hidden .pod-layer__main {
    opacity: 0.45;
}

.pod-layer__actions {
    display: flex;
    flex: none;
}

.pod-layer__btn {
    display: grid;
    flex: none;
    place-items: center;
    width: 26px;
    height: 28px;
    padding: 0;
    border-radius: 4px;
    color: var(--lab-muted);
    font-size: 0.9375rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pod-layer__btn:hover:not(:disabled) {
    background: hsl(var(--heading-color) / 0.07);
    color: var(--lab-ink);
}

.pod-layer__btn.layerDelete:hover {
    color: var(--lab-bad);
}

.pod-layer.is-hidden .pod-layer__eye {
    color: var(--lab-ink);
}

/* Rename / duplicate / delete show on the row in use (always on touch screens). */
@media (hover: hover) {
    .pod-layer:not(:hover, .active, .is-renaming) .pod-layer__actions {
        visibility: hidden;
    }
}

.pod-layer.is-dragging {
    z-index: 1;
    border-left-color: var(--lab-accent);
    background: var(--lab-stone);
    cursor: grabbing;
}

.pod-layer-list.is-sorting,
.pod-layer-list.is-sorting .pod-layer__main {
    cursor: grabbing;
}

.pod-layer-drop {
    position: absolute;
    z-index: 2;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--lab-accent);
    pointer-events: none;
}

.pod-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    border-radius: var(--radius-btn);
    color: var(--lab-ink);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pod-clear-btn i {
    font-size: 1rem;
}

.pod-clear-btn:hover:not(:disabled) {
    background: var(--lab-stone);
    color: var(--lab-bad);
}

.pod-clear-btn:disabled {
    color: var(--lab-faint);
}

/* Library drawer. */
.pod-library {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.pod-library__item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--lab-line);
}

.pod-library__item:first-child {
    padding-top: 0;
}

.pod-library__thumb {
    display: grid;
    flex: none;
    place-items: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border: 1px solid var(--lab-line);
    border-radius: var(--radius-btn);
    background: var(--lab-paper);
}

.pod-library__item.is-current .pod-library__thumb {
    border-color: var(--lab-accent);
}

.pod-library__nopreview {
    padding: 4px;
    color: var(--lab-muted);
    font-size: 0.6875rem;
    text-align: center;
}

.pod-library__info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pod-library__name {
    overflow: hidden;
    color: var(--lab-ink);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pod-library__meta {
    overflow: hidden;
    color: var(--lab-muted);
    font-size: 0.75rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pod-library__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

/* The site-wide link hover colour is the base orange; this link keeps its own. */
.pod-library .pod-library__open,
.pod-library .pod-library__open:focus {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border: 1px solid var(--lab-line-strong);
    border-radius: 4px;
    color: var(--lab-ink);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.pod-btn--line:hover,
.pod-library .pod-library__open:hover {
    border-color: var(--lab-ink);
    color: var(--lab-ink);
}

.pod-library__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lab-ink);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pod-library__delete {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 4px;
    color: var(--lab-muted);
    font-size: 1rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pod-seg > .pod-tool-btn--danger:hover:not(:disabled),
.pod-library__delete:hover {
    background: var(--lab-stone);
    color: var(--lab-bad);
}

.pod-library__loading {
    padding: 16px 0;
    color: var(--lab-muted);
    text-align: center;
}

.libraryMore {
    margin-top: 14px;
}

.pod-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 6px 0 4px;
}

.pod-empty.d-none {
    display: none;
}

.pod-empty__icon {
    margin-bottom: 2px;
    color: var(--lab-ink);
    font-size: 1.75rem;
    line-height: 1;
}

.pod-empty strong {
    color: var(--lab-ink);
    font-family: var(--heading-font);
    font-size: 1.0625rem;
    font-weight: 700;
}

.pod-empty p {
    margin: 0 0 12px;
    color: var(--lab-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* ---------------------------------- Stage ---------------------------------- */
.pod-canvas {
    position: relative;
    display: flex;
    flex-direction: column;
    grid-column: 3;
    min-width: 0;
    min-height: 0;
    background: var(--lab-paper) var(--lab-dots) 12px 12px;
}

/* Measuring ticks down the left edge of the paper, as on the product page's stage. */
.pod-canvas__ruler {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    width: 10px;
    background: var(--lab-ruler) left top repeat-y;
    pointer-events: none;
}

/* Undo / redo on the left, the side switch in the middle: the two outer columns are equal
   while there is room, and the empty right one gives way first when the stage is narrow. */
.pod-canvas__toolbar {
    position: relative;
    z-index: 4;
    display: grid;
    flex: none;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 0 24px;
}

.pod-canvas__history {
    justify-self: start;
}

.pod-canvas__view-switch > button {
    flex: 0 1 auto;
    min-width: 64px;
    padding: 0 14px;
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
}

/* Small white box of joined icon buttons: undo / redo, zoom. */
.pod-cluster {
    display: flex;
    align-items: center;
    border: 1px solid var(--lab-line-strong);
    border-radius: var(--radius-btn);
    background: var(--lab-white);
}

.pod-icon-btn {
    display: grid;
    flex: none;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    color: var(--lab-ink);
    font-size: 1.0625rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pod-cluster > .pod-icon-btn:first-child {
    border-radius: 5px 0 0 5px;
}

.pod-cluster > .pod-icon-btn:last-child {
    border-radius: 0 5px 5px 0;
}

.pod-cluster > .pod-icon-btn + .pod-icon-btn,
.pod-icon-btn--split {
    border-left: 1px solid var(--lab-line);
}

.pod-icon-btn:hover:not(:disabled, .active) {
    background: var(--lab-stone);
}

.pod-icon-btn:disabled {
    color: var(--lab-faint);
}

.pod-icon-btn.active {
    background: var(--lab-ink);
    color: hsl(var(--white));
}

.pod-canvas__stage {
    container-type: inline-size;
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    touch-action: none;
}

.pod-canvas__stage .canvas-container {
    position: absolute !important;
    top: 0;
    left: 0;
}

/* Size tag under the print area (placed by design-lab.js), the product page's tag. */
.pod-area-tag {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 8px;
    border: 1px solid hsl(var(--heading-color) / 0.16);
    background: var(--lab-white);
    color: var(--lab-ink);
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translateX(-50%);
    pointer-events: none;
}

.pod-area-tag:empty {
    display: none;
}

.pod-library__badge::before,
.pod-area-tag::before {
    content: "";
    width: 5px;
    height: 5px;
    background: var(--lab-accent);
}

/* What the outline means, in the corner (the product page's stage has the same caption). */
.pod-canvas__note {
    position: absolute;
    z-index: 1;
    bottom: 22px;
    left: 26px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--lab-muted);
    font-size: 0.8125rem;
    line-height: 1.35;
    pointer-events: none;
}

.pod-canvas__note i {
    flex: none;
    width: 16px;
    height: 12px;
    border: 1px dashed var(--lab-accent);
}

/* No room for it beside the zoom box on a narrow stage. */
@container (max-width: 579px) {
    .pod-canvas__note {
        display: none;
    }
}

.pod-zoom-float {
    position: absolute;
    z-index: 3;
    right: 16px;
    bottom: 16px;
}

.pod-zoom-level {
    min-width: 58px;
    height: 34px;
    padding: 0 6px;
    border-left: 1px solid var(--lab-line);
    color: var(--lab-ink);
    font-size: 0.8125rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    transition: background-color 0.2s ease;
}

.pod-zoom-level:hover,
.pod-zoom-level[aria-expanded="true"] {
    background: var(--lab-stone);
}

.pod-zoom-level ~ .zoomIn {
    border-left: 1px solid var(--lab-line);
}

.pod-zoom-menu {
    position: absolute;
    z-index: 5;
    right: -1px;
    bottom: calc(100% + 6px);
    min-width: 184px;
    padding: 4px;
    border: 1px solid var(--lab-line-strong);
    border-radius: var(--radius-btn);
    background: var(--lab-white);
    box-shadow: 0 14px 28px -18px hsl(var(--footer-bg) / 0.5);
}

.pod-zoom-menu__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    height: 32px;
    padding: 0 10px;
    border-radius: 4px;
    color: var(--lab-ink);
    font-size: 0.8125rem;
    text-align: left;
}

.pod-zoom-menu__item span {
    color: var(--lab-muted);
    font-size: 0.75rem;
}

.pod-zoom-menu__item:hover {
    background: var(--lab-stone);
}

.pod-zoom-menu__item.active {
    font-weight: 700;
}

.pod-zoom-menu__item.active::after {
    content: "";
    order: 2;
    width: 5px;
    height: 5px;
    background: var(--lab-accent);
}

/* Messages over the stage: a white note with a coloured edge. */
.pod-canvas__alerts {
    position: absolute;
    z-index: 3;
    top: 12px;
    left: 50%;
    display: grid;
    justify-items: center;
    gap: 8px;
    width: max-content;
    max-width: calc(100% - 32px);
    transform: translateX(-50%);
    pointer-events: none;
}

.pod-canvas__warning {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--lab-line-strong);
    border-left: 3px solid var(--lab-warn);
    border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
    background: var(--lab-white);
    color: var(--lab-ink);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
    pointer-events: auto;
}

.pod-canvas__warning.d-none {
    display: none;
}

.pod-canvas__warning > i {
    flex: none;
    color: var(--lab-warn);
    font-size: 1.125rem;
}

.pod-canvas__warning--info {
    border-left-color: var(--lab-navy);
}

.pod-canvas__warning--info > i {
    color: var(--lab-navy);
}

.pod-canvas__warning--closable {
    padding-right: 6px;
}

.pod-canvas__warning-btn {
    flex: none;
    height: 26px;
    margin-left: 4px;
    padding: 0 10px;
    border: 1px solid var(--lab-line-strong);
    border-radius: 4px;
    color: var(--lab-ink);
    font-size: 0.75rem;
    font-weight: 600;
    transition: border-color 0.2s ease;
}

.pod-canvas__warning-btn:hover {
    border-color: var(--lab-ink);
}

.pod-canvas__warning-close {
    display: grid;
    flex: none;
    place-items: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border-radius: 4px;
    color: var(--lab-muted);
    font-size: 0.875rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pod-builder__back:hover,
.pod-drawer__close:hover,
.pod-canvas__warning-close:hover {
    background: var(--lab-stone);
    color: var(--lab-ink);
}

.pod-drop-overlay {
    position: absolute;
    z-index: 4;
    inset: 12px 12px 12px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1.5px dashed var(--lab-accent);
    background: hsl(var(--white) / 0.9);
    color: var(--lab-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    pointer-events: none;
}

.pod-drop-overlay i {
    color: var(--lab-accent);
    font-size: 2.5rem;
}

.pod-canvas__stage.is-dropping .pod-drop-overlay {
    opacity: 1;
    visibility: visible;
}

/* ---------------------------------- Inspector ---------------------------------- */
.pod-inspector {
    display: flex;
    flex-direction: column;
    grid-column: 4;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-left: 1px solid var(--lab-line);
    background: var(--lab-white);
}

.pod-inspector .pod-drawer__panel {
    display: flex;
    flex: 1;
}

.pod-inspector .pod-drawer__head {
    display: none;
}

/* Nothing selected: what to do next. */
.pod-start {
    padding: 22px 20px 20px;
}

.pod-start.d-none {
    display: none;
}

.pod-start__title {
    margin: 10px 0 14px;
    font-size: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.pod-start__list {
    margin: 0 -20px;
    padding: 0;
    border-top: 1px solid var(--lab-line);
    list-style: none;
}

.pod-start__item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 20px;
    border-bottom: 1px solid var(--lab-line);
    color: var(--lab-ink);
    text-align: left;
    transition: background-color 0.2s ease;
}

.pod-start__item:hover {
    background: var(--lab-stone-light);
}

.pod-start__item:focus-visible {
    outline-offset: -2px;
}

.pod-start__item > i:first-child {
    flex: none;
    width: 24px;
    font-size: 1.375rem;
    text-align: center;
}

.pod-start__item > span {
    display: grid;
    flex: 1;
    gap: 2px;
    min-width: 0;
}

.pod-start__item strong {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
}

.pod-start__item small {
    color: var(--lab-muted);
    font-size: 0.75rem;
    line-height: 1.35;
}

.pod-start__go {
    flex: none;
    color: var(--lab-faint);
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.pod-start__item:hover .pod-start__go {
    color: var(--lab-ink);
}

.pod-start__note {
    margin: 16px 0 0;
    color: var(--lab-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* The editor's keyboard shortcuts, for the screens that have a keyboard. */
.pod-keys {
    margin: 20px -20px 0;
    padding: 18px 20px 0;
    border-top: 1px solid var(--lab-line);
}

.pod-keys__title {
    display: block;
    margin-bottom: 8px;
    color: var(--lab-muted);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pod-keys__list {
    margin: 0;
}

.pod-keys__list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 28px;
}

.pod-keys__list dt {
    color: var(--lab-text);
    font-size: 0.8125rem;
    font-weight: 400;
}

.pod-keys__list dd {
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 0;
    color: var(--lab-muted);
    font-size: 0.75rem;
    white-space: nowrap;
}

.pod-keys kbd,
.pod-save__item kbd {
    min-width: 20px;
    padding: 3px 5px;
    border: 1px solid var(--lab-line-strong);
    border-radius: 3px;
    background: var(--lab-white);
    color: var(--lab-ink);
    font-family: var(--body-font);
    font-size: 0.6875rem;
    font-weight: 500;
    line-height: 1;
    text-align: center;
}

.pod-keys kbd + kbd {
    margin-left: -4px;
}

.pod-keys__list dd span {
    padding: 0 2px;
}

@media (hover: none), (max-width: 991px) {
    .pod-keys {
        display: none;
    }
}

/* Something selected: what it is, with copy / duplicate / delete. */
.pod-props__head {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 56px;
    padding: 0 16px 0 20px;
    border-bottom: 1px solid var(--lab-line);
    background: var(--lab-white);
}

.pod-props:has(> .propertiesEmpty:not(.d-none)) .pod-props__head {
    display: none;
}

.pod-props__kind {
    min-width: 0;
    color: var(--lab-ink);
}

.pod-props__kind > span {
    display: none;
}

.pod-props:has(> .textProperties:not(.d-none)) .pod-props__kind-text,
.pod-props:has(> .imageProperties:not(.d-none)) .pod-props__kind-image,
.pod-props:has(> .multiProperties:not(.d-none)) .pod-props__kind-multi,
.pod-props:has(> .colorProperties:not(.d-none)):not(:has(> .textProperties:not(.d-none))) .pod-props__kind-shape {
    display: inline;
}

.pod-props__actions {
    flex: none;
}

.pod-props__actions > button {
    flex: none;
    width: 34px;
}

.pod-props__close {
    display: none;
}

.pod-props__multi {
    margin: 0;
    padding: 14px 20px 0;
    color: var(--lab-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.pod-props__group {
    padding: 16px 20px 18px;
    border-bottom: 1px solid var(--lab-line);
}

.pod-props__group:last-child {
    border-bottom: 0;
}

.pod-form-group + .pod-form-group,
.pod-form-row + .pod-form-group,
.pod-form-group + .pod-form-row {
    margin-top: 16px;
}

.pod-form-row {
    display: flex;
    gap: 10px;
}

.pod-form-row > .pod-form-group {
    min-width: 0;
    margin-top: 0;
}

.pod-form-group--grow {
    flex: 1;
}

/* Field label: the same tracked label as the drawer sections, with its value or switch on the right. */
.pod-form-group__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 22px;
    margin: 0 0 6px;
    color: var(--lab-muted);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pod-form-group__hint {
    margin-left: 4px;
    color: var(--lab-muted);
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.pod-form-group__value {
    color: var(--lab-ink);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    font-variant-numeric: tabular-nums;
}

.pod-font-picker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 0 8px 0 12px;
    font-size: 1rem;
    text-align: left;
}

.pod-layer__name,
.pod-font-picker span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pod-font-picker i {
    flex: none;
    color: var(--lab-muted);
    font-size: 0.875rem;
}

.pod-builder .pod-stepper {
    width: 112px;
}

.pod-builder .designColors,
.pod-builder .multiColors,
.pod-builder .drawColors {
    display: grid;
    grid-template-columns: repeat(11, minmax(0, 1fr));
    gap: 0;
    margin: 0 -4px;
}

.designColors .color-variant-list__item,
.multiColors .color-variant-list__item,
.drawColors .color-variant-list__item {
    justify-self: center;
    width: 24px;
    height: 24px;
}

.designColors .color-variant-list__item .color,
.multiColors .color-variant-list__item .color,
.drawColors .color-variant-list__item .color {
    width: 16px;
    height: 16px;
}

.pod-curve-presets {
    margin-top: 8px;
}

.pod-quality {
    display: flex;
    align-items: center;
    gap: 8px;
    height: var(--lab-ctl);
    padding: 0 12px;
    border: 1px solid var(--lab-line);
    border-radius: var(--radius-btn);
    background: var(--lab-field);
    color: var(--lab-ink);
    font-size: 0.875rem;
}

.pod-quality__dot {
    flex: none;
    width: 8px;
    height: 8px;
    background: var(--lab-ok);
}

.pod-quality[data-level="fair"] .pod-quality__dot {
    background: var(--lab-warn);
}

.pod-quality[data-level="low"] .pod-quality__dot {
    background: var(--lab-bad);
}

.pod-quality__dpi {
    margin-left: auto;
    color: var(--lab-muted);
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
}

.pod-quality ~ .pod-panel__note {
    margin-top: 8px;
}

.pod-quality ~ .pod-panel__note + .pod-panel__note {
    margin-top: 2px;
}

.pod-text-design-list,
.pod-transform-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

/* Shadow editor: label, number box, then a control (the X/Y pad over both offset rows, or a slider). */
.pod-shadow {
    display: grid;
    grid-template-columns: 62px 56px minmax(0, 1fr);
    align-items: center;
    gap: 8px 10px;
    margin-top: 10px;
}

.pod-shadow.d-none {
    display: none;
}

.pod-shadow__label {
    margin: 0;
    color: var(--lab-text);
    font-size: 0.8125rem;
    white-space: nowrap;
}

.pod-shadow__wide {
    grid-column: 2 / -1;
}

.pod-shadow__input {
    width: 100%;
    height: 32px;
    padding: 0 8px;
    font-size: 0.8125rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
    appearance: textfield;
}

.pod-shadow .pod-shadow__pad {
    grid-column: 3;
    grid-row: span 2;
    width: 100%;
    height: 72px;
}

/* Colour chip: the native picker sits invisibly over a swatch and its hex code. */
.pod-color-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    margin: 0;
    padding: 0 10px 0 6px;
    cursor: pointer;
}

.pod-color-field__swatch {
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    background: #000000;
    box-shadow: inset 0 0 0 1px hsl(var(--heading-color) / 0.22);
}

.pod-color-field__hex {
    flex: 1;
    color: var(--lab-ink);
    font-size: 0.8125rem;
    font-variant-numeric: tabular-nums;
}

.pod-color-field__icon {
    color: var(--lab-muted);
    font-size: 1rem;
}

.pod-color-field input[type="color"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* X/Y pad for the shadow offset: the centre is no offset, the edges are ±50. */
.pod-axis {
    position: relative;
    flex: none;
    border: 1px solid var(--lab-line);
    border-radius: var(--radius-btn);
    background: var(--lab-paper);
    cursor: crosshair;
    touch-action: none;
}

.pod-builder .pod-axis:focus-visible,
.pod-axis.is-dragging {
    border-color: var(--lab-accent);
    outline: 0;
}

.pod-axis__line {
    position: absolute;
    background: var(--lab-line-strong);
    pointer-events: none;
}

.pod-axis__line--x {
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
}

.pod-axis__line--y {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
}

.pod-axis__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border: 1.5px solid var(--lab-accent);
    background: var(--lab-white);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* ---------------------------------- Modals ---------------------------------- */
.pod-modal .modal-content {
    color: var(--lab-text);
}

.pod-save-modal .modal-body {
    padding: 26px 28px;
}

.pod-save-modal .form--label {
    margin-bottom: 8px;
    color: var(--lab-ink);
    font-size: 0.9375rem;
    font-weight: 600;
}

.pod-save-modal__note {
    margin: 10px 0 0;
    color: var(--lab-muted);
    font-size: 0.8125rem;
}

.pod-preview-modal .modal-body {
    padding: 0;
}

.pod-preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
}

/* The same paper stage as the editor: the photo of the result, then every side. */
.pod-preview__main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--lab-paper);
}

.pod-preview__stage {
    position: relative;
    display: grid;
    flex: 1;
    place-items: center;
    min-height: 360px;
    padding: 12px 24px;
}

.pod-preview__stage img {
    width: 100%;
    max-width: 560px;
    height: auto;
    aspect-ratio: 1950 / 1860;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.pod-preview__stage img.is-loading {
    opacity: 0.35;
}

.pod-preview__stage img:not([src]) {
    visibility: hidden;
}

.pod-preview__loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--lab-ink);
}

.pod-preview__loading.d-none {
    display: none;
}

.pod-preview__thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-top: 1px solid var(--lab-line);
    background: var(--lab-white);
}

.pod-preview__thumb {
    width: 84px;
    padding: 6px 4px 7px;
    border: 1px solid transparent;
    border-radius: var(--radius-btn);
    color: var(--lab-muted);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.pod-preview__thumb img {
    display: block;
    width: 60px;
    margin: 0 auto 6px;
    aspect-ratio: 1950 / 1860;
    border-radius: 4px;
    background: var(--lab-paper);
    object-fit: contain;
}

.pod-preview__thumb:hover {
    color: var(--lab-ink);
}

.pod-preview__thumb.active {
    border-color: var(--lab-ink);
    color: var(--lab-ink);
    font-weight: 600;
}

.pod-preview__info {
    padding: 24px 24px 20px;
    border-left: 1px solid var(--lab-line);
}

.pod-preview__product {
    margin: 10px 0 18px;
    font-size: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.pod-preview__summary {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--lab-line);
    list-style: none;
}

.pod-preview__summary li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--lab-line);
    color: var(--lab-muted);
    font-size: 0.875rem;
}

.pod-preview__summary strong {
    color: var(--lab-ink);
    font-weight: 600;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.pod-preview__summary .pod-preview__total {
    padding: 14px 0;
    color: var(--lab-ink);
    font-weight: 600;
}

.pod-preview__summary .pod-preview__total strong {
    font-family: var(--heading-font);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.015em;
}

.pod-preview__colors {
    margin-top: 18px;
}

.pod-preview__colors.d-none {
    display: none;
}

.pod-preview__label {
    display: block;
    margin-bottom: 8px;
    color: var(--lab-muted);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pod-preview__note {
    margin: 10px 0 0;
    color: var(--lab-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.pod-preview__info > .pod-preview__note {
    margin-top: 16px;
}

/* ---------------------------------- Narrower desktops ---------------------------------- */
@media screen and (max-width: 1399px) {
    .pod-builder {
        --lab-drawer: 280px;
        --lab-inspector: 304px;
    }
}

@media screen and (max-width: 1199px) {
    .pod-builder {
        --lab-rail: 64px;
        --lab-drawer: 244px;
        --lab-inspector: 268px;
    }

    .pod-builder__title,
    .pod-draft-status--bar {
        display: none;
    }

    /* The status text is hidden here, so Save carries an orange mark while changes are not saved. */
    .pod-save:has(.draftStatus.is-unsaved) .pod-save__toggle::after {
        content: "";
        position: absolute;
        top: -3px;
        right: -3px;
        width: 8px;
        height: 8px;
        border: 1px solid var(--lab-white);
        background: var(--lab-accent);
    }

    .pod-panel {
        padding-right: 16px;
        padding-left: 16px;
    }

    .pod-drawer__head {
        padding-left: 16px;
    }

    .pod-fonts__head {
        margin-right: -16px;
        margin-left: -16px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .pod-props__group,
    .pod-start {
        padding-right: 16px;
        padding-left: 16px;
    }

    .pod-start__list {
        margin: 0 -16px;
    }

    .pod-start__item {
        padding-right: 16px;
        padding-left: 16px;
    }

    .pod-props__head {
        padding: 0 12px 0 16px;
    }

    .pod-canvas__toolbar {
        gap: 8px;
        padding: 12px 12px 0 18px;
    }

    .pod-canvas__view-switch > button {
        min-width: 0;
        padding: 0 9px;
    }

    .pod-keys {
        margin-right: -16px;
        margin-left: -16px;
        padding-right: 16px;
        padding-left: 16px;
    }
}

/* The drawer leaves the grid when it is closed, and the stage takes its room. */
@media screen and (min-width: 992px) {
    .pod-builder__layout.drawer-closed {
        grid-template-columns: var(--lab-rail) 0 minmax(0, 1fr) var(--lab-inspector);
    }

    .drawer-closed .pod-drawer {
        display: none;
    }

}

/* ---------------------------------- Phones and small tablets ---------------------------------- */
@media screen and (max-width: 991px) {
    .pod-builder {
        --lab-top: 52px;
        --lab-rail: 48px;
    }

    .pod-builder__top {
        gap: 8px;
        padding-right: 10px;
    }

    .pod-builder__back-text {
        display: none;
    }

    .pod-builder__logo {
        padding: 0 14px;
    }

    .pod-builder__logo img {
        max-width: 104px;
        max-height: 26px;
    }

    .pod-builder__actions {
        gap: 6px;
    }

    .pod-builder__actions .pod-btn {
        height: 36px;
        padding: 0 9px;
    }

    .pod-builder__actions .pod-btn--icon {
        width: 36px;
        padding: 0;
    }

    .pod-builder__actions .pod-btn i:not(.pod-save__caret) {
        font-size: 1.25rem;
    }

    .pod-builder .pod-save__menu {
        position: fixed !important;
        top: calc(var(--lab-top) + 6px) !important;
        right: 10px !important;
        width: min(304px, calc(100vw - 20px));
    }

    .pod-builder__layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) auto auto;
    }

    .pod-canvas {
        grid-row: 1;
        grid-column: 1;
    }

    /* The rail is a bottom bar of equal cells: nothing scrolls sideways. */
    .pod-rail {
        z-index: 25;
        display: grid;
        grid-auto-columns: minmax(0, 1fr);
        grid-auto-flow: column;
        grid-row: 3;
        grid-column: 1;
        gap: 0;
        padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
        overflow: visible;
        border-top: 1px solid var(--lab-frame-line);
        border-right: 0;
    }

    .pod-rail__btn {
        min-height: 52px;
        padding: 6px 0 7px;
        border-radius: 6px;
        font-size: 0.625rem;
        white-space: nowrap;
    }

    .pod-rail__btn i {
        font-size: 1.3125rem;
    }

    .pod-rail__btn--mobile {
        display: flex;
    }

    .pod-rail__btn--desktop {
        display: none;
    }

    .pod-rail__btn--split {
        margin-top: 0;
    }

    .pod-rail__btn--split::before {
        display: none;
    }

    /* A mark on Edit while something is selected. */
    .designEditTab.has-selection::after {
        content: "";
        position: absolute;
        top: 7px;
        left: calc(50% + 8px);
        width: 7px;
        height: 7px;
        background: var(--lab-accent);
    }

    /* Drawers and the inspector become sheets between the stage and the bar. */
    .pod-drawer,
    .pod-inspector {
        display: contents;
    }

    .pod-drawer .pod-drawer__panel,
    .pod-inspector .pod-drawer__panel {
        z-index: 20;
        display: none;
        flex: none;
        grid-row: 2;
        grid-column: 1;
        width: auto;
        height: auto;
        max-height: 46vh;
        max-height: 46dvh;
        border-top: 1px solid var(--lab-line-strong);
    }

    .pod-drawer .pod-drawer__panel.is-open,
    .pod-inspector .pod-drawer__panel.is-open {
        display: flex;
        animation: podSheetIn 0.2s ease;
    }

    .pod-drawer__head,
    .pod-inspector .pod-drawer__head {
        display: flex;
        height: 46px;
        padding: 0 8px 0 16px;
    }

    .pod-drawer__title {
        font-size: 1rem;
    }

    .pod-panel {
        padding: 14px 16px 16px;
    }

    .pod-fonts__head {
        margin: -14px -16px 0;
        padding: 14px 16px 10px;
    }

    .pod-panel--flush .pod-panel__empty {
        padding: 14px 16px;
    }

    .pod-drawer__foot {
        padding: 8px 8px 8px 16px;
    }

    .pod-draw-preview {
        display: none;
    }

    .pod-shape-list {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .pod-shape-btn {
        height: 58px;
    }

    .pod-text-design-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .pod-upload-list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .pod-upload-delete {
        opacity: 1;
    }

    .pod-start {
        padding: 14px 16px 16px;
    }

    .pod-start .pod-eyebrow,
    .pod-start__title {
        display: none;
    }

    .pod-start__list {
        margin: -14px -16px 0;
        border-top: 0;
    }

    .pod-start__item {
        padding: 10px 16px;
    }

    .pod-start__note {
        margin-top: 12px;
    }

    .pod-props__head {
        height: 46px;
        padding: 0 8px 0 16px;
    }

    .pod-props__actions {
        margin-left: auto;
    }

    .pod-props__group {
        padding: 14px 16px 16px;
    }

    .pod-props__multi {
        padding: 12px 16px 0;
    }

    /* One header on the sheet: "Edit" while nothing is selected, the element's own header otherwise. */
    .pod-inspector__body:has(.propertiesEmpty.d-none) > .pod-drawer__head {
        display: none;
    }

    .pod-props__close {
        display: grid;
        margin-left: -4px;
    }

    .pod-builder .designColors,
    .pod-builder .multiColors,
    .pod-builder .drawColors {
        max-width: 420px;
    }

    .designColors .color-variant-list__item,
    .multiColors .color-variant-list__item,
    .drawColors .color-variant-list__item {
        width: 30px;
        height: 30px;
    }

    .designColors .color-variant-list__item .color,
    .multiColors .color-variant-list__item .color,
    .drawColors .color-variant-list__item .color {
        width: 22px;
        height: 22px;
    }

    /* The side switch on the left, undo / redo under the thumb on the right. */
    .pod-canvas__toolbar {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        padding: 10px 10px 0 18px;
    }

    .pod-canvas__view-switch {
        justify-self: start;
        order: 1;
        max-width: 100%;
    }

    .pod-canvas__view-switch > button {
        min-width: 0;
        padding: 0 11px;
    }

    .pod-canvas__history {
        order: 2;
    }

    .pod-canvas__note {
        display: none;
    }

    .pod-zoom-float {
        right: 10px;
        bottom: 10px;
    }

    .pod-canvas__alerts {
        top: 8px;
        max-width: calc(100% - 28px);
    }

    .pod-canvas__warning {
        font-size: 0.75rem;
    }

    .pod-preview {
        grid-template-columns: minmax(0, 1fr);
    }

    .pod-preview__info {
        border-top: 1px solid var(--lab-line);
        border-left: 0;
    }

    .pod-preview__stage {
        min-height: 0;
    }

    .pod-preview-modal .modal-content {
        border-radius: 0;
    }
}

/* The top bar's buttons become icons; Add to Cart keeps its total. */
@media screen and (max-width: 767px) {
    .pod-builder__top .pod-btn__text,
    .pod-save__caret.las {
        display: none;
    }

    .pod-builder__top .pod-btn__amount {
        min-width: 0;
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
        font-size: 0.875rem;
    }
}

@media screen and (max-width: 575px) {
    .pod-builder__logo {
        display: none;
    }

    .pod-shape-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .pod-text-design-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pod-upload-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .pod-canvas__view-switch > button {
        padding: 0 9px;
        font-size: 0.75rem;
    }

    .pod-zoom-level {
        min-width: 50px;
    }

    .pod-preview__info {
        padding: 18px 16px;
    }

    .pod-preview__stage {
        padding: 8px 16px;
    }

    .pod-preview__thumb {
        width: 72px;
    }

    .pod-preview__thumb img {
        width: 48px;
    }

    .pod-modal .modal-footer .pod-btn--cart {
        flex: 1;
    }
}

@media (hover: none) {
    .pod-upload-delete {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pod-builder *,
    .pod-modal * {
        transition: none !important;
        animation: none !important;
    }
}
/* ====================== Design Lab Css End ==================== */

/* ====================== Account Panel Css Start ==================== */
/* The customer's account. Every account page shares one frame: the inner-page band with the page's
   title, then a white page with the account card on the left (who is signed in, the pages in
   groups, log out) and the page's content on the right. Under 992px the
   card becomes the signed-in row plus one scrolling row of tabs. Flat colours and hairlines only. */
.breadcrumb--panel {
    --bc-pad: clamp(26px, 3.4vw, 44px);
}

.breadcrumb--panel .breadcrumb__title {
    font-size: clamp(1.875rem, 1.3rem + 1.9vw, 2.875rem);
}

.breadcrumb--panel .breadcrumb__intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 48px;
}

.breadcrumb--panel .breadcrumb__lead {
    max-width: 440px;
    margin: 0 0 6px;
    color: hsl(var(--heading-color) / 0.62);
    font-family: var(--body-font);
    font-size: 1.0625rem;
    line-height: 1.6;
    text-wrap: pretty;
}

@media (max-width: 991px) {
    .breadcrumb--panel .breadcrumb__intro {
        display: block;
    }

    .breadcrumb--panel .breadcrumb__lead {
        max-width: 560px;
        margin: 12px 0 0;
        font-size: 0.9375rem;
    }
}

.panel {
    --pn-ink: hsl(var(--heading-color));
    --pn-text: hsl(var(--heading-color) / 0.76);
    --pn-muted: hsl(var(--heading-color) / 0.58);
    --pn-line: hsl(30 14% 88%);
    --pn-line-strong: hsl(30 10% 78%);
    --pn-stone: hsl(34 24% 97%);
    --pn-navy: hsl(var(--footer-bg));
    padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 96px);
    background: hsl(var(--white));
}

.panel__layout {
    display: grid;
    gap: 24px;
}

.panel__main {
    min-width: 0;
}

.panel__main .account-body {
    margin-top: 0;
}

/* Pages written for a full-width container sit inside the content column as they are. */
.panel__main .container {
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

.panel-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--pn-line);
}

.panel-user__badge {
    display: grid;
    flex: none;
    width: 44px;
    height: 44px;
    place-items: center;
    background: var(--pn-navy);
    color: hsl(var(--white));
    font-family: var(--heading-font);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.panel-user__who {
    flex: 1;
    min-width: 0;
}

.panel-user__name,
.panel-user__mail {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.panel-user__name {
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
}

.panel-user__logout {
    display: grid;
    flex: none;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--pn-line);
    color: var(--pn-ink);
    font-size: 1.125rem;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.panel-user__logout:hover {
    border-color: hsl(var(--base));
    color: hsl(var(--base));
}

/* Small screens: one row of tabs that scrolls sideways; the group names are not shown. */
.panel-nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

.panel-nav::-webkit-scrollbar {
    display: none;
}

.panel-nav__label {
    display: none;
    margin: 0;
    padding: 16px 18px 6px;
    color: var(--pn-muted);
    font-size: 0.65625rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.panel-nav__list {
    display: flex;
    flex: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.panel-nav__link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 16px 12px;
    border-bottom: 2px solid transparent;
    color: var(--pn-text);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.panel-nav__link i {
    color: var(--pn-muted);
    font-size: 1.1875rem;
    transition: color 0.2s ease;
}

.panel-nav__link:hover {
    background: var(--pn-stone);
    color: var(--pn-ink);
}

.panel-nav__link.is-active {
    border-color: hsl(var(--base));
    background: var(--pn-stone);
    color: var(--pn-ink);
    font-weight: 600;
}

.panel-nav__link.is-active i {
    color: hsl(var(--base));
}

.panel-side__foot {
    display: none;
    padding: 14px 18px;
    border-top: 1px solid var(--pn-line);
}

.panel-side__logout i {
    font-size: 1.0625rem;
}

@media (min-width: 992px) {
    .panel__layout {
        grid-template-columns: 272px minmax(0, 1fr);
        align-items: start;
        gap: 32px;
    }

    .panel__layout--single {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Stays in view under the site header, which also sticks. */
    .panel-side {
        position: sticky;
        top: 84px;
    }

    .panel-user {
        padding: 18px;
    }

    .panel-user__logout {
        display: none;
    }

    .panel-nav {
        display: block;
        overflow: visible;
        padding-bottom: 12px;
    }

    .panel-nav__label {
        display: block;
    }

    .panel-nav__list {
        display: block;
    }

    .panel-nav__link {
        gap: 12px;
        padding: 10px 18px 10px 16px;
        border-bottom: 0;
        border-left: 2px solid transparent;
    }

    .panel-side__foot {
        display: block;
    }
}

/* ---------- Dashboard ---------- */
.dash {
    display: grid;
    gap: 28px;
    min-width: 0;
}

.dash > * {
    min-width: 0;
}

.dash ul,
.dash ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dash .notice:empty {
    display: none;
}

.dash .notice .card {
    border: 1px solid var(--pn-line);
    border-radius: 0;
}

/* Identity check notice: one ruled row with the tone on its left edge. */
.pod-kyc {
    --kyc-tone: var(--pn-ink);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px 16px;
    padding: 18px 20px;
    border: 1px solid var(--pn-line);
    border-left: 3px solid var(--kyc-tone);
    background: var(--pn-stone);
}

.pod-kyc--danger {
    --kyc-tone: hsl(var(--danger));
}

.pod-kyc--pending {
    --kyc-tone: hsl(var(--warning));
}

.pod-kyc__icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--pn-line);
    background: hsl(var(--white));
    color: var(--kyc-tone);
    font-size: 1.25rem;
}

.pod-kyc__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 4px;
    color: var(--pn-muted);
    font-size: 0.65625rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.pod-kyc__status {
    padding: 1px 7px;
    border: 1px solid currentColor;
    color: var(--kyc-tone);
    letter-spacing: 0.1em;
}

.pod-kyc .pod-kyc__title {
    margin: 0;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
}

.pod-kyc__text {
    max-width: 68ch;
    margin: 4px 0 0;
    color: var(--pn-text);
    font-size: 0.875rem;
    line-height: 1.6;
}

.pod-kyc__actions {
    display: flex;
    flex-wrap: wrap;
    grid-column: 2;
    align-items: center;
    gap: 10px 20px;
}

.pod-kyc__link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--pn-ink);
    font-size: 0.84375rem;
    font-weight: 600;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.pod-kyc__link:hover {
    color: hsl(var(--base));
}

@media (min-width: 1200px) {
    .pod-kyc {
        grid-template-columns: auto minmax(0, 1fr) 214px;
        align-items: center;
    }

    .pod-kyc__icon {
        align-self: start;
    }

    .pod-kyc__actions {
        grid-column: 3;
    }

    .pod-kyc__actions .btn {
        flex: 1 0 100%;
    }
}

/* The current order: a navy sheet on the footer's blueprint grid with two orange corner marks.
   Left: the item, the order's number and a four-step line; right: the sums and what to do next. */

/* Four steps on one line: finished ones are filled, the current one carries the base colour. */

/* The account's figures: one ruled strip of four cells. */
.dash .dash-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--pn-line);
}

.dash-stats > li {
    min-width: 0;
    border-left: 1px solid var(--pn-line);
}

.dash-stats > li:nth-child(odd) {
    border-left: 0;
}

.dash-stats > li:nth-child(n + 3) {
    border-top: 1px solid var(--pn-line);
}

.dash-stat {
    display: block;
    height: 100%;
    padding: 18px 16px;
    transition: background-color 0.2s ease;
}

.dash-stat:hover {
    background: var(--pn-stone);
}

.dash-stat__label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pn-muted);
    font-size: 0.65625rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dash-stat--due .dash-stat__label::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    background: hsl(var(--base));
}

.dash-stat__value {
    display: block;
    margin: 10px 0 6px;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}

@media (min-width: 768px) {
    .dash .dash-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .dash-stats > li:nth-child(odd) {
        border-left: 1px solid var(--pn-line);
    }

    .dash-stats > li:first-child {
        border-left: 0;
    }

    .dash-stats > li:nth-child(n + 3) {
        border-top: 0;
    }

    .dash-stat {
        padding: 20px 20px 22px;
    }
}

/* A titled part of the dashboard: the title on a rule, a way to the full list beside it. */
.dash-block__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--pn-line-strong);
}

.dash-block .dash-block__title {
    margin: 0;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.dash-block__link,
.dash-table__view {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 7px;
    color: var(--pn-ink);
    font-size: 0.84375rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.dash-block__link i,
.dash-table__view i {
    color: hsl(var(--base));
    transition: transform 0.2s ease;
}

.dash-block__link:hover,
.dash-table__view:hover {
    color: hsl(var(--base));
}

.dash-block__link:hover i,
.dash-table__view:hover i {
    transform: translateX(3px);
}

.dash-empty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 26px 0;
    border-bottom: 1px solid var(--pn-line);
}

.dash-empty__text {
    margin: 0;
    color: var(--pn-text);
    font-size: 0.9375rem;
}

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

.dash-table th {
    padding: 12px 16px 12px 0;
    border-bottom: 1px solid var(--pn-line);
    color: var(--pn-muted);
    font-size: 0.65625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-align: left;
    text-transform: uppercase;
}

.dash-table td {
    padding: 16px 16px 16px 0;
    border-bottom: 1px solid var(--pn-line);
    vertical-align: middle;
}

.dash-table th:last-child,
.dash-table td:last-child {
    padding-right: 0;
    text-align: right;
}

.dash-table__number {
    color: var(--pn-ink);
    white-space: nowrap;
    font-size: 0.84375rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.dash-table__meta {
    display: block;
    margin-top: 2px;
    color: var(--pn-muted);
    font-size: 0.8125rem;
}

.pod-chip-row,
.pod-size-list,
.dash-table .pod-order-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Phones: each order is a small stack instead of a table row. */
@media (max-width: 767px) {
    .dash-table thead {
        display: none;
    }

    .dash-table,
    .dash-table tbody {
        display: block;
    }

    .dash-table tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 16px;
        align-items: center;
        padding: 16px 0;
        border-bottom: 1px solid var(--pn-line);
    }

    .dash-table td {
        padding: 0;
        border: 0;
    }

    .dash-table td:nth-child(2) {
        grid-row: 1;
        grid-column: 1;
    }

    .dash-table td:nth-child(4) {
        grid-row: 1;
        grid-column: 2;
        text-align: right;
    }

    .dash-table td:nth-child(1) {
        grid-row: 2;
        grid-column: 1;
    }

    .dash-table td:nth-child(5) {
        grid-row: 2 / span 2;
        grid-column: 2;
        align-self: end;
    }

    .dash-table td:nth-child(3) {
        grid-row: 3;
        grid-column: 1;
    }
}

.dash .dash-designs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    padding-top: 20px;
}

.dash-design__thumb {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid var(--pn-line);
    background: hsl(34 24% 95%);
    color: var(--pn-muted);
    font-size: 2rem;
    transition: border-color 0.2s ease;
}

a.dash-design:hover .dash-design__thumb {
    border-color: var(--pn-ink);
}

.dash-design__name {
    display: block;
    overflow: hidden;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

a.dash-design:hover .dash-design__name {
    color: hsl(var(--base));
}

.dash-design__meta {
    display: block;
    color: var(--pn-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.dash-design--new .dash-design__thumb {
    border: 1px dashed var(--pn-line-strong);
    background: hsl(var(--white));
    color: hsl(var(--base));
    font-size: 1.75rem;
}

a.dash-design--new:hover .dash-design__thumb {
    border-color: hsl(var(--base));
}

@media (min-width: 768px) {
    .dash .dash-designs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px 20px;
    }
}

/* ---------- Identity check form ---------- */
/* Left: the details and documents the admin asks for (a generated form, styled from here). Right: a
   ruled note on how the check works and how to take a clear photo. */
.kyc {
    display: grid;
    gap: 32px;
}

.kyc > * {
    min-width: 0;
}

.kyc-note {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    padding: 16px 18px;
    border: 1px solid var(--pn-line);
    border-left: 3px solid hsl(var(--danger));
    background: var(--pn-stone);
}

.kyc-note__icon {
    flex: none;
    color: hsl(var(--danger));
    font-size: 1.375rem;
    line-height: 1.2;
}

.kyc-note__title {
    margin: 0;
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
}

.kyc-note__text {
    margin: 2px 0 0;
    color: var(--pn-text);
    font-size: 0.875rem;
    line-height: 1.6;
}

.kyc-form__fields {
    padding-top: 24px;
}

.kyc-form__fields .row {
    --bs-gutter-x: 20px;
}

.kyc-form__fields .form-group {
    margin-bottom: 20px;
}

.kyc-form__fields .form-label {
    margin-bottom: 8px;
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 500;
}

.kyc-form__fields .form-label .fa-info-circle {
    color: var(--pn-muted);
    font-size: 0.8125rem;
}

.kyc-form__fields .select2+.select2-container .select2-selection__rendered {
    padding-left: 24px !important;
    color: hsl(var(--black));
}

/* A document upload: a dashed slot with an ink "choose" button. */
.kyc-form__fields .form--control[type=file] {
    height: 56px;
    border: 1px dashed var(--pn-line-strong);
    background: hsl(var(--white));
    color: var(--pn-text);
    font-size: 0.875rem;
    line-height: 54px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.kyc-form__fields .form--control[type=file]:hover,
.kyc-form__fields .form--control[type=file]:focus {
    border-color: hsl(var(--base));
}

.kyc-form__fields .form--control[type=file]::file-selector-button {
    margin: 0 14px 0 10px;
    padding: 6px 14px;
    border: 0;
    border-radius: 0;
    background-color: var(--pn-ink) !important;
    color: hsl(var(--white)) !important;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 22px;
    cursor: pointer;
}

.kyc-form__fields pre {
    margin: 8px 0 0 !important;
    overflow: visible;
    color: var(--pn-muted) !important;
    font-family: var(--body-font);
    font-size: 0.78125rem;
    line-height: 1.5;
    white-space: normal;
}

.kyc-form__fields .form-check-label {
    color: var(--pn-text);
    font-size: 0.9375rem;
}

.kyc-form__fields .form-check-input:checked {
    border-color: hsl(var(--base));
    background-color: hsl(var(--base));
}

.kyc-form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid var(--pn-line);
}

.kyc-aside {
    align-self: start;
    padding: 24px;
    border: 1px solid var(--pn-line);
    background: var(--pn-stone);
}

.kyc-aside .kyc-aside__title {
    margin: 0 0 20px;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.1875rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.kyc-steps,
.kyc-tips {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Numbered steps joined by a hairline down the numbers. */
.kyc-steps > li {
    position: relative;
    padding: 0 0 20px 46px;
}

.kyc-steps > li::before {
    content: "";
    position: absolute;
    top: 30px;
    bottom: 0;
    left: 15px;
    width: 1px;
    background: var(--pn-line-strong);
}

.kyc-steps > li:last-child {
    padding-bottom: 0;
}

.kyc-steps > li:last-child::before {
    display: none;
}

.kyc-steps__no {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border: 1px solid var(--pn-line-strong);
    background: hsl(var(--white));
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 0.8125rem;
    font-weight: 700;
}

.kyc-steps__title {
    margin: 0;
    padding-top: 4px;
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
}

.kyc-steps__text {
    margin: 2px 0 0;
    color: var(--pn-text);
    font-size: 0.84375rem;
    line-height: 1.55;
}

.kyc-aside__tips {
    margin: 22px 0;
    padding: 20px 0;
    border-top: 1px solid var(--pn-line);
    border-bottom: 1px solid var(--pn-line);
}

.kyc-aside__label {
    margin: 0 0 10px;
    color: var(--pn-muted);
    font-size: 0.65625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.kyc-tips > li {
    position: relative;
    padding-left: 16px;
    color: var(--pn-text);
    font-size: 0.84375rem;
    line-height: 1.6;
}

.kyc-tips > li + li {
    margin-top: 4px;
}

.kyc-aside .dash-block__link {
    white-space: normal;
}

@media (min-width: 1200px) {
    .kyc {
        grid-template-columns: minmax(0, 1fr) 312px;
        gap: 40px;
    }
}

/* ---------- Identity check: what was sent ---------- */
/* Left: the submitted details as ruled rows. Right: where the review stands, in the tone of its state. */
.kyc-data {
    margin: 0;
}

.kyc-data__row {
    display: grid;
    gap: 2px 24px;
    padding: 16px 0;
    border-bottom: 1px solid var(--pn-line);
}

.kyc-data dt {
    color: var(--pn-muted);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
}

.kyc-data dd {
    margin: 0;
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.kyc-data__file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--pn-line-strong);
    color: var(--pn-ink);
    font-size: 0.84375rem;
    font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.kyc-data__file i {
    color: hsl(var(--base));
    font-size: 1.125rem;
}

.kyc-data__file:hover {
    border-color: hsl(var(--base));
    color: hsl(var(--base));
}

@media (min-width: 576px) {
    .kyc-data__row {
        grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
        align-items: center;
    }
}

.kyc-state {
    --state-tone: var(--pn-muted);
    border-top: 3px solid var(--state-tone);
}

.kyc-state--pending {
    --state-tone: hsl(var(--warning));
}

.kyc-state--success {
    --state-tone: hsl(var(--success));
}

.kyc-state--danger {
    --state-tone: hsl(var(--danger));
}

.kyc-state .kyc-state__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.kyc-state__title::before {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    background: var(--state-tone);
}

.kyc-state__reason {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--pn-line);
}

.kyc-state__action {
    margin-top: 22px;
}

.kyc-state > .dash-block__link {
    margin-top: 20px;
}

/* ---------- My Designs ---------- */
/* The saved designs as a grid of sheets: the preview on stone, the design's name and tee, then
   "Open design" and a quiet delete. On the first page the grid starts with a dashed "new" tile. */
.designs__count {
    flex: none;
    color: var(--pn-muted);
    font-size: 0.84375rem;
    font-weight: 500;
}

.designs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 20px;
    margin: 0;
    padding: 24px 0 0;
    list-style: none;
}

.designs__grid > li {
    display: flex;
    min-width: 0;
}

.design-card {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--pn-line);
    background: hsl(var(--white));
    transition: border-color 0.2s ease;
}

.design-card:hover {
    border-color: var(--pn-line-strong);
}

.design-card__thumb {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    margin: 6px 6px 0;
    background: hsl(34 24% 95%);
    color: var(--pn-muted);
    font-size: 2.25rem;
}

.design-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

a.design-card__thumb:hover img {
    transform: scale(1.03);
}

.design-card__body {
    display: block;
    flex: 1;
    padding: 14px 16px 0;
}

.design-card .design-card__name {
    display: block;
    overflow: hidden;
    margin: 0 0 4px;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.design-card__meta {
    display: block;
    margin: 0;
    color: var(--pn-muted);
    font-size: 0.8125rem;
    line-height: 1.55;
}

.design-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px 16px;
}

.design-card__open {
    flex: 1;
    white-space: nowrap;
}

.design-card__closed {
    flex: 1;
    color: var(--pn-muted);
    font-size: 0.8125rem;
}

.design-card__delete {
    display: grid;
    flex: none;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--pn-line);
    background: hsl(var(--white));
    color: var(--pn-muted);
    font-size: 1.1875rem;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.design-card__delete:hover {
    border-color: hsl(var(--danger));
    color: hsl(var(--danger));
}

.design-card--new {
    border-style: dashed;
    border-color: var(--pn-line-strong);
}

.design-card--new .design-card__thumb {
    background: hsl(var(--white));
    color: hsl(var(--base));
    font-size: 2rem;
}

.design-card--new .design-card__body {
    padding-bottom: 18px;
}

a.design-card--new:hover {
    border-color: hsl(var(--base));
}

a.design-card--new:hover .design-card__name {
    color: hsl(var(--base));
}

/* Phones: the "new" tile is a short row, not a tall square. */
@media (max-width: 575px) {
    .design-card--new {
        flex-direction: row;
        align-items: center;
    }

    .design-card--new .design-card__thumb {
        flex: none;
        width: 64px;
        margin: 12px 0 12px 12px;
        border: 1px dashed var(--pn-line-strong);
        font-size: 1.5rem;
    }

    .design-card--new .design-card__body {
        padding: 12px 16px;
    }
}

.designs__pages {
    padding-top: 28px;
}

/* ---------- My Orders ---------- */
/* The title with a search beside it, the statuses as a row of tabs with their counts, then the
   orders as cards. */
.orders__head {
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 0;
    padding-bottom: 0;
}

.orders-search {
    position: relative;
    flex: 0 1 280px;
    min-width: 0;
}

.orders-search .orders-search__input {
    height: 44px;
    padding: 0 46px 0 16px;
    border-radius: 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

.orders-search__btn {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 0;
    background: none;
    color: var(--pn-muted);
    font-size: 1.125rem;
    transition: color 0.2s ease;
}

.orders-search__btn:hover {
    color: hsl(var(--base));
}

.orders-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    margin-top: 18px;
    border-bottom: 1px solid var(--pn-line-strong);
    scrollbar-width: none;
}

.orders-tabs::-webkit-scrollbar {
    display: none;
}

.orders-tabs__link {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 8px;
    margin-bottom: -1px;
    padding: 11px 14px;
    border-bottom: 2px solid transparent;
    color: var(--pn-text);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.orders-tabs__link:first-child {
    padding-left: 0;
}

.orders-tabs__link:hover {
    color: var(--pn-ink);
}

.orders-tabs__link.is-active {
    border-color: hsl(var(--base));
    color: var(--pn-ink);
    font-weight: 600;
}

.orders-tabs__count {
    min-width: 22px;
    padding: 1px 6px;
    border: 1px solid var(--pn-line);
    color: var(--pn-muted);
    font-size: 0.71875rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.orders-tabs__link.is-active .orders-tabs__count {
    border-color: var(--pn-ink);
    background: var(--pn-ink);
    color: hsl(var(--white));
}

@media (max-width: 767px) {
    .orders-search {
        flex-basis: 100%;
    }
}

/* One order = one sheet. Top: the tee, what was ordered, the order's number and date, and the
   money on the right. Bottom: where the order stands as a four-step line, and what to do next. */
.orders-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 20px 0 0;
    list-style: none;
}

.order-card {
    border: 1px solid var(--pn-line);
    background: hsl(var(--white));
    transition: border-color 0.2s ease;
}

.order-card:hover {
    border-color: var(--pn-line-strong);
}

.order-card__top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px 16px;
    padding: 16px;
}

.order-card__thumb {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    overflow: hidden;
    background: hsl(34 24% 95%);
    color: var(--pn-muted);
    font-size: 1.75rem;
}

.order-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.order-card__info {
    min-width: 0;
}

.order-card .order-card__title {
    margin: 0 0 4px;
    font-family: var(--heading-font);
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.3;
}

.order-card__title a {
    color: var(--pn-ink);
    transition: color 0.2s ease;
}

.order-card__title a:hover {
    color: hsl(var(--base));
}

.kyc-state__text,
.order-card__spec {
    margin: 0;
    color: var(--pn-text);
    font-size: 0.875rem;
    line-height: 1.6;
}

.order-card__colour {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-right: 4px;
    border: 1px solid hsl(var(--heading-color) / 0.2);
    border-radius: 50%;
    vertical-align: -1px;
}

.order-card__ref {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 14px;
    margin: 6px 0 0;
    color: var(--pn-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.order-card__number {
    color: var(--pn-ink);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.order-card__money {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    align-items: center;
    gap: 6px 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--pn-line);
}

.order-card__total {
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.order-card__due {
    color: hsl(var(--danger));
    font-size: 0.84375rem;
    font-weight: 600;
    white-space: nowrap;
}

.order-card__money .pod-order-badges {
    margin-left: auto;
}

.order-card__foot {
    display: grid;
    gap: 16px;
    padding: 16px;
    border-top: 1px solid var(--pn-line);
    background: var(--pn-stone);
}

.order-card__cancelled {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--pn-text);
    font-size: 0.875rem;
}

.order-card__cancelled i {
    color: hsl(var(--danger));
    font-size: 1.25rem;
}

.order-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.order-card__actions .btn {
    flex: 1 1 auto;
    white-space: nowrap;
}

.order-card__actions .btn-outline--dark {
    background-color: hsl(var(--white)) !important;
}

.order-card__actions .btn-outline--dark:hover {
    background-color: hsl(var(--dark)) !important;
}

/* Four steps on one line: finished ones are filled in ink, the current one carries the base colour. */
.order-track {
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.order-track__step {
    position: relative;
    flex: 1;
    min-width: 0;
    padding-right: 8px;
}

.order-track__step:last-child {
    flex: none;
    padding-right: 0;
}

.order-track__step::after {
    content: "";
    position: absolute;
    top: 9px;
    right: 6px;
    left: 26px;
    height: 1px;
    background: var(--pn-line-strong);
}

.order-track__step:last-child::after {
    display: none;
}

.order-track__step.is-done::after {
    background: var(--pn-ink);
}

.order-track__dot {
    display: grid;
    width: 19px;
    height: 19px;
    place-items: center;
    border: 1px solid var(--pn-line-strong);
    background: hsl(var(--white));
    color: hsl(var(--white));
    font-size: 0.6875rem;
}

.order-track__step.is-done .order-track__dot {
    border-color: var(--pn-ink);
    background: var(--pn-ink);
}

.order-track__step.is-current .order-track__dot {
    border-color: hsl(var(--base));
    background: hsl(var(--base));
}

.order-track__step.is-current .order-track__dot::before {
    content: "";
    width: 7px;
    height: 7px;
    background: hsl(var(--white));
}

.order-track__label {
    display: block;
    margin-top: 7px;
    color: var(--pn-muted);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.35;
}

.order-track__step.is-done .order-track__label {
    color: var(--pn-text);
}

.order-track__step.is-current .order-track__label {
    color: var(--pn-ink);
    font-weight: 600;
}

@media (min-width: 768px) {
    .order-card__top {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 20px;
        padding: 20px;
    }

    .order-card__thumb {
        width: 88px;
        height: 88px;
    }

    .order-card__money {
        flex-direction: column;
        flex-wrap: nowrap;
        grid-column: auto;
        align-items: flex-end;
        gap: 4px;
        padding-top: 0;
        border-top: 0;
        text-align: right;
    }

    .order-card__money .pod-order-badges {
        margin: 6px 0 0;
    }

    .order-card__foot {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 32px;
        padding: 16px 20px;
    }

    .order-track {
        max-width: 460px;
    }

    .order-card__actions {
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    .order-card__actions .btn {
        flex: none;
    }
}

/* ---------- Order details ---------- */
/* One column of sheets, in the order a customer asks: where is it (status, steps, parcel, what is
   left to pay), what did I order (the items, then the sums like a receipt), and where does it go
   and how was it paid (two sheets side by side). Same cards as on My Orders. */

.od > * {
    min-width: 0;
}

.od__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: start;
    color: var(--pn-text);
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.od__back:hover {
    color: hsl(var(--base));
}

.panel-side,
.od-card {
    min-width: 0;
    border: 1px solid var(--pn-line);
    background: hsl(var(--white));
}

.od-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--pn-line);
}

.od-card .od-card__title {
    margin: 0;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.1875rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.od-card__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    color: var(--pn-muted);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.od-card__empty {
    margin: 0;
    padding: 20px;
    color: var(--pn-text);
    font-size: 0.9375rem;
}

/* Status sheet. */
.od-status__top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 20px;
    padding: 22px 20px 0;
}

.od-status .od-status__title {
    margin: 0;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.od-status__reason {
    margin: 0;
    padding: 10px 20px 22px;
    color: var(--pn-text);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.od-status__track {
    max-width: none;
    padding: 26px 20px 24px;
}

.od-status__track .order-track__dot {
    width: 25px;
    height: 25px;
    font-size: 0.875rem;
}

.od-status__track .order-track__step::after {
    top: 12px;
    left: 34px;
    height: 2px;
}

.od-status__track .order-track__step.is-current .order-track__dot::before {
    width: 9px;
    height: 9px;
}

.od-status__track .order-track__label {
    margin-top: 10px;
    font-size: 0.875rem;
}

.order-track__date {
    display: block;
    margin-top: 1px;
    color: var(--pn-muted);
    font-size: 0.78125rem;
    line-height: 1.4;
}

/* The parcel: who carries it, its number, a way to follow it. */
.od-ship {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 36px;
    margin: 0;
    padding: 16px 20px;
    border-top: 1px solid var(--pn-line);
}

.od-ship dt {
    color: var(--pn-muted);
    font-size: 0.65625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.od-ship dd {
    margin: 4px 0 0;
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.od-ship__btn {
    margin-left: auto;
}

/* What is left to pay: one line, one button. */
.od-pay {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 16px 20px;
    border-top: 1px solid var(--pn-line);
    border-left: 3px solid hsl(var(--base));
    background: var(--pn-stone);
}

.od-pay__text {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 12px;
    margin: 0;
}

.od-pay__amount {
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

/* Items, as a receipt. */
.order-items,
.order-pays,
.od-address {
    margin: 0;
    padding: 0;
    list-style: none;
}

.order-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px 16px;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--pn-line);
}

.order-item .order-item__title {
    margin: 0 0 3px;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
}

.order-item__design {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 3px 0 0;
    color: var(--pn-muted);
    font-size: 0.8125rem;
}

.order-item__money {
    display: flex;
    grid-column: 1 / -1;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.order-item__total {
    order: 2;
    color: var(--pn-ink);
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
}

.order-item__qty {
    color: var(--pn-muted);
    font-size: 0.84375rem;
    white-space: nowrap;
}

.order-item__review {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 12px 14px;
    background: var(--pn-stone);
}

.order-item__score {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    color: var(--pn-text);
    font-size: 0.84375rem;
}

.order-item__score .rating-list {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.order-item__review .btn-outline--dark {
    background-color: hsl(var(--white)) !important;
}

.order-item__review .btn-outline--dark:hover {
    background-color: hsl(var(--dark)) !important;
}

.order-sum {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 18px 20px 20px;
    background: var(--pn-stone);
}

.order-sum > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.order-sum dt {
    color: var(--pn-text);
    font-size: 0.875rem;
    font-weight: 400;
}

.order-sum dd {
    margin: 0;
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    white-space: nowrap;
}

.order-sum .order-sum__total {
    margin: 4px 0;
    padding: 12px 0;
    border-top: 1px solid var(--pn-line-strong);
    border-bottom: 1px solid var(--pn-line-strong);
}

.order-sum__total dt {
    color: var(--pn-ink);
    font-weight: 600;
}

.order-sum__total dd {
    font-family: var(--heading-font);
    font-size: 1.375rem;
    font-weight: 800;
}

.order-sum__due dd {
    color: hsl(var(--danger));
}

.od-address {
    display: grid;
    gap: 12px;
    padding: 18px 20px 20px;
}

.od-address > li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    color: var(--pn-text);
    font-size: 0.9375rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.od-address i {
    margin-top: 2px;
    color: var(--pn-muted);
    font-size: 1.1875rem;
}

.order-pay {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px 20px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--pn-line);
}

.order-pay:last-child {
    border-bottom: 0;
}

.order-pay__info {
    min-width: 0;
}

.order-pay__method {
    display: block;
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 600;
}

.order-pay__meta {
    display: block;
    color: var(--pn-muted);
    font-size: 0.8125rem;
    overflow-wrap: anywhere;
}

.order-pay__end {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.od__help {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin: 4px 0 0;
    color: var(--pn-text);
    font-size: 0.9375rem;
}

@media (max-width: 575px) {
    .od-status__track .order-track__label {
        font-size: 0.75rem;
    }

    .od-status__track .order-track__date {
        font-size: 0.6875rem;
    }
}

@media (min-width: 576px) {
    .order-item {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .order-item__money {
        flex-direction: column;
        grid-column: auto;
        align-items: flex-end;
        gap: 2px;
    }

    .order-item__total {
        order: 0;
    }
}

@media (min-width: 768px) {
    .od-card__head,
    .od-ship,
    .od-pay,
    .order-item,
    .order-pay {
        padding-right: 24px;
        padding-left: 24px;
    }

    .od-status__top {
        padding: 24px 24px 0;
    }

    .od-status__track {
        padding: 28px 24px 26px;
    }

    .od-address,
    .od-card__empty {
        padding-right: 24px;
        padding-left: 24px;
    }

    /* The sums sit on the right half, like the foot of a receipt. */
    .order-sum {
        padding: 20px 24px 22px;
        padding-left: calc(100% - 360px);
    }

    .od__pair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

/* ---------- Profile ---------- */
/* Left: the details a customer can change, as one form sheet with its button on a stone foot.
   Right: what was set at sign-up, as plain facts (not as fields that look editable). */
.profile {
    display: grid;
    gap: 20px;
    align-items: start;
}

.profile > * {
    min-width: 0;
}

.od-card__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: 0;
    padding: 16px 20px;
    border-top: 1px solid var(--pn-line);
    background: var(--pn-stone);
}

.profile-form__body {
    padding: 20px;
}

.profile-form__body .form--label {
    margin-bottom: 8px;
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 500;
}

.profile-form__label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 26px 0 16px;
    color: var(--pn-muted);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.profile-form__label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--pn-line);
}

.profile-facts {
    margin: 0;
    padding: 4px 20px;
}

.profile-facts > div {
    padding: 13px 0;
    border-bottom: 1px solid var(--pn-line);
}

.profile-facts > div:last-child {
    border-bottom: 0;
}

.profile-facts dt {
    color: var(--pn-muted);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.5;
}

.profile-facts dd {
    margin: 2px 0 0;
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.profile-facts__lock {
    color: var(--pn-muted);
    font-size: 1.125rem;
}

.profile-facts .profile-facts__state {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
    margin-top: 4px;
}

.profile-state {
    --state-tone: var(--pn-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.profile-state::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--state-tone);
}

.profile-state--success {
    --state-tone: hsl(var(--success));
}

.profile-state--pending {
    --state-tone: hsl(var(--warning));
}

@media (max-width: 575px) {
    .profile-form .designs__count {
        display: none;
    }
}

@media (min-width: 768px) {
    .profile-form__body {
        padding: 24px;
    }

    .od-card__foot {
        padding-right: 24px;
        padding-left: 24px;
    }

    .profile-facts {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (min-width: 1200px) {
    .profile {
        grid-template-columns: minmax(0, 1fr) 340px;
    }
}

/* ---------- Password ---------- */
/* The profile page's frame: the form sheet on the left, what a new password needs on the right. */
.pw-rules {
    padding: 20px;
}

.pw-rules .pw-rules__label {
    margin-top: 20px;
}

.password-form .password-show-hide {
    cursor: pointer;
}

@media (min-width: 768px) {
    .pw-rules {
        padding: 22px 24px;
    }
}

/* ---------- 2FA Security ---------- */
/* Left: where the account stands, then either the three steps to turn it on (app, QR code or key,
   code) or the one field to turn it off. Right: how it works. */
.tfa {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.tfa > * {
    min-width: 0;
}

.tfa-state {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px 16px;
    align-items: center;
    padding: 18px 20px;
    border-left: 3px solid var(--pn-line-strong);
}

.tfa-state--on {
    border-left-color: hsl(var(--success));
}

.tfa-state__icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    background: var(--pn-stone);
    color: var(--pn-ink);
    font-size: 1.5rem;
}

.tfa-state--on .tfa-state__icon {
    color: hsl(var(--success));
}

.tfa-state .tfa-state__title {
    margin: 0 0 2px;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.1875rem;
    font-weight: 800;
    line-height: 1.3;
}

.tfa-state__text {
    margin: 0;
    color: var(--pn-text);
    font-size: 0.875rem;
    line-height: 1.55;
}

.tfa-state > .profile-state {
    grid-column: 2;
    color: var(--pn-ink);
    font-size: 0.875rem;
    font-weight: 600;
}

.tfa-steps {
    margin: 0;
    padding: 24px 20px 4px;
    list-style: none;
}

/* Numbered steps joined by a hairline down the numbers. */
.tfa-step {
    position: relative;
    padding: 0 0 28px 50px;
}

.tfa-step::before {
    content: "";
    position: absolute;
    top: 34px;
    bottom: 0;
    left: 16px;
    width: 1px;
    background: var(--pn-line-strong);
}

.tfa-step:last-child::before {
    display: none;
}

.tfa-step__no {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 33px;
    height: 33px;
    place-items: center;
    background: var(--pn-ink);
    color: hsl(var(--white));
    font-family: var(--heading-font);
    font-size: 0.8125rem;
    font-weight: 700;
}

.tfa-step .tfa-step__title {
    margin: 0 0 4px;
    padding-top: 4px;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.4;
}

.tfa-step__text {
    max-width: 56ch;
    margin: 0 0 12px;
    color: var(--pn-text);
    font-size: 0.875rem;
    line-height: 1.6;
}

.tfa-pair {
    display: grid;
    gap: 16px 24px;
    align-items: center;
}

.tfa-pair__qr {
    width: 160px;
    height: 160px;
    padding: 8px;
    border: 1px solid var(--pn-line);
    background: hsl(var(--white));
}

.tfa-pair__key {
    min-width: 0;
}

.tfa-pair__key .form--label,
.profile-form__body .form--label {
    margin-bottom: 8px;
}

.tfa-pair__key .form--control {
    padding-right: 48px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    text-overflow: ellipsis;
}

.tfa-pair__key .form--control[readonly] {
    border: 1px solid var(--pn-line);
    background-color: var(--pn-stone);
}

.tfa-pair__key .password-show-hide {
    cursor: pointer;
}

.tfa-hint {
    margin: 8px 0 0;
    color: var(--pn-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.tfa .profile-form__body .form--label {
    display: block;
}

/* The code field: wide-set digits, easy to check against the app. */
.form--control.tfa-code {
    max-width: 240px;
    font-family: var(--heading-font);
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    line-height: 1.2;
}

.form--control.tfa-code::placeholder {
    color: hsl(var(--heading-color) / 0.28);
    font-size: 1.375rem;
    letter-spacing: 0.32em;
}

@media (min-width: 576px) {
    .tfa-state {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .tfa-state > .profile-state {
        grid-column: auto;
    }

    .tfa-pair {
        grid-template-columns: auto minmax(0, 1fr);
    }
}

@media (min-width: 768px) {
    .tfa-state {
        padding: 20px 24px;
    }

    .tfa-steps {
        padding: 26px 24px 4px;
    }
}

/* ---------- Support tickets ---------- */
/* Each ticket is one row that opens the conversation: the subject and its number, where it stands
   in the customer's words, its priority. A ticket with a new answer from the team is marked. */
.tickets__head {
    align-items: center;
}

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

.ticket-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--pn-line);
    border-left: 3px solid var(--pn-line);
    background: hsl(var(--white));
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ticket-row:hover {
    border-color: var(--pn-line-strong);
    background: var(--pn-stone);
}

.ticket-row--new,
.ticket-row--new:hover {
    border-left-color: hsl(var(--base));
}

.ticket-row__main {
    display: block;
    grid-column: 1 / -1;
    min-width: 0;
}

.ticket-row__subject {
    display: block;
    overflow: hidden;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 14px;
    margin-top: 3px;
    color: var(--pn-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.ticket-row__number {
    color: var(--pn-ink);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.ticket-row__state .profile-state {
    color: var(--pn-ink);
    font-size: 0.875rem;
    font-weight: 600;
}

.profile-state--base {
    --state-tone: hsl(var(--base));
}

.ticket-row__hint {
    display: block;
    margin-top: 1px;
    color: var(--pn-muted);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.ticket-row__priority {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.ticket-row__label {
    color: var(--pn-muted);
    font-size: 0.65625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ticket-row__arrow {
    display: none;
    color: hsl(var(--base));
    font-size: 1.125rem;
    transition: transform 0.2s ease;
}

.ticket-row:hover .ticket-row__arrow {
    transform: translateX(3px);
}

.tickets-empty {
    display: grid;
    gap: 14px 18px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid var(--pn-line);
}

.tickets-empty__icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    background: var(--pn-stone);
    color: var(--pn-ink);
    font-size: 1.75rem;
}

.tickets-empty__title {
    margin: 0 0 2px;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.125rem;
    font-weight: 700;
}

.tickets-empty__text {
    margin: 0;
    color: var(--pn-text);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.tickets-empty .btn {
    justify-self: start;
}

@media (min-width: 768px) {
    .ticket-row {
        grid-template-columns: minmax(0, 1fr) 250px 84px auto;
        gap: 24px;
        padding: 18px 20px;
    }

    .ticket-row__main {
        grid-column: auto;
    }

    .ticket-row__priority {
        align-items: flex-start;
    }

    .ticket-row__arrow {
        display: block;
    }

    .tickets-empty {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }
}

/* ---------- Ticket conversation ---------- */
/* Left: the box to write back, then the messages (newest first; the team's sit on stone with the
   base colour on their edge). Right: what the ticket is about, where it stands, and the way to
   close it; on small screens that sheet comes first. */
.od,
.od__pair,
.tk {
    display: grid;
    gap: 20px;
}

.tk > * {
    min-width: 0;
}

.tk__main > * {
    min-width: 0;
}

.tk-head {
    display: grid;
    order: -1;
}

.tk > .od__back {
    order: -2;
}

.tk-head__main {
    padding: 20px;
}

.tk-head .tk-head__subject {
    margin: 0 0 10px;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.015em;
    overflow-wrap: anywhere;
}

.tk-head__state {
    margin: 0;
}

.tk-head__hint {
    display: block;
    margin-top: 2px;
}

.od-pay__label,
.profile-facts__help,
.tk-head__hint {
    color: var(--pn-text);
    font-size: 0.875rem;
}

.tk-head__facts {
    margin: 0;
    padding: 4px 20px;
    border-top: 1px solid var(--pn-line);
}

.tk-head__facts > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--pn-line);
}

.tk-head__facts > div:last-child {
    border-bottom: 0;
}

.tk-head__facts dt {
    color: var(--pn-text);
    font-size: 0.875rem;
    font-weight: 400;
}

.tk-head__facts dd {
    margin: 0;
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: right;
}

.tk-head__foot {
    display: block;
}

.tk-head__ask {
    margin: 0 0 10px;
    color: var(--pn-text);
    font-size: 0.875rem;
}

.tk-head__foot .btn-outline--dark {
    background-color: hsl(var(--white)) !important;
}

.tk-head__foot .btn-outline--dark:hover {
    background-color: hsl(var(--dark)) !important;
}

.form--control.tk-reply__text {
    height: auto;
    min-height: 132px;
    padding: 14px 18px;
    line-height: 1.6;
    resize: vertical;
}

.tk-attach {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: 14px;
}

.tk-attach .tfa-hint {
    margin: 0;
}

.tk-files:not(:empty) {
    margin-top: 0;
    padding-top: 16px;
}

.tk-files .form--control[type=file] {
    height: 48px;
    line-height: 46px;
}

.tk-files .removeFile {
    border: 1px solid rgba(225, 220, 216, 0.5);
    border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
    background: hsl(var(--white));
    color: var(--pn-muted);
    transition: color 0.2s ease;
}

.tk-files .removeFile:hover {
    color: hsl(var(--danger));
}

.tk-thread {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 20px 0 0;
    list-style: none;
}

.tk-msg {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--pn-line);
    background: hsl(var(--white));
}

.tk-msg--staff {
    border-left: 3px solid hsl(var(--base));
    background: var(--pn-stone);
}

.tk-msg__badge {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    background: var(--pn-navy);
    color: hsl(var(--white));
    font-family: var(--heading-font);
    font-size: 0.9375rem;
    font-weight: 700;
}

.tk-msg--staff .tk-msg__badge {
    background: hsl(var(--base));
    font-size: 1.25rem;
}

.tk-msg__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 10px;
    margin: 0 0 6px;
}

.tk-head__state .profile-state,
.tk-msg__author {
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 600;
}

.tk-msg__tag {
    padding: 1px 7px;
    border: 1px solid hsl(var(--base));
    color: hsl(var(--base));
    font-size: 0.65625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tk-msg__time {
    margin-left: auto;
    color: var(--pn-muted);
    font-size: 0.8125rem;
}

.tk-msg__text {
    margin: 0;
    color: var(--pn-text);
    font-size: 0.9375rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.tk-msg__files {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

@media (max-width: 575px) {
    .tk-msg__time {
        flex-basis: 100%;
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    .tk-head__main {
        padding: 22px 24px;
    }

    .tk-head__facts {
        padding-right: 24px;
        padding-left: 24px;
    }

    .tk-msg {
        padding: 18px 20px;
    }
}

@media (min-width: 1200px) {
    .tk {
        grid-template-columns: minmax(0, 1fr) 320px;
        align-items: start;
        gap: 20px 24px;
    }

    .tk > .od__back {
        grid-column: 1 / -1;
        order: 0;
    }

    .tk-head {
        position: sticky;
        top: 84px;
        order: 0;
    }

    .tk-head .tk-head__subject {
        font-size: 1.25rem;
    }
}

/* ---------- Checkout: shipping address ---------- */
/* The cart's frame. Left: the form as one panel (who receives the parcel, where it goes) with icon
   fields, and the parcel label that fills in as the customer types. Right: the shared order summary, which on these steps also
   lists the T-shirts. The summary carries its own colour tokens so it works outside the frame. */
.cart-sum {
    --pn-ink: hsl(var(--heading-color));
    --pn-text: hsl(var(--heading-color) / 0.76);
    --pn-muted: hsl(var(--heading-color) / 0.58);
    --pn-line: hsl(30 14% 88%);
    --pn-line-strong: hsl(30 10% 78%);
    --pn-stone: hsl(34 24% 97%);
}

/* The T-shirts in the summary: a small framed list under a head with the counts. Each row: the
   preview on the dotted canvas, the name, colour and size, then quantity x price and the line total. */
.co-items {
    overflow: hidden;
    border: 1px solid var(--pn-line);
    border-radius: var(--radius-sm);
}

.co-items__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 9px 14px;
    border-bottom: 1px solid var(--pn-line);
    background: var(--pn-stone);
    color: var(--pn-muted);
    font-size: 0.65625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.co-items__list {
    max-height: 304px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.co-items__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid var(--pn-line);
}

.co-items__item:last-child {
    border-bottom: 0;
}

.co-items__thumb {
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--pn-line);
    border-radius: var(--radius-sm);
    background-color: hsl(34 24% 96%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23151414' fill-opacity='.1'/%3E%3C/svg%3E");
    color: var(--pn-muted);
    font-size: 1.5rem;
}

.pod-upload-thumb img,
.pod-library__thumb img,
.dash-design__thumb img,
.co-items__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dash-design,
.ticket-row__state,
.co-items__info {
    display: block;
    min-width: 0;
}

.co-items__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--pn-text);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.co-items__swatch {
    flex: none;
    width: 10px;
    height: 10px;
    border: 1px solid hsl(var(--heading-color) / 0.2);
    border-radius: 50%;
}

.co-items__calc {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0 10px;
    white-space: nowrap;
    margin-top: 2px;
    color: var(--pn-muted);
    font-size: 0.8125rem;
    font-variant-numeric: tabular-nums;
}

.dash-table__amount,
.order-pay__amount,
.co-items__price {
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 700;
    white-space: nowrap;
}

/* The country field (select2): the same box as the fields beside it. */
.co-form .select2+.select2-container {
    transition: border-color 0.2s ease;
}

.co-form .select2+.select2-container--open,
.co-form .select2+.select2-container--focus {
    border-color: hsl(var(--base));
}

.co-form .select2+.select2-container .select2-selection__rendered {
    padding-left: 24px !important;
    padding-right: 40px !important;
    line-height: 46px;
    color: hsl(var(--black));
}

.co-form .select2+.select2-container .select2-selection--single {
    height: 46px;
}

.co-form .select2+.select2-container .select2-selection__arrow {
    right: 14px;
}

/* The form: one panel, two parts under a small head each. No shadows. */
.co-form__panel {
    border: 1px solid var(--pn-line);
    border-radius: var(--radius);
    background: hsl(var(--white));
}

.co-sec {
    padding: 22px 16px 24px;
}

.co-sec + .co-sec {
    border-top: 1px solid var(--pn-line);
}

.co-sec__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.co-sec__icon {
    display: grid;
    flex: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: hsl(var(--base) / 0.1);
    color: hsl(var(--base));
    font-size: 1.5rem;
}

.co-sec .co-sec__title {
    margin: 0;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.co-sec__hint {
    margin: 1px 0 0;
    color: var(--pn-muted);
    font-size: 0.8125rem;
    line-height: 1.45;
}

/* A field with an icon in front of its text. */
.co-field {
    position: relative;
}

.co-field__icon {
    position: absolute;
    top: 24px;
    left: 16px;
    z-index: 2;
    color: var(--pn-muted);
    font-size: 1.1875rem;
    line-height: 1;
    transform: translateY(-50%);
    pointer-events: none;
    transition: color 0.2s ease;
}

.co-field:focus-within .co-field__icon {
    color: hsl(var(--base));
}

.co-field .form--control {
    padding-left: 46px;
}

.co-form .co-field--select .select2+.select2-container .select2-selection__rendered {
    padding-left: 46px !important;
}

.co-form__optional {
    margin-left: 6px;
    color: var(--pn-muted);
    font-size: 0.75rem;
    font-weight: 400;
}

/* The parcel's label: a dashed slip that fills in as the customer types. */
.co-label {
    border: 1px dashed var(--pn-line-strong);
    border-radius: var(--radius);
    background: var(--pn-stone);
}

.co-label__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    padding: 12px 16px;
    border-bottom: 1px dashed var(--pn-line-strong);
}

.co-label__tag {
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--pn-ink);
    color: hsl(var(--white));
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.co-label__note {
    color: var(--pn-muted);
    font-size: 0.8125rem;
}

.co-label__body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px;
}

.co-label__icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: var(--radius-sm);
    background: hsl(var(--base));
    color: hsl(var(--white));
    font-size: 1.75rem;
}

.co-label__lines {
    min-width: 0;
}

.co-label__name {
    margin: 0 0 2px;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.1875rem;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.co-label__line {
    margin: 0;
    color: var(--pn-text);
    font-size: 0.9375rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.co-label .is-empty {
    color: hsl(var(--heading-color) / 0.32);
    font-weight: 400;
}

.co-form select.form--control {
    height: 48px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 46px;
}

.co-form .co-form__area {
    height: auto;
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
    line-height: 1.55;
    resize: vertical;
}

.co-form__phone .input-group-text {
    min-width: 64px;
    justify-content: center;
    border: 1px solid rgba(225, 220, 216, 0.5);
    border-right: 0;
    border-radius: var(--radius-btn) 0 0 var(--radius-btn);
    background: hsl(34 24% 93%);
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 600;
}

.co-form__phone .form--control {
    border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
}

.co-form__hint {
    display: block;
    margin-top: 7px;
    color: var(--pn-muted);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.co-form__hint i {
    font-size: 1rem;
}

.co-form__next {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 14px 18px;
    border: 1px dashed var(--pn-line-strong);
    border-radius: var(--radius);
    background: var(--pn-stone);
    color: var(--pn-text);
    font-size: 0.875rem;
    line-height: 1.5;
}

.co-form__next strong {
    color: var(--pn-ink);
    font-weight: 600;
}

.co-form__next i {
    flex: none;
    color: hsl(var(--base));
    font-size: 1.375rem;
}

/* Small screens: the way on is the bar at the bottom of the screen, so there is one button. */
@media (max-width: 991px) {
    .cart-sum .btn.co-sum__submit {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .co-sec {
        padding: 26px 26px 28px;
    }

    .co-label__head,
    .co-label__body {
        padding-right: 22px;
        padding-left: 22px;
    }
}

/* ---------- Orders not placed yet ---------- */
/* An order saved at checkout but not paid for: a plain line in place of the progress steps. */
.order-card__unplaced {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--pn-text);
    font-size: 0.875rem;
    line-height: 1.5;
}

.order-card__unplaced strong {
    color: var(--pn-ink);
    font-weight: 600;
}

.order-card__unplaced i {
    flex: none;
    color: hsl(var(--base));
    font-size: 1.25rem;
}

/* ---------- Checkout: payment ---------- */
/* The shipping step's frame and parts. The three ways to pay now are tiles: the chosen one takes
   the base colour on its edge, a light tint and a tick. */
.pay-opts {
    display: grid;
    gap: 12px;
}

.pay-opt {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    margin: 0;
    padding: 18px 18px 20px;
    border: 1px solid var(--pn-line-strong);
    border-radius: var(--radius-sm);
    background: hsl(var(--white));
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.pay-opt:hover {
    border-color: hsl(var(--base) / 0.55);
}

.pay-opt:has(.pay-opt__radio:checked) {
    border-color: hsl(var(--base));
    background: hsl(var(--base) / 0.06);
    outline: 1px solid hsl(var(--base));
}

.pay-opt:has(.pay-opt__radio:focus-visible) {
    outline: 2px solid hsl(var(--base));
    outline-offset: 2px;
}

.pod-star-picker input,
.pay-opt__radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* The tick in the tile's corner. */
.pay-opt__check {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 1px solid var(--pn-line-strong);
    border-radius: 50%;
    background: hsl(var(--white));
    color: transparent;
    font-size: 0.8125rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pay-opt__radio:checked ~ .pay-opt__check {
    border-color: hsl(var(--base));
    background: hsl(var(--base));
    color: hsl(var(--white));
}

.pay-opt__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    padding-right: 30px;
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
}

.pay-opt__tag {
    padding: 0 8px;
    border-radius: 999px;
    background: hsl(var(--base));
    color: hsl(var(--white));
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.6;
}

.pay-opt__amount {
    margin-top: 4px;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.panel-user__mail,
.pay-opt__note {
    color: var(--pn-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.pay-opt__input {
    margin: 6px 0 2px;
}

.pay-opt__input .input-group-text {
    min-width: 44px;
    justify-content: center;
    border: 1px solid var(--pn-line-strong);
    border-right: 0;
    border-radius: var(--radius-btn) 0 0 var(--radius-btn);
    background: var(--pn-stone);
    color: var(--pn-ink);
    font-weight: 600;
}

.pay-opt__input .form--control {
    height: 44px;
    padding: 0 14px;
    border-color: var(--pn-line-strong);
    border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
    background-color: hsl(var(--white));
    font-weight: 600;
}

@media (min-width: 768px) {
    .pay-opts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* The payment methods: tiles with the method's logo, picked like the amounts above. */
/* A long list scrolls inside itself (about four rows show); the padding keeps the chosen tile's
   outline from being cut. */
.pay-gates {
    display: grid;
    gap: 12px;
    max-height: 352px;
    margin: -3px;
    padding: 3px 9px 3px 3px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--pn-line-strong) transparent;
}

.pay-gate {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding: 14px 46px 14px 14px;
    border: 1px solid var(--pn-line-strong);
    border-radius: var(--radius-sm);
    background: hsl(var(--white));
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.pay-gate:hover {
    border-color: hsl(var(--base) / 0.55);
}

.pay-gate:has(.pay-opt__radio:checked) {
    border-color: hsl(var(--base));
    background: hsl(var(--base) / 0.06);
    outline: 1px solid hsl(var(--base));
}

.custom--modal .modal-header .btn-close:focus-visible,
.btn-close.pod-modal-close:focus-visible,
.hs :focus-visible,
.post-toc__link:focus-visible,
.post-share__btn:focus-visible,
.pdp-view:focus-visible,
.pdp-stage__thumb:focus-visible,
.pdp-stage__nav:focus-visible,
.pdp-buy__share:focus-visible,
.pdp-size:focus-visible,
.pdp-swatch:focus-visible,
.panel a:focus-visible,
.panel button:focus-visible,
.pay-gate:has(.pay-opt__radio:focus-visible) {
    outline: 2px solid hsl(var(--base));
    outline-offset: 2px;
}

.pay-gate .pay-opt__check {
    top: 50%;
    transform: translateY(-50%);
}

.pay-gate__logo {
    display: grid;
    width: 56px;
    height: 40px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--pn-line);
    border-radius: var(--radius-btn);
    background: hsl(var(--white));
}

.pay-gate__info {
    min-width: 0;
}

.co-items__name,
.pay-gate__name {
    display: block;
    overflow: hidden;
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-stat__note,
.pay-gate__fee {
    display: block;
    color: var(--pn-muted);
    font-size: 0.8125rem;
    line-height: 1.45;
}

@media (min-width: 576px) {
    .pay-gates {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Gateway pages ---------- */
/* The gateway card (user/payment/layout) inside the account pages: the same sheet as the other
   account pages (white, hairlines, square) and as wide as the column, instead of the old narrow
   rounded card. Head on a rule, the amounts as a receipt on stone, the gateway's button or form,
   and the note with the way back on a stone foot. Fields are the site's shared field style. */
.panel__main [class*="col-"]:has(> .pod-pay-card) {
    width: 100%;
}

.panel__main .pod-pay-card {
    height: auto;
    padding: 0;
    border: 1px solid var(--pn-line);
    border-radius: 0;
    background: hsl(var(--white));
}

.panel__main .pod-pay-card .dashboard-product-wrapper__top {
    margin: 0;
    padding: 18px 20px;
    border-bottom: 1px solid var(--pn-line);
}

.panel__main .pod-pay-card__head .title {
    margin: 0;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.3125rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.panel__main .pod-pay-card__logo {
    width: 64px;
    height: 46px;
    padding: 5px;
    border: 1px solid var(--pn-line);
    border-radius: 0;
}

.panel__main .pod-pay-card__body {
    padding: 0 20px 24px;
}

.panel__main .pod-pay-card .btn.pod-pay-card__submit {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 1.0625rem;
}

.panel__main .pod-pay-card__body > form:first-child > .btn.pod-pay-card__submit:first-of-type {
    margin-top: 0;
}

.panel__main .pod-pay-card__foot {
    margin: 0;
    padding: 16px 20px;
    border-top: 1px solid var(--pn-line);
    background: var(--pn-stone);
}

.panel__main .pod-pay-card__secure {
    color: var(--pn-text);
    font-size: 0.84375rem;
    line-height: 1.55;
}

.panel__main .pod-pay-card__secure i {
    color: var(--pn-ink);
}

.panel__main .pod-pay-card__back {
    font-weight: 600;
    transition: color 0.2s ease;
}

.panel__main .pod-pay-card__back:hover {
    color: hsl(var(--base));
}

@media (min-width: 768px) {
    .panel__main .pod-pay-card .dashboard-product-wrapper__top,
    .panel__main .pod-pay-card__foot {
        padding-right: 24px;
        padding-left: 24px;
    }

    .panel__main .pod-pay-card__body {
        padding: 0 24px 26px;
    }
}

.pod-pay-card .pod-pay-summary {
    margin: 20px 20px 24px;
    padding: 6px 18px;
    border: 1px solid var(--pn-line);
    border-radius: 0;
    background: var(--pn-stone);
}

.pod-pay-card .pod-pay-summary li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 12px 0;
    border: 0;
}

.pod-pay-card .pod-pay-summary li + li {
    border-top: 0;
}

/* A dotted leader between the label and its amount. */
.pod-pay-card .pod-pay-summary li span {
    display: flex;
    flex: 1;
    align-items: baseline;
    gap: 10px;
    color: var(--pn-text);
    font-size: 0.9375rem;
}

.pod-pay-card .pod-pay-summary li span::after {
    content: "";
    flex: 1;
    border-bottom: 1px dotted var(--pn-line-strong);
}

.pod-pay-card .pod-pay-summary li strong {
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pod-pay-card .pod-pay-summary li.pod-pay-summary__total {
    margin-top: 4px;
    padding: 16px 0 12px;
    border-top: 2px solid var(--pn-ink);
}

.pod-pay-card .pod-pay-summary__total span {
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.0625rem;
    font-weight: 700;
}

.pod-pay-card .pod-pay-summary__total span::after {
    display: none;
}

.pod-pay-card .pod-pay-summary li.pod-pay-summary__total strong {
    color: hsl(var(--base));
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Fields: the shared look (soft fill, hairline, base colour on focus). */
.co-form .form--label,
.pod-pay-card .form--label,
.pod-pay-card .form-label {
    margin-bottom: 8px;
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 500;
}

.pod-pay-card .form--control,
.pod-pay-card .form--control:not([readonly]):not(:disabled) {
    height: 48px;
    padding: 0 24px;
    border: 1px solid rgba(225, 220, 216, 0.5);
    border-radius: var(--radius-btn);
    background-color: hsl(var(--section-bg));
    color: hsl(var(--black));
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color 0.2s ease;
}

.pod-pay-card .form--control:focus {
    border-color: hsl(var(--base));
}

.pod-pay-card .form--control[readonly] {
    border: 1px solid var(--pn-line);
    background-color: var(--pn-stone);
}

.pod-pay-card textarea.form--control {
    height: auto;
    min-height: 110px;
    padding: 12px 24px;
    line-height: 1.55;
}

/* A file to upload (manual methods): a dashed slot with an ink "choose" button. */
.pod-pay-card .form--control[type=file],
.pod-pay-card .form--control[type=file]:not([readonly]):not(:disabled) {
    height: 56px;
    padding: 0;
    border: 1px dashed var(--pn-line-strong);
    background: hsl(var(--white));
    color: var(--pn-text);
    font-size: 0.875rem;
    line-height: 54px;
    cursor: pointer;
}

.pod-pay-card .form--control[type=file]:hover,
.pod-pay-card .form--control[type=file]:focus {
    border-color: hsl(var(--base));
}

.pod-pay-card .form--control[type=file]::file-selector-button {
    margin: 0 14px 0 10px;
    padding: 6px 14px;
    border: 0;
    border-radius: 0;
    background-color: var(--pn-ink) !important;
    color: hsl(var(--white)) !important;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 22px;
    cursor: pointer;
}

.pod-pay-card .btn.pod-pay-card__submit {
    margin-top: 24px;
}

.pod-pay-card pre {
    margin: 8px 0 0 !important;
    overflow: visible;
    color: var(--pn-muted) !important;
    font-family: var(--body-font);
    font-size: 0.78125rem;
    white-space: normal;
}

.pod-pay-card .form-check-input:checked {
    border-color: hsl(var(--base));
    background-color: hsl(var(--base));
}

/* "How to pay" of a manual method: its own lists get the orange square bullets. */
.pod-pay-card .pod-pay-instructions {
    border: 1px dashed var(--pn-line-strong);
    border-radius: 0;
    background: var(--pn-stone);
}

.pod-pay-card .pod-pay-instructions__body ul {
    margin: 8px 0;
    padding: 0;
    list-style: none;
}

.pod-pay-card .pod-pay-instructions__body ul li {
    position: relative;
    padding-left: 16px;
    color: var(--pn-text);
    line-height: 1.6;
}

.pod-pay-card .pod-pay-instructions__body ul li + li {
    margin-top: 4px;
}

.kyc-tips > li::before,
.pod-pay-card .pod-pay-instructions__body ul li::before {
    content: "";
    position: absolute;
    top: 0.6em;
    left: 0;
    width: 6px;
    height: 6px;
    background: hsl(var(--base));
}

.pod-pay-card .pod-pay-instructions__body ol {
    margin: 8px 0;
    padding-left: 20px;
    color: var(--pn-text);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .pod-pay-card .pod-pay-summary {
        margin: 24px 24px 26px;
    }
}

/* On a page with fields to fill (card form, manual details, crypto), the amounts are one slim
   notice above the gateway's card: the rows sit on a line, "You pay" last and in the base colour.
   On a page with only a pay button they stay a list inside the card (see below). The wrapper itself is not a card; the head,
   the gateway's button or form and the foot share one border below the notice. */
.panel__main .pod-pay-card {
    display: flex;
    flex-direction: column;
    border: 0;
    background: none;
}

.panel__main .pod-pay-card:has(.pod-pay-card__body .form--control) .pod-pay-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 28px;
    order: -1;
    margin: 0 0 16px;
    padding: 12px 18px;
    border: 1px solid var(--pn-line);
    border-left: 3px solid hsl(var(--base));
    background: var(--pn-stone);
}

.panel__main .pod-pay-card:has(.pod-pay-card__body .form--control) .pod-pay-summary li,
.panel__main .pod-pay-card:has(.pod-pay-card__body .form--control) .pod-pay-summary li.pod-pay-summary__total {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.panel__main .pod-pay-card:has(.pod-pay-card__body .form--control) .pod-pay-summary li span {
    flex: none;
    font-family: var(--body-font);
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--pn-text);
}

.panel__main .pod-pay-card:has(.pod-pay-card__body .form--control) .pod-pay-summary li span::after {
    display: none;
}

.panel__main .pod-pay-card:has(.pod-pay-card__body .form--control) .pod-pay-summary li strong {
    font-size: 0.875rem;
}

.panel__main .pod-pay-card:has(.pod-pay-card__body .form--control) .pod-pay-summary li.pod-pay-summary__total {
    margin-left: auto;
}

.od-address__name,
.panel__main .pod-pay-card:has(.pod-pay-card__body .form--control) .pod-pay-summary li.pod-pay-summary__total span {
    color: var(--pn-ink);
    font-weight: 600;
}

.panel__main .pod-pay-card:has(.pod-pay-card__body .form--control) .pod-pay-summary li.pod-pay-summary__total strong {
    font-size: 1.1875rem;
}

.panel__main .pod-pay-card .dashboard-product-wrapper__top,
.panel__main .pod-pay-card__body,
.panel__main .pod-pay-card__foot {
    border-right: 1px solid var(--pn-line);
    border-left: 1px solid var(--pn-line);
}

.panel__main .pod-pay-card .dashboard-product-wrapper__top {
    border-top: 1px solid var(--pn-line);
    background: hsl(var(--white));
}

.panel__main .pod-pay-card__body {
    padding-top: 24px;
    background: hsl(var(--white));
}

.panel__main .pod-pay-card__foot {
    border-bottom: 1px solid var(--pn-line);
}

@media (max-width: 575px) {
    .panel__main .pod-pay-card:has(.pod-pay-card__body .form--control) .pod-pay-summary li.pod-pay-summary__total {
        flex-basis: 100%;
        margin-left: 0;
    }
}

/* A gateway with only a pay button: the amounts are the receipt list inside its card, between the
   head and the button. */
.panel__main .pod-pay-card:not(:has(.pod-pay-card__body .form--control)) .pod-pay-summary {
    margin: 0;
    padding: 8px 20px;
    border: 0;
    border-right: 1px solid var(--pn-line);
    border-bottom: 1px solid var(--pn-line);
    border-left: 1px solid var(--pn-line);
    background: var(--pn-stone);
}

@media (min-width: 768px) {
    .panel__main .pod-pay-card:not(:has(.pod-pay-card__body .form--control)) .pod-pay-summary {
        padding: 10px 24px;
    }
}

/* Card form: the name and the number sit side by side from 576px (the form's markup is shared and
   not edited, so the two full-width columns are halved here). */
@media (min-width: 576px) {
    .pod-pay-card__body .row > .col-12:has(> .pod-pay-field) {
        flex: 0 0 auto;
        width: 50%;
    }
}

/* ---------- Paying on the order page ---------- */
/* Notices about an order's payment on its page, and the parts the order's payment page adds to the
   checkout's payment step. */
.od-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid var(--pn-line);
    border-left: 3px solid hsl(var(--warning));
    background: var(--pn-stone);
}

.od-note i {
    flex: none;
    margin-top: 1px;
    color: var(--pn-ink);
    font-size: 1.375rem;
}

.od-note p {
    margin: 0;
    color: var(--pn-text);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.od-note strong {
    display: block;
    color: var(--pn-ink);
    font-weight: 600;
}

/* A method that cannot take this amount. */
.pay-gate.is-off {
    border-style: dashed;
    cursor: not-allowed;
    opacity: 0.6;
}

.pay-gate.is-off:hover {
    border-color: var(--pn-line-strong);
}

.opay__layout > * {
    min-width: 0;
}

.panel:has(.opay) {
    padding-bottom: 110px;
}

@media (min-width: 1200px) {
    .opay__layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        align-items: start;
    }

    .opay__side {
        position: sticky;
        top: 84px;
    }
}

@media (min-width: 992px) {
    .panel:has(.opay) {
        padding-bottom: clamp(56px, 7vw, 96px);
    }
}

/* Inside the account pages the sheets are square, like the other account pages. */
.opay .co-form__panel,
.opay .co-form__next,
.opay .cart-sum,
.opay .co-items,
.opay .cart-due,
.opay .pay-opt,
.opay .pay-gate {
    border-radius: 0;
}

/* The amount to pay, in the summary: one field between the currency's sign and its code. */
.pay-now .form--label {
    margin-bottom: 8px;
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 600;
}

.pay-now__hint {
    margin: 8px 0 0;
    color: var(--pn-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.cart-sum__charged dd {
    font-weight: 700;
}

/* Labels in the summary never break in the middle of a word. */
.opay .cart-sum__rows dt {
    white-space: nowrap;
}

.pay-amount .input-group-text {
    min-width: 44px;
    padding: 0 10px;
    font-size: 0.875rem;
    justify-content: center;
    border: 1px solid var(--pn-line-strong);
    background: var(--pn-stone);
    color: var(--pn-ink);
    font-weight: 600;
}

.pay-amount .form--control {
    height: 44px;
    padding: 0 14px;
    border-color: var(--pn-line-strong);
    border-radius: 0;
    background-color: hsl(var(--white));
    font-size: 1rem;
    font-weight: 600;
}

.pay-amount .form--control[readonly] {
    border: 1px solid var(--pn-line-strong);
    background-color: var(--pn-stone);
}

/* The pay button on this page: the site's ordinary button size. */
.opay .cart-sum .btn.payOrder {
    padding: 12px 20px;
    font-size: 0.9375rem;
}

/* ---------- Cart ---------- */
/* Rounded white cards on a white page, with the base colour as the accent. Left: one white "ticket" per T-shirt: the design preview on a dotted
   canvas, what it is, and a stone stub behind a perforation with how many and what it costs.
   Right: the summary, a white card; what has to be paid now is a panel tinted with the base
   colour, above the way on. It stays in view. Uses the account pages' tokens. */
.panel.cartp {
    background: hsl(var(--white));
}

/* The checkout steps (cart, shipping, payment): one bar of three cells. It carries its own colours. */
.co-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 28px;
    padding: 0;
    border: 1px solid hsl(30 14% 88%);
    background: hsl(var(--white));
    list-style: none;
}

.co-steps__step {
    position: relative;
    min-width: 0;
    border-left: 1px solid hsl(30 14% 88%);
}

.co-steps__step:first-child {
    border-left: 0;
}

.co-steps__step.is-active::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    left: -1px;
    height: 3px;
    background: hsl(var(--base));
}

.co-steps__link {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 14px 16px;
    color: hsl(var(--heading-color) / 0.58);
    transition: background-color 0.2s ease;
}

a.co-steps__link:hover {
    background: hsl(34 24% 97%);
}

.co-steps__no {
    display: grid;
    flex: none;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid hsl(30 10% 78%);
    color: hsl(var(--heading-color) / 0.58);
    font-family: var(--heading-font);
    font-size: 0.9375rem;
    font-weight: 700;
}

.co-steps__text {
    min-width: 0;
}

.co-steps__label {
    display: block;
    overflow: hidden;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.co-steps__hint {
    display: block;
    overflow: hidden;
    font-size: 0.8125rem;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.co-steps__step.is-active .co-steps__label,
.co-steps__step.is-done .co-steps__label {
    color: hsl(var(--heading-color));
}

.co-steps__step.is-active .co-steps__no {
    border-color: hsl(var(--base));
    background: hsl(var(--base));
    color: hsl(var(--white));
}

.co-steps__step.is-done .co-steps__no {
    border-color: hsl(var(--heading-color));
    background: hsl(var(--heading-color));
    color: hsl(var(--white));
}

@media (max-width: 767px) {
    .co-steps__link {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px;
    }

    .co-steps__hint {
        display: none;
    }

    .co-steps__label {
        font-size: 0.8125rem;
    }
}

.cartp .pod-cart-dropped {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 20px;
    padding: 12px 16px;
    border: 1px solid var(--pn-line);
    border-left: 3px solid hsl(var(--warning));
    border-radius: 0;
    background: var(--pn-stone);
    color: var(--pn-text);
    font-size: 0.875rem;
    text-align: left;
}

/* The page's heading with a simple link beside it. */
.cartp__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 20px;
}

.cartp .cartp__title {
    margin: 0;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.tk__main,
.opay__layout,
.cartp__layout {
    display: grid;
    gap: 24px;
}

.cartp__layout > * {
    min-width: 0;
}

.co-form,
.opay,
.cartp__lines {
    display: grid;
    gap: 16px;
}

/* One T-shirt, as a ticket. */
.cart-line {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--pn-line);
    border-radius: var(--radius);
    background: hsl(var(--white));
    transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.cart-line:hover {
    border-color: hsl(var(--base) / 0.45);
    box-shadow: 0 14px 28px -20px hsl(var(--heading-color) / 0.4);
}

.cart-line.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* The design preview sits on the dotted canvas of the page headers. */
.cart-line__thumb {
    display: grid;
    width: 104px;
    place-items: center;
    align-self: stretch;
    overflow: hidden;
    border-right: 1px solid var(--pn-line);
    background-color: hsl(34 24% 96%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23151414' fill-opacity='.1'/%3E%3C/svg%3E");
    color: var(--pn-muted);
    font-size: 2.25rem;
}

.cart-line__thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    transition: transform 0.3s ease;
}

a.cart-line__thumb:hover img {
    transform: scale(1.05);
}

.cart-line__info {
    min-width: 0;
    padding: 16px;
}

.cart-line .cart-line__title {
    margin: 0 0 8px;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
}

.cart-line__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cart-line__chips li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border: 1px solid var(--pn-line);
    border-radius: 999px;
    color: var(--pn-ink);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.5;
}

.cart-line__chips li span {
    color: var(--pn-muted);
    font-weight: 400;
}

.cart-line__swatch {
    width: 11px;
    height: 11px;
    border: 1px solid hsl(var(--heading-color) / 0.2);
    border-radius: 50%;
}

.cart-line__design {
    overflow: hidden;
    margin: 8px 0 0;
    color: var(--pn-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-line__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin-top: 10px;
}

.cart-line__action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--pn-ink);
    font-size: 0.84375rem;
    font-weight: 600;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.cart-line__action i {
    font-size: 1.0625rem;
}

.cart-line__action:hover {
    color: hsl(var(--base));
}

.cart-line__action--remove {
    color: var(--pn-muted);
}

.cart-line__action--remove:hover {
    color: hsl(var(--danger));
}

/* The stub: how many and what it costs, on stone behind a perforation. */
.cart-line__buy {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 20px;
    padding: 14px 16px;
    border-top: 1px dashed var(--pn-line-strong);
    background: var(--pn-stone);
}

.cart-line__label {
    display: block;
    margin-bottom: 6px;
    color: var(--pn-muted);
    font-size: 0.65625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cart-line__range {
    display: block;
    margin-top: 5px;
    color: var(--pn-muted);
    font-size: 0.75rem;
}

.cartp .pod-qty {
    display: inline-flex;
    align-items: stretch;
    height: 44px;
    overflow: hidden;
    border: 1px solid var(--pn-line-strong);
    border-radius: var(--radius-btn);
    background: hsl(var(--white));
}

.cartp .pod-qty__btn {
    display: grid;
    width: 42px;
    place-items: center;
    padding: 0;
    border: 0;
    background: none;
    color: var(--pn-ink);
    font-size: 0.9375rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cartp .pod-qty__btn:hover {
    background: hsl(var(--base));
    color: hsl(var(--white));
}

.cartp .pod-qty__input {
    width: 64px;
    padding: 0 4px;
    border: 0;
    border-right: 1px solid var(--pn-line);
    border-left: 1px solid var(--pn-line);
    border-radius: 0;
    background: none;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.0625rem;
    font-weight: 700;
    text-align: center;
    outline: none;
}

.cart-line__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.cart-line__total {
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.cart-line__unit {
    color: var(--pn-muted);
    font-size: 0.8125rem;
    white-space: nowrap;
}

.cart-line__problem {
    display: flex;
    grid-column: 1 / -1;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 10px 16px;
    border-top: 1px solid var(--pn-line);
    border-left: 3px solid hsl(var(--danger));
    background: hsl(var(--white));
    color: var(--pn-ink);
    font-size: 0.875rem;
    line-height: 1.5;
}

.cart-line__problem i {
    margin-top: 1px;
    color: hsl(var(--danger));
    font-size: 1.125rem;
}

/* Empty cart: a dashed slip on the dotted canvas, like a blank ticket waiting for a T-shirt. */
.cart-none {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: clamp(40px, 6vw, 64px) 20px;
    border: 1px dashed var(--pn-line-strong);
    border-radius: var(--radius);
    background-color: hsl(34 24% 97%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23151414' fill-opacity='.1'/%3E%3C/svg%3E");
    text-align: center;
}

.cart-none__icon {
    position: relative;
    display: grid;
    width: 96px;
    height: 96px;
    place-items: center;
    margin-bottom: 10px;
    border: 1px solid var(--pn-line);
    border-radius: 50%;
    background: hsl(var(--white));
    color: var(--pn-ink);
    font-size: 3rem;
}

.cart-none__plus {
    position: absolute;
    right: -2px;
    bottom: 2px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 3px solid hsl(34 24% 97%);
    border-radius: 50%;
    background: hsl(var(--base));
    color: hsl(var(--white));
    font-size: 0.9375rem;
}

.cart-none__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--pn-muted);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cart-none__eyebrow::before {
    content: "";
    width: 16px;
    height: 2px;
    background: hsl(var(--base));
}

.cart-none .cart-none__title {
    margin: 0;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.375rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.cart-none__text {
    max-width: 50ch;
    margin: 0;
    color: var(--pn-text);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.cart-none__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.cart-none__actions .btn-outline--dark {
    background-color: hsl(var(--white)) !important;
}

.cart-none__actions .btn-outline--dark:hover {
    background-color: hsl(var(--dark)) !important;
}

.cart-none .pod-cart-dropped {
    margin: 18px 0 0;
}

.cartp__layout:has(.cartEmpty:not(.d-none)) .cartp__side {
    display: none;
}

/* The summary: a rounded white card, read like a receipt. The title behind the
   orange dash, the three sums in quiet type, the total on a strong rule, then what has to be paid
   now as a panel tinted with the base colour, the way on and two small assurances. */
.cart-sum {
    display: grid;
    gap: 22px;
    padding: 24px 22px;
    border: 1px solid var(--pn-line);
    border-radius: var(--radius);
    background: hsl(var(--white));
}

.cart-sum .cart-sum__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.breadcrumb__nav::before,
.voices-eyebrow::before,
.voices-slide__name::before,
.how-work-eyebrow::before,
.how-work-step__label::before,
.blog-card__meta::before,
.choose-eyebrow::before,
.choose-caption__label::before,
.pop-eyebrow::before,
.auth-form__eyebrow::before,
.od-card__eyebrow::before,
.cart-sum__title::before {
    content: "";
    flex: none;
    width: 16px;
    height: 2px;
    background: hsl(var(--base));
}

.cart-sum__rows {
    display: grid;
    gap: 12px;
    margin: 0;
}

.cart-sum__rows > div {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

/* A dotted leader between the label and its amount, as on a receipt. */
.cart-sum__rows dt {
    display: flex;
    flex: 1;
    align-items: baseline;
    gap: 10px;
    color: var(--pn-text);
    font-size: 0.9375rem;
    font-weight: 400;
}

.cart-sum__rows dt::after {
    content: "";
    flex: 1;
    border-bottom: 1px dotted var(--pn-line-strong);
}

.cart-sum__rows dd {
    margin: 0;
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.cart-sum__total {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 2px 16px;
    margin: 0;
    padding-top: 18px;
    border-top: 2px solid var(--pn-ink);
}

.cart-sum__total-label {
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.0625rem;
    font-weight: 700;
}

.cart-sum__total-amount {
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

/* What has to be paid now: a panel tinted with the base colour, the amount as its headline. */
.cart-due {
    padding: 18px;
    border: 1px solid hsl(var(--base) / 0.26);
    border-radius: var(--radius-sm);
    background: hsl(var(--base) / 0.07);
}

.cart-due__label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 6px;
    color: var(--pn-ink);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
}

.cart-due__pct {
    padding: 1px 9px;
    border-radius: 999px;
    background: hsl(var(--base));
    color: hsl(var(--white));
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
}

.cart-due__amount {
    display: block;
    color: hsl(var(--base));
    font-family: var(--heading-font);
    font-size: 1.875rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    white-space: nowrap;
}

.cart-due__note {
    margin: 8px 0 0;
    color: var(--pn-text);
    font-size: 0.8125rem;
    line-height: 1.55;
}

.cart-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    border-left: 3px solid hsl(var(--danger));
    background: var(--pn-stone);
    color: hsl(var(--danger));
    font-size: 0.84375rem;
    font-weight: 500;
    line-height: 1.5;
}

.cart-notice i {
    margin-top: 1px;
    font-size: 1.0625rem;
}

.cart-sum .cartCheckout {
    padding-top: 17px;
    padding-bottom: 17px;
    font-size: 1.0625rem;
}

.cartp .cartCheckout.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.cart-trust {
    display: grid;
    gap: 6px;
    margin: -6px 0 0;
    padding: 0;
    list-style: none;
}

.cart-trust li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--pn-muted);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.cart-trust i {
    color: var(--pn-ink);
    font-size: 1.0625rem;
}

@media (min-width: 768px) {
    /* One line: preview, what it is, and the stub on the right. */
    .cart-line {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .cart-line__thumb {
        width: 148px;
    }

    .cart-line__info {
        align-self: center;
        padding: 20px 24px;
    }

    .cart-line__buy {
        grid-column: auto;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-end;
        justify-content: center;
        gap: 16px;
        min-width: 216px;
        padding: 18px 20px;
        border-top: 0;
        border-left: 1px dashed var(--pn-line-strong);
    }

    .cart-line__qty {
        text-align: right;
    }

    .cart-line__problem {
        grid-column: 1 / -1;
    }

    .cart-sum {
        padding: 28px 26px;
    }
}

@media (min-width: 992px) {
    .cartp__layout {
        grid-template-columns: minmax(0, 1fr) 372px;
        align-items: start;
        gap: 28px;
    }

    .cartp__layout:has(.cartEmpty:not(.d-none)) {
        grid-template-columns: minmax(0, 1fr);
    }

    .cartp__side {
        position: sticky;
        top: 84px;
    }
}

/* Small screens: the total and the way on stay at the bottom of the screen. */
.cart-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--pn-line-strong);
    background: hsl(var(--white));
}

.cart-bar__total {
    display: flex;
    flex-direction: column;
    margin: 0;
    color: var(--pn-muted);
    font-size: 0.75rem;
    line-height: 1.3;
}

.cart-bar .btn {
    flex: none;
    white-space: nowrap;
}

.cartPage:has(.cartEmpty:not(.d-none)) .cart-bar {
    display: none;
}

@media (max-width: 991px) {
    .panel.cartp {
        padding-bottom: 96px;
    }
}

@media (min-width: 992px) {
    .cart-bar {
        display: none;
    }
}

/* ---------- Payment history ---------- */
/* A framed table: a stone head, roomy rows with the logo of the method, the amount on the right.
   On phones each payment is a small card with its labels. */
.pay-table {
    margin-top: 20px;
    border: 1px solid var(--pn-line);
    background: hsl(var(--white));
}

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

.pay-table th {
    padding: 12px 18px;
    border-bottom: 1px solid var(--pn-line);
    background: var(--pn-stone);
    color: var(--pn-muted);
    font-size: 0.65625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.pay-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--pn-line);
    vertical-align: middle;
}

.pay-table tbody tr:last-child td {
    border-bottom: 0;
}

.pay-table tbody tr {
    transition: background-color 0.2s ease;
}

.pay-table tbody tr:hover {
    background: var(--pn-stone);
}

.pay-table th:last-child,
.pay-table td:last-child {
    text-align: right;
}

.pay-table__method {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.pay-table__logo {
    display: grid;
    flex: none;
    width: 52px;
    height: 38px;
    place-items: center;
    overflow: hidden;
    padding: 4px;
    border: 1px solid var(--pn-line);
    background: hsl(var(--white));
    color: var(--pn-muted);
    font-size: 1.25rem;
}

.pod-pay-card__logo img,
.pay-gate__logo img,
.pay-table__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.dash-table__item,
.pay-table__name,
.pay-table__date {
    display: block;
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
}

.pay-table__ref {
    display: block;
    color: var(--pn-muted);
    font-size: 0.8125rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.pay-table__details {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--pn-ink);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.pay-table__details i {
    color: hsl(var(--base));
    font-size: 1rem;
}

.pay-table__details:hover {
    color: hsl(var(--base));
}

/* The submitted-details modal: the payment in one stone strip, then what was sent as a framed
   list. Its colours are set here because a modal sits outside the account frame. */
#paymentDetails {
    --pn-ink: hsl(var(--heading-color));
    --pn-text: hsl(var(--heading-color) / 0.76);
    --pn-muted: hsl(var(--heading-color) / 0.58);
    --pn-line: hsl(30 14% 88%);
    --pn-line-strong: hsl(30 10% 78%);
    --pn-stone: hsl(34 24% 97%);
}

#paymentDetails .modal-body {
    padding-bottom: 28px;
}

.pd-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--pn-line);
    border-left: 3px solid hsl(var(--base));
    background: var(--pn-stone);
}

.pd-summary__logo img,
.pd-summary__logo.has-logo i {
    display: none;
}

.pd-summary__logo.has-logo img {
    display: block;
}

.pd-summary__method {
    margin: 0;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
}

.pd-summary__ref {
    margin: 0;
    color: var(--pn-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.pd-summary__money {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.cart-bar__total strong,
.pd-summary__amount {
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.1875rem;
    font-weight: 800;
    white-space: nowrap;
}

.pd-label {
    margin: 22px 0 10px;
}

.pd-list {
    margin: 0;
    border: 1px solid var(--pn-line);
}

.pd-list__row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 12px;
    align-items: center;
    padding: 11px 16px;
    border-bottom: 1px solid var(--pn-line);
}

.pd-list__row:last-child {
    border-bottom: 0;
}

.pd-list__row:nth-child(even) {
    background: var(--pn-stone);
}

.pd-list dt {
    color: var(--pn-muted);
    font-size: 0.84375rem;
    font-weight: 400;
}

.pd-list dd {
    margin: 0;
    color: var(--pn-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.pd-list .kyc-data__file {
    padding: 5px 10px;
    background: hsl(var(--white));
}

@media (max-width: 575px) {
    .pd-summary {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .pd-summary__money {
        flex-direction: row;
        grid-column: 1 / -1;
        align-items: center;
        justify-content: space-between;
    }
}

.pay-table__order {
    color: var(--pn-ink);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: underline;
    text-decoration-color: var(--pn-line-strong);
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.pay-table__order:hover {
    color: hsl(var(--base));
}

.pay-table__amount {
    display: block;
    color: var(--pn-ink);
    font-family: var(--heading-font);
    font-size: 1.0625rem;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .pay-table {
        border: 0;
        background: none;
    }

    .pay-table thead {
        display: none;
    }

    .pay-table table,
    .pay-table tbody {
        display: block;
    }

    .pay-table tbody tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid var(--pn-line);
        background: hsl(var(--white));
    }

    .pay-table td,
    .pay-table tbody tr:last-child td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 10px 14px;
        border-bottom: 1px solid var(--pn-line);
        text-align: right;
    }

    .pay-table tbody tr td:last-child {
        border-bottom: 0;
    }

    .pay-table td:first-child {
        display: block;
        background: var(--pn-stone);
        text-align: left;
    }

    .pay-table td:not(:first-child)::before {
        content: attr(data-label);
        flex: none;
        color: var(--pn-muted);
        font-size: 0.65625rem;
        font-weight: 600;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }
}

/* ---------- Cookie notice ---------- */
/* A small card in the bottom-left corner of the screen (a strip along the bottom on phones): the
   icon, one short text ending in a link to the policy, and "Allow". It slides in shortly after the page loads. */
.cookies-card {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 60;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px 16px;
    width: min(420px, calc(100vw - 32px));
    padding: 20px;
    border: 1px solid hsl(30 10% 78%);
    border-radius: var(--radius);
    background: hsl(var(--white));
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.cookies-card.hide {
    visibility: hidden;
    opacity: 0;
    transform: translateY(16px);
}

.cookies-card__icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: hsl(var(--base) / 0.1);
    color: hsl(var(--base));
    font-size: 1.5rem;
}

.cookies-card__title {
    margin: 0 0 4px;
    color: hsl(var(--heading-color));
    font-family: var(--heading-font);
    font-size: 1.0625rem;
    font-weight: 800;
    line-height: 1.3;
}

.cookies-card__content {
    margin: 0;
    color: hsl(var(--heading-color) / 0.76);
    font-size: 0.875rem;
    line-height: 1.6;
}

.cookies-card__more {
    color: hsl(var(--base));
    font-weight: 600;
    white-space: nowrap;
}

.cookies-card__more:hover {
    color: hsl(var(--base-d-100));
    text-decoration: underline;
}

/* "Allow" sits on the right under the text. */
.cookies-card__btn {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-end;
}

.cookies-card__btn .btn {
    min-width: 120px;
}

@media (max-width: 575px) {
    .cookies-card {
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .panel *,
    .panel *::before,
    .panel *::after {
        transition: none !important;
    }
}
/* ====================== Account Panel Css End ==================== */
