/* Sopwith Prestige 1.1.1 — targeted to the live SP10 markup inspected 22 October 2026.
 * Strongly scoped overrides are intentional: PremiumPress uses utility classes
 * with !important and Elementor may assign explicit widget colours.
 * No filters are applied to artwork, logos, garments or colour swatches.
 */
body.sopwith-prestige {
    --sw-navy: #101c2d;
    --sw-ivory: #f5f1e9;
    --sw-gold: #b39a64;
    --sw-charcoal: #23262b;
    --sw-stone: #ddd7cb;
    --sw-white: #ffffff;
    --sw-muted: #62615c;
    --sw-heading-font: Georgia, "Times New Roman", serif;
    background-color: var(--sw-ivory);
    color: var(--sw-charcoal);
}

/* Existing site fonts are kept for body copy and icons; headings use a local serif. */
body.sopwith-prestige h1,
body.sopwith-prestige h2,
body.sopwith-prestige .elementor-heading-title {
    font-family: var(--sw-heading-font);
    font-weight: 400;
    letter-spacing: -.025em;
}
body.sopwith-prestige :where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid var(--sw-gold);
    outline-offset: 4px;
}

/* Main desktop header and utility row. Original logo files remain untouched. */
body.sopwith-prestige header[data-block-id="header"],
body.sopwith-prestige header[data-block-id="header"] > .container,
body.sopwith-prestige header[data-block-id="header"] .elementor_topmenu {
    background-color: var(--sw-navy) !important;
    color: var(--sw-ivory) !important;
    border-color: var(--sw-gold) !important;
}
body.sopwith-prestige header[data-block-id="header"] .elementor_topmenu {
    border-bottom-color: rgba(179, 154, 100, .3) !important;
}
body.sopwith-prestige header[data-block-id="header"] > .container {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}
body.sopwith-prestige header[data-block-id="header"] [ppt-nav] a,
body.sopwith-prestige header[data-block-id="header"] .text-dark,
body.sopwith-prestige header[data-block-id="header"] .text-black {
    color: var(--sw-ivory) !important;
}
body.sopwith-prestige header[data-block-id="header"] [ppt-nav] a:hover,
body.sopwith-prestige header[data-block-id="header"] [ppt-nav] a:focus-visible {
    color: var(--sw-gold) !important;
}
body.sopwith-prestige header[data-block-id="header"] [ppt-nav].spacing > ul > li > a {
    font-weight: 500;
    letter-spacing: .06em;
}
body.sopwith-prestige header[data-block-id="header"] .navbar-brand-light,
body.sopwith-prestige header[data-block-id="header"] .navbar-brand-dark {
    max-width: min(210px, 65vw);
    height: auto;
}
body.sopwith-prestige header[data-block-id="header"] .ppt-icons-social a {
    background: transparent !important;
    color: var(--sw-ivory) !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
body.sopwith-prestige header[data-block-id="header"] .ppt-icons-social a:hover {
    color: var(--sw-gold) !important;
}

/* Submenus keep readable light surfaces rather than inheriting light-on-light text. */
body.sopwith-prestige header[data-block-id="header"] .dropdown-menu,
body.sopwith-prestige [data-ppt-blockid="footer1"] .dropdown-menu {
    background: var(--sw-ivory) !important;
    border: 1px solid var(--sw-stone);
    border-radius: 0;
}
body.sopwith-prestige header[data-block-id="header"] .dropdown-menu a,
body.sopwith-prestige [data-ppt-blockid="footer1"] .dropdown-menu a {
    color: var(--sw-navy) !important;
}
body.sopwith-prestige header[data-block-id="header"] .dropdown-menu a:hover,
body.sopwith-prestige [data-ppt-blockid="footer1"] .dropdown-menu a:hover {
    color: var(--sw-navy) !important;
    background: var(--sw-stone) !important;
}

/* Home shopping sections. Hero images retain their current image-widget layout. */
body.sopwith-prestige.home .elementor-1650,
body.sopwith-prestige.home .elementor-1650 > .elementor-section,
body.sopwith-prestige [data-ppt-blockid^="listings"] {
    background-color: var(--sw-ivory);
}
body.sopwith-prestige [data-ppt-blockid^="listings"] [data-ppt-title] {
    color: var(--sw-navy);
    font-size: clamp(1.9rem, 3vw, 2.75rem);
    line-height: 1.15;
}
body.sopwith-prestige [data-ppt-blockid^="listings"] [data-ppt-subtitle] {
    color: var(--sw-muted);
}
body.sopwith-prestige [ppt-box][data-pid] {
    color: var(--sw-charcoal);
    background: var(--sw-white);
    border: 1px solid var(--sw-stone);
    border-radius: 0 !important;
    box-shadow: none !important;
}
body.sopwith-prestige [ppt-box][data-pid]:hover {
    border-color: var(--sw-gold);
    box-shadow: none !important;
}
body.sopwith-prestige [ppt-box][data-pid] figure {
    margin: 0;
    background: var(--sw-white);
}
body.sopwith-prestige [ppt-box][data-pid] figure > .position-relative.overflow-hidden {
    height: auto !important;
    aspect-ratio: 4 / 5;
    border-radius: 0 !important;
}
body.sopwith-prestige [ppt-box][data-pid] figure .bg-image {
    background-color: var(--sw-white);
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
body.sopwith-prestige [ppt-box][data-pid] ._content,
body.sopwith-prestige [ppt-box][data-pid] ._footer {
    border-color: var(--sw-stone) !important;
    padding-left: 14px;
    padding-right: 14px;
}
body.sopwith-prestige [ppt-box][data-pid] ._adtitle,
body.sopwith-prestige [ppt-box][data-pid] .ppt-price {
    color: var(--sw-navy) !important;
}
body.sopwith-prestige [ppt-box][data-pid] ._adtitle {
    font-weight: 500;
}
body.sopwith-prestige [ppt-box][data-pid] .link-dark a {
    color: var(--sw-muted) !important;
}
body.sopwith-prestige [ppt-box][data-pid] .text-primary {
    color: var(--sw-navy) !important;
}

/* Shop actions: no overrides of warning/danger/status classes or payment widgets. */
body.sopwith-prestige .btn-system,
body.sopwith-prestige .btn-primary {
    background-color: var(--sw-navy) !important;
    border: 1px solid var(--sw-gold) !important;
    color: var(--sw-ivory) !important;
    border-radius: 2px !important;
    box-shadow: none !important;
}
body.sopwith-prestige .btn-system:hover,
body.sopwith-prestige .btn-system:focus-visible,
body.sopwith-prestige .btn-primary:hover,
body.sopwith-prestige .btn-primary:focus-visible {
    background-color: var(--sw-gold) !important;
    color: var(--sw-navy) !important;
}
body.sopwith-prestige .pagination .page-link {
    color: var(--sw-navy);
    border-color: var(--sw-stone);
}
body.sopwith-prestige .pagination .active .page-link {
    background: var(--sw-navy);
    color: var(--sw-ivory);
    border-color: var(--sw-navy);
}

/* Current free-account strip and PremiumPress footer1 block. */
body.sopwith-prestige [data-ppt-blockid="text122"],
body.sopwith-prestige [data-ppt-blockid="footer1"],
body.sopwith-prestige [data-ppt-blockid="footer1"] > div {
    background-color: var(--sw-navy) !important;
    color: var(--sw-ivory) !important;
}
body.sopwith-prestige [data-ppt-blockid="text122"] {
    border-top: 1px solid var(--sw-gold);
    border-bottom: 1px solid var(--sw-gold);
}
body.sopwith-prestige [data-ppt-blockid="text122"] .btn-light {
    background: transparent !important;
    color: var(--sw-ivory) !important;
    border: 1px solid var(--sw-gold) !important;
    border-radius: 2px !important;
}
body.sopwith-prestige [data-ppt-blockid="text122"] .btn-light:hover {
    background: var(--sw-gold) !important;
    color: var(--sw-navy) !important;
}
body.sopwith-prestige [data-ppt-blockid="footer1"] a,
body.sopwith-prestige [data-ppt-blockid="footer1"] .text-dark,
body.sopwith-prestige [data-ppt-blockid="footer1"] .text-black,
body.sopwith-prestige [data-ppt-blockid="footer1"] .text-primary {
    color: var(--sw-ivory) !important;
}
body.sopwith-prestige [data-ppt-blockid="footer1"] a:hover {
    color: var(--sw-gold) !important;
}
body.sopwith-prestige [data-ppt-blockid="footer1"] [data-ppt-footer-menutitle1],
body.sopwith-prestige [data-ppt-blockid="footer1"] [data-ppt-footer-menutitle2] {
    color: var(--sw-gold);
    letter-spacing: .06em;
}
body.sopwith-prestige [data-ppt-blockid="footer1"] .ppt-icons-social a {
    background: transparent !important;
    border-color: var(--sw-gold) !important;
}
body.sopwith-prestige [data-ppt-blockid="footer1"] input:is([type="email"], [type="text"]) {
    background: var(--sw-navy) !important;
    color: var(--sw-ivory) !important;
    border: 1px solid var(--sw-gold) !important;
    border-radius: 0;
}
body.sopwith-prestige [data-ppt-blockid="footer1"] input:is([type="email"], [type="text"])::placeholder {
    color: var(--sw-ivory);
    opacity: .8;
}
body.sopwith-prestige [data-ppt-blockid="footer1"] button[type="submit"] {
    color: var(--sw-ivory) !important;
    background: var(--sw-navy) !important;
    border: 1px solid var(--sw-gold) !important;
}

/* Optional Elementor classes for manually assigned sections in future edits. */
body.sopwith-prestige .sopwith-ivory {
    background-color: var(--sw-ivory) !important;
    color: var(--sw-charcoal);
}
body.sopwith-prestige .sopwith-dark {
    background-color: var(--sw-navy) !important;
    color: var(--sw-ivory);
}
body.sopwith-prestige .sopwith-dark :is(h1, h2, h3, p, .elementor-heading-title) {
    color: var(--sw-ivory) !important;
}
body.sopwith-prestige .sopwith-dark a {
    color: var(--sw-ivory);
}
body.sopwith-prestige .sopwith-hero img {
    width: 100%;
    height: auto !important;
    object-fit: contain;
}

/* Optional new row only. No existing page/template content is moved or replaced. */
body.sopwith-prestige .sopwith-collection-banners {
    box-sizing: border-box;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px 40px;
    background: var(--sw-ivory);
    color: var(--sw-charcoal);
}
body.sopwith-prestige .swcb-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
body.sopwith-prestige .swcb-card {
    min-width: 0;
    margin: 0;
    background: var(--sw-ivory);
}
body.sopwith-prestige .swcb-image {
    display: block;
    overflow: hidden;
    background: var(--sw-white);
    aspect-ratio: 4 / 3;
}
body.sopwith-prestige .swcb-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 0;
}
body.sopwith-prestige .swcb-jackets .swcb-image img {
    object-position: 50% 20%;
}
body.sopwith-prestige .swcb-caps .swcb-image img {
    object-position: 50% 45%;
}
body.sopwith-prestige .swcb-caption {
    padding: 16px 0 0;
}
body.sopwith-prestige .swcb-caption h2 {
    margin: 0 0 8px;
    font-family: var(--sw-heading-font);
    font-size: clamp(1.6rem, 2.5vw, 2.35rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.025em;
}
body.sopwith-prestige .swcb-caption h2 a {
    color: var(--sw-navy);
    text-decoration: none;
}
body.sopwith-prestige .swcb-caption p {
    margin: 0 0 16px;
    color: var(--sw-charcoal);
    font-size: 1rem;
    line-height: 1.5;
}
body.sopwith-prestige .swcb-link {
    display: inline-block;
    padding: 0 0 6px;
    border-bottom: 1px solid var(--sw-gold);
    color: var(--sw-navy);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    line-height: 1.5;
    text-transform: uppercase;
    text-decoration: none;
}
body.sopwith-prestige .swcb-link:hover,
body.sopwith-prestige .swcb-link:focus-visible {
    color: var(--sw-navy);
    border-bottom-color: var(--sw-navy);
}

@media (max-width: 767px) {
    body.sopwith-prestige .swcb-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
    body.sopwith-prestige header[data-block-id="header"] > .container {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
    body.sopwith-prestige #mobile-bottom-bar {
        background-color: var(--sw-navy) !important;
        color: var(--sw-ivory) !important;
        border-top: 1px solid var(--sw-gold);
    }
    body.sopwith-prestige #mobile-bottom-bar a,
    body.sopwith-prestige #mobile-bottom-bar i {
        color: var(--sw-ivory) !important;
    }
    body.sopwith-prestige [data-ppt-blockid^="listings"] .show-mobile a > .position-relative {
        background-color: var(--sw-white);
        border-color: var(--sw-stone) !important;
    }
    body.sopwith-prestige [data-ppt-blockid^="listings"] .show-mobile .bg-image {
        background-color: var(--sw-white);
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
}
