/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://www.symbioz-agence.fr
 Description:  Thème client
 Author:       Symbioz
 Author URI:   https://www.symbioz-agence.fr
 Template:     hello-elementor
 Version:      0.1.0
*/

/* Orthèse Cryo — WooCommerce UI refinements */
:root {
    --oc-navy: #031d35;
    --oc-navy-soft: #052d4f;
    --oc-orange: #f97335;
    --oc-surface: #f7f9fb;
    --oc-border: #dfe6ec;
}

/* Orthese Cryo product search overlay 2026-09-25 */
body.oc-search-open { overflow: hidden; }
.oc-product-search[hidden] { display: none !important; }
.oc-product-search {
    --oc-search-navy: #052D4F;
    --oc-search-ink: #031D35;
    --oc-search-orange: #F97335;
    --oc-search-line: rgba(255,255,255,.18);
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    color: #fff;
    font-family: Roboto, Arial, sans-serif;
    transition: opacity .22s ease, visibility 0s linear .28s;
}
.oc-product-search.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.oc-product-search__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3,29,53,.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity .24s ease;
}
.oc-product-search.is-open .oc-product-search__backdrop { opacity: 1; }
.oc-product-search__panel {
    position: relative;
    width: min(1120px, 100%);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 24px;
    background:
        radial-gradient(circle at 86% 14%, rgba(249,115,53,.17), transparent 25%),
        linear-gradient(145deg, #052D4F 0%, #031D35 100%);
    box-shadow: 0 28px 90px rgba(3,29,53,.42);
    opacity: 0;
    transform: translateY(24px) scale(.975);
    transform-origin: 50% 42%;
    transition: opacity .24s ease, transform .32s cubic-bezier(.22,1,.36,1);
}
.oc-product-search.is-open .oc-product-search__panel { opacity: 1; transform: translateY(0) scale(1); }
.oc-product-search__topbar {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 76px;
    margin: 0 auto;
    padding: 0 28px;
    border-bottom: 1px solid var(--oc-search-line);
    background: rgba(5,45,79,.82);
    backdrop-filter: blur(14px);
}
.oc-product-search__logo { display: inline-flex; align-items: center; }
.oc-product-search__logo img { display: block; width: 220px; height: auto; }
.oc-product-search__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.oc-product-search__close:hover,
.oc-product-search__close:focus-visible {
    border-color: var(--oc-search-orange);
    background: var(--oc-search-orange);
    transform: rotate(4deg);
}
.oc-product-search__content {
    width: 100%;
    margin: 0 auto;
    padding: 38px 40px 44px;
}
.oc-product-search__eyebrow {
    margin: 0 0 10px;
    color: var(--oc-search-orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.oc-product-search h2 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-family: Anton, Impact, sans-serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.04;
    text-transform: uppercase;
}
.oc-product-search__intro {
    max-width: 720px;
    margin: 14px 0 24px;
    color: rgba(255,255,255,.76);
    font-size: 17px;
    line-height: 1.55;
}
.oc-product-search__form {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    max-width: none;
    min-height: 70px;
    padding: 8px 9px 8px 22px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.oc-product-search__form > i { color: var(--oc-search-orange); font-size: 20px; }
.oc-product-search__form input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--oc-search-ink);
    font-size: 18px;
    font-weight: 500;
    box-shadow: none;
}
.oc-product-search__form input[type="search"]::placeholder { color: #8292A0; opacity: 1; }
.oc-product-search__form button {
    min-height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: 11px;
    background: var(--oc-search-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.oc-product-search__form button:hover,
.oc-product-search__form button:focus-visible { background: #e85f24; transform: translateY(-1px); }
.oc-product-search__quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 18px 0 30px;
}
.oc-product-search__quick > span {
    margin-right: 5px;
    color: rgba(255,255,255,.56);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.oc-product-search__quick button {
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease;
}
.oc-product-search__quick button:hover,
.oc-product-search__quick button:focus-visible { border-color: var(--oc-search-orange); background: rgba(249,115,53,.16); }
.oc-product-search__status {
    min-height: 22px;
    margin-bottom: 16px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.oc-product-search__results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.oc-search-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    background: #fff;
    color: var(--oc-search-ink);
    text-decoration: none;
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.oc-search-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    z-index: 1;
    width: 46px;
    height: 6px;
    background: var(--oc-search-orange);
}
.oc-search-card:hover,
.oc-search-card:focus-visible { transform: translateY(-5px); border-color: var(--oc-search-orange); box-shadow: 0 22px 52px rgba(0,0,0,.22); }
.oc-search-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / .8;
    object-fit: contain;
    background: #F7F9FB;
}
.oc-search-card__body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.oc-search-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
    color: var(--oc-search-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.oc-search-card__meta span:last-child { color: #758595; text-align: right; }
.oc-search-card__title {
    margin: 0;
    color: var(--oc-search-ink);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.32;
}
.oc-search-card .oc-search-card__refund {
    align-self: flex-start;
    box-sizing: border-box;
    max-width: 100%;
    margin-top: 8px;
    padding: 4px 8px;
    border: 1px solid #7B9135;
    border-radius: 999px;
    background: #EDF4DD;
    color: #536B16;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
}
.oc-search-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
}
.oc-search-card__price { color: var(--oc-search-orange); font-size: 16px; font-weight: 800; }
.oc-search-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--oc-search-orange);
    color: #fff;
    font-size: 13px;
}
.oc-product-search__empty {
    grid-column: 1 / -1;
    padding: 34px;
    border: 1px dashed rgba(255,255,255,.28);
    border-radius: 16px;
    color: rgba(255,255,255,.76);
    text-align: center;
}
.oc-product-search__loader {
    grid-column: 1 / -1;
    display: grid;
    place-items: center;
    min-height: 180px;
}
.oc-product-search__loader::after {
    content: "";
    width: 34px;
    height: 34px;
    border: 3px solid rgba(255,255,255,.22);
    border-top-color: var(--oc-search-orange);
    border-radius: 50%;
    animation: oc-search-spin .7s linear infinite;
}
@keyframes oc-search-spin { to { transform: rotate(360deg); } }

@media (max-width: 1024px) {
    .oc-product-search__results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .oc-product-search { padding: 10px; }
    .oc-product-search__panel { max-height: calc(100dvh - 20px); border-radius: 18px; }
    .oc-product-search__topbar,
    .oc-product-search__content { width: 100%; }
    .oc-product-search__topbar { min-height: 66px; padding: 0 18px; }
    .oc-product-search__logo img { width: 150px; }
    .oc-product-search__close { width: 42px; height: 42px; font-size: 19px; }
    .oc-product-search__content { padding: 24px 18px 28px; }
    .oc-product-search h2 { font-size: 29px; }
    .oc-product-search__intro { margin: 14px 0 22px; font-size: 15px; }
    .oc-product-search__form { grid-template-columns: 22px minmax(0, 1fr); min-height: 60px; padding: 5px 15px; border-radius: 13px; }
    .oc-product-search__form input[type="search"] { height: 50px; font-size: 16px; }
    .oc-product-search__form button { display: none; }
    .oc-product-search__quick { margin: 15px 0 30px; gap: 7px; }
    .oc-product-search__quick > span { flex-basis: 100%; margin-bottom: 2px; }
    .oc-product-search__quick button { min-height: 34px; padding: 0 13px; }
    .oc-product-search__results { grid-template-columns: 1fr; gap: 12px; }
    .oc-search-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 138px; }
    .oc-search-card__image { height: 100%; min-height: 138px; aspect-ratio: auto; }
    .oc-search-card__body { padding: 14px; }
    .oc-search-card__title { font-size: 15px; }
    .oc-search-card__footer { padding-top: 12px; }
    .oc-search-card__arrow { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
    .oc-product-search,
    .oc-product-search__backdrop,
    .oc-product-search__panel,
    .oc-search-card,
    .oc-product-search__close,
    .oc-product-search__form button { transition: none; }
}

/* Orthese Cryo feedback 2026-09-24: cart counter */
.oc-header-actions {
    position: relative;
}

.oc-cart-count-widget {
    position: absolute;
    top: -7px;
    right: -10px;
    z-index: 4;
    width: auto !important;
    min-width: 0 !important;
    pointer-events: none;
}

.oc-cart-count-widget .elementor-widget-container,
.oc-cart-count-widget .elementor-shortcode {
    display: contents;
}

.oc-cart-count {
    display: inline-grid;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--oc-orange);
    color: #fff;
    font-family: Roboto, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.oc-cart-count[data-count='0'] {
    display: none;
}

@media (max-width: 767px) {
    .oc-cart-count-widget {
        top: -4px;
        right: -7px;
    }
}

/* Orthese Cryo - upsell total and product variation controls */
.thp-popup-total {
    font-family: Roboto, sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.thp-popup-total b {
    display: inline-flex !important;
    align-items: baseline;
    gap: 4px;
    font-family: Roboto, sans-serif !important;
    font-size: 0 !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.thp-popup-total b::before {
    content: 'Total :';
    color: var(--oc-navy);
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.thp-popup-total .thp-total-fig {
    order: 1;
    color: var(--oc-orange) !important;
    font-family: Roboto, sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}

.thp-popup-total .thp-total-fig::after {
    content: ' \20AC';
    color: inherit;
    font: inherit;
}

.single-product form.variations_form table.variations {
    display: block;
    width: 100% !important;
    margin: 22px 0 16px !important;
    padding: 6px 20px;
    border: 1px solid var(--oc-border) !important;
    border-radius: 18px;
    background: var(--oc-surface);
    box-shadow: 0 10px 30px rgba(3, 29, 53, 0.06);
    font-family: Roboto, sans-serif !important;
}

.single-product form.variations_form table.variations tbody {
    display: block;
    width: 100%;
}

.single-product form.variations_form table.variations tr {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    width: 100%;
    padding: 14px 0;
    border: 0 !important;
    border-bottom: 1px solid var(--oc-border) !important;
}

.single-product form.variations_form table.variations tr:last-child {
    border-bottom: 0 !important;
}

.single-product form.variations_form table.variations th.label,
.single-product form.variations_form table.variations td.value {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
}

.single-product form.variations_form table.variations th.label {
    align-self: start;
    padding-top: 9px !important;
}

.single-product form.variations_form table.variations th.label label {
    display: block;
    color: var(--oc-navy) !important;
    font-family: Anton, sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.single-product form.variations_form .cfvsw-swatches-container,
.single-product form.variations_form ul.variable-items-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.single-product form.variations_form .cfvsw-swatches-option,
.single-product form.variations_form ul.variable-items-wrapper .variable-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 46px !important;
    min-height: 42px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 9px 15px !important;
    border: 1px solid #b9c6d1 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--oc-navy) !important;
    box-shadow: none !important;
    font-family: Roboto, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.single-product form.variations_form .cfvsw-swatches-option:hover,
.single-product form.variations_form ul.variable-items-wrapper .variable-item:hover {
    border-color: var(--oc-orange) !important;
    color: var(--oc-orange) !important;
    transform: translateY(-1px);
}

.single-product form.variations_form .cfvsw-swatches-option.cfvsw-selected-swatch,
.single-product form.variations_form .cfvsw-swatches-option.selected,
.single-product form.variations_form ul.variable-items-wrapper .variable-item.selected,
.single-product form.variations_form ul.variable-items-wrapper .variable-item[aria-checked='true'] {
    border-color: var(--oc-orange) !important;
    background: var(--oc-orange) !important;
    color: #fff !important;
}

.single-product form.variations_form .cfvsw-swatches-option.cfvsw-swatches-disabled,
.single-product form.variations_form .cfvsw-swatches-option.disabled,
.single-product form.variations_form ul.variable-items-wrapper .variable-item.disabled,
.single-product form.variations_form ul.variable-items-wrapper .variable-item.out-of-stock {
    border-color: var(--oc-border) !important;
    background: #eef2f5 !important;
    color: #8a98a6 !important;
    opacity: 0.62 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.single-product form.variations_form .cfvsw-swatch-inner,
.single-product form.variations_form .variable-item-contents,
.single-product form.variations_form .variable-item-span {
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
}

.single-product form.variations_form table.variations select {
    width: 100%;
    min-height: 44px;
    padding: 10px 42px 10px 14px;
    border: 1px solid #b9c6d1;
    border-radius: 12px;
    background-color: #fff;
    color: var(--oc-navy);
    font-family: Roboto, sans-serif;
    font-size: 14px;
}

.single-product form.variations_form .reset_variations {
    display: inline-flex !important;
    align-items: center;
    min-height: 28px;
    margin-top: 9px !important;
    color: var(--oc-orange) !important;
    font-family: Roboto, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-product form.variations_form .reset_variations[style*='hidden'] {
    display: none !important;
}

.single-product form.variations_form .single_variation_wrap {
    font-family: Roboto, sans-serif !important;
}

.single-product form.variations_form .woocommerce-variation-price .price {
    color: var(--oc-orange) !important;
    font-family: Roboto, sans-serif !important;
    font-weight: 600 !important;
}

@media (max-width: 767px) {
    .single-product form.variations_form table.variations {
        margin-top: 16px !important;
        padding: 4px 14px;
        border-radius: 15px;
    }

    .single-product form.variations_form table.variations tr {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 13px 0;
    }

    .single-product form.variations_form table.variations th.label {
        padding-top: 0 !important;
    }

    .single-product form.variations_form table.variations th.label label {
        font-size: 17px !important;
    }

    .single-product form.variations_form .cfvsw-swatches-container,
    .single-product form.variations_form ul.variable-items-wrapper {
        gap: 7px !important;
    }

    .single-product form.variations_form .cfvsw-swatches-option,
    .single-product form.variations_form ul.variable-items-wrapper .variable-item {
        min-width: 42px !important;
        min-height: 38px !important;
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
}

/* Upsell popup */
.thp-dark-overlay {
    background: rgba(3, 29, 53, 0.78) !important;
    opacity: 1 !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.thp-content-body {
    top: 50% !important;
    left: 50% !important;
    width: min(720px, calc(100% - 32px)) !important;
    height: auto !important;
    max-height: calc(100dvh - 32px) !important;
    transform: translate(-50%, -50%);
    overflow-x: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 24px !important;
    background: #fff !important;
    color: var(--oc-navy) !important;
    box-shadow: 0 28px 80px rgba(3, 29, 53, 0.34) !important;
    font-family: Roboto, sans-serif !important;
}

.thp-popup-container {
    padding: 0 !important;
    text-align: left !important;
}

.thp-popup-container > .thp-popup-header.thp-popup-line {
    min-height: 72px;
    margin: 0 !important;
    padding: 18px 28px !important;
    border: 0 !important;
    background: var(--oc-navy) !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.thp-popup-container > .thp-popup-header.thp-popup-line:first-child {
    border-radius: 23px 23px 0 0 !important;
}

.thp-popup-line img {
    display: none !important;
}

.thp-popup-container > .thp-popup-header.thp-popup-line:first-child::before {
    content: '\2713';
    display: inline-grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    margin-right: 12px;
    place-items: center;
    border-radius: 50%;
    background: var(--oc-orange);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.thp-inner-popup {
    padding: 26px 28px 30px !important;
}

#thp-popup-form {
    padding-top: 0 !important;
    border-top: 0 !important;
}

.thp-inner-popup > .thp-popup-header,
#thp-popup-form > .thp-popup-header {
    display: block !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    color: var(--oc-navy) !important;
    font-family: Anton, sans-serif !important;
    font-size: clamp(24px, 3vw, 32px) !important;
    font-weight: 400 !important;
    line-height: 1.08 !important;
    text-transform: uppercase;
}

.thp-popup-content {
    margin: 0 0 18px !important;
    padding: 14px !important;
    border: 1px solid var(--oc-border) !important;
    border-radius: 18px !important;
    background: var(--oc-surface) !important;
    color: var(--oc-navy) !important;
}

.thp-prod-container {
    display: grid !important;
    grid-template-columns: 160px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px 20px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    color: var(--oc-navy) !important;
}

.thp-prod-container > a:first-of-type {
    grid-column: 1 !important;
    grid-row: 1 / span 4 !important;
    align-self: stretch;
}

.thp-prod-container > a:not(:first-of-type),
.thp-prod-container .thp-popup-price,
.thp-prod-container .product-variations-dropdown,
.thp-prod-container .thp-popup-quality {
    grid-column: 2 !important;
}

.thp-prod-container > a:not(:first-of-type) {
    color: var(--oc-navy) !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
}

.thp-prod-container > a:not(:first-of-type):hover {
    color: var(--oc-orange) !important;
}

.thp-inner-img,
.thp-placeholder-img {
    width: 100% !important;
    height: 150px !important;
    max-height: none !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #fff;
    object-fit: contain;
}

.thp-popup-price,
.thp-prod-container .price {
    color: var(--oc-orange) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

.thp-popup-price small,
.thp-prod-container .woocommerce-price-suffix {
    color: #5f6f7f !important;
    font-size: 12px !important;
}

.thp-popup-mult-bottom {
    display: flex !important;
    justify-content: flex-end !important;
    margin: 0 0 18px !important;
    padding: 0 2px !important;
}

.thp-popup-total {
    color: var(--oc-navy) !important;
    font-size: 14px !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.thp-popup-total .thp-total-fig {
    color: var(--oc-orange) !important;
    font-size: 20px !important;
}

.thp-popup-button {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    width: 100% !important;
}

.thp-popup-container .thp-popup-button input[type='submit'] {
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 13px 20px !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    font-family: Roboto, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.thp-popup-container .thp-popup-button .thp-button-yes {
    border: 2px solid var(--oc-orange) !important;
    background: var(--oc-orange) !important;
    color: #fff !important;
}

.thp-popup-container .thp-popup-button .thp-button-no {
    border: 2px solid var(--oc-navy) !important;
    background: #fff !important;
    color: var(--oc-navy) !important;
}

.thp-popup-container .thp-popup-button .thp-button-yes:hover,
.thp-popup-container .thp-popup-button .thp-button-yes:focus {
    border-color: var(--oc-navy) !important;
    background: var(--oc-navy) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.thp-popup-container .thp-popup-button .thp-button-no:hover,
.thp-popup-container .thp-popup-button .thp-button-no:focus {
    border-color: var(--oc-navy) !important;
    background: var(--oc-navy) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.thp-spinner {
    border-color: rgba(255, 255, 255, 0.45) !important;
    border-top-color: var(--oc-orange) !important;
}

/* Cart page — deliberately light-touch */
body.woocommerce-cart .oc-utility-content-shell {
    border: 1px solid var(--oc-border);
    border-radius: 22px !important;
    box-shadow: 0 14px 42px rgba(3, 29, 53, 0.07);
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart_totals {
    overflow: hidden;
    border: 1px solid var(--oc-border);
    border-radius: 16px;
    background: #fff;
}

body.woocommerce-cart table.shop_table {
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
}

body.woocommerce-cart table.shop_table thead {
    background: var(--oc-surface);
    color: var(--oc-navy);
}

body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td {
    padding: 16px !important;
    border-color: var(--oc-border) !important;
}

body.woocommerce-cart .product-thumbnail img {
    border-radius: 12px !important;
}

body.woocommerce-cart .quantity .qty,
body.woocommerce-cart .coupon .input-text {
    min-height: 44px;
    border: 1px solid #cbd6df !important;
    border-radius: 10px !important;
}

body.woocommerce-cart .button,
body.woocommerce-cart .checkout-button {
    border-radius: 999px !important;
    font-weight: 700 !important;
}

body.woocommerce-cart .checkout-button,
body.woocommerce-cart button[name='apply_coupon'],
body.woocommerce-cart .wc-backward {
    border-color: var(--oc-orange) !important;
    background: var(--oc-orange) !important;
    color: #fff !important;
}

body.woocommerce-cart .checkout-button:hover,
body.woocommerce-cart button[name='apply_coupon']:hover,
body.woocommerce-cart .wc-backward:hover {
    border-color: var(--oc-navy) !important;
    background: var(--oc-navy) !important;
    color: #fff !important;
}

body.woocommerce-cart .wc-empty-cart-message {
    color: var(--oc-navy);
    font-weight: 600;
}

/* Product titles keep their assigned typeface, without bold weight. */
body.single-product .oc-single-product-title .elementor-heading-title,
body.single-product h1.product_title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.oc-product-title .elementor-heading-title,
.oc-product-card h3,
.thp-prod-container > a:not(:first-of-type) {
    font-weight: 400 !important;
}

body.single-product .oc-single-product-title .elementor-heading-title strong,
body.single-product .oc-single-product-title .elementor-heading-title b,
body.single-product h1.product_title strong,
body.single-product h1.product_title b,
.woocommerce-loop-product__title strong,
.woocommerce-loop-product__title b,
.oc-product-title strong,
.oc-product-title b,
.oc-product-card h3 strong,
.oc-product-card h3 b,
.thp-prod-container > a:not(:first-of-type) strong,
.thp-prod-container > a:not(:first-of-type) b {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: 400 !important;
    line-height: inherit !important;
}

/* Category sidebar filters: keep terms and counters aligned together on the left. */
.oc-product-filters__panel .product-categories li,
.oc-product-filters__panel .woocommerce-widget-layered-nav-list__item,
.oc-product-filters__panel .wc-layered-nav-term {
    justify-content: flex-start !important;
    text-align: left !important;
}

.oc-product-filters__panel .product-categories li > a,
.oc-product-filters__panel .woocommerce-widget-layered-nav-list__item > a,
.oc-product-filters__panel .wc-layered-nav-term > a {
    flex: 0 1 auto !important;
    text-align: left !important;
}

.oc-product-filters__panel .product-categories .count,
.oc-product-filters__panel .woocommerce-widget-layered-nav-list__item .count,
.oc-product-filters__panel .wc-layered-nav-term .count {
    margin-left: 6px !important;
    text-align: left !important;
}

/* WooCommerce notices */
.woocommerce-notices-wrapper:not(:empty) {
    width: 100%;
    margin: 0 0 20px;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    position: relative;
    width: 100%;
    min-height: 58px;
    margin: 0 0 16px !important;
    padding: 17px 22px 17px 58px !important;
    border: 0 !important;
    border-left: 6px solid var(--oc-orange) !important;
    border-radius: 0 16px 16px 0 !important;
    background: #fff4ee !important;
    color: var(--oc-navy) !important;
    box-shadow: 0 10px 30px rgba(3, 29, 53, 0.08);
    font-family: Roboto, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce-message,
.woocommerce-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    top: 50% !important;
    left: 20px !important;
    color: var(--oc-orange) !important;
    font-size: 20px !important;
    line-height: 1 !important;
    transform: translateY(-50%);
}

.woocommerce .woocommerce-info,
.woocommerce-info {
    border-left-color: var(--oc-navy-soft) !important;
    background: #f0f5f9 !important;
}

.woocommerce .woocommerce-info::before,
.woocommerce-info::before {
    color: var(--oc-navy-soft) !important;
}

.woocommerce .woocommerce-error,
.woocommerce-error {
    border-left-color: #b42318 !important;
    background: #fff1f0 !important;
    color: #7a271a !important;
}

.woocommerce .woocommerce-error::before,
.woocommerce-error::before {
    color: #b42318 !important;
}

.woocommerce .woocommerce-message a:not(.button),
.woocommerce .woocommerce-info a:not(.button),
.woocommerce .woocommerce-error a:not(.button),
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) {
    color: var(--oc-navy) !important;
    font-weight: 700 !important;
    text-decoration: underline;
    text-decoration-color: var(--oc-orange);
    text-underline-offset: 3px;
}

.woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-error .button,
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    min-height: 38px;
    margin: 0 0 0 auto !important;
    padding: 9px 18px !important;
    border: 1px solid var(--oc-orange) !important;
    border-radius: 999px !important;
    background: var(--oc-orange) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.woocommerce .woocommerce-message .button:hover,
.woocommerce .woocommerce-info .button:hover,
.woocommerce .woocommerce-error .button:hover,
.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
    border-color: var(--oc-navy) !important;
    background: var(--oc-navy) !important;
    color: #fff !important;
}

@media (max-width: 767px) {
    .oc-product-refund {
        gap: 4px !important;
        padding: 4px 8px !important;
    }

    .thp-content-body {
        width: calc(100% - 16px) !important;
        max-height: calc(100dvh - 16px) !important;
        border-radius: 20px !important;
    }

    .thp-popup-container > .thp-popup-header.thp-popup-line {
        min-height: 62px;
        padding: 14px 18px !important;
        font-size: 14px !important;
    }

    .thp-popup-container > .thp-popup-header.thp-popup-line:first-child {
        border-radius: 19px 19px 0 0 !important;
    }

    .thp-inner-popup {
        padding: 20px 16px 18px !important;
    }

    .thp-inner-popup > .thp-popup-header,
    #thp-popup-form > .thp-popup-header {
        margin-bottom: 14px !important;
        font-size: 24px !important;
    }

    .thp-popup-content {
        padding: 10px !important;
    }

    .thp-prod-container {
        grid-template-columns: 96px minmax(0, 1fr) !important;
        gap: 8px 12px !important;
    }

    .thp-inner-img,
    .thp-placeholder-img {
        height: 108px !important;
        border-radius: 11px !important;
    }

    .thp-prod-container > a:not(:first-of-type) {
        font-size: 15px !important;
    }

    .thp-popup-price,
    .thp-prod-container .price {
        font-size: 17px !important;
    }

    .thp-popup-button {
        grid-template-columns: 1fr !important;
        gap: 9px !important;
    }

    .thp-popup-container .thp-popup-button input[type='submit'] {
        min-height: 44px !important;
        padding: 11px 16px !important;
    }

    body.woocommerce-cart .oc-utility-content-section {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    body.woocommerce-cart .oc-utility-content-shell {
        padding: 24px 14px !important;
        border-radius: 16px !important;
    }

    body.woocommerce-cart table.shop_table th,
    body.woocommerce-cart table.shop_table td {
        padding: 12px !important;
    }

    .woocommerce .woocommerce-message,
    .woocommerce .woocommerce-info,
    .woocommerce .woocommerce-error,
    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error {
        min-height: 52px;
        padding: 14px 14px 14px 46px !important;
        border-left-width: 5px !important;
        border-radius: 0 12px 12px 0 !important;
        font-size: 14px !important;
    }

    .woocommerce .woocommerce-message::before,
    .woocommerce .woocommerce-info::before,
    .woocommerce .woocommerce-error::before,
    .woocommerce-message::before,
    .woocommerce-info::before,
    .woocommerce-error::before {
        left: 15px !important;
        font-size: 17px !important;
    }

    .woocommerce .woocommerce-message .button,
    .woocommerce .woocommerce-info .button,
    .woocommerce .woocommerce-error .button,
    .woocommerce-message .button,
    .woocommerce-info .button,
    .woocommerce-error .button {
        width: 100%;
        margin: 6px 0 0 !important;
    }
}
