/*
Theme Name: SalesExperte
Theme URI: https://salesexperte.com/
Author: BSC
Description: Lightweight SalesExperte storefront theme shell for WooCommerce lead products.
Version: 0.1.1
*/

* {
    box-sizing: border-box;
}

:root {
    --ink: #101828;
    --muted: #5d6b7a;
    --line: #d7e0e5;
    --panel: #ffffff;
    --soft: #f3f7f8;
    --navy: #0b2545;
    --teal: #0f766e;
    --teal-dark: #115e59;
    --gold: #c58b2a;
    --red: #b42318;
    --shadow: 0 20px 50px rgba(15, 35, 55, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f7fafb;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-header__inner,
.site-footer__inner,
.hero__inner,
.country-bar__inner,
.workflow,
.product-section {
    margin: 0 auto;
    max-width: 1180px;
    padding-left: 24px;
    padding-right: 24px;
}

.site-header__inner {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    min-height: 76px;
}

.brand {
    align-items: center;
    display: inline-flex;
    gap: 12px;
    font-weight: 800;
}

.brand__mark {
    align-items: center;
    background: var(--navy);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    height: 40px;
    justify-content: center;
    letter-spacing: 0;
    width: 40px;
}

.brand__text {
    font-size: 18px;
}

.site-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.site-nav a {
    border-radius: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 12px;
}

.site-nav a:hover {
    background: var(--soft);
    color: var(--navy);
}

.site-nav .site-nav__cta {
    background: var(--teal);
    color: #fff;
    padding-left: 16px;
    padding-right: 16px;
}

.site-nav .site-nav__cta:hover {
    background: var(--teal-dark);
    color: #fff;
}

.hero {
    background:
        linear-gradient(115deg, rgba(11, 37, 69, 0.94), rgba(15, 118, 110, 0.86)),
        url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=80");
    background-position: center;
    background-size: cover;
    color: #fff;
}

.hero__inner {
    align-items: center;
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    min-height: 620px;
    padding-bottom: 96px;
    padding-top: 92px;
}

.hero__content {
    max-width: 760px;
}

.eyebrow {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 76px);
    letter-spacing: 0;
    line-height: 0.96;
    margin: 0;
    max-width: 860px;
}

.hero__copy {
    color: rgba(255, 255, 255, 0.86);
    font-size: 19px;
    margin: 24px 0 0;
    max-width: 720px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
}

.button--primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--teal);
    color: #fff;
}

.button--primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: var(--teal-dark);
    color: #fff;
}

.button--secondary {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #fff;
}

.hero-panel {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    box-shadow: var(--shadow);
    color: var(--ink);
    padding: 24px;
}

.hero-panel__header {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding-bottom: 18px;
}

.hero-panel__header span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-panel__header strong {
    background: var(--navy);
    border-radius: 8px;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    padding: 12px 14px;
}

.market-stats {
    display: grid;
    gap: 12px;
    margin: 20px 0 0;
}

.market-stats div {
    align-items: center;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
}

.market-stats dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.market-stats dd {
    font-weight: 900;
    margin: 0;
}

.country-bar {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.country-bar__inner {
    align-items: center;
    display: flex;
    gap: 20px;
    padding-bottom: 18px;
    padding-top: 18px;
}

.country-bar__label {
    color: var(--muted);
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.country-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.country-tab {
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 2px;
    min-width: 118px;
    padding: 10px 12px;
}

.country-tab span {
    font-weight: 900;
    line-height: 1.1;
}

.country-tab small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
}

.country-tab.is-active,
.country-tab:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.country-tab.is-active small,
.country-tab:hover small {
    color: rgba(255, 255, 255, 0.74);
}

.workflow,
.product-section {
    padding-bottom: 72px;
    padding-top: 72px;
}

.section-heading {
    max-width: 760px;
}

.section-heading--row {
    align-items: end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    max-width: none;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: 0;
    line-height: 1.05;
    margin: 0;
}

.section-heading p:last-child {
    color: var(--muted);
    margin: 0;
    max-width: 430px;
}

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

.workflow-grid > div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}

.workflow-grid span {
    color: var(--teal);
    font-size: 13px;
    font-weight: 900;
}

.workflow-grid h3 {
    font-size: 20px;
    margin: 10px 0 8px;
}

.workflow-grid p {
    color: var(--muted);
    margin: 0;
}

.product-section {
    padding-top: 18px;
}

.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce ul.products.lead-product-grid,
.woocommerce-page ul.products.lead-product-grid,
.lead-product-grid {
    display: grid !important;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after,
.woocommerce ul.products.lead-product-grid::before,
.woocommerce ul.products.lead-product-grid::after {
    content: none;
    display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products.lead-product-grid li.product,
.woocommerce-page ul.products.lead-product-grid li.product {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    float: none !important;
    margin: 0 !important;
    min-height: 100%;
    min-width: 0;
    padding: 22px;
    width: auto !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    border-color: #9fb2bd;
    box-shadow: 0 18px 36px rgba(15, 35, 55, 0.1);
    transform: translateY(-2px);
}

.lead-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

.lead-card__link {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.lead-card__market {
    align-self: flex-start;
    background: #e6f4f1;
    border-radius: 8px;
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 900;
    padding: 6px 9px;
    text-transform: uppercase;
}

.lead-card__title {
    color: var(--ink);
    font-size: 22px;
    line-height: 1.14;
    margin: 18px 0 8px;
    overflow-wrap: anywhere;
}

.lead-card__meta {
    color: var(--navy);
    font-size: 13px;
    font-weight: 900;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.lead-card__summary {
    color: var(--muted);
    margin: 0 0 18px;
}

.lead-card__price {
    color: var(--teal);
    display: block;
    font-size: 24px;
    font-weight: 900;
    margin-top: auto;
}

.lead-card__button {
    margin-top: 20px;
    width: 100%;
}

.woocommerce ul.products li.product a img {
    background: var(--soft);
    border-radius: 8px;
    display: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--ink);
    font-size: 20px;
    line-height: 1.25;
    min-height: 50px;
    padding: 0;
}

.woocommerce ul.products li.product .price {
    color: var(--teal);
    display: block;
    font-size: 22px;
    font-weight: 900;
    margin: 12px 0 18px;
}

.woocommerce ul.products li.product .button {
    margin-top: 8px;
    width: 100%;
}

.woocommerce span.onsale {
    background: var(--red);
    border-radius: 8px;
}

.empty-state {
    background: #fff;
    border: 1px dashed #a8b7c1;
    border-radius: 8px;
    color: var(--muted);
    margin-top: 28px;
    padding: 24px;
}

.site-footer {
    background: var(--navy);
    color: #fff;
}

.site-footer__inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 150px;
    padding-bottom: 28px;
    padding-top: 28px;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.72);
    margin: 6px 0 0;
}

.site-footer small {
    color: rgba(255, 255, 255, 0.72);
}

.woocommerce div.product.selm-product-detail {
    margin: 0 auto;
    max-width: 1180px;
    padding: 34px 24px 78px;
}

.woocommerce div.product.selm-product-detail::after {
    clear: both;
    content: "";
    display: table;
}

.woocommerce .woocommerce-breadcrumb {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    margin: 26px auto 0;
    max-width: 1180px;
    padding: 0 24px;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--navy);
}

.selm-product-hero {
    align-items: stretch;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) 340px;
    margin-bottom: 24px;
}

.selm-product-hero__copy,
.selm-product-sidebar,
.selm-order-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(15, 35, 55, 0.08);
}

.selm-product-hero__copy {
    overflow: hidden;
    padding: 34px;
    position: relative;
}

.selm-product-hero__copy::before {
    background: linear-gradient(90deg, var(--teal), var(--gold));
    content: "";
    display: block;
    height: 5px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.selm-product-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.selm-product-kicker span {
    background: #e6f4f1;
    border: 1px solid #bee3dc;
    border-radius: 8px;
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 900;
    padding: 7px 10px;
    text-transform: uppercase;
}

.selm-product-hero h1 {
    color: var(--ink);
    font-size: clamp(36px, 5vw, 60px);
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
}

.selm-product-hero__copy > p {
    color: var(--muted);
    font-size: 18px;
    margin: 18px 0 0;
    max-width: 780px;
}

.selm-product-metrics {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
}

.selm-product-metrics div {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
}

.selm-product-metrics span,
.selm-order-panel__header span {
    color: var(--muted);
    display: block;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.selm-product-metrics strong {
    color: var(--navy);
    display: block;
    font-size: 20px;
    line-height: 1.1;
    margin-top: 5px;
}

.selm-product-metrics .price {
    color: var(--teal);
    display: inline-flex;
    font-size: 23px;
    font-weight: 900;
    white-space: nowrap;
}

.selm-product-metrics .amount,
.selm-product-metrics bdi {
    align-items: baseline;
    display: inline-flex;
    gap: 2px;
    white-space: nowrap;
}

.selm-product-sidebar {
    align-self: start;
    padding: 26px;
}

.selm-product-sidebar h2 {
    font-size: 24px;
    line-height: 1.1;
    margin: 0 0 10px;
}

.selm-product-sidebar p {
    color: var(--muted);
    margin: 0;
}

.selm-product-sidebar ul {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}

.selm-product-sidebar li {
    align-items: flex-start;
    color: #344054;
    display: grid;
    font-size: 14px;
    font-weight: 800;
    gap: 10px;
    grid-template-columns: 18px minmax(0, 1fr);
}

.selm-product-sidebar li::before {
    background: var(--teal);
    border-radius: 50%;
    color: #fff;
    content: "";
    height: 8px;
    margin-top: 8px;
    width: 8px;
}

.selm-order-panel {
    padding: 0;
}

.selm-order-panel__header {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 26px 30px;
}

.selm-order-panel__header h2 {
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.05;
    margin: 4px 0 0;
}

.selm-order-panel__header p {
    color: var(--muted);
    margin: 0;
    max-width: 360px;
}

.selm-order-panel form.cart {
    margin: 0;
    padding: 28px 30px 30px;
}

.selm-product-content {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(15, 35, 55, 0.08);
    margin-top: 24px;
    padding: 34px;
}

.selm-product-content h2,
.selm-product-content h3 {
    color: var(--ink);
    line-height: 1.12;
}

.selm-product-content h2 {
    font-size: clamp(28px, 3vw, 38px);
    margin: 0 0 14px;
}

.selm-product-content h3 {
    font-size: 21px;
    margin: 26px 0 10px;
}

.selm-product-content p,
.selm-product-content li {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.selm-product-content p {
    margin: 0 0 14px;
}

.selm-product-content ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 20px;
}

.selm-order-panel .ppom-wrapper {
    margin: 0;
}

.selm-order-panel #ppom-price-cloner-wrapper {
    background: #f8fbfb;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin: 0 0 22px;
    padding: 14px 16px;
}

.selm-order-panel #ppom-price-cloner-wrapper::before {
    color: var(--muted);
    content: "Selected option total";
    display: block;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.selm-order-panel .ppom-rendering-fields {
    gap: 14px;
}

.selm-order-panel .ppom-field-wrapper {
    background: #fbfdfd;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin: 0 0 14px;
    padding: 0;
}

.selm-order-panel .accordion-wrapper,
.selm-order-panel .accordion-content {
    border: 0;
}

.selm-order-panel .accordion-head {
    background: transparent;
    border: 0;
    cursor: default;
    padding: 18px 20px 0;
}

.selm-order-panel .accordion-head h3 {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.25;
    margin: 0;
}

.selm-order-panel .show_description {
    color: var(--muted);
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-top: 4px;
    text-transform: none;
}

.selm-order-panel .accordion-content {
    display: block !important;
    padding: 14px 20px 20px;
}

.selm-order-panel .form-group {
    margin: 0;
}

.selm-order-panel .form-check,
.selm-order-panel .form-check-label,
.selm-order-panel .ppom-check-label {
    margin: 0;
}

.selm-order-panel .form-check {
    display: inline-flex;
    margin: 0 8px 10px 0;
    vertical-align: top;
}

.selm-order-panel .ppom-section-collapse > h3,
.selm-order-panel .ppom-wrapper > h3,
.selm-order-panel .ppom-wrapper .ppom-fields-container > h3 {
    color: var(--navy);
    font-size: 18px;
    line-height: 1.2;
    margin: 0 0 14px;
}

.selm-order-panel .form-check-label,
.selm-order-panel .ppom-check-label {
    align-items: center;
    background: #fff;
    border: 1px solid #cbd8df;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex !important;
    font-size: 14px;
    font-weight: 800;
    gap: 8px;
    min-height: 42px;
    padding: 9px 12px;
}

.selm-order-panel .form-check-label:hover,
.selm-order-panel .ppom-check-label:hover {
    border-color: var(--teal);
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.1);
}

.selm-order-panel input[type="checkbox"] {
    accent-color: var(--teal);
    flex: 0 0 auto;
    height: 16px;
    margin: 0;
    width: 16px;
}

.selm-order-panel .ppom-input-option-label {
    align-items: baseline;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    line-height: 1.25;
}

.selm-order-panel .ppom-option-label-price {
    color: var(--teal-dark);
    font-weight: 900;
}

.selm-order-panel textarea.form-control,
.selm-order-panel input.form-control {
    border: 1px solid #cbd8df;
    border-radius: 8px;
    box-shadow: none;
    font: inherit;
    min-height: 118px;
    padding: 13px 14px;
}

.selm-order-panel .states .accordion-content {
    max-height: 410px;
    overflow: auto;
}

.selm-order-panel .quantity {
    float: none;
    margin: 8px 12px 0 0;
}

.selm-order-panel .quantity .qty {
    border: 1px solid #b8c8d1;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
    min-height: 48px;
    width: 86px;
}

.woocommerce div.product.selm-product-detail form.cart .button {
    border: 0;
    border-radius: 8px;
    font-size: 16px;
    min-height: 50px;
    padding-left: 24px;
    padding-right: 24px;
}

.woocommerce div.product.selm-product-detail .product_meta,
.woocommerce div.product.selm-product-detail .woocommerce-tabs,
.woocommerce div.product.selm-product-detail .related {
    display: none;
}

.selm-cart-market {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    margin: 6px 0 0;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
    margin: 0 auto;
    max-width: 1180px;
    padding: 48px 24px 72px;
}

.page-shell {
    margin: 0 auto;
    max-width: 1180px;
    padding: 48px 24px 72px;
}

.page-content__header h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1;
    margin: 0 0 28px;
}

.page-content__body {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px;
}

@media (max-width: 900px) {
    .hero__inner,
    .workflow-grid,
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .lead-product-grid {
        grid-template-columns: 1fr;
    }

    .hero__inner {
        min-height: auto;
        padding-bottom: 64px;
        padding-top: 64px;
    }

    .section-heading--row,
    .country-bar__inner,
    .site-footer__inner,
    .selm-order-panel__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .selm-product-hero {
        grid-template-columns: 1fr;
    }

    .selm-product-sidebar {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .site-header__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding-bottom: 16px;
        padding-top: 16px;
    }

    .site-nav {
        justify-content: flex-start;
        width: 100%;
    }

    .site-nav a {
        padding-left: 9px;
        padding-right: 9px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero__copy {
        font-size: 17px;
    }

    .country-tab {
        min-width: calc(50% - 5px);
    }

    .woocommerce div.product.selm-product-detail {
        padding-left: 16px;
        padding-right: 16px;
    }

    .woocommerce .woocommerce-breadcrumb {
        padding-left: 16px;
        padding-right: 16px;
    }

    .selm-product-hero__copy,
    .selm-product-sidebar,
    .selm-order-panel form.cart,
    .selm-order-panel__header,
    .selm-product-content {
        padding-left: 18px;
        padding-right: 18px;
    }

    .selm-product-metrics {
        grid-template-columns: 1fr;
    }

    .selm-order-panel .form-check {
        display: flex;
        margin-right: 0;
        width: 100%;
    }

    .selm-order-panel .form-check-label {
        width: 100%;
    }

    .woocommerce div.product.selm-product-detail form.cart .button {
        margin-top: 12px;
        width: 100%;
    }
}
