/* ==========================================================================
   Chiniya Badam - custom additions
   Career page, visitor counter and language converter.
   Loaded after every theme sheet. Everything is namespaced "cb-" so nothing
   here can restyle existing theme markup.
   ========================================================================== */

:root {
    --cb-primary: #d43b3b;
    --cb-primary-dark: #ae3a3a;
    --cb-primary-soft: #fdf0f0;
    --cb-accent: #f5ab1e;
    --cb-text: #222;
    --cb-muted: #6b6b6b;
    --cb-border: #e2e2e2;
    --cb-bg-soft: #f7f7f7;
    --cb-radius: 12px;
    --cb-shadow: 0 6px 24px rgba(34, 34, 34, .06);
    --cb-shadow-hover: 0 12px 32px rgba(34, 34, 34, .10);
    --cb-ease: cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------------------
   1. Career page
   -------------------------------------------------------------------------- */
.cb-career {
    background-color: var(--cb-bg-soft);
}

.cb-career-head {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.cb-career-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cb-primary);
    background-color: var(--cb-primary-soft);
    border-radius: 50px;
}

.cb-career-head h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--cb-text);
}

.cb-career-head h2 span {
    color: var(--cb-primary);
}

.cb-career-head p {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--cb-muted);
}

/* job list */
.cb-jobs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cb-job {
    position: relative;
    background-color: #fff;
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow);
    overflow: hidden;
    transition: box-shadow .3s var(--cb-ease), border-color .3s var(--cb-ease);
}

.cb-job::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background-color: var(--cb-primary);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .3s var(--cb-ease);
}

.cb-job:hover {
    box-shadow: var(--cb-shadow-hover);
}

.cb-job.is-open {
    border-color: transparent;
    box-shadow: var(--cb-shadow-hover);
}

.cb-job.is-open::before,
.cb-job:hover::before {
    transform: scaleY(1);
}

.cb-job-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 24px 30px;
    text-align: left;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.cb-job-head:focus-visible {
    outline: 2px solid var(--cb-primary);
    outline-offset: -2px;
    border-radius: var(--cb-radius);
}

.cb-job-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.cb-job-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--cb-text);
    transition: color .2s var(--cb-ease);
}

.cb-job-head:hover .cb-job-title,
.cb-job.is-open .cb-job-title {
    color: var(--cb-primary);
}

.cb-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.cb-job-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    color: var(--cb-muted);
}

.cb-job-meta i {
    font-size: 15px;
    color: var(--cb-primary);
}

.cb-job-side {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.cb-job-badge {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    color: #7a5200;
    background-color: #fef4e0;
    border-radius: 50px;
}

.cb-job-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    font-size: 22px;
    color: var(--cb-primary);
    background-color: var(--cb-primary-soft);
    border-radius: 10px;
    transition: background-color .3s var(--cb-ease), color .3s var(--cb-ease);
}

.cb-job-toggle i {
    line-height: 1;
    transition: transform .3s var(--cb-ease);
}

.cb-job.is-open .cb-job-toggle {
    color: #fff;
    background-color: var(--cb-primary);
}

.cb-job.is-open .cb-job-toggle i {
    transform: rotate(180deg);
}

.cb-job-content {
    margin: 0 30px;
    padding: 24px 0 30px;
    border-top: 1px solid var(--cb-border);
}

.cb-job-content p {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.75;
    color: #444;
}

.cb-job-content h3 {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 700;
    color: var(--cb-text);
}

.cb-job-content ul {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.cb-job-content li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.65;
    color: #444;
}

.cb-job-content li::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 2px;
    width: 7px;
    height: 7px;
    background-color: var(--cb-accent);
    border-radius: 50%;
}

.cb-apply-btn,
.cb-apply-form .btn-style1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 34px;
    font-size: 15px;
    border-radius: 8px;
    transition: background-color .2s var(--cb-ease), border-color .2s var(--cb-ease), transform .2s var(--cb-ease);
}

.cb-apply-btn:hover,
.cb-apply-form .btn-style1:hover {
    color: #fff;
    background-color: var(--cb-primary-dark);
    border-color: var(--cb-primary-dark);
}

.cb-apply-btn:active,
.cb-apply-form .btn-style1:active {
    transform: translateY(1px);
}

.cb-apply-btn:focus-visible,
.cb-apply-form .btn-style1:focus-visible {
    outline: 2px solid var(--cb-primary);
    outline-offset: 3px;
}

/* application form */
.cb-apply {
    margin-top: 70px;
    scroll-margin-top: 110px;
}

.cb-apply-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 26px;
    max-width: 920px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow);
}

.cb-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cb-field-full {
    grid-column: 1 / -1;
}

.cb-field > label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cb-text);
}

.cb-field > label span {
    color: var(--cb-primary);
}

.cb-field input[type="text"],
.cb-field input[type="email"],
.cb-field input[type="tel"],
.cb-field select {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    font-family: inherit;
    font-size: 15px;
    color: var(--cb-text);
    background-color: #fff;
    border: 1px solid var(--cb-border);
    border-radius: 8px;
    transition: border-color .2s var(--cb-ease), box-shadow .2s var(--cb-ease);
}

.cb-field select {
    padding-right: 42px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23222' stroke-width='1.6' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.cb-field input::placeholder {
    color: #9a9a9a;
}

.cb-field input:hover,
.cb-field select:hover {
    border-color: #c9c9c9;
}

.cb-field input:focus,
.cb-field select:focus {
    outline: none;
    border-color: var(--cb-primary);
    box-shadow: 0 0 0 3px rgba(212, 59, 59, .12);
}

/* custom file drop zone */
.cb-file {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
    background-color: var(--cb-bg-soft);
    border: 1.5px dashed #cfcfcf;
    border-radius: 8px;
    transition: border-color .2s var(--cb-ease), background-color .2s var(--cb-ease);
}

.cb-file input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.cb-file:hover,
.cb-file.is-dragover {
    background-color: var(--cb-primary-soft);
    border-color: var(--cb-primary);
}

.cb-file:focus-within {
    border-color: var(--cb-primary);
    box-shadow: 0 0 0 3px rgba(212, 59, 59, .12);
}

.cb-file.has-file {
    border-style: solid;
    border-color: #4b9634;
    background-color: #f2f8ef;
}

.cb-file-icon {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    font-size: 20px;
    color: var(--cb-primary);
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(34, 34, 34, .08);
}

.cb-file.has-file .cb-file-icon {
    color: #4b9634;
}

.cb-file-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.cb-file-text strong {
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    color: var(--cb-text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cb-file-text small {
    font-size: 12px;
    color: var(--cb-muted);
}

/* validation */
.cb-error {
    display: none;
    margin-top: 6px;
    font-size: 12px;
    color: var(--cb-primary);
}

.cb-field.is-invalid .cb-error {
    display: block;
}

.cb-field.is-invalid input,
.cb-field.is-invalid select,
.cb-field.is-invalid .cb-file {
    border-color: var(--cb-primary);
}

.cb-submit {
    align-items: center;
    margin-top: 6px;
}

.cb-submit .btn-style1 {
    min-width: 230px;
}

.cb-form-msg {
    width: 100%;
    margin-top: 18px;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    color: #2f6320;
    background-color: #f2f8ef;
    border: 1px solid #cfe6c6;
    border-radius: 8px;
}

.cb-form-msg a {
    font-weight: 600;
    color: var(--cb-primary);
}

.cb-form-msg.is-error {
    color: var(--cb-primary-dark);
    background-color: var(--cb-primary-soft);
    border-color: #f3c9c9;
}

.cb-apply-form .btn-style1.is-loading,
.cb-apply-form .btn-style1:disabled {
    cursor: wait;
    opacity: .75;
}

/* spam trap - kept off screen, not display:none, so bots still fill it */
.cb-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* job description comes from the admin editor - style whatever it produces */
.cb-job-desc > *:last-child {
    margin-bottom: 22px;
}

.cb-job-desc h2,
.cb-job-desc h3,
.cb-job-desc h4,
.cb-job-desc h5 {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--cb-text);
}

.cb-job-desc strong,
.cb-job-desc b {
    font-weight: 700;
    color: var(--cb-text);
}

.cb-job-desc ol {
    margin: 0 0 22px;
    padding-left: 20px;
}

.cb-job-desc ol li {
    padding-left: 4px;
}

.cb-job-desc ol li::before {
    display: none;
}

.cb-job-desc a {
    color: var(--cb-primary);
    text-decoration: underline;
}

/* no active openings */
.cb-jobs-empty {
    max-width: 620px;
    margin: 0 auto;
    padding: 40px 30px;
    text-align: center;
    background-color: #fff;
    border: 1px dashed #d6d6d6;
    border-radius: var(--cb-radius);
}

.cb-jobs-empty-icon {
    display: inline-grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    font-size: 24px;
    color: var(--cb-primary);
    background-color: var(--cb-primary-soft);
    border-radius: 50%;
}

.cb-jobs-empty h3 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
}

.cb-jobs-empty p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--cb-muted);
}

/* --------------------------------------------------------------------------
   2. Visitor hit counter (footer copyright bar)
   -------------------------------------------------------------------------- */
.cb-visitors {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 13px;
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50px;
}

.cb-visitors i {
    color: var(--cb-accent);
}

.cb-visitors-count {
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--cb-accent);
}

/* --------------------------------------------------------------------------
   3. Language converter (Google Translate)
   -------------------------------------------------------------------------- */
.cb-lang {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1040;
    font-family: 'Poppins', sans-serif;
}

.cb-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--cb-text);
    background-color: #fff;
    border: 1px solid var(--cb-border);
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(34, 34, 34, .14);
}

.cb-lang-btn:hover,
.cb-lang-btn[aria-expanded="true"] {
    color: var(--cb-primary);
    border-color: var(--cb-primary);
}

.cb-lang-btn:focus-visible {
    outline: 2px solid var(--cb-primary);
    outline-offset: 2px;
}

.cb-lang-btn .fa-language {
    font-size: 18px;
    color: var(--cb-primary);
}

.cb-lang-caret {
    transition: transform .2s var(--cb-ease);
}

.cb-lang-btn[aria-expanded="false"] .cb-lang-caret {
    transform: rotate(180deg);
}

.cb-lang-panel {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    display: flex;
    flex-direction: column;
    width: 260px;
    max-height: min(420px, 70vh);
    overflow: hidden;
    background-color: #fff;
    border: 1px solid var(--cb-border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(34, 34, 34, .16);
}

.cb-lang-panel[hidden] {
    display: none;
}

.cb-lang-search {
    position: relative;
    flex-shrink: 0;
    padding: 10px;
    border-bottom: 1px solid var(--cb-border);
}

.cb-lang-search i {
    position: absolute;
    top: 50%;
    left: 22px;
    font-size: 13px;
    color: var(--cb-muted);
    transform: translateY(-50%);
}

.cb-lang-filter {
    width: 100%;
    height: 40px;
    padding: 0 12px 0 34px;
    font-family: inherit;
    font-size: 16px; /* 16px stops iOS zooming the page on focus */
    color: var(--cb-text);
    background-color: var(--cb-bg-soft);
    border: 1px solid transparent;
    border-radius: 8px;
}

.cb-lang-filter:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--cb-primary);
}

.cb-lang-list {
    flex: 1;
    min-height: 0;
    margin: 0;
    padding: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
}

.cb-lang-list li.cb-lang-group {
    padding: 10px 12px 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--cb-muted);
    cursor: default;
}

.cb-lang-list li.cb-lang-group:hover {
    background: none;
    color: var(--cb-muted);
}

.cb-lang-list li.cb-lang-empty {
    justify-content: center;
    padding: 18px 12px;
    color: var(--cb-muted);
    cursor: default;
}

.cb-lang-list li[hidden] {
    display: none;
}

.cb-lang-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--cb-text);
    cursor: pointer;
    border-radius: 8px;
    transition: background-color .15s var(--cb-ease), color .15s var(--cb-ease);
}

.cb-lang-list li small {
    font-size: 12px;
    color: var(--cb-muted);
}

.cb-lang-list li:hover,
.cb-lang-list li:focus {
    outline: none;
    background-color: var(--cb-primary-soft);
    color: var(--cb-primary);
}

.cb-lang-list li[aria-selected="true"] {
    font-weight: 600;
    color: #fff;
    background-color: var(--cb-primary);
}

.cb-lang-list li[aria-selected="true"] small {
    color: rgba(255, 255, 255, .8);
}

/* hide Google's own toolbar / tooltip, keep the page where it was */
body > .skiptranslate,
.goog-te-banner-frame,
iframe.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
    display: none !important;
}

body {
    top: 0 !important;
}

font[style*="background-color"],
.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .cb-career-head h2 {
        font-size: 28px;
    }

    .cb-apply-form {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .cb-career-head {
        margin-bottom: 28px;
    }

    .cb-career-head h2 {
        font-size: 24px;
    }

    .cb-career-head p {
        font-size: 14px;
    }

    .cb-job-head {
        align-items: flex-start;
        padding: 20px;
    }

    .cb-job-title {
        font-size: 17px;
    }

    .cb-job-meta {
        gap: 6px 16px;
    }

    .cb-job-meta > span {
        font-size: 13px;
    }

    .cb-job-side {
        flex-direction: column-reverse;
        align-items: flex-end;
        gap: 10px;
    }

    .cb-job-toggle {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .cb-job-content {
        margin: 0 20px;
        padding: 20px 0 24px;
    }

    .cb-job-content p,
    .cb-job-content li {
        font-size: 14px;
    }

    .cb-apply {
        margin-top: 50px;
    }

    .cb-apply-form {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 18px;
    }

    .cb-submit .btn-style1,
    .cb-apply-btn {
        width: 100%;
    }

    .cb-lang {
        left: 14px;
        bottom: 14px;
    }

    .cb-lang-btn {
        width: 44px;
        padding: 0;
        justify-content: center;
    }

    .cb-lang-current,
    .cb-lang-caret {
        display: none;
    }

    .cb-visitors {
        margin-top: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cb-job,
    .cb-job::before,
    .cb-job-toggle,
    .cb-job-toggle i,
    .cb-lang-caret {
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   4. Page not found (include/not-found.php)
   -------------------------------------------------------------------------- */
.cb-not-found-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

@media (max-width: 767px) {
    .cb-not-found-actions .cb-apply-btn {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   5. Responsive fixes for existing templates (no visual change on desktop)
   -------------------------------------------------------------------------- */
/* blog detail: the cover image and editor images were rendered at their
   natural width (800px+) and pushed the page sideways on phones/tablets */
.blog-style-1-details .single-image img,
.blog-style-1-details .blog-description img {
    max-width: 100%;
    height: auto;
}

/* editor tables / iframes inside the blog body scroll instead of overflowing */
.blog-style-1-details .blog-description table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.blog-style-1-details .blog-description iframe {
    max-width: 100%;
}

/* --------------------------------------------------------------------------
   6. Product card icons on touch / narrow screens
   --------------------------------------------------------------------------
   Below 992px the icons are always shown, but the desktop slide-in offsets
   (translateX +-40px) were never reset for narrow screens with a mouse, so the
   wishlist and cart buttons landed on top of each other. */
@media (max-width: 991px) {
    .tred-pro .pro-icn {
        gap: 10px;
    }

    .tred-pro .pro-icn .w-c-q-icn,
    .tred-pro .pro-icn > *:first-child .w-c-q-icn,
    .tred-pro .pro-icn > .w-c-q-icn:first-child,
    .tred-pro .pro-icn > *:last-child .w-c-q-icn,
    .tred-pro .pro-icn > .w-c-q-icn:last-child,
    .tred-pro:hover .pro-icn a.w-c-q-icn:first-child,
    .tred-pro:hover .pro-icn a.w-c-q-icn:last-child {
        /* !important: main.css targets these with longer selectors
           (e.g. .grid-list-area ... form button.w-c-q-icn:last-child) */
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        margin: 0 !important;
    }
}

/* --------------------------------------------------------------------------
   7. Floating buttons - stacked, never on top of each other
   --------------------------------------------------------------------------
   Back-to-top (37px) sat at bottom:80px, exactly under the WhatsApp button at
   bottom:84px. Back-to-top now sits below WhatsApp, centred on the same axis. */
a.scroll {
    right: 29px;
    bottom: 24px;
    z-index: 1039;
}

/* --------------------------------------------------------------------------
   8. Mobile bottom navigation
   -------------------------------------------------------------------------- */
:root {
    --cb-bn-h: 62px;
    --cb-safe: env(safe-area-inset-bottom, 0px);
}

.cb-bottom-nav {
    display: none;
}

@media (max-width: 991px) {
    .cb-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1045;
        display: flex;
        height: calc(var(--cb-bn-h) + var(--cb-safe));
        padding-bottom: var(--cb-safe);
        background-color: #fff;
        border-top: 1px solid var(--cb-border);
        box-shadow: 0 -4px 16px rgba(34, 34, 34, .06);
    }

    .cb-bn-item {
        position: relative;
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-width: 0;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: .2px;
        color: #555;
        -webkit-tap-highlight-color: transparent;
    }

    .cb-bn-item i {
        font-size: 21px;
        line-height: 1;
    }

    .cb-bn-item:hover,
    .cb-bn-item:focus-visible,
    .cb-bn-item.is-active {
        color: var(--cb-primary);
    }

    .cb-bn-item:focus-visible {
        outline: 2px solid var(--cb-primary);
        outline-offset: -4px;
        border-radius: 8px;
    }

    .cb-bn-item.is-active::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 28px;
        height: 3px;
        background-color: var(--cb-primary);
        border-radius: 0 0 3px 3px;
        transform: translateX(-50%);
    }

    .cb-bn-badge {
        position: absolute;
        top: 7px;
        left: calc(50% + 6px);
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        font-size: 10px;
        font-weight: 700;
        line-height: 18px;
        text-align: center;
        color: #fff;
        background-color: var(--cb-primary);
        border: 2px solid #fff;
        border-radius: 50px;
        box-sizing: content-box;
    }

    .cb-bn-badge.is-zero {
        display: none;
    }

    /* page content ends above the bar. html/body are height:100%, so body
       padding would not extend the scroll - an in-flow spacer does. */
    body::after {
        content: "";
        display: block;
        height: calc(var(--cb-bn-h) + var(--cb-safe));
    }

    /* search and wishlist live in the bottom bar now */
    .header-main-area .header-main .header-element.right-block-box ul.shop-element li.search-wrap,
    .right-block-box ul.shop-element li.wishlist-wrap {
        display: none !important;
    }

    /* floating buttons sit above the bar */
    .cb-wa {
        right: 14px;
        bottom: calc(var(--cb-bn-h) + var(--cb-safe) + 58px);
        width: 50px;
        height: 50px;
    }

    .cb-wa-icon {
        width: 50px;
        height: 50px;
    }

    .cb-wa-pulse,
    .cb-wa-pulse::after {
        width: 50px;
        height: 50px;
        margin: -25px 0 0 -25px;
    }

    a.scroll {
        right: 20px;
        bottom: calc(var(--cb-bn-h) + var(--cb-safe) + 12px);
    }

    .cb-lang {
        left: 14px;
        bottom: calc(var(--cb-bn-h) + var(--cb-safe) + 12px);
    }

    .cb-toast {
        bottom: calc(var(--cb-bn-h) + var(--cb-safe) + 16px);
    }

    /* ----- footer copyright bar -----
       cb-2026 pushed the whole bar 76px in from the right to dodge the
       WhatsApp button, which knocked the centred text off-centre. The
       buttons now float above the bottom bar, so the bar is centred again
       and simply stacked: visitors pill, then the copyright line. */
    .footer-copyright .container,
    .footer-copyright .row {
        padding-right: 15px;
    }

    .footer-copyright {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .footer-copyright ul.f-bottom {
        flex-direction: column;
        gap: 12px;
        margin: 0;
    }

    .footer-copyright ul.f-bottom li.f-c {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .footer-copyright ul.f-bottom li.f-copyright {
        order: 2;
        margin: 0;
    }

    .footer-copyright ul.f-bottom li.f-payment {
        order: 1;
    }

    .footer-copyright ul.f-bottom li.f-copyright p {
        font-size: 12px;
        line-height: 1.7;
    }

    .cb-visitors {
        margin-top: 0;
    }
}

/* language button on phones: icon only, panel fits the screen */
@media (max-width: 767px) {
    .cb-lang-panel {
        width: min(280px, calc(100vw - 28px));
    }
}

/* Floating buttons dock above the red copyright bar once it scrolls into
   view (site-custom.js sets --cb-lift), so they never cover its text. */
.cb-lang,
.cb-wa,
a.scroll {
    transform: translateY(calc(-1 * var(--cb-lift, 0px)));
}

/* --------------------------------------------------------------------------
   9. Read more (category banner description)
   -------------------------------------------------------------------------- */
.cb-readmore-text.is-clamped {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
}

.cb-readmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--cb-primary);
    background: none;
    border: 0;
    cursor: pointer;
}

.cb-readmore-btn::after {
    content: "\f107"; /* fa-angle-down */
    font-family: FontAwesome;
    font-size: 14px;
    transition: transform .2s var(--cb-ease);
}

.cb-readmore-btn[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.cb-readmore-btn:hover {
    color: var(--cb-primary-dark);
    text-decoration: underline;
}

.cb-readmore-btn:focus-visible {
    outline: 2px solid var(--cb-primary);
    outline-offset: 3px;
    border-radius: 2px;
}

.cb-readmore-btn[hidden] {
    display: none;
}

/* --------------------------------------------------------------------------
   10. Price slider - scrolling must never move it
   --------------------------------------------------------------------------
   On touch screens a finger that lands on a handle while scrolling was read as
   a drag. pan-y hands vertical movement back to the page, so only a deliberate
   sideways drag of a handle changes the price. */
.price-range .range {
    touch-action: pan-y;
}

/* --------------------------------------------------------------------------
   11. Bottom nav badge sits on the icon's corner, not across it
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .cb-bn-badge {
        top: 5px;
        left: calc(50% + 8px);
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        font-size: 10px;
        line-height: 16px;
    }
}

/* --------------------------------------------------------------------------
   13. Product page image zoom (see zoom() in product-detail.php)
   -------------------------------------------------------------------------- */
.pro-page .pro-image .larg-image a.long-img figure.zoom {
    background-repeat: no-repeat;
    background-size: 250%;
    border-radius: 8px;
}

.pro-page .pro-image .larg-image a.long-img figure.zoom img {
    transition: opacity .25s ease;
}

/* touch screens have no hover: keep the photo, don't hijack scrolling */
@media (hover: none) {
    .pro-page .pro-image .larg-image a.long-img figure.zoom {
        cursor: default;
    }

    .pro-page .pro-image .larg-image a.long-img figure.zoom img:hover {
        opacity: 1;
    }
}

/* --------------------------------------------------------------------------
   14. Company Photo Gallery (gallery.php) - grid + lightbox
   -------------------------------------------------------------------------- */
.cb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cb-gallery-item {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: #eee;
    border: 0;
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow);
    cursor: zoom-in;
    transition: box-shadow .3s var(--cb-ease), transform .3s var(--cb-ease);
}

.cb-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--cb-ease);
}

/* soft shade so the caption stays readable on light photos */
.cb-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .55) 100%);
    pointer-events: none;
}

.cb-gallery-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    font-size: 18px;
    color: var(--cb-primary);
    background-color: #fff;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.7);
    transition: opacity .3s var(--cb-ease), transform .3s var(--cb-ease);
}

.cb-gallery-caption {
    position: absolute;
    right: 14px;
    bottom: 12px;
    left: 14px;
    z-index: 1;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.cb-gallery-item:hover,
.cb-gallery-item:focus-visible {
    box-shadow: var(--cb-shadow-hover);
    transform: translateY(-3px);
}

.cb-gallery-item:hover img,
.cb-gallery-item:focus-visible img {
    transform: scale(1.06);
}

.cb-gallery-item:hover .cb-gallery-zoom,
.cb-gallery-item:focus-visible .cb-gallery-zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.cb-gallery-item:focus-visible {
    outline: 3px solid var(--cb-primary);
    outline-offset: 3px;
}

@media (max-width: 1199px) {
    .cb-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .cb-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .cb-gallery-item { border-radius: 8px; }
    .cb-gallery-caption { right: 10px; bottom: 8px; left: 10px; font-size: 12px; }
    .cb-gallery-zoom { display: none; }
}

/* lightbox */
.cb-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 60px 20px;
    background-color: rgba(17, 17, 17, .92);
    animation: cbLbIn .25s var(--cb-ease);
}

.cb-lightbox[hidden] { display: none; }

@keyframes cbLbIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cb-lb-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(1100px, 100%);
    max-height: 100%;
    margin: 0;
}

.cb-lb-img {
    max-width: 100%;
    max-height: calc(100vh - 170px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.cb-lb-caption {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    width: 100%;
    margin-top: 14px;
    font-size: 15px;
    color: #fff;
}

.cb-lb-count {
    flex-shrink: 0;
    color: rgba(255, 255, 255, .65);
}

.cb-lb-btn {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    font-size: 26px;
    color: #fff;
    background-color: rgba(255, 255, 255, .12);
    border: 0;
    border-radius: 50%;
    transition: background-color .2s var(--cb-ease);
}

.cb-lb-btn:hover,
.cb-lb-btn:focus-visible {
    background-color: var(--cb-primary);
}

.cb-lb-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.cb-lb-btn[hidden] { display: none; }

.cb-lb-close {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 20px;
}

@media (max-width: 767px) {
    .cb-lightbox { padding: 64px 12px 84px; }
    .cb-lb-prev,
    .cb-lb-next {
        position: absolute;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
    .cb-lb-prev { left: calc(50% - 54px); }
    .cb-lb-next { right: calc(50% - 54px); }
    .cb-lb-img { max-height: calc(100vh - 220px); }
    .cb-lb-caption { font-size: 13px; }
}

body.cb-lb-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   15. My account - order filter tabs (order-history.php)
   -------------------------------------------------------------------------- */
.cb-order-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.cb-order-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--cb-text);
    background-color: #fff;
    border: 1px solid var(--cb-border);
    border-radius: 999px;
    transition: color .2s var(--cb-ease), background-color .2s var(--cb-ease), border-color .2s var(--cb-ease);
}

.cb-order-tab:hover,
.cb-order-tab:focus-visible {
    color: var(--cb-text);
    border-color: var(--cb-accent);
}

.cb-order-tab:focus-visible {
    outline: 2px solid var(--cb-accent);
    outline-offset: 2px;
}

.cb-order-tab-n {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--cb-muted);
    background-color: var(--cb-bg-soft);
    border-radius: 999px;
}

.cb-order-tab.is-active {
    color: #fff;
    background-color: var(--cb-accent);
    border-color: var(--cb-accent);
}

.cb-order-tab.is-active .cb-order-tab-n {
    color: var(--cb-accent);
    background-color: #fff;
}

@media (max-width: 767px) {
    /* one swipeable row instead of wrapping into a block of pills */
    .cb-order-tabs {
        flex-wrap: nowrap;
        margin-right: -15px;
        padding-right: 15px;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .cb-order-tabs::-webkit-scrollbar { display: none; }
    .cb-order-tab { flex-shrink: 0; padding: 7px 14px; font-size: 13px; }
}

/* --------------------------------------------------------------------------
   16. My account - Help and Support (help-support.php)
   -------------------------------------------------------------------------- */
.cb-help-head {
    margin-bottom: 24px;
}

.cb-help-head h2 {
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--cb-text);
}

.cb-help-head p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--cb-muted);
}

.cb-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.cb-help-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 22px 18px;
    background-color: #fff;
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius);
    transition: box-shadow .3s var(--cb-ease), border-color .3s var(--cb-ease);
}

.cb-help-card:hover {
    border-color: transparent;
    box-shadow: var(--cb-shadow-hover);
}

.cb-help-icon {
    display: inline-grid;
    flex-shrink: 0;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    font-size: 20px;
    color: #4b9634;
    background-color: #f4f6f2;
    border-radius: 50%;
}

.cb-help-card h3,
.cb-help-address h3 {
    margin: 0 0 2px;
    font-size: 16px;
    font-weight: 600;
    color: var(--cb-text);
}

.cb-help-value {
    max-width: 100%;
    font-size: 14px;
    font-weight: 600;
    color: var(--cb-primary);
    overflow-wrap: anywhere;
}

.cb-help-value:hover,
.cb-help-value:focus-visible {
    color: var(--cb-primary-dark);
    text-decoration: underline;
}

.cb-help-note {
    margin-top: 4px;
    font-size: 13px;
    color: var(--cb-muted);
}

.cb-help-address {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 16px;
    padding: 20px;
    background-color: var(--cb-bg-soft);
    border-radius: var(--cb-radius);
}

.cb-help-address .cb-help-icon { margin-bottom: 0; }

.cb-help-address p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--cb-muted);
}

.cb-help-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.cb-help-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--cb-text);
    border: 1px solid var(--cb-border);
    border-radius: 999px;
    transition: color .2s var(--cb-ease), border-color .2s var(--cb-ease);
}

.cb-help-links a i { color: var(--cb-accent); }

.cb-help-links a:hover,
.cb-help-links a:focus-visible {
    color: var(--cb-text);
    border-color: var(--cb-accent);
}

@media (max-width: 767px) {
    .cb-help-head h2 { font-size: 20px; }
    .cb-help-card { padding: 18px 16px; }
    .cb-help-address { padding: 16px; }
}

/* --------------------------------------------------------------------------
   17. Product labels - Best Seller / Featured (cb_product_badge())
   Rides the theme's own ribbon (.Pro-lable span.p-text, top-left of the
   card; the discount keeps the top-right). Only the colours and icon are ours.
   -------------------------------------------------------------------------- */
.tred-pro .cb-pro-badge span.p-text {
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 10px 2px 17px !important;
    font-weight: 600;
    letter-spacing: .3px;
    white-space: nowrap;
    /* fixed-depth notch - the theme's 20% notch grows with the text and bit into the icon */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 9px 50%) !important;
}

.cb-pro-badge span.cb-badge-bestseller {
    color: #222 !important;
    background-color: var(--cb-accent) !important;
}

.cb-pro-badge span.cb-badge-featured {
    color: #fff !important;
    background-color: #4b9634 !important;
}

.cb-pro-badge span.p-text i {
    font-size: 11px;
}

/* product page / wishlist: same ribbon, sitting in the flow above the title */
.cb-pro-badge-inline {
    margin-bottom: 8px;
    line-height: 1;
}

.cb-pro-badge-inline span.p-text {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px 4px 17px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12px 50%);
}

/* two-up phone cards also carry the discount on the right: keep the label compact */
@media (max-width: 575px) {
    .tred-pro .cb-pro-badge span.p-text {
        top: 4px;
        left: 4px;
        padding: 2px 7px 2px 12px !important;
        font-size: 10.5px;
        letter-spacing: 0;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 7px 50%) !important;
    }
    .tred-pro .cb-pro-badge span.p-text i { display: none; }
    /* a card with both: the discount tucks under the label on the same edge */
    .tred-pro .cb-pro-badge + .Pro-lable span.p-discount {
        top: 26px !important;
        right: auto !important;
        left: 4px !important;
        padding: 2px 7px 2px 12px !important;
        font-size: 10.5px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 7px 50%) !important;
    }
}

/* --------------------------------------------------------------------------
   18. Checkout - coupon box (checkout.php)
   -------------------------------------------------------------------------- */
.cb-coupon {
    margin: 20px;
    padding: 16px;
    background-color: #fff;
    border: 1px dashed #cfcfcf;
    border-radius: var(--cb-radius);
    transition: opacity .2s var(--cb-ease);
}

.cb-coupon.is-busy { opacity: .7; }

.cb-coupon-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cb-text);
}

.cb-coupon-label i { color: var(--cb-accent); }

.cb-coupon-row {
    display: flex;
    gap: 8px;
}

.cb-coupon-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cb-text);
    background-color: #fff;
    border: 1px solid var(--cb-border);
    border-radius: 8px;
    outline: none;
    transition: border-color .2s var(--cb-ease), box-shadow .2s var(--cb-ease);
}

.cb-coupon-input::placeholder {
    font-weight: 400;
    letter-spacing: .3px;
    text-transform: none;
    color: #9a9a9a;
}

.cb-coupon-input:focus {
    border-color: #4b9634;
    box-shadow: 0 0 0 3px rgba(75, 150, 52, .15);
}

.cb-coupon-apply {
    flex-shrink: 0;
    height: 44px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background-color: #4b9634;
    border: 0;
    border-radius: 8px;
    transition: background-color .2s var(--cb-ease);
}

.cb-coupon-apply:hover,
.cb-coupon-apply:focus-visible { background-color: #3d7c2a; }

.cb-coupon-apply:focus-visible,
.cb-coupon-remove:focus-visible {
    outline: 2px solid #4b9634;
    outline-offset: 2px;
}

.cb-coupon-apply:disabled { cursor: progress; opacity: .8; }

.cb-coupon-applied {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cb-coupon-applied[hidden],
.cb-coupon-form[hidden] { display: none; }

.cb-coupon-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 36px;
    height: 36px;
    font-size: 14px;
    color: #fff;
    background-color: #4b9634;
    border-radius: 50%;
}

.cb-coupon-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    line-height: 1.4;
}

.cb-coupon-info strong {
    font-size: 15px;
    letter-spacing: 1px;
    color: var(--cb-text);
}

.cb-coupon-info span {
    font-size: 13px;
    font-weight: 600;
    color: #4b9634;
}

.cb-coupon-remove {
    flex-shrink: 0;
    padding: 6px 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cb-primary);
    background: none;
    border: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cb-coupon-remove:hover { color: var(--cb-primary-dark); }

.cb-coupon-msg {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.cb-coupon-msg:not(:empty) { margin-top: 10px; }
.cb-coupon-msg.is-error { color: var(--cb-primary); }
.cb-coupon-msg.is-ok { color: #4b9634; }

.order-details.cb-discount-row[hidden] { display: none !important; }
.order-details.cb-discount-row span:last-child { color: #4b9634; font-weight: 600; }

/* --------------------------------------------------------------------------
   19. Product page short description - 4 lines + Read more (section 9 JS)
   The text is HTML with its own <p>s, so the clamp is a height, not
   line-clamp (which cannot count lines across several paragraphs).
   -------------------------------------------------------------------------- */
.pro-page .pro-image .pro-info .cb-pro-desc {
    margin-top: 9px;
    color: #999;
    line-height: 1.7;
}

.pro-page .pro-image .pro-info .cb-pro-desc p { margin: 0 0 8px; }
.pro-page .pro-image .pro-info .cb-pro-desc p:last-child { margin-bottom: 0; }

.cb-pro-desc .cb-readmore-text.is-clamped {
    display: block;
    max-height: 6.8em; /* 4 lines x 1.7 */
    overflow: hidden;
    -webkit-line-clamp: unset;
    line-clamp: none;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
    mask-image: linear-gradient(180deg, #000 60%, transparent);
}

/* --------------------------------------------------------------------------
   20. Checkout - "Available coupons" list (tap to apply)
   -------------------------------------------------------------------------- */
.cb-offers {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eee;
}

.cb-offers-title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--cb-muted);
}

.cb-offers-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cb-offer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background-color: #fff;
    border: 1px solid var(--cb-border);
    border-left: 4px solid #4b9634;
    border-radius: 8px;
    transition: border-color .2s var(--cb-ease), background-color .2s var(--cb-ease);
}

.cb-offer.is-applied {
    background-color: #f4f9f1;
    border-color: #4b9634;
}

.cb-offer.is-locked {
    background-color: var(--cb-bg-soft);
    border-left-color: #cfcfcf;
}

.cb-offer-main {
    flex: 1;
    min-width: 0;
}

.cb-offer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}

.cb-offer-code {
    display: inline-block;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--cb-text);
    background-color: #fff;
    border: 1px dashed #4b9634;
    border-radius: 4px;
}

.cb-offer.is-locked .cb-offer-code {
    color: var(--cb-muted);
    border-color: #bbb;
}

.cb-offer-save {
    font-size: 13px;
    font-weight: 700;
    color: #4b9634;
}

.cb-offer-title {
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--cb-text);
}

.cb-offer-desc,
.cb-offer-lock {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--cb-muted);
}

.cb-offer-lock {
    font-weight: 600;
    color: #b7791f;
}

.cb-offer-lock a {
    color: var(--cb-primary);
    text-decoration: underline;
}

.cb-offer-apply {
    flex-shrink: 0;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #4b9634;
    background-color: #fff;
    border: 1px solid #4b9634;
    border-radius: 6px;
    transition: color .2s var(--cb-ease), background-color .2s var(--cb-ease);
}

.cb-offer-apply:hover,
.cb-offer-apply:focus-visible {
    color: #fff;
    background-color: #4b9634;
}

.cb-offer-apply:focus-visible {
    outline: 2px solid #4b9634;
    outline-offset: 2px;
}

.cb-offer-apply:disabled {
    color: #fff;
    background-color: #4b9634;
    cursor: default;
    opacity: 1;
}

/* applied coupon on top, "Have another code?" under it */
.cb-coupon .cb-coupon-applied:not([hidden]) ~ .cb-coupon-form { margin-top: 14px; }
.cb-coupon-applied:not([hidden]) ~ .cb-coupon-form .cb-coupon-label { font-weight: 500; color: var(--cb-muted); }

/* --------------------------------------------------------------------------
   21. Company Profile (company-profile.php)
   Headings / eyebrows reuse the career ones (.cb-career-head, .cb-career-eyebrow).
   -------------------------------------------------------------------------- */
.cb-cp-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
    align-items: center;
}

.cb-cp-intro-grid.is-text-only {
    grid-template-columns: minmax(0, 1fr);
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.cb-cp-media {
    position: relative;
    padding: 0 0 24px 24px;
}

/* offset brand block behind the photo */
.cb-cp-media::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 70%;
    background-color: #eef6ea;
    border-radius: 20px;
}

.cb-cp-media img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(34, 34, 34, .12);
}

.cb-cp-float {
    position: absolute;
    right: -18px;
    bottom: 44px;
    display: flex;
    flex-direction: column;
    padding: 16px 22px;
    background-color: #fff;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(34, 34, 34, .14);
}

.cb-cp-float strong {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    color: var(--cb-primary);
}

.cb-cp-float span {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--cb-muted);
}

.cb-cp-intro-text h2 {
    margin: 4px 0 18px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--cb-text);
}

.cb-cp-lead,
.cb-cp-lead p {
    font-size: 16px;
    line-height: 1.85;
    color: #555;
}

.cb-cp-lead p { margin: 0; }

.cb-cp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.cb-cp-intro-grid.is-text-only .cb-cp-actions { justify-content: center; }

.cb-cp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background-color: var(--cb-primary);
    border: 2px solid var(--cb-primary);
    border-radius: 8px;
    transition: background-color .2s var(--cb-ease), border-color .2s var(--cb-ease), color .2s var(--cb-ease);
}

.cb-cp-btn:hover,
.cb-cp-btn:focus-visible {
    color: #fff;
    background-color: var(--cb-primary-dark);
    border-color: var(--cb-primary-dark);
}

.cb-cp-btn.is-ghost {
    color: var(--cb-text);
    background-color: transparent;
    border-color: var(--cb-border);
}

.cb-cp-btn.is-ghost:hover,
.cb-cp-btn.is-ghost:focus-visible {
    color: var(--cb-primary);
    background-color: transparent;
    border-color: var(--cb-primary);
}

.cb-cp-btn:focus-visible,
.cb-cp-cta-btn:focus-visible,
.cb-cp-cat:focus-visible {
    outline: 3px solid var(--cb-accent);
    outline-offset: 3px;
}

/* at a glance */
.cb-cp-glance-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 8px;
    list-style: none;
    background-color: #fff;
    border: 1px solid var(--cb-border);
    border-radius: 16px;
    box-shadow: var(--cb-shadow);
}

.cb-cp-glance-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
}

.cb-cp-glance-list li + li { border-left: 1px solid #eee; }

.cb-cp-glance-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 50px;
    height: 50px;
    font-size: 20px;
    color: #4b9634;
    background-color: #eef6ea;
    border-radius: 12px;
}

.cb-cp-glance-list div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cb-cp-glance-list strong {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--cb-text);
    overflow-wrap: anywhere;
}

.cb-cp-glance-list strong a { color: inherit; }
.cb-cp-glance-list strong a:hover { color: var(--cb-primary); }

.cb-cp-glance-list span:not(.cb-cp-glance-icon) {
    margin-top: 2px;
    font-size: 13px;
    color: var(--cb-muted);
}

/* our story */
.cb-cp-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
}

.cb-cp-story-head {
    position: sticky;
    top: 120px;
}

.cb-cp-story-head h2 {
    margin-top: 4px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--cb-text);
}

.cb-cp-story-head h2 span { color: var(--cb-primary); }

.cb-cp-story-body {
    padding-left: 32px;
    border-left: 3px solid #eef6ea;
}

.cb-cp-story-body p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.9;
    color: #555;
}

.cb-cp-story-body p:last-child { margin-bottom: 0; }

/* product range */
.cb-cp-offer { background-color: var(--cb-bg-soft); }

.cb-cp-cats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.cb-cp-cat {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--cb-text);
    background-color: #fff;
    border-radius: 16px;
    box-shadow: var(--cb-shadow);
    transition: transform .3s var(--cb-ease), box-shadow .3s var(--cb-ease);
    position: relative;
}

.cb-cp-cat:hover {
    color: var(--cb-text);
    box-shadow: var(--cb-shadow-hover);
    transform: translateY(-4px);
}

.cb-cp-cat-img {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #f1f1f1;
}

.cb-cp-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--cb-ease);
}

.cb-cp-cat:hover .cb-cp-cat-img img { transform: scale(1.06); }

.cb-cp-cat-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 64px 20px 20px;
}

.cb-cp-cat-body strong { font-size: 18px; font-weight: 700; }
.cb-cp-cat-body span { font-size: 13px; color: var(--cb-muted); }

.cb-cp-cat-go {
    position: absolute;
    right: 20px;
    bottom: 22px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--cb-primary);
    background-color: var(--cb-primary-soft);
    border-radius: 50%;
    transition: color .2s var(--cb-ease), background-color .2s var(--cb-ease);
}

.cb-cp-cat:hover .cb-cp-cat-go {
    color: #fff;
    background-color: var(--cb-primary);
}

/* promise */
.cb-cp-promise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.cb-cp-promise-card {
    padding: 32px 28px;
    text-align: center;
    background-color: #fff;
    border: 1px solid var(--cb-border);
    border-radius: 16px;
    transition: border-color .3s var(--cb-ease), box-shadow .3s var(--cb-ease);
}

.cb-cp-promise-card:hover {
    border-color: transparent;
    box-shadow: var(--cb-shadow-hover);
}

.cb-cp-promise-card img {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    object-fit: contain;
}

.cb-cp-promise-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
    text-transform: capitalize;
    color: var(--cb-text);
}

.cb-cp-promise-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--cb-muted);
}

/* contact band */
.cb-cp-cta { padding-bottom: 60px; }

.cb-cp-cta-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 40px 48px;
    background: linear-gradient(120deg, #3d7c2a 0%, #4b9634 60%, #5aa843 100%);
    border-radius: 20px;
}

.cb-cp-cta-text h2 {
    margin-bottom: 6px;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

.cb-cp-cta-text p {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, .85);
}

.cb-cp-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cb-cp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background-color: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 8px;
    transition: background-color .2s var(--cb-ease), color .2s var(--cb-ease);
}

.cb-cp-cta-btn:hover,
.cb-cp-cta-btn:focus-visible {
    color: #3d7c2a;
    background-color: #fff;
}

.cb-cp-cta-btn.is-light {
    color: #3d7c2a;
    background-color: #fff;
    border-color: #fff;
}

.cb-cp-cta-btn.is-light:hover { background-color: #f1f7ee; }

/* tablet */
@media (max-width: 991px) {
    .cb-cp-intro-grid,
    .cb-cp-story-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .cb-cp-media { max-width: 560px; margin: 0 auto; width: 100%; }
    .cb-cp-intro-text h2 { font-size: 30px; }
    .cb-cp-story-head { position: static; }
    .cb-cp-story-head h2 { font-size: 28px; }
    .cb-cp-glance-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cb-cp-glance-list li + li { border-left: 0; }
    .cb-cp-glance-list li:nth-child(even) { border-left: 1px solid #eee; }
    .cb-cp-glance-list li:nth-child(n+3) { border-top: 1px solid #eee; }
    .cb-cp-promise-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
    .cb-cp-cta-box { padding: 32px; }
}

/* phone */
@media (max-width: 575px) {
    .cb-cp-media { padding: 0 0 16px 16px; }
    .cb-cp-float { right: 8px; bottom: 28px; padding: 12px 16px; }
    .cb-cp-float strong { font-size: 24px; }
    .cb-cp-intro-text h2 { font-size: 26px; }
    .cb-cp-lead, .cb-cp-lead p { font-size: 15px; }
    .cb-cp-actions .cb-cp-btn { flex: 1; justify-content: center; }
    .cb-cp-glance-list { grid-template-columns: minmax(0, 1fr); }
    .cb-cp-glance-list li:nth-child(even) { border-left: 0; }
    .cb-cp-glance-list li + li { border-top: 1px solid #eee; }
    .cb-cp-glance-list li { padding: 14px 12px; }
    .cb-cp-story-body { padding-left: 18px; }
    .cb-cp-cta-box { padding: 28px 22px; text-align: center; justify-content: center; }
    .cb-cp-cta-text h2 { font-size: 22px; }
    .cb-cp-cta-actions { justify-content: center; width: 100%; }
    .cb-cp-cta-btn { flex: 1 1 auto; justify-content: center; }
}

/* company profile - section rhythm and small-screen buttons */
.cb-cp-intro,
.cb-cp-story,
.cb-cp-offer,
.cb-cp-promise { padding-top: 60px; padding-bottom: 60px; }
.cb-cp-intro { padding-bottom: 40px; }
.cb-cp-cta-btn { min-height: 48px; line-height: 1.2; white-space: nowrap; }
.cb-cp-btn { white-space: nowrap; }

@media (max-width: 767px) {
    .cb-cp-intro,
    .cb-cp-story,
    .cb-cp-offer,
    .cb-cp-promise { padding-top: 40px; padding-bottom: 40px; }
}

@media (max-width: 575px) {
    .cb-cp-actions { flex-direction: column; }
    .cb-cp-actions .cb-cp-btn { width: 100%; }
    .cb-cp-cta-actions { flex-direction: column; }
    .cb-cp-cta-btn { width: 100%; }
}
/* theme styles tel: links separately - keep these buttons centred */
.cb-cp-cta-actions a.cb-cp-cta-btn { display: inline-flex !important; align-items: center !important; justify-content: center; padding-top: 12px !important; padding-bottom: 12px !important; }
.cb-cp-glance-list strong a { display: inline !important; line-height: inherit !important; padding: 0 !important; }

/* --------------------------------------------------------------------------
   22. Product page - Product Usage Instructions (collapsible, under the text)
   -------------------------------------------------------------------------- */
.cb-usage {
    margin: 16px 0 20px;
    background-color: #fff;
    border: 1px solid var(--cb-border);
    border-radius: 10px;
    transition: border-color .2s var(--cb-ease), box-shadow .2s var(--cb-ease);
}

.cb-usage[open] {
    border-color: #cfe3c6;
    box-shadow: 0 6px 20px rgba(75, 150, 52, .08);
}

.cb-usage summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.cb-usage summary::-webkit-details-marker { display: none; }

.cb-usage summary:focus-visible {
    outline: 2px solid #4b9634;
    outline-offset: 2px;
    border-radius: 10px;
}

.cb-usage-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 30px;
    height: 30px;
    font-size: 13px;
    color: #4b9634;
    background-color: #eef6ea;
    border-radius: 50%;
}

.cb-usage-title {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--cb-text);
}

.cb-usage-chev {
    font-size: 18px;
    color: var(--cb-muted);
    transition: transform .2s var(--cb-ease);
}

.cb-usage[open] .cb-usage-chev { transform: rotate(180deg); }

.cb-usage-body {
    padding: 0 16px 16px 58px;
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

.cb-usage-body p { margin: 0 0 8px; color: #666; }
.cb-usage-body p:last-child { margin-bottom: 0; }
.cb-usage-body ul,
.cb-usage-body ol { margin: 0 0 8px; padding-left: 18px; }
.cb-usage-body ul { list-style: disc; }
.cb-usage-body ol { list-style: decimal; }
.cb-usage-body li { margin-bottom: 4px; }

@media (max-width: 575px) {
    .cb-usage-body { padding-left: 16px; }
}

/* --------------------------------------------------------------------------
   23. Checkout - remove (x) on each order item
   -------------------------------------------------------------------------- */
.order-area .check-pro ul.check-ul li { position: relative; }

.cb-check-remove {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    font-size: 14px;
    color: #999;
    background-color: #fff;
    border: 1px solid var(--cb-border);
    border-radius: 50%;
    cursor: pointer;
    transition: color .2s var(--cb-ease), background-color .2s var(--cb-ease), border-color .2s var(--cb-ease);
}

.cb-check-remove:hover,
.cb-check-remove:focus-visible {
    color: #fff;
    background-color: var(--cb-primary);
    border-color: var(--cb-primary);
}

.cb-check-remove:focus-visible {
    outline: 2px solid var(--cb-primary);
    outline-offset: 2px;
}

.cb-check-remove:disabled { cursor: progress; opacity: .6; }

.order-area .check-pro ul.check-ul li.is-removing {
    opacity: .4;
    pointer-events: none;
    transition: opacity .2s var(--cb-ease);
}

/* --------------------------------------------------------------------------
   24. Footer - aligned columns, readable links, tidy contact block
   --------------------------------------------------------------------------
   Theme markup unchanged. Desktop: brand | three link lists | contact, all
   starting on one top line (the theme pushed the lists 40px below the logo).
   Tablet: brand + contact, links underneath. Phone: the theme's accordion
   stays as is, only restyled.
   -------------------------------------------------------------------------- */
.footer4 {
    padding-top: 64px;
    padding-bottom: 56px;
    background-color: var(--cb-bg-soft);
    border-top: 1px solid var(--cb-border);
}

.footer4 .home4-footer {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 2.3fr) minmax(0, 1.3fr);
    gap: 48px;
    align-items: start;
}

.footer4 .f-logo,
.footer4 .footer-bottom,
.footer4 .contact-6 {
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
}

/* brand */
.footer4 .f-logo ul.footer-ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin: 0;
}

.footer4 .f-logo ul.footer-ul > li {
    width: auto;
    margin: 0;
    padding: 0;
    text-align: left;
}

.footer4 .footer-12 img {
    max-width: 150px;
    margin: 0;
}

.footer4 .f-logo ul.footer-ul li.footer-logo p {
    max-width: 340px;
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: var(--cb-muted);
}

.footer4 .f-logo ul.footer-ul > li:last-child img {
    padding: 8px 14px;
    background-color: #fff;
    border: 1px solid var(--cb-border);
    border-radius: 10px;
}

/* column headings */
.footer4 .footer-link .f-link h2.h-footer,
.footer4 .contact-6 .f-deal-content h2 {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--cb-text);
}

.footer4 .footer-link .f-link h2.h-footer::after,
.footer4 .contact-6 .f-deal-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 3px;
    background-color: var(--cb-primary);
    border-radius: 3px;
}

.footer4 .contact-6 .f-deal-content {
    margin: 0;
}

/* link lists */
.footer4 .footer-link {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin: 0;
}

.footer4 .footer-link .f-link {
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
}

.footer4 .footer-link .f-link .collapse:not(.show) {
    margin-top: 0;
}

.footer4 .footer-link .f-link ul.f-link-ul {
    padding: 0;
}

.footer4 .footer-link .f-link ul.f-link-ul li.f-link-ul-li,
.footer4 .footer-link .f-link ul.f-link-ul li.f-link-ul-li:first-child {
    margin: 0 0 12px;
}

.footer4 .footer-link .f-link ul.f-link-ul li.f-link-ul-li a {
    display: inline-block;
    font-size: 14px;
    line-height: 1.5;
    color: var(--cb-muted);
    transition: color .2s var(--cb-ease), transform .2s var(--cb-ease);
}

.footer4 .footer-link .f-link ul.f-link-ul li.f-link-ul-li a:hover,
.footer4 .footer-link .f-link ul.f-link-ul li.f-link-ul-li a:focus-visible {
    color: var(--cb-primary);
    transform: translateX(4px);
}

/* contact */
.footer4 .contact-6 ul.f-contact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 14px;
}

.footer4 .contact-6 ul.f-contact > li:first-child {
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--cb-primary-soft);
    border-radius: 50%;
}

.footer4 .contact-6 ul.f-contact li i {
    font-size: 17px;
    line-height: 1;
    color: var(--cb-primary);
}

.footer4 .contact-6 ul.f-contact li.contact-link {
    align-self: center;
    min-width: 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--cb-text);
    overflow-wrap: anywhere;
}

.footer4 .contact-6 ul.f-contact li.contact-link p,
.footer4 .contact-6 ul.f-contact li.contact-link a {
    display: inline;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--cb-text);
}

.footer4 .contact-6 ul.f-contact li.contact-link a:hover {
    color: var(--cb-primary);
}

/* social */
.footer4 .contact-6 .f-contact.mt-2 {
    margin-top: 20px !important;
}

.footer4 .f-bottom li.f-social {
    gap: 10px;
}

.footer4 .f-bottom li.f-social a.f-icn-link {
    width: 38px;
    height: 38px;
    margin: 0;
    font-size: 15px;
    border-radius: 50%;
    overflow: hidden;
    transition: border-color .2s var(--cb-ease), transform .2s var(--cb-ease);
}

.footer4 .f-bottom li.f-social a.f-icn-link::after {
    border-radius: 50%;
}

.footer4 .f-bottom li.f-social a.f-icn-link:hover,
.footer4 .f-bottom li.f-social a.f-icn-link:focus-visible {
    border-color: var(--cb-primary);
    transform: translateY(-2px);
}

.footer4 .f-bottom li.f-social a.f-icn-link i {
    position: relative;
    z-index: 1;
}

.footer4 a:focus-visible {
    outline: 2px solid var(--cb-primary);
    outline-offset: 2px;
}

/* tablet: brand + contact side by side, the three lists underneath */
@media (max-width: 1199px) {
    .footer4 .home4-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 48px;
    }

    .footer4 .f-logo { order: 1; }
    .footer4 .contact-6 { order: 2; }

    .footer4 .footer-bottom {
        order: 3;
        grid-column: 1 / -1;
        padding-top: 36px;
        border-top: 1px solid var(--cb-border);
    }
}

/* phone: one column, the theme's accordion for the lists */
@media (max-width: 767px) {
    .footer4 {
        padding-top: 40px;
        padding-bottom: 32px;
    }

    .footer4 .home4-footer {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .footer4 .f-logo { order: 1; }
    .footer4 .footer-bottom { order: 2; }
    .footer4 .contact-6 { order: 3; }

    .footer4 .footer-bottom {
        grid-column: auto;
        padding-top: 0;
        border-top: 0;
    }

    .footer4 .footer-link {
        display: block;
        border-top: 1px solid var(--cb-border);
    }

    .footer4 .footer-link .f-link,
    .footer4 .footer-link .f-link:first-child {
        margin: 0;
        padding: 0;
        border: 0;
    }

    .footer4 .footer-link .f-link a.h-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 52px;
        padding: 0;
        font-size: 15px;
        font-weight: 700;
        color: var(--cb-text);
        border-bottom: 1px solid var(--cb-border);
    }

    .footer4 .footer-link .f-link a.h-footer i {
        font-size: 18px;
        color: var(--cb-muted);
    }

    .footer4 .footer-link .f-link ul.f-link-ul {
        padding: 14px 0 4px;
        border-bottom: 1px solid var(--cb-border);
    }
}

/* the logo file has a white canvas - let it sit on the tinted footer */
.footer4 .footer-12 img {
    mix-blend-mode: multiply;
}

/* the theme narrows and centres the about text at <=991px */
.footer4 .f-logo ul.footer-ul > li.footer-li,
.footer4 .f-logo ul.footer-ul > li.footer-li.footer-logo {
    display: block;
    width: auto;
    margin: 0;
    padding: 0;
    text-align: left;
}

/* the theme pads <body> by 1rem on phones; let the footer bands reach the
   screen edges while their content keeps the page's left line */
@media (max-width: 600px) {
    .footer4,
    .footer-copyright {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* --------------------------------------------------------------------------
   25. Order history - cancel order request
   -------------------------------------------------------------------------- */
.cb-cancel-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    margin-top: 8px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--cb-primary);
    white-space: nowrap;
    background-color: #fff;
    border: 1px solid var(--cb-primary);
    border-radius: 50px;
    cursor: pointer;
    transition: color .2s var(--cb-ease), background-color .2s var(--cb-ease);
}

.cb-cancel-btn:hover,
.cb-cancel-btn:focus-visible {
    color: #fff;
    background-color: var(--cb-primary);
}

.cb-cancel-btn:focus-visible {
    outline: 2px solid var(--cb-primary);
    outline-offset: 2px;
}

.cb-cancel-state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    border: 1px solid transparent;
    border-radius: 50px;
}

.cb-cancel-state.is-pending  { color: #95601a; background-color: #fff4e0; border-color: #f6dcae; }
.cb-cancel-state.is-done     { color: #12784a; background-color: #e3f6e9; border-color: #b7e4c9; }
.cb-cancel-state.is-declined { color: #5b636d; background-color: #eef0f3; border-color: #d8dde3; }

.cb-cancel-hint {
    display: block;
    max-width: 240px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--cb-muted);
    white-space: normal;
}

/* popup */
.cb-cancel-modal .modal-content {
    border: 0;
    border-radius: var(--cb-radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
}

.cb-cancel-modal .modal-header {
    align-items: flex-start;
    padding: 22px 24px 16px;
    border-bottom: 1px solid var(--cb-border);
}

.cb-cancel-modal .modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--cb-text);
}

.cb-cancel-sub {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--cb-muted);
}

.cb-cancel-modal .modal-body {
    padding: 20px 24px 8px;
}

.cb-cancel-label {
    display: block;
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cb-text);
}

.cb-cancel-label span {
    font-weight: 400;
    color: var(--cb-muted);
}

.cb-cancel-modal .form-control {
    min-height: 46px;
    margin-bottom: 18px;
    font-size: 15px;
    border: 1px solid var(--cb-border);
    border-radius: 8px;
}

.cb-cancel-modal textarea.form-control {
    min-height: 90px;
    resize: vertical;
}

.cb-cancel-modal .form-control:focus {
    border-color: var(--cb-primary);
    box-shadow: 0 0 0 3px rgba(212, 59, 59, .12);
}

.cb-cancel-info {
    display: flex;
    gap: 10px;
    margin: 0 0 12px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.6;
    color: #6b4a12;
    background-color: #fff8ea;
    border: 1px solid #f6dcae;
    border-radius: 8px;
}

.cb-cancel-info i {
    margin-top: 3px;
    color: var(--cb-accent);
}

.cb-cancel-modal .modal-footer {
    gap: 10px;
    padding: 12px 24px 22px;
    border-top: 0;
}

.cb-cancel-modal .modal-footer > * {
    margin: 0;
}

.cb-cancel-submit:disabled {
    cursor: progress;
    opacity: .7;
}

@media (max-width: 575px) {
    .cb-cancel-modal .modal-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .cb-cancel-modal .modal-footer .btn {
        width: 100%;
    }
}

/* popup buttons: the red one is the action, "Keep order" stays quiet */
.cb-cancel-modal .cb-cancel-keep,
.cb-cancel-modal .cb-cancel-submit {
    min-height: 44px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    border-radius: 8px;
}

.cb-cancel-modal .cb-cancel-keep {
    color: var(--cb-text);
    background-color: #fff;
    border: 1px solid var(--cb-border);
    cursor: pointer;
    transition: border-color .2s var(--cb-ease), background-color .2s var(--cb-ease);
}

.cb-cancel-modal .cb-cancel-keep:hover,
.cb-cancel-modal .cb-cancel-keep:focus-visible {
    background-color: var(--cb-bg-soft);
    border-color: #c9c9c9;
}

@media (max-width: 575px) {
    .cb-cancel-modal .cb-cancel-keep {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   26. Our Stores - store locator (our-store.php)
   --------------------------------------------------------------------------
   Headings and the empty state reuse the career ones (.cb-career-head,
   .cb-jobs-empty). Filter fields match the career form inputs.
   -------------------------------------------------------------------------- */
.cb-stores {
    background-color: var(--cb-bg-soft);
}

.cb-store-filter {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 16px;
    align-items: end;
    padding: 22px 24px;
    background-color: #fff;
    border-top: 3px solid var(--cb-primary);
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow);
}

.cb-store-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cb-text);
}

.cb-store-field select,
.cb-store-field input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    font-family: inherit;
    font-size: 15px;
    color: var(--cb-text);
    background-color: #fff;
    border: 1px solid var(--cb-border);
    border-radius: 8px;
    transition: border-color .2s var(--cb-ease), box-shadow .2s var(--cb-ease);
}

.cb-store-field select {
    padding-right: 42px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23222' stroke-width='1.6' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.cb-store-field input::placeholder {
    color: #9a9a9a;
}

.cb-store-field select:hover,
.cb-store-field input:hover {
    border-color: #c9c9c9;
}

.cb-store-field select:focus,
.cb-store-field input:focus {
    outline: none;
    border-color: var(--cb-primary);
    box-shadow: 0 0 0 3px rgba(212, 59, 59, .12);
}

.cb-store-actions-bar {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cb-store-filter .cb-store-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    padding: 0 26px;
    white-space: nowrap;
}

.cb-store-reset {
    font-size: 14px;
    font-weight: 600;
    color: var(--cb-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.cb-store-reset:hover,
.cb-store-reset:focus-visible {
    color: var(--cb-primary);
}

.cb-store-count {
    margin: 24px 0 16px;
    font-size: 14px;
    color: var(--cb-muted);
}

.cb-store-count strong {
    color: var(--cb-text);
}

.cb-store-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.cb-store {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background-color: #fff;
    border: 1px solid var(--cb-border);
    border-top: 3px solid var(--cb-primary);
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow);
    transition: transform .25s var(--cb-ease), box-shadow .25s var(--cb-ease);
}

.cb-store[hidden] {
    display: none;
}

.cb-store:hover {
    transform: translateY(-3px);
    box-shadow: var(--cb-shadow-hover);
}

.cb-store-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--cb-border);
}

.cb-store-icon {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 20px;
    color: var(--cb-primary);
    background-color: var(--cb-primary-soft);
    border-radius: 50%;
}

.cb-store-name {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--cb-text);
    word-break: break-word;
}

.cb-store-loc {
    font-size: 13px;
    font-weight: 600;
    color: var(--cb-primary);
}

.cb-store-info {
    flex: 1 1 auto;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.cb-store-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--cb-muted);
}

.cb-store-info li:last-child {
    margin-bottom: 0;
}

.cb-store-info i {
    flex: 0 0 16px;
    margin-top: 4px;
    text-align: center;
    color: var(--cb-primary);
}

.cb-store-info span {
    min-width: 0;
    word-break: break-word;
}

.cb-store-info strong {
    color: var(--cb-text);
}

.cb-store-info a {
    color: var(--cb-text);
}

.cb-store-info a:hover,
.cb-store-info a:focus-visible {
    color: var(--cb-primary);
}

.cb-store-btns {
    display: flex;
    gap: 10px;
}

.cb-store-btn {
    display: inline-flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid var(--cb-primary);
    border-radius: 8px;
    transition: background-color .2s var(--cb-ease), color .2s var(--cb-ease), border-color .2s var(--cb-ease);
}

.cb-store-btn.is-primary {
    color: #fff;
    background-color: var(--cb-primary);
}

.cb-store-btn.is-primary:hover,
.cb-store-btn.is-primary:focus-visible {
    color: #fff;
    background-color: var(--cb-primary-dark);
    border-color: var(--cb-primary-dark);
}

.cb-store-btn.is-ghost {
    flex: 0 0 auto;
    color: var(--cb-primary);
    background-color: #fff;
}

.cb-store-btn.is-ghost:hover,
.cb-store-btn.is-ghost:focus-visible {
    color: var(--cb-primary);
    background-color: var(--cb-primary-soft);
}

.cb-store-btn:focus-visible,
.cb-store-reset:focus-visible {
    outline: 2px solid var(--cb-primary);
    outline-offset: 2px;
}

/* the theme pads every tel: link 8px 0 on tablets/phones (cb-bundle) */
.cb-store-info a[href^="tel:"] {
    display: inline;
    padding: 0;
}

.cb-store-btns .cb-store-btn[href^="tel:"] {
    display: inline-flex;
    padding: 10px 16px;
}

.cb-store-none {
    margin-top: 8px;
}

.cb-store-none[hidden] {
    display: none;
}

.cb-store-none a {
    font-weight: 600;
    color: var(--cb-primary);
}

@media (max-width: 1199px) {
    .cb-store-filter {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cb-store-actions-bar {
        grid-column: 1 / -1;
    }

    .cb-store-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .cb-store-filter {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 18px 16px;
    }

    .cb-store-filter .cb-store-field:nth-child(3) {
        grid-column: 1 / -1;
    }

    .cb-store-actions-bar .cb-store-search {
        flex: 1 1 auto;
    }

    .cb-store-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cb-store {
        padding: 20px 16px;
    }

    .cb-store:hover {
        transform: none;
    }
}

@media (max-width: 400px) {
    .cb-store-filter {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cb-store,
    .cb-store-btn {
        transition: none;
    }

    .cb-store:hover {
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   27. Company Video Gallery (video-gallery.php)
   --------------------------------------------------------------------------
   Videos only: a 4 / 3 / 2 / 1 column grid of YouTube thumbnails (16:9,
   Shorts included). A click plays the video in a popup (section 12 JS).
   -------------------------------------------------------------------------- */
.cb-vg {
    background-color: var(--cb-bg-soft);
}

.cb-vg-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.cb-vg-item {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #111;
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow);
    transition: transform .3s var(--cb-ease), box-shadow .3s var(--cb-ease);
}

.cb-vg-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--cb-ease);
}

.cb-vg-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, .18);
    transition: background-color .3s var(--cb-ease);
}

.cb-vg-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--cb-shadow-hover);
}

.cb-vg-item:hover img {
    transform: scale(1.05);
}

.cb-vg-item:hover::after {
    background-color: rgba(0, 0, 0, .05);
}

.cb-vg-item:focus-visible {
    outline: 3px solid var(--cb-primary);
    outline-offset: 3px;
}

.cb-vg-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding-left: 4px;
    font-size: 18px;
    color: #fff;
    background-color: rgba(212, 59, 59, .92);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(212, 59, 59, .45);
    transform: translate(-50%, -50%);
    transition: transform .3s var(--cb-ease), background-color .3s var(--cb-ease);
}

.cb-vg-play::before {
    content: "";
    position: absolute;
    inset: -7px;
    border: 2px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    transition: transform .3s var(--cb-ease), opacity .3s var(--cb-ease);
}

.cb-vg-item:hover .cb-vg-play,
.cb-vg-item:focus-visible .cb-vg-play {
    background-color: var(--cb-primary);
    transform: translate(-50%, -50%) scale(1.08);
}

.cb-vg-item:hover .cb-vg-play::before {
    opacity: 0;
    transform: scale(1.25);
}

/* player popup */
.cb-vg-modal {
    position: fixed;
    inset: 0;
    z-index: 2050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.cb-vg-modal[hidden] {
    display: none;
}

.cb-vg-modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(10, 10, 10, .9);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    animation: cb-vg-fade .25s var(--cb-ease);
}

.cb-vg-modal-dialog {
    position: relative;
    width: min(1000px, 100%);
    animation: cb-vg-pop .3s var(--cb-ease);
}

.cb-vg-modal.is-short .cb-vg-modal-dialog {
    width: min(calc((100vh - 170px) * 9 / 16), 100%);
}

.cb-vg-modal-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 12px;
}

.cb-vg-modal-count {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
}

.cb-vg-modal-close,
.cb-vg-modal-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0;
    color: #fff;
    cursor: pointer;
    background-color: rgba(255, 255, 255, .12);
    border: 0;
    border-radius: 50%;
    transition: background-color .2s var(--cb-ease);
}

.cb-vg-modal-close {
    width: 44px;
    height: 44px;
    font-size: 28px;
    line-height: 1;
}

.cb-vg-modal-close:hover,
.cb-vg-modal-close:focus-visible,
.cb-vg-modal-nav:hover,
.cb-vg-modal-nav:focus-visible {
    background-color: var(--cb-primary);
}

.cb-vg-modal-close:focus-visible,
.cb-vg-modal-nav:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.cb-vg-modal-frame {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #000;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}

.cb-vg-modal.is-short .cb-vg-modal-frame {
    aspect-ratio: 9 / 16;
}

.cb-vg-modal-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.cb-vg-modal-nav {
    position: absolute;
    top: calc(50% + 28px);
    width: 52px;
    height: 52px;
    font-size: 28px;
    transform: translateY(-50%);
}

.cb-vg-modal-nav.is-prev {
    left: -76px;
}

.cb-vg-modal-nav.is-next {
    right: -76px;
}

.cb-vg-modal-nav[hidden] {
    display: none;
}

html.cb-vg-lock,
html.cb-vg-lock body {
    overflow: hidden;
}

@keyframes cb-vg-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes cb-vg-pop {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 1199px) {
    .cb-vg-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cb-vg-modal-dialog {
        padding-bottom: 68px;
    }

    .cb-vg-modal-nav {
        top: auto;
        bottom: 0;
        width: 48px;
        height: 48px;
        transform: none;
    }

    .cb-vg-modal-nav.is-prev {
        left: calc(50% - 60px);
    }

    .cb-vg-modal-nav.is-next {
        right: calc(50% - 60px);
    }

    .cb-vg-modal.is-short .cb-vg-modal-dialog {
        width: min(calc((100vh - 230px) * 9 / 16), 100%);
    }
}

@media (max-width: 767px) {
    .cb-vg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .cb-vg-item {
        border-radius: 10px;
    }

    .cb-vg-item:hover {
        transform: none;
    }

    .cb-vg-play {
        width: 44px;
        height: 44px;
        font-size: 15px;
    }

    .cb-vg-modal {
        padding: 16px;
    }
}

@media (max-width: 400px) {
    .cb-vg-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cb-vg-item,
    .cb-vg-item img,
    .cb-vg-play,
    .cb-vg-play::before,
    .cb-vg-modal-backdrop,
    .cb-vg-modal-dialog {
        transition: none;
        animation: none;
    }

    .cb-vg-item:hover,
    .cb-vg-item:hover img {
        transform: none;
    }
}
