/* ==================================================
   Pritto Design System V1
   ================================================== */

/* DM Sans is self-hosted from the Google Fonts OFL release. */
@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/dm-sans/dm-sans-latin.woff2") format("woff2");
}

/* Final site header and compact three-column footer. */
.pritto-utility-bar {
    min-height: 42px;
    padding: 0 max(24px, calc((100vw - 1280px) / 2));
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 22px;
    background: #07251f;
    color: #dcebe5;
    font-family: var(--pritto-font-family);
    font-size: 11px;
    font-weight: 500;
}

.pritto-utility-bar a {
    color: inherit;
    text-decoration: none;
}

.pritto-utility-bar__label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pritto-utility-bar__label > i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c7f36e;
    box-shadow: 0 0 0 4px rgba(199, 243, 110, .12);
}

.pritto-utility-bar__contact,
.pritto-utility-bar__ids,
.pritto-utility-bar__contact a,
.pritto-utility-bar__ids b {
    display: flex;
    align-items: center;
}

.pritto-utility-bar__contact {
    gap: 13px;
    color: #b9cec6;
}

.pritto-utility-bar__contact a {
    gap: 7px;
}

.pritto-utility-bar__contact > i {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, .18);
}

.pritto-utility-bar svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: #c7f36e;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pritto-utility-bar__ids {
    justify-self: end;
    gap: 22px;
}

.pritto-utility-bar__ids b {
    gap: 5px;
    font-weight: 500;
}

.pritto-utility-bar__ids strong {
    color: #c7f36e;
    font-weight: 700;
}

@media (min-width: 1000px) {
    [data-header*="type-1"] .ct-header [data-row="middle"] {
        --height: 84px;
        min-height: 84px;
    }

    [data-header*="type-1"] .ct-header [data-row="middle"] > div {
        min-height: 84px;
    }

    #header .menu {
        gap: 34px;
    }

    #header .menu > li > a {
        font-size: 14px !important;
        font-weight: 500 !important;
        letter-spacing: 0;
    }
}

[data-footer*="type-1"] .ct-footer [data-row="middle"] > .ct-container {
    grid-template-columns: 1.65fr .8fr 1.1fr !important;
    gap: 80px;
}

.pritto-footer-company .pritto-footer-contact {
    margin-top: 18px;
}

.pritto-footer-legal {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
}

#footer .pritto-footer-legal,
#footer .pritto-footer-legal a {
    color: #9eb6ad !important;
    font-family: var(--pritto-font-family);
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: normal !important;
}

@media (max-width: 999px) {
    .pritto-utility-bar {
        padding: 9px 20px;
        grid-template-columns: 1fr auto;
        gap: 5px 12px;
    }

    .pritto-utility-bar__contact {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
    }

    [data-footer*="type-1"] .ct-footer [data-row="middle"] > .ct-container {
        grid-template-columns: 1.4fr 1fr !important;
        gap: 42px 32px;
    }

    [data-footer*="type-1"] .ct-footer [data-column="widget-area-2"] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 689px) {
    .pritto-utility-bar__label {
        font-size: 9px;
    }

    .pritto-utility-bar__contact {
        justify-self: start;
        gap: 8px;
        font-size: 9px;
    }

    .pritto-utility-bar__contact svg {
        width: 11px;
        height: 11px;
    }

    .pritto-utility-bar__ids {
        gap: 10px;
        font-size: 10px;
    }

    [data-footer*="type-1"] .ct-footer [data-row="middle"] > .ct-container {
        grid-template-columns: 1fr !important;
    }

    [data-footer*="type-1"] .ct-footer [data-column="widget-area-2"] {
        grid-column: auto;
    }

    .pritto-footer-legal {
        justify-content: flex-start;
    }
}

@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/dm-sans/dm-sans-latin.woff2") format("woff2");
}

@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/dm-sans/dm-sans-latin.woff2") format("woff2");
}

@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/dm-sans/dm-sans-latin.woff2") format("woff2");
}

html:root {

    --pritto-font-family: "DM Sans", system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    --theme-font-family: var(--pritto-font-family);
    --theme-heading-font-family: var(--pritto-font-family);

    /* Map Blocksy controls to the Pritto palette. */
    --theme-palette-color-1: #0C3329;
    --theme-palette-color-2: #0E302A;
    --theme-palette-color-3: #1D2C28;
    --theme-palette-color-4: #43504C;
    --theme-palette-color-5: #707D78;
    --theme-palette-color-6: #DEE5E1;
    --theme-palette-color-7: #F4F7F5;
    --theme-palette-color-8: #FFFFFF;

    /* Brand */
    --pritto-primary: #0C3329;
    --pritto-primary-hover: #0E302A;
    --pritto-primary-soft: #ECF2EF;

    /* Surfaces */
    --pritto-warm-white: #FBFAF7;
    --pritto-white: #FFFFFF;

    /* Primary site surfaces */
    --pritto-page-surface: #FFFFFF;
    --pritto-product-surface: #FFFFFF;
    --pritto-bg-soft: #F4F7F5;

    /*
     * Visual rule:
     * White space is the primary visual language.
     * Deep Ink Green is an accent, not a dominant surface color.
     * Warm White is reserved for occasional editorial / brand sections.
     */

    /* Typography */
    --pritto-heading: #1D2C28;
    --pritto-text: #43504C;
    --pritto-muted: #707D78;

    /* Structure */
    --pritto-border: #DEE5E1;
    --pritto-border-strong: #C6D0CB;

    /* Radius */
    --pritto-radius-sm: 4px;
    --pritto-radius-md: 6px;
    --pritto-radius-lg: 8px;

    /* Motion */
    --pritto-transition: 180ms ease;

    /* Shadow */
    --pritto-shadow-soft: 0 12px 34px rgba(18, 61, 53, 0.065);
}

/* Global type and surface foundation. The system stack keeps the site fast and
   stays visually compatible with the rounded geometry of the Pritto logo. */
html {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* ==================================================
   Pritto Service Pages
   Custom Development and Support
   ================================================== */

body.pritto-service-page-body .hero-section {
    display: none;
}

body.pritto-service-page-body #main > .ct-container {
    width: auto;
    max-width: none;
    padding: 0;
}

body.pritto-service-page-body .entry-content {
    max-width: none;
}

.pritto-service-page {
    padding: 92px 5vw 112px;
    background: #fff;
    color: #13231e;
}

.pritto-service-page > * {
    max-width: 1296px;
    margin-inline: auto;
}

.pritto-service-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    gap: clamp(54px, 7vw, 112px);
    align-items: end;
}

.pritto-service-eyebrow {
    margin: 0 0 18px;
    color: #0c3329;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.pritto-service-page h1 {
    max-width: 780px;
    margin: 0;
    color: #13231e;
    font-family: var(--pritto-font-family);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.pritto-service-intro {
    margin: 0;
    color: #5f6f69;
    font-size: clamp(18px, 1.55vw, 23px);
    line-height: 1.55;
}

.pritto-service-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pritto-service-actions .wp-block-button__link,
.pritto-support-row .wp-block-button__link {
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #0c3329;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.pritto-service-actions .is-style-outline .wp-block-button__link {
    border: 1px solid #c9d8d2 !important;
    background: #fff !important;
    color: #0c3329 !important;
}

.pritto-service-section {
    margin-top: 104px;
}

.pritto-service-section-head {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
    margin-bottom: 34px;
}

.pritto-service-section h2 {
    max-width: 760px;
    margin: 0;
    color: #13231e;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.015em;
}

.pritto-service-section-head > p {
    max-width: 430px;
    margin: 0;
    color: #70807a;
    font-size: 15px;
    line-height: 1.6;
}

.pritto-capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pritto-capability-card {
    min-height: 270px;
    padding: 30px;
    border: 1px solid #dce6e1;
    border-radius: 24px;
    background: #fff;
}

.pritto-capability-card:nth-child(2) {
    background: #f3f8f5;
}

.pritto-capability-number {
    margin: 0 0 70px;
    color: #82938c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.pritto-capability-card h3 {
    margin: 0 0 12px;
    color: #13231e;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
}

.pritto-capability-card p:last-child {
    margin: 0;
    color: #6c7c76;
    font-size: 15px;
    line-height: 1.6;
}

.pritto-process-panel {
    margin-top: 104px;
    padding: 38px 42px;
    border: 1px solid #d4e2dc;
    border-radius: 28px;
    background: #edf6f2;
}

.pritto-process-intro {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 54px;
    color: #5f7069;
    font-size: 16px;
}

.pritto-process-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    border-radius: 14px;
    background: #c3f164;
    color: #0c3329;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.pritto-process-mark img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain;
}

.pritto-process-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.pritto-process-step {
    position: relative;
    padding-top: 24px;
    border-top: 1px solid #b8ccc3;
}

.pritto-process-step p {
    display: block;
    margin-bottom: 10px;
    color: #7a8e86;
    font-size: 11px;
    font-weight: 700;
}

.pritto-process-step h3 {
    margin: 0;
    color: #13231e;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.pritto-support-list {
    margin-top: 96px;
    border-top: 1px solid #dce5e1;
}

.pritto-support-row {
    padding: 34px 0;
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.5fr) auto;
    gap: 48px;
    align-items: center;
    border-bottom: 1px solid #dce5e1;
}

.pritto-support-row h2 {
    margin: 0;
    color: #13231e;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.015em;
}

.pritto-support-row p {
    margin: 0;
    color: #687872;
    font-size: 15px;
    line-height: 1.6;
}

.pritto-support-row .wp-block-button__link {
    min-width: 156px;
    justify-content: center;
    background: #fff;
    border: 1px solid #cbdad4;
    color: #0c3329;
}

.pritto-contact-band {
    margin-top: 80px;
    padding: 38px 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-radius: 24px;
    background: #0c3329;
    color: #fff;
}

.pritto-contact-band h2 {
    margin: 0;
    color: #fff;
    font-size: 30px;
    line-height: 1.25;
    letter-spacing: -.015em;
}

.pritto-contact-band p {
    margin: 8px 0 0;
    color: #c8d8d2;
    font-size: 15px;
}

.pritto-contact-band a {
    color: #c3f164;
    font-weight: 700;
}

@media (max-width: 900px) {
    .pritto-service-page {
        padding-top: 70px;
    }

    .pritto-service-hero {
        grid-template-columns: 1fr;
        gap: 34px;
        align-items: start;
    }

    .pritto-service-intro {
        max-width: 700px;
    }

    .pritto-capability-grid {
        grid-template-columns: 1fr;
    }

    .pritto-capability-card {
        min-height: 0;
    }

    .pritto-capability-number {
        margin-bottom: 40px;
    }

    .pritto-support-row {
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: start;
    }

    .pritto-support-row .wp-block-buttons {
        margin-top: 8px;
    }
}

@media (max-width: 689px) {
    html body {
        font-size: 15px;
    }

    [data-footer*="type-1"] .ct-footer .pritto-footer-lead h2 {
        font-size: 26px !important;
    }

    .pritto-service-page {
        padding: 56px 20px 76px;
    }

    .pritto-service-page h1 {
        font-size: 32px;
    }

    .pritto-service-section,
    .pritto-process-panel,
    .pritto-support-list {
        margin-top: 70px;
    }

    .pritto-service-section-head {
        display: block;
    }

    .pritto-service-section-head > p {
        margin-top: 18px;
    }

    .pritto-capability-card,
    .pritto-process-panel,
    .pritto-contact-band {
        padding: 24px;
        border-radius: 20px;
    }

    .pritto-process-intro {
        align-items: flex-start;
        margin-bottom: 34px;
    }

    .pritto-process-steps {
        grid-template-columns: 1fr 1fr;
    }

    .pritto-process-step:last-child {
        grid-column: 1 / -1;
    }

    .pritto-contact-band {
        display: block;
    }

    .pritto-contact-band > p {
        margin-top: 20px;
    }
}

body {
    background: var(--pritto-page-surface);
    color: var(--pritto-text);
    font-family: var(--pritto-font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

button,
input,
select,
textarea {
    font-family: var(--pritto-font-family);
}

h1 {
    color: var(--pritto-heading);
    font-family: var(--pritto-font-family);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
}

h2 {
    color: var(--pritto-heading);
    font-family: var(--pritto-font-family);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.015em;
}

h3 {
    color: var(--pritto-heading);
    font-family: var(--pritto-font-family);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
}

h4,
h5,
h6 {
    color: var(--pritto-heading);
    font-family: var(--pritto-font-family);
    font-weight: 600;
}

p,
li {
    text-wrap: pretty;
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgba(18, 61, 53, 0.24);
    outline-offset: 3px;
}

:where(.wp-element-button, .button, button, input[type="submit"]) {
    border-radius: var(--pritto-radius-md);
    font-family: var(--pritto-font-family);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
}

/* Header account / saved */
.pritto-header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
}

.pritto-header-action {
    color: var(--pritto-heading);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 180ms ease;
}

.pritto-header-action:hover {
    color: var(--pritto-primary);
}

/* Header search + account tools */
.pritto-header-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    width: 100%;
}

.pritto-header-search {
    display: flex;
    align-items: stretch;
    width: min(560px, 42vw);
    height: 44px;
}

.pritto-header-search input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--pritto-border);
    border-right: 0;
    border-radius: 6px 0 0 6px;
    background: var(--pritto-white);
    color: var(--pritto-text);
    font-size: 14px;
    outline: none;
}

.pritto-header-search input[type="search"]::placeholder {
    color: var(--pritto-muted);
}

.pritto-header-search input[type="search"]:focus {
    border-color: var(--pritto-primary);
}

.pritto-header-search button {
    height: 44px;
    padding: 0 20px;
    border: 1px solid var(--pritto-primary);
    border-radius: 0 6px 6px 0;
    background: var(--pritto-primary);
    color: var(--pritto-white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 180ms ease;
}

.pritto-header-search button:hover {
    background: var(--pritto-primary-hover);
}

.pritto-header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .pritto-header-search {
        width: min(420px, 38vw);
    }
}

/* Popular category cards */
.pritto-category-card {
    text-align: left !important;
    align-items: flex-start !important;
}

.pritto-category-card > .wp-block-heading,
.pritto-category-card > p {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: left !important;
}

/* Popular Categories card layout */
.pritto-category-card {
    width: 100% !important;
    max-width: none !important;
    align-self: stretch !important;
    box-sizing: border-box;
    text-align: left !important;
}

.pritto-category-card > .wp-block-heading,
.pritto-category-card > p {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

/* Popular Categories interaction */
.pritto-category-card {
    cursor: pointer;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.pritto-category-card:hover {
    border-color: var(--pritto-primary) !important;
    box-shadow: 0 8px 28px rgba(18, 61, 53, 0.07);
    transform: translateY(-2px);
}

.pritto-category-card:hover .wp-block-heading {
    color: var(--pritto-primary);
}

.pritto-category-card a {
    text-decoration: none;
}

/* Popular Categories title links */
.pritto-category-card .wp-block-heading a,
.pritto-category-card .wp-block-heading a:visited {
    color: #23302C !important;
    text-decoration: none !important;
}

.pritto-category-card:hover .wp-block-heading a,
.pritto-category-card .wp-block-heading a:hover,
.pritto-category-card .wp-block-heading a:focus {
    color: #0C3329 !important;
}

/* Pritto Footer typography */
#footer .wp-block-heading {
    margin: 0 0 24px;
    color: #23302C;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

#footer p,
#footer li {
    color: #3F4B47;
    font-size: 15px;
    line-height: 1.75;
}

#footer a {
    color: #3F4B47;
    text-decoration: none;
    transition: color 180ms ease;
}

#footer a:hover,
#footer a:focus {
    color: #0C3329;
}

#footer .ct-footer-copyright {
    color: #74807C;
    font-size: 14px;
}

#footer [data-row="middle"] {
    background: var(--pritto-bg-soft);
}

#footer [data-row="middle"] .ct-container {
    padding-top: 64px !important;
    padding-bottom: 56px !important;
    column-gap: clamp(36px, 5vw, 84px);
}

#footer [data-row="bottom"] .ct-container {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
}

#footer .pritto-footer-brand p:first-of-type {
    max-width: 280px;
}

#footer .pritto-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer .pritto-footer-links li {
    margin: 0 0 7px;
}

#footer .pritto-footer-trust {
    margin-top: 22px;
    color: var(--pritto-muted);
    font-size: 13px;
    line-height: 1.7;
}

/* Simple company pages remain editable in the native WordPress block editor. */
.pritto-content-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 28px 0 96px;
}

.pritto-content-page > .pritto-eyebrow {
    margin: 0 0 14px;
    color: var(--pritto-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.pritto-content-page > h2 {
    max-width: 720px;
    margin: 0 0 24px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
}

.pritto-content-page > h3 {
    margin: 50px 0 14px;
    font-size: 25px;
}

.pritto-content-page > p {
    max-width: 720px;
    margin-bottom: 18px;
    color: var(--pritto-text);
    font-size: 18px;
    line-height: 1.75;
}

.pritto-content-page .wp-block-buttons {
    margin-top: 34px;
}

.pritto-content-page .wp-block-button__link,
.pritto-content-page .wp-block-button__link:visited {
    border: 1px solid var(--pritto-primary);
    background: var(--pritto-primary);
    color: #FFFFFF;
}

.pritto-content-page .wp-block-button__link:hover,
.pritto-content-page .wp-block-button__link:focus {
    border-color: var(--pritto-primary-hover);
    background: var(--pritto-primary-hover);
    color: #FFFFFF;
}

.woocommerce-MyAccount-navigation-link.is-active,
.woocommerce-MyAccount-navigation-link.is-active > a {
    border-color: var(--pritto-primary) !important;
    background: var(--pritto-primary) !important;
    color: #FFFFFF !important;
}

.pritto-account-dashboard-body .woocommerce-MyAccount-content > p:nth-of-type(2) {
    display: none;
}

.pritto-account-dashboard {
    max-width: 680px;
    margin-top: 34px;
    padding: 30px;
    border: 1px solid var(--pritto-border);
    border-radius: var(--pritto-radius-lg);
    background: #FFFFFF;
}

.pritto-account-dashboard .pritto-eyebrow {
    margin: 0 0 10px;
    color: var(--pritto-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.pritto-account-dashboard h2 {
    margin: 0 0 12px;
    font-size: 28px;
}

.pritto-account-dashboard > p:last-of-type {
    margin: 0;
    color: var(--pritto-muted);
}

.pritto-account-dashboard__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.pritto-account-dashboard__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    border-radius: var(--pritto-radius-md);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.pritto-account-dashboard__primary {
    border: 1px solid var(--pritto-primary);
    background: var(--pritto-primary);
    color: #FFFFFF !important;
}

.pritto-account-dashboard__secondary {
    border: 1px solid var(--pritto-border-strong);
    background: #FFFFFF;
    color: var(--pritto-primary) !important;
}

@media (min-width: 1000px) {
    #footer [data-row="middle"] .ct-container {
        grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr)) !important;
        align-items: start;
    }
}

/* Homepage mobile main title */
@media (max-width: 767px) {
    .pritto-home-main-title {
        font-size: 40px !important;
        line-height: 1.15 !important;
    }
}

/* ===== Pritto Desktop Header ===== */

@media (min-width: 1000px) {

    .pritto-header-tools {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 34px;
        width: 100%;
    }

    .pritto-header-search {
        width: min(620px, 44vw);
        height: 46px;
    }

    .pritto-header-search input[type="search"] {
        height: 46px;
        padding: 0 18px;
        border-color: #DDE3E0;
        border-radius: 8px 0 0 8px;
        font-size: 14px;
    }

    .pritto-header-search button {
        height: 46px;
        padding: 0 22px;
        border-radius: 0 8px 8px 0;
        font-size: 14px;
        font-weight: 600;
    }

    .pritto-header-actions {
        gap: 24px;
    }

    .pritto-header-action {
        color: #23302C;
        font-size: 14px;
        font-weight: 500;
    }

    .pritto-upload-artwork {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0 18px;
        border: 1px solid #0C3329;
        border-radius: 7px;
        color: #0C3329 !important;
        background: #FFFFFF;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none !important;
        white-space: nowrap;
        transition:
            background 180ms ease,
            color 180ms ease,
            border-color 180ms ease;
    }

    .pritto-upload-artwork:hover {
        background: #0C3329;
        color: #FFFFFF !important;
    }

    /* Main navigation */
    #header .menu > li > a {
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 1.3;
        letter-spacing: -0.01em;
    }

    #header .menu > li:first-child > a {
        font-weight: 500 !important;
    }
}

/* Full-width divider under desktop navigation */
@media (min-width: 1000px) {
    #header [data-row="bottom"] {
        position: relative;
    }

    #header [data-row="bottom"]::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background: #E1E5E2;
        pointer-events: none;
    }
}

/* ===== Pritto Hero Banner ===== */

.pritto-hero-slider {
    width: 100%;
    max-width: none !important;
}

.pritto-hero-slide {
    min-height: 600px !important;
}

.pritto-hero-slide .wp-block-cover__inner-container {
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 72px;
}

.pritto-hero-slide h1,
.pritto-hero-slide h2 {
    max-width: 680px;
    margin: 0 0 24px;
    color: #FFFFFF;
    font-size: 58px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pritto-hero-slide p {
    max-width: 620px;
    margin: 0 0 30px;
    color: rgba(255,255,255,0.88);
    font-size: 18px;
    line-height: 1.65;
}

.pritto-hero-slide .wp-block-button__link {
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 600;
}

.pritto-hero-slide .wp-block-button:first-child .wp-block-button__link {
    background: #0C3329;
    color: #FFFFFF;
}

.pritto-hero-slide .wp-block-button:not(:first-child) .wp-block-button__link {
    border: 1px solid rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.10);
    color: #FFFFFF;
}

/* ===== Pritto Full Width Hero Slider ===== */

.pritto-hero-slider {
    position: relative;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
    overflow: hidden;
}

.pritto-hero-slide {
    min-height: 620px !important;
    margin: 0 !important;
}

.pritto-hero-slide .wp-block-cover__inner-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 8vw;
    padding-right: 8vw;
}

.pritto-hero-slider.is-ready .pritto-hero-slide {
    display: none;
}

.pritto-hero-slider.is-ready .pritto-hero-slide.is-active {
    display: flex;
    animation: prittoHeroFade 420ms ease;
}

@keyframes prittoHeroFade {
    from { opacity: .25; }
    to { opacity: 1; }
}

.pritto-hero-arrow {
    position: absolute;
    z-index: 20;
    top: 50%;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    background: rgba(18,61,53,.40);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 180ms ease;
}

.pritto-hero-arrow:hover {
    background: #0C3329;
}

.pritto-hero-prev {
    left: 28px;
}

.pritto-hero-next {
    right: 28px;
}

.pritto-hero-dots {
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: 24px;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}

.pritto-hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.pritto-hero-dot.is-active {
    background: #fff;
}

/* Hero slider final layout cleanup */
.pritto-hero-slider {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: 0 !important;
    padding: 0 !important;
}

.pritto-hero-slider .pritto-hero-arrow {
    position: absolute !important;
    top: 50% !important;
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(18, 61, 53, 0.52) !important;
    color: #fff !important;
    line-height: 1 !important;
}

.pritto-hero-slider .pritto-hero-prev {
    left: 32px !important;
    right: auto !important;
}

.pritto-hero-slider .pritto-hero-next {
    right: 32px !important;
    left: auto !important;
}

/* Homepage: remove space between navigation and hero banner */
.home .site-main,
.home .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background: #FFFFFF;
}

.home .pritto-hero-slider {
    margin-top: 0 !important;
}

/* Hero slider dots - centered */
.pritto-hero-slider .pritto-hero-dots {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 24px !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    width: auto !important;
}

/* ===== Popular Right Now ===== */

.pritto-popular-now {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 88px 64px 96px;
    background: #FFFFFF;
    box-shadow: 0 0 0 100vmax #FFFFFF;
    clip-path: inset(0 -100vmax);
}

.pritto-popular-now > .wp-block-heading {
    margin: 0 0 46px;
    color: #23302C;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.015em;
}

/* ===== Shop by Price ===== */

.pritto-price-shop {
    max-width: 1600px;
    margin: 0 auto;
    padding: 88px 64px 92px;
    background: var(--pritto-warm-white);
    box-shadow: 0 0 0 100vmax var(--pritto-warm-white);
    clip-path: inset(0 -100vmax);
}

.pritto-price-shop__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 38px;
}

.pritto-price-shop__head h2 {
    margin: 0 0 9px;
    color: #23302C;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.pritto-price-shop__head p {
    margin: 0;
    color: #74807C;
    font-size: 16px;
}

.pritto-price-shop__all {
    flex: 0 0 auto;
    color: #0C3329 !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
}

.pritto-price-shop__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.pritto-price-card {
    position: relative;
    min-height: 178px;
    padding: 30px 30px 28px;
    overflow: hidden;
    border: 1px solid #E1E5E2;
    border-radius: 10px;
    background: #FFFFFF;
    color: #23302C !important;
    text-decoration: none !important;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.pritto-price-card:hover {
    transform: translateY(-3px);
    border-color: #0C3329;
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(18,61,53,.08);
}

.pritto-price-card__label {
    display: block;
    margin-bottom: 13px;
    color: #0C3329;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.2;
}

.pritto-price-card__note {
    display: block;
    max-width: 180px;
    color: #74807C;
    font-size: 14px;
    line-height: 1.5;
}

.pritto-price-card__arrow {
    position: absolute;
    right: 28px;
    bottom: 25px;
    color: #0C3329;
    font-size: 22px;
    transition: transform 180ms ease;
}

.pritto-price-card:hover .pritto-price-card__arrow {
    transform: translateX(4px);
}

.pritto-price-shop__disclaimer {
    margin: 18px 0 0;
    color: #8A9490;
    font-size: 12.5px;
    line-height: 1.5;
}

/* ===== How Pritto Helps ===== */

.pritto-help {
    max-width: 1600px;
    margin: 0 auto;
    padding: 96px 64px 104px;
    background: #FFFFFF;
    box-shadow: 0 0 0 100vmax #FFFFFF;
    clip-path: inset(0 -100vmax);
}

.pritto-help__head {
    margin-bottom: 42px;
}

.pritto-help__head h2 {
    margin: 0 0 10px;
    color: #23302C;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.pritto-help__head p {
    margin: 0;
    color: #74807C;
    font-size: 16px;
}

.pritto-help__layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 22px;
}

.pritto-help-feature {
    position: relative;
    min-height: 510px;
    padding: 54px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 12px;
    background: #0C3329;
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.pritto-help-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(18,61,53,.15);
}

.pritto-help-eyebrow {
    margin-bottom: auto;
    color: rgba(255,255,255,.68);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
}

.pritto-help-feature h3 {
    max-width: 500px;
    margin: 0 0 18px;
    color: #FFFFFF;
    font-size: 42px;
    line-height: 1.08;
}

.pritto-help-feature p {
    max-width: 530px;
    margin: 0 0 28px;
    color: rgba(255,255,255,.80);
    font-size: 17px;
    line-height: 1.65;
}

.pritto-help-cta {
    font-size: 15px;
    font-weight: 600;
}

.pritto-help-services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.pritto-help-card {
    position: relative;
    min-height: 155px;
    padding: 28px 32px;
    border: 1px solid #E1E5E2;
    border-radius: 10px;
    background: #FFFFFF;
    color: #23302C !important;
    text-decoration: none !important;
    transition:
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.pritto-help-card:hover {
    border-color: #0C3329;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(18,61,53,.07);
}

.pritto-help-number {
    position: absolute;
    top: 28px;
    right: 30px;
    color: #A2ACA8;
    font-size: 12px;
    font-weight: 600;
}

.pritto-help-card h3 {
    max-width: 75%;
    margin: 0 0 10px;
    color: #23302C;
    font-size: 21px;
    line-height: 1.25;
}

.pritto-help-card p {
    max-width: 82%;
    margin: 0 0 13px;
    color: #74807C;
    font-size: 14px;
    line-height: 1.55;
}

.pritto-help-card > span:last-child {
    color: #0C3329;
    font-size: 13px;
    font-weight: 600;
}

/* How Pritto Helps - CTA buttons */
.pritto-help-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.pritto-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition:
        background 180ms ease,
        color 180ms ease,
        border-color 180ms ease;
}

.pritto-help-btn-primary {
    border: 1px solid #FFFFFF;
    background: #FFFFFF;
    color: #0C3329 !important;
}

.pritto-help-btn-primary:hover {
    background: #FAF8F3;
    color: #0C3329 !important;
}

.pritto-help-btn-secondary {
    border: 1px solid rgba(255,255,255,.72);
    background: transparent;
    color: #FFFFFF !important;
}

.pritto-help-btn-secondary:hover {
    border-color: #FFFFFF;
    background: rgba(255,255,255,.10);
    color: #FFFFFF !important;
}

/* Clean service cards */
.pritto-help-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pritto-help-card h3 {
    max-width: 100%;
}

.pritto-help-card p {
    max-width: 92%;
    margin-bottom: 0;
}

/* ===== Responsive visual foundation ===== */

@media (max-width: 999px) {
    #offcanvas .pritto-header-tools {
        display: grid;
        width: 100%;
        gap: 18px;
        margin-bottom: 28px;
    }

    #offcanvas .pritto-header-search {
        width: 100%;
        height: 46px;
    }

    #offcanvas .pritto-header-actions {
        justify-content: flex-start;
        gap: 22px;
    }

    #offcanvas .pritto-header-action,
    #offcanvas .pritto-header-action:visited {
        color: rgba(255, 255, 255, 0.82) !important;
    }

    #offcanvas .pritto-header-action:hover,
    #offcanvas .pritto-header-action:focus {
        color: #FFFFFF !important;
    }

    #offcanvas .mobile-menu a {
        font-size: 17px;
        font-weight: 600;
        letter-spacing: -0.015em;
    }

    .home .pritto-hero-slide {
        min-height: 560px !important;
    }

    .pritto-hero-slide .wp-block-cover__inner-container {
        padding-right: 7vw;
        padding-left: 7vw;
    }

    .pritto-hero-slide h1,
    .pritto-hero-slide h2 {
        max-width: 620px;
        font-size: clamp(42px, 7vw, 54px) !important;
    }

    .pritto-popular-now,
    .pritto-price-shop,
    .pritto-help {
        padding-right: 32px !important;
        padding-left: 32px !important;
    }

    .pritto-price-shop__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pritto-help__layout {
        grid-template-columns: 1fr;
    }

    .pritto-help-feature {
        min-height: 430px;
    }

    #footer [data-row="middle"] .ct-container {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        row-gap: 42px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 15px;
        line-height: 1.6;
    }

    #header [data-row="middle"] {
        border-bottom: 1px solid var(--pritto-border);
        background: rgba(255, 255, 255, 0.98);
    }

    #header [data-row="middle"] .ct-container {
        min-height: 72px;
        padding-right: 20px;
        padding-left: 20px;
    }

    #header .site-logo-container img {
        max-width: min(232px, 68vw);
    }

    .home .pritto-hero-slide {
        min-height: 510px !important;
    }

    .pritto-hero-slide .wp-block-cover__image-background {
        object-position: 58% center;
    }

    .pritto-hero-slide .wp-block-cover__inner-container {
        padding: 44px 30px 54px;
    }

    .pritto-hero-slide h1,
    .pritto-hero-slide h2 {
        max-width: 330px;
        margin-bottom: 18px;
        font-size: clamp(37px, 11vw, 46px) !important;
        line-height: 1.06;
        letter-spacing: -0.035em;
    }

    .pritto-hero-slide p,
    .pritto-hero-slide .wp-block-column p {
        max-width: 310px;
        margin-bottom: 24px;
        font-size: 16px !important;
        line-height: 1.55;
    }

    .pritto-hero-slide .wp-block-group,
    .pritto-hero-slide .wp-block-columns,
    .pritto-hero-slide .wp-block-buttons {
        width: 100%;
        max-width: 100%;
    }

    .pritto-hero-slide .wp-block-group {
        display: block;
    }

    .pritto-hero-slide .wp-block-buttons {
        align-items: stretch;
        gap: 10px;
    }

    .pritto-hero-slide .wp-block-button,
    .pritto-hero-slide .wp-block-button__link {
        width: 100%;
    }

    .pritto-hero-slider .pritto-hero-arrow {
        top: auto !important;
        bottom: 20px !important;
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        transform: none !important;
    }

    .pritto-hero-slider .pritto-hero-prev {
        left: 20px !important;
    }

    .pritto-hero-slider .pritto-hero-next {
        right: 20px !important;
    }

    .pritto-hero-slider .pritto-hero-dots {
        bottom: 34px !important;
    }

    .pritto-popular-now,
    .pritto-price-shop,
    .pritto-help {
        width: 100%;
        max-width: 100%;
        padding: 64px 20px !important;
    }

    .pritto-popular-now > .wp-block-heading,
    .pritto-price-shop__head h2,
    .pritto-help__head h2 {
        font-size: 30px !important;
        line-height: 1.15;
        letter-spacing: -0.03em;
    }

    .pritto-popular-now > .wp-block-heading {
        margin-bottom: 28px !important;
    }

    .pritto-popular-now .wc-block-product-template {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 28px 14px !important;
    }

    .pritto-price-shop__head {
        display: grid;
        gap: 14px;
        margin-bottom: 26px;
    }

    .pritto-price-shop__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pritto-price-card {
        min-height: 132px;
        padding: 24px;
    }

    .pritto-price-card__label {
        font-size: 23px;
    }

    .pritto-help__head {
        margin-bottom: 28px;
    }

    .pritto-help__layout,
    .pritto-help-services {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .pritto-help-feature {
        width: 100%;
        min-width: 0;
        min-height: 380px;
        padding: 30px 24px;
        border-radius: 10px;
    }

    .pritto-help-feature h3 {
        max-width: 100%;
        font-size: 31px;
        line-height: 1.12;
    }

    .pritto-help-feature p {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.6;
    }

    .pritto-help-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .pritto-help-btn {
        width: 100%;
        padding-right: 16px;
        padding-left: 16px;
        text-align: center;
    }

    .pritto-help-card {
        width: 100%;
        min-width: 0;
        min-height: 0;
        padding: 24px;
    }

    .pritto-help-card h3,
    .pritto-help-card p {
        max-width: calc(100% - 28px);
    }

    #footer .ct-footer [data-row="middle"] {
        padding-top: 52px;
        padding-bottom: 44px;
    }

    #footer .wp-block-heading {
        margin-bottom: 16px;
        font-size: 20px;
    }

    #footer p,
    #footer li {
        font-size: 14px;
        line-height: 1.65;
    }

    #footer [data-row="middle"] .ct-container {
        grid-template-columns: 1fr !important;
        row-gap: 28px;
    }

    .pritto-content-page {
        padding: 8px 0 64px;
    }

    .pritto-content-page > h2 {
        font-size: 36px;
    }

    .pritto-content-page > h3 {
        margin-top: 38px;
        font-size: 22px;
    }

    .pritto-content-page > p {
        font-size: 16px;
        line-height: 1.7;
    }

    .pritto-account-dashboard {
        margin-top: 26px;
        padding: 24px 20px;
    }

    .pritto-account-dashboard__actions,
    .pritto-account-dashboard__actions a {
        width: 100%;
    }
}


/* ==================================================
   Approved header and footer direction
   ================================================== */

[data-header*="type-1"] .ct-header [data-row*="middle"] {
    --height: 76px;
    height: 76px !important;
    min-height: 76px !important;
    border-bottom: 1px solid rgba(12, 51, 41, .09);
    background: #fff;
}

[data-header*="type-1"] .ct-header [data-row*="middle"] > div {
    min-height: 76px !important;
}

[data-header*="type-1"] .ct-header [data-id="logo"] img {
    width: 178px !important;
    max-width: 178px !important;
}

[data-header*="type-1"] .ct-header-search {
    gap: 0;
}

[data-header*="type-1"] .ct-header-search .ct-label {
    display: inline !important;
    color: #172720;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

[data-header*="type-1"] .ct-header-search .ct-icon {
    display: none;
}

#header [data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a,
#header [data-id="menu"] > ul > li > a {
    color: #172720;
    font-family: var(--pritto-font-family);
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: normal !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

[data-header*="type-1"] .ct-header [data-row="middle"] > .ct-container {
    width: auto !important;
    max-width: none !important;
    margin-inline: 5vw !important;
}

[data-header*="type-1"] .ct-header [data-id="menu"] {
    --menu-items-spacing: 0px;
    width: auto !important;
    margin: 0 30px 0 auto !important;
    flex: 0 0 auto !important;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul {
    gap: 32px;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a {
    padding-inline: 0 !important;
}

[data-header*="type-1"] .ct-header [data-row*="middle"] [data-column="end"] {
    gap: 10px !important;
}

[data-header*="type-1"] .ct-header [data-id="search"] {
    margin-right: 11px !important;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a:hover {
    color: #0c3329;
}

.pritto-header-actions {
    gap: 21px;
}

.pritto-header-actions .pritto-header-action {
    color: #172720;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.pritto-header-actions .pritto-header-quote {
    padding: 11px 17px;
    border-radius: 999px;
    background: #0c3329;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
}

[data-footer*="type-1"] .ct-footer {
    background: #07251f !important;
    color: #bed0c9 !important;
}

[data-footer*="type-1"] .ct-footer [data-row] {
    background: transparent !important;
    background-color: transparent !important;
}

[data-footer*="type-1"] .ct-footer a,
[data-footer*="type-1"] .ct-footer p {
    color: #bed0c9 !important;
}

[data-footer*="type-1"] .ct-footer a:hover {
    color: #fff !important;
}

[data-footer*="type-1"] .ct-footer [data-row="top"] > .ct-container {
    width: auto !important;
    max-width: none !important;
    margin-inline: 6vw !important;
    padding: 90px 0 75px;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.pritto-footer-lead {
    margin: 0 !important;
    display: grid;
    grid-template-columns: 220px 1fr auto;
    align-items: center;
    gap: 50px;
}

.pritto-footer-lead figure {
    width: 190px;
    margin: 0;
}

.pritto-footer-lead img {
    filter: brightness(0) invert(1);
}

.pritto-footer-lead h2 {
    margin: 0 !important;
    color: #fff !important;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.015em;
}

[data-footer*="type-1"] .ct-footer .pritto-footer-lead .wp-block-button__link {
    width: 186.4375px;
    min-width: 186.4375px;
    height: 53px;
    min-height: 53px;
    padding: 0 20px;
    border-radius: 999px;
    background: #c7f36e;
    color: #0c3329 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    white-space: nowrap;
}

[data-footer*="type-1"] .ct-footer [data-row="middle"] > .ct-container {
    width: auto !important;
    max-width: none !important;
    margin-inline: 6vw !important;
    padding: 64px 0 65px;
    grid-template-columns: 1.65fr .8fr .8fr 1.1fr;
    gap: 50px;
}

[data-footer*="type-1"] .ct-footer .widget-title,
[data-footer*="type-1"] .ct-footer h2 {
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
}

#footer [data-row="middle"] .ct-widget > h2,
#footer [data-row="middle"] .pritto-footer-contact h2 {
    margin: 0 0 20px !important;
    color: #fff !important;
    font-family: var(--pritto-font-family);
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: normal !important;
}

#footer [data-row="middle"] .ct-widget > p:empty {
    display: none;
}

[data-footer*="type-1"] .ct-footer .pritto-footer-lead h2 {
    color: #fff !important;
    font-family: var(--pritto-font-family);
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -.015em;
}

[data-footer*="type-1"] .ct-footer .ct-widget {
    font-size: 13px;
    line-height: 1.55;
}

.pritto-footer-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

#footer .pritto-footer-categories {
    margin: 0 !important;
}

.pritto-footer-categories__column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pritto-footer-categories a,
.pritto-footer-links a,
.pritto-footer-contact a {
    font-size: 13px;
    line-height: normal;
}

.pritto-footer-links {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

#footer .pritto-footer-links li,
#footer .pritto-footer-contact p {
    margin: 0 !important;
}

.pritto-footer-contact p {
    margin: 0 0 12px;
}

.pritto-footer-contact p > a {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
}

.pritto-footer-contact p > a::before {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    flex: 0 0 15px;
    background: #c7f36e;
    content: "";
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
}

.pritto-footer-phone a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8 9.73a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8 9.73a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.pritto-footer-email a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/g%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/g%3E%3C/svg%3E");
}

.pritto-footer-address a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
}

.pritto-footer-address {
    margin-top: 15px !important;
    line-height: 1.55;
}

.pritto-footer-meta {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    color: #9eb6ad;
    font-size: 10px;
    letter-spacing: .04em;
}

[data-footer*="type-1"] .ct-footer [data-row="bottom"] > .ct-container {
    width: auto !important;
    max-width: none !important;
    margin-inline: 6vw !important;
    height: 38px;
    min-height: 38px;
    padding: 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .13);
    grid-template-columns: 1fr auto;
}

[data-footer*="type-1"] [data-id="copyright"] {
    color: #9eb6ad;
    font-size: 10px;
}

#footer [data-id="copyright"],
#footer .pritto-footer-meta,
#footer .pritto-footer-meta span {
    font-family: var(--pritto-font-family);
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: normal !important;
}

#footer [data-id="copyright"],
#footer .pritto-footer-meta {
    height: 15px;
    align-self: start;
}

@media (max-width: 999px) {
    [data-header*="type-1"] .ct-header [data-row*="middle"] {
        --height: 64px;
        height: 64px !important;
        min-height: 64px !important;
    }

    [data-header*="type-1"] .ct-header [data-row*="middle"] > div {
        min-height: 64px !important;
    }

    [data-header*="type-1"] .ct-header [data-id="text"] .pritto-header-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    [data-header*="type-1"] .ct-header [data-id="text"] .pritto-header-quote {
        display: inline-flex;
    }

    .pritto-footer-lead {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .pritto-footer-lead h2 {
        font-size: 30px;
    }

    .pritto-footer-lead .wp-block-button__link {
        width: 100%;
    }

    [data-footer*="type-1"] .ct-footer [data-row="middle"] > .ct-container {
        grid-template-columns: 1fr 1fr;
        gap: 42px 26px;
    }

    [data-footer*="type-1"] .ct-footer [data-column="widget-area-2"] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 689px) {
    [data-footer*="type-1"] .ct-footer [data-row="top"] > .ct-container,
    [data-footer*="type-1"] .ct-footer [data-row="middle"] > .ct-container,
    [data-footer*="type-1"] .ct-footer [data-row="bottom"] > .ct-container {
        margin-inline: 0 !important;
        padding-left: 20px;
        padding-right: 20px;
    }

    [data-footer*="type-1"] .ct-footer [data-row="middle"] > .ct-container {
        grid-template-columns: 1fr 1fr;
    }

    [data-footer*="type-1"] .ct-footer [data-column="widget-area-5"] {
        grid-column: 1 / -1;
    }

    [data-footer*="type-1"] .ct-footer [data-row="bottom"] > .ct-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pritto-footer-meta {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* About and contact pages */
.pritto-about-page .pritto-capability-grid {
    margin-top: 34px;
}

.pritto-credentials-band {
    margin-top: 80px;
    padding: 30px 34px;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(140px, .6fr));
    gap: 24px;
    align-items: center;
    border: 1px solid #d7e3de;
    border-radius: 24px;
    background: #f3f8f5;
}

.pritto-credentials-band h2,
.pritto-credentials-band p {
    margin: 0;
}

.pritto-credentials-band h2 {
    color: #13231e;
    font-size: 25px;
    letter-spacing: -.025em;
}

.pritto-credential-label {
    display: block;
    margin-bottom: 6px;
    color: #7a8c85;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.pritto-credential-value {
    color: #13231e;
    font-size: 15px;
    font-weight: 700;
}

.pritto-contact-options {
    margin-top: 88px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pritto-contact-option {
    min-height: 220px;
    padding: 28px;
    border: 1px solid #dce6e1;
    border-radius: 24px;
    background: #fff;
}

.pritto-contact-option:nth-child(2) {
    background: #f3f8f5;
}

.pritto-contact-option h2 {
    margin: 50px 0 10px;
    color: #13231e;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
}

.pritto-contact-option p {
    margin: 0;
    color: #6b7b75;
    font-size: 15px;
    line-height: 1.6;
}

.pritto-contact-option a {
    color: #0c3329;
    font-weight: 700;
}

.pritto-contact-symbol {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #c3f164;
    color: #0c3329;
    font-size: 17px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .pritto-credentials-band {
        grid-template-columns: 1fr 1fr;
    }

    .pritto-credentials-band > :first-child {
        grid-column: 1 / -1;
    }

    .pritto-contact-options {
        grid-template-columns: 1fr;
    }

    .pritto-contact-option {
        min-height: 0;
    }
}

@media (max-width: 689px) {
    .pritto-credentials-band {
        margin-top: 64px;
        padding: 24px;
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .pritto-credentials-band > :first-child {
        grid-column: auto;
    }

    .pritto-contact-options {
        margin-top: 64px;
    }

    .pritto-contact-option {
        padding: 24px;
        border-radius: 20px;
    }

    .pritto-contact-option h2 {
        margin-top: 34px;
    }
}

/* Account access follows the same restrained Pritto visual system. */
body.woocommerce-account:not(.logged-in) #main > .ct-container {
    width: auto;
    max-width: none;
    margin-inline: 5vw;
    padding-top: 62px;
    padding-bottom: 90px;
}

body.woocommerce-account:not(.logged-in) .hero-section .page-title {
    color: #13231e;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register {
    padding: 30px !important;
    border: 1px solid #dce6e1 !important;
    border-radius: 22px !important;
    background: #fff;
}

body.woocommerce-account:not(.logged-in) .woocommerce h2 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login input,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register input {
    min-height: 48px;
    border-color: #d6e1dc !important;
    border-radius: 10px !important;
    background: #fbfdfc !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce form .button,
body.woocommerce-account:not(.logged-in) .woocommerce-button,
body.woocommerce-account:not(.logged-in) button[type="submit"] {
    min-height: 46px;
    padding-inline: 22px;
    border-color: #0c3329 !important;
    border-radius: 999px !important;
    background: #0c3329 !important;
    color: #fff !important;
    box-shadow: none !important;
}

body.woocommerce-account:not(.logged-in) a {
    color: #0c3329;
}

@media (max-width: 689px) {
    h1,
    body.woocommerce-account:not(.logged-in) .hero-section .page-title {
        font-size: 32px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 19px;
    }

    body.woocommerce-account:not(.logged-in) #main > .ct-container {
        margin-inline: 20px;
    }

    body.woocommerce-account:not(.logged-in) .woocommerce-form-login,
    body.woocommerce-account:not(.logged-in) .woocommerce-form-register {
        padding: 22px !important;
        border-radius: 18px !important;
    }

    .pritto-service-section h2,
    [data-footer*="type-1"] .ct-footer .pritto-footer-lead h2 {
        font-size: 26px !important;
    }

    .pritto-capability-card h3,
    .pritto-contact-option h2 {
        font-size: 19px;
    }
}

/* Approved final header/footer cascade. */
@media (min-width: 1000px) {
    [data-header*="type-1"] .ct-header [data-row="middle"],
    [data-header*="type-1"] .ct-header [data-row="middle"] > div {
        min-height: 84px !important;
    }

    #header .menu {
        gap: 34px;
    }

    #header .menu > li > a {
        font-size: 14px !important;
        font-weight: 500 !important;
        letter-spacing: 0;
    }
}

[data-footer*="type-1"] .ct-footer [data-row="middle"] > .ct-container {
    grid-template-columns: 1.65fr .8fr 1.1fr !important;
    gap: 80px;
}

@media (max-width: 999px) {
    [data-footer*="type-1"] .ct-footer [data-row="middle"] > .ct-container {
        grid-template-columns: 1.4fr 1fr !important;
        gap: 42px 32px;
    }

    [data-footer*="type-1"] .ct-footer [data-column="widget-area-2"] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 689px) {
    [data-footer*="type-1"] .ct-footer [data-row="middle"] > .ct-container {
        grid-template-columns: 1fr !important;
    }

    [data-footer*="type-1"] .ct-footer [data-column="widget-area-2"] {
        grid-column: auto;
    }

    [data-footer*="type-1"] .ct-footer [data-row="bottom"] > .ct-container {
        height: auto !important;
        min-height: 0 !important;
        padding: 18px 20px !important;
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    #footer [data-row="bottom"] [data-column="widget-area-6"] {
        display: block !important;
    }

    #footer .pritto-footer-legal {
        justify-content: flex-start;
    }
}


