/*
Theme Name:   Storefront Child
Theme URI:    https://woocommerce.com/products/storefront/
Author:       Automattic
Author URI:   https://woocommerce.com/
Description:  Storefront Child Theme — COG Pharma
Template:     storefront
Version:      1.0.0
License:      GNU General Public License v3 or later
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  storefront-child
Tags:         e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, editor-style
*/

/* ============================================================
   Step 1F — COG Pharma Global Styles
   ============================================================ */

* { box-sizing: border-box; }

/* Push page content below the fixed header (3px accent + 68px body = 71px) */
body { padding-top: 71px !important; }
/* When WP admin bar is visible, shift the fixed header down 32px */
.admin-bar .cog-hdr { top: 32px; }
@media screen and ( max-width: 782px ) {
    .admin-bar .cog-hdr { top: 46px; }
    body { padding-top: 117px !important; } /* 71 + 46px mobile admin bar */
}
body{
	padding: 0 !important;
}
a:focus {
    outline: navajowhite;
}
/* Accent top line on pages */
.accent-top-line {
    height: 4px;
    background: linear-gradient(90deg, #CA161B 0%, #011140 100%);
}

/* Product card hover */
.product-card-hover:hover {
    border-color: #CA161B !important;
    box-shadow: 0 8px 24px rgba(202, 22, 27, 0.1) !important;
}
.col-full{
	margin: 0 !important;
}
/* Footer link hover */
.footer-link:hover { color: #CA161B !important; }

/* Font assignments */
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; }
body, p, li, a, span, div, input, select, textarea, button { font-family: 'Montserrat', sans-serif; }

/* ============================================================
   Shop Page — COG Pharma
   ============================================================ */

/* ── Storefront overrides ── */
.woocommerce-no-sidebar #primary { width: 100% !important; float: none !important; }
.woocommerce-no-sidebar #secondary { display: none !important; }
.woocommerce-page .site-content { background: #f0f2f7; }
.woocommerce-page .entry-header,
.woocommerce-page .woocommerce-products-header { display: none !important; }
.woocommerce-page .woocommerce { max-width: none !important; padding: 0 !important; margin: 0 !important; }
.woocommerce-page .site-main { padding: 0 !important; }

/* My Account — strip Storefront's default two-column wrapper */
.woocommerce-account #primary { padding: 0 !important; }
.woocommerce-account .woocommerce { padding: 0 !important; margin: 0 !important; }
/* Storefront floats nav + content side by side — we use our own grid instead */
.woocommerce-account .woocommerce-MyAccount-navigation { float: none !important; width: auto !important; }
.woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }

/* ── Kill Storefront's pseudo-element icons on account nav ──────────────────
   Storefront adds colored ::before icons (font icon, e.g. shopping bag = amber
   for orders, red for logout). We use our own SVG icons so hide these. */
.cog-ma-nav li a::before,
.cog-ma-nav li a::after { display: none !important; content: '' !important; }

/* ── Reset Storefront's per-item color coding on nav links ──────────────── */
.cog-ma-nav li a,
.cog-ma-nav li a:visited,
.cog-ma-nav .woocommerce-MyAccount-navigation-link--orders a,
.cog-ma-nav .woocommerce-MyAccount-navigation-link--downloads a,
.cog-ma-nav .woocommerce-MyAccount-navigation-link--edit-address a,
.cog-ma-nav .woocommerce-MyAccount-navigation-link--edit-account a,
.cog-ma-nav .woocommerce-MyAccount-navigation-link--payment-methods a,
.cog-ma-nav .woocommerce-MyAccount-navigation-link--customer-logout a,
.cog-ma-nav .woocommerce-MyAccount-navigation-link--application-status a {
    color: #3a4a60 !important;
    background: transparent !important;
    padding: 12px 16px !important; /* override any Storefront padding-left added for its icons */
}
.cog-ma-nav li a:hover { color: #0d1f4c !important; background: #f4f7fd !important; }
.cog-ma-nav li a.is-active,
.cog-ma-nav li.is-active a { color: #fff !important; background: #0d1f4c !important; }

/* ── Banner ── */
.cog-shop-banner {
    background: linear-gradient(135deg, #0d1b2e 0%, #11243d 100%);
    padding: 52px 0 44px;
    border-bottom: 3px solid #CA161B;
}
.cog-shop-banner__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}
.cog-shop-banner__eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #CA161B;
    margin-bottom: 12px;
}
.cog-shop-banner__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.15;
}
.cog-shop-banner__sub {
    font-size: 17px;
    color: rgba(255,255,255,0.6);
    margin: 0 0 20px;
    max-width: 520px;
    font-weight: 400;
    line-height: 1.6;
}
.cog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}
.cog-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.cog-breadcrumb a:hover { color: #CA161B; }
.cog-breadcrumb span:last-child { color: rgba(255,255,255,0.7); }

/* ── Wrap + Layout ── */
.cog-shop-wrap {
    background: #f0f2f7;
    padding: 32px 0 72px;
    min-height: 70vh;
}
.cog-shop-layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

/* ── Sidebar ── */
.cog-shop-sidebar {
    position: sticky;
    top: 24px;
}
.cog-filter-box {
    background: #fff;
    border: 1px solid #e4e7ef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(13,27,46,0.06);
}
.cog-filter-box__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: #0d1b2e;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: #f8f9fb;
    border-bottom: 1px solid #e8eaef;
}
.cog-filter-box__head svg { color: #CA161B; flex-shrink: 0; }

/* Category list */
.cog-cat-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}
.cog-cat-list li { margin: 0; }
.cog-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 22px;
    font-size: 14px;
    color: #3a4455;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    border-left: 3px solid transparent;
    font-weight: 500;
}
.cog-cat-link:hover {
    background: #fff5f5;
    color: #CA161B;
    border-left-color: #CA161B;
    text-decoration: none;
}
.cog-cat-link.is-active {
    background: #fff0f0;
    color: #CA161B;
    border-left-color: #CA161B;
    font-weight: 600;
}
.cog-cat-count {
    font-size: 11px;
    background: #f0f2f7;
    color: #7a8494;
    border-radius: 10px;
    padding: 1px 7px;
    font-weight: 600;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}
.cog-cat-link.is-active .cog-cat-count,
.cog-cat-link:hover .cog-cat-count {
    background: #ffd8d8;
    color: #CA161B;
}

/* Subcategories */
.cog-subcat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease;
}
.cog-cat-item.is-open .cog-subcat-list { max-height: 400px; }
.cog-subcat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 22px 9px 38px;
    font-size: 13px;
    color: #5a6880;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background 0.15s, color 0.15s;
}
.cog-subcat-link::before {
    content: '–';
    margin-right: 6px;
    color: #c5cad4;
}
.cog-subcat-link:hover {
    background: #fff5f5;
    color: #CA161B;
    border-left-color: #CA161B;
    text-decoration: none;
}
.cog-subcat-link.is-active {
    background: #fff0f0;
    color: #CA161B;
    border-left-color: #CA161B;
    font-weight: 600;
}

/* ── Shop Main ── */
.cog-shop-main { min-width: 0; }

/* Toolbar */
.cog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e4e7ef;
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 6px rgba(13,27,46,0.05);
}
.cog-toolbar .woocommerce-result-count {
    font-size: 15px;
    color: #6b7585;
    margin: 0;
    font-weight: 500;
}
.cog-toolbar .woocommerce-ordering { margin: 0; }
.cog-toolbar .woocommerce-ordering select {
    border: 1px solid #dde0e6;
    border-radius: 7px;
    padding: 9px 16px;
    font-size: 14px;
    color: #2c3340;
    background: #f8f9fb;
    cursor: pointer;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

/* Loading overlay */
#cog-products-region { position: relative; }
.cog-loading {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(240,242,247,0.82);
    z-index: 10;
    border-radius: 12px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    color: #6b7585;
    backdrop-filter: blur(2px);
}
.cog-loading.is-active { display: flex; }
.cog-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e4e7ef;
    border-top-color: #CA161B;
    border-radius: 50%;
    animation: cogSpin 0.7s linear infinite;
}
@keyframes cogSpin { to { transform: rotate(360deg); } }

/* ── Product grid ── */
.woocommerce ul.products,
.cog-shop-main ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin: 0 0 32px !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
    width: 100% !important;
}
@media (max-width: 1100px) {
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 680px) {
    .cog-shop-layout { grid-template-columns: 1fr; }
    .cog-shop-sidebar { position: static; }
    .woocommerce ul.products { grid-template-columns: 1fr !important; }
}

/* ── Product card reset ── */
.cog-product-card {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    float: none !important;
}

/* ── Card shell ── */
.cog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e6ef;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit !important;
    height: 100%;
    transition: border-color 0.22s, box-shadow 0.22s, transform 0.2s;
}
.cog-card:hover {
    border-color: #CA161B;
    box-shadow: 0 12px 40px rgba(202,22,27,0.13);
    transform: translateY(-4px);
}

/* ── Thumbnail ── */
.cog-card__thumb {
    position: relative;
    width: 100%;
    height: 170px;
    overflow: hidden;
    background: #f4f6fb;
    flex-shrink: 0;
}
.cog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.cog-card__img--ph {
    object-fit: contain;
    padding: 16px;
}
.cog-card:hover .cog-card__img:not(.cog-card__img--ph) {
    transform: scale(1.05);
}

/* Badges — overlay bottom-left of image */
.cog-card__badges {
    position: absolute;
    bottom: 10px;
    left: 12px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    z-index: 2;
}
.cog-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 20px;
    line-height: 1.3;
    backdrop-filter: blur(4px);
}
.cog-badge--rx         { background: rgba(202,22,27,0.9);  color: #fff; }
.cog-badge--otc        { background: rgba(0,102,204,0.88); color: #fff; }
.cog-badge--behind     { background: rgba(154,111,0,0.88); color: #fff; }
.cog-badge--varies     { background: rgba(138,94,0,0.88);  color: #fff; }
.cog-badge--controlled { background: rgba(106,0,204,0.88); color: #fff; }
.cog-badge--cold       { background: rgba(0,102,148,0.88); color: #fff; }
.cog-badge--vet        { background: rgba(46,125,50,0.92); color: #fff; }

/* ── Body ── */
.cog-card__body {
    padding: 18px 20px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.cog-card__name {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #0d1b2e !important;
    margin: 0 0 5px !important;
    line-height: 1.38 !important;
}
.cog-card__generic {
    font-size: 13px;
    color: #8a94a6;
    margin: 0 0 16px;
    font-weight: 500;
    font-style: italic;
}

/* Specs */
.cog-card__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    background: #f7f8fb;
    border: 1px solid #edf0f6;
    border-radius: 10px;
    padding: 13px 14px;
    flex: 1;
}
.cog-spec { display: flex; flex-direction: column; gap: 3px; }
.cog-spec--full { grid-column: 1 / -1; }
.cog-spec__l {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #b8bfc9;
}
.cog-spec__v {
    font-size: 13px;
    font-weight: 600;
    color: #2c3340;
    line-height: 1.3;
}

/* ── Footer ── */
.cog-card__footer {
    padding: 14px 20px 16px;
    border-top: 1px solid #eef0f6;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cog-card__price-row {
    display: flex;
    align-items: center;
}
.cog-card__price .price,
.cog-card__price .woocommerce-Price-amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0d1b2e;
}
.cog-price-na {
    font-size: 13px;
    font-weight: 600;
    color: #9aa0ac;
    font-style: italic;
}
.cog-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    background: #0d1b2e;
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 8px;
    letter-spacing: 0.3px;
    transition: background 0.18s;
}
.cog-card:hover .cog-card__btn {
    background: #CA161B;
}
.cog-card__btn svg { flex-shrink: 0; transition: transform 0.18s; }
.cog-card:hover .cog-card__btn svg { transform: translateX(3px); }

/* No products */
.cog-no-products {
    text-align: center;
    padding: 80px 20px;
    color: #9aa0ac;
}
.cog-no-products p { margin: 16px 0; font-size: 15px; }
.cog-no-products a { color: #CA161B; font-weight: 600; text-decoration: none; }

/* ============================================================
   Single Product Page — COG Pharma
   ============================================================ */

.cog-sp-wrap {
    background: #f0f2f7;
    padding: 40px 0 80px;
}
.cog-sp-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ── Top: image + summary ── */
.cog-sp-top {
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: 36px;
    align-items: start;
}
@media (max-width: 960px) {
    .cog-sp-top { grid-template-columns: 1fr; }
}

/* Image column */
.cog-sp-gallery { display: flex; flex-direction: column; gap: 20px; }
.cog-sp-img-box {
    position: relative;
    background: #fff;
    border: 1px solid #e2e6ef;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cog-sp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cog-sp-img--ph {
    object-fit: contain;
    padding: 32px;
    background: #f8f9fb;
}
.cog-sp-img-badges {
    position: absolute;
    bottom: 14px;
    left: 14px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}
.cog-badge--license { background: rgba(0,100,0,0.88); color: #fff; }

/* Trust strip */
.cog-sp-trust {
    display: flex;
    gap: 0;
    background: #fff;
    border: 1px solid #e2e6ef;
    border-radius: 12px;
    overflow: hidden;
}
.cog-trust-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
    text-align: center;
    border-right: 1px solid #eef0f6;
}
.cog-trust-item:last-child { border-right: none; }

/* Summary column */
.cog-sp-summary {
    background: #fff;
    border: 1px solid #e2e6ef;
    border-radius: 16px;
    padding: 36px 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.cog-sp-category {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #CA161B;
    margin-bottom: 10px;
}
.cog-sp-category a { color: #CA161B; text-decoration: none; }
.cog-sp-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(22px, 2.8vw, 32px) !important;
    font-weight: 800 !important;
    color: #0d1b2e !important;
    margin: 0 0 8px !important;
    line-height: 1.25 !important;
}
.cog-sp-generic {
    font-size: 16px;
    color: #8a94a6;
    font-style: italic;
    font-weight: 500;
    margin: 0 0 8px;
}
.cog-sp-mfr {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: #5a6880;
    margin: 0 0 20px;
}
.cog-sp-divider {
    height: 1px;
    background: #eef0f6;
    margin: 20px 0;
}

/* Price */
.cog-sp-price-block { margin-bottom: 4px; }
.cog-sp-price .price,
.cog-sp-price .woocommerce-Price-amount {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 34px !important;
    font-weight: 900 !important;
    color: #0d1b2e !important;
    line-height: 1 !important;
}
.cog-sp-price-na {
    font-size: 22px;
    font-weight: 700;
    color: #CA161B;
    font-style: italic;
}
.cog-sp-price-note {
    font-size: 13px;
    color: #9aa0ac;
    margin: 6px 0 0;
    font-weight: 500;
}

/* Add to cart */
.cog-sp-atc { margin: 20px 0 0; }
.cog-sp-atc .quantity { margin-right: 12px; }
.cog-sp-atc .quantity input {
    height: 50px;
    width: 70px;
    border: 2px solid #e2e6ef;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #0d1b2e;
    outline: none;
}
.cog-sp-atc .quantity input:focus { border-color: #CA161B; }
.cog-sp-atc .single_add_to_cart_button {
    background: #CA161B !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 14px 32px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    cursor: pointer !important;
    transition: background 0.18s, transform 0.15s !important;
    text-transform: none !important;
}
.cog-sp-atc .single_add_to_cart_button:hover {
    background: #a81016 !important;
    transform: translateY(-1px) !important;
}
.cog-sp-atc form.cart {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Quick specs grid */
.cog-sp-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}
.cog-sp-spec {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 14px;
    background: #f7f8fb;
    border-radius: 8px;
    border: 1px solid #edf0f6;
}
.cog-sp-spec__l {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #b8bfc9;
}
.cog-sp-spec__v {
    font-size: 14px;
    font-weight: 600;
    color: #2c3340;
}

/* ── Pharma info panel ── */
.cog-sp-infobox {
    background: #fff;
    border: 1px solid #e2e6ef;
    border-radius: 16px;
    overflow: hidden;
}
.cog-sp-infobox__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 28px;
    background: #0d1b2e;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
}
.cog-sp-infobox__head svg { color: #CA161B; flex-shrink: 0; }
.cog-sp-infobox__body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    border-top: none;
}
.cog-sp-info-section {
    padding: 24px 28px;
    border-right: 1px solid #eef0f6;
    border-bottom: 1px solid #eef0f6;
}
.cog-sp-info-section:last-child { border-right: none; }
.cog-sp-info-section__title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #CA161B !important;
    margin: 0 0 16px !important;
}
.cog-sp-info-grid { display: flex; flex-direction: column; gap: 10px; }
.cog-sp-info-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f4f5f8;
}
.cog-sp-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.cog-sp-info-row__l {
    font-size: 12px;
    font-weight: 600;
    color: #9aa0ac;
    flex-shrink: 0;
    min-width: 110px;
}
.cog-sp-info-row__v {
    font-size: 13.5px;
    font-weight: 600;
    color: #2c3340;
    text-align: right;
}

/* ── Section head ── */
.cog-sp-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #0d1b2e;
    margin-bottom: 20px;
}
.cog-sp-section-head svg { color: #CA161B; }

/* ── Description ── */
.cog-sp-desc {
    background: #fff;
    border: 1px solid #e2e6ef;
    border-radius: 16px;
    padding: 32px;
}
.cog-sp-desc__body {
    font-size: 15px;
    line-height: 1.75;
    color: #4a5568;
    font-weight: 400;
}
.cog-sp-desc__body p { margin-bottom: 12px; }

/* ── Related products ── */
.cog-sp-related { }
.cog-sp-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
@media (max-width: 900px) { .cog-sp-related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cog-sp-related-grid { grid-template-columns: 1fr; } }

.cog-sp-related-card { margin: 0; }
.cog-sp-related-link {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e6ef;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit !important;
    height: 100%;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.18s;
}
.cog-sp-related-link:hover {
    border-color: #CA161B;
    box-shadow: 0 8px 28px rgba(202,22,27,0.1);
    transform: translateY(-3px);
}
.cog-sp-related-img {
    position: relative;
    height: 130px;
    background: #f4f6fb;
    overflow: hidden;
    flex-shrink: 0;
}
.cog-sp-related-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.3s;
}
.cog-sp-related-link:hover .cog-sp-related-img img { transform: scale(1.05); }
.cog-sp-related-img .cog-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    font-size: 9px;
    padding: 3px 7px;
}
.cog-sp-related-body {
    padding: 14px 16px 8px;
    flex: 1;
}
.cog-sp-related-body h4 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0d1b2e !important;
    margin: 0 0 4px !important;
    line-height: 1.35 !important;
}
.cog-sp-related-body p {
    font-size: 12px;
    color: #8a94a6;
    margin: 0 0 6px;
    font-style: italic;
}
.cog-sp-related-spec {
    font-size: 11.5px;
    font-weight: 600;
    color: #9aa0ac;
}
.cog-sp-related-arrow {
    display: block;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #CA161B;
    border-top: 1px solid #eef0f6;
    transition: background 0.15s;
}
.cog-sp-related-link:hover .cog-sp-related-arrow {
    background: #fff5f5;
}

/* ── Pagination ── */
.cog-pagination {
    margin-top: 36px;
}
.cog-pagination ul {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    align-items: center;
}
.cog-pagination ul li { margin: 0; }
.cog-pagination ul li a,
.cog-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #e4e7ef;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #3a4455;
    background: #fff;
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
}
.cog-pagination ul li a:hover {
    border-color: #CA161B;
    color: #CA161B;
    background: #fff5f5;
}
.cog-pagination ul li span.current {
    background: #CA161B;
    border-color: #CA161B;
    color: #fff;
    font-weight: 700;
}
.cog-pagination ul li span.dots {
    border-color: transparent;
    background: transparent;
    color: #adb5c2;
}

/* ═══════════════════════════════════════════════════════════════
   COG PHARMA — CART PAGE
   ═══════════════════════════════════════════════════════════════ */

.cog-cart-wrap {
    background: #f4f6fb;
    min-height: 60vh;
    padding: 48px 0 80px;
}

.cog-cart-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── 2-col layout ── */
.cog-cart-layout {
    display: grid;
    grid-template-columns: 1fr minmax(0, 380px);
    gap: 32px;
    align-items: start;
}

/* ── Main: cart table ── */
.cog-cart-main {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(18,30,58,.07);
    overflow: hidden;
}

.cog-cart-main table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.cog-cart-main table.shop_table thead tr {
    background: #0d1b3e;
}

.cog-cart-main table.shop_table thead th {
    color: #a8bcd8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 14px 16px;
    border: none;
    text-align: left;
}

.cog-cart-main table.shop_table thead th.product-remove,
.cog-cart-main table.shop_table thead th.product-thumbnail {
    width: 48px;
}

.cog-cart-main table.shop_table tbody tr {
    border-bottom: 1px solid #edf0f7;
    transition: background .15s;
}

.cog-cart-main table.shop_table tbody tr:last-child {
    border-bottom: none;
}

.cog-cart-main table.shop_table tbody tr:hover {
    background: #fafbfd;
}

.cog-cart-main table.shop_table td {
    padding: 18px 16px;
    vertical-align: middle;
    border: none;
    font-size: 15px;
    color: #1a2540;
}

/* Remove button */
.cog-cart-main table td.product-remove a.remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f4f6fb;
    color: #8899b0;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    transition: all .15s;
    font-weight: 400;
}

.cog-cart-main table td.product-remove a.remove:hover {
    background: #CA161B;
    color: #fff;
}

/* Thumbnail */
.cog-cart-main table td.product-thumbnail {
    width: 80px;
    padding: 12px 8px 12px 16px;
}

.cog-cart-main table td.product-thumbnail img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #edf0f7;
    display: block;
}

/* Product name */
.cog-cart-main table td.product-name a {
    color: #0d1b3e;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: block;
    margin-bottom: 2px;
    transition: color .15s;
}

.cog-cart-main table td.product-name a:hover {
    color: #CA161B;
}

.cog-cart-item-meta {
    display: block;
    font-size: 12px;
    color: #7a8ba8;
    margin-top: 4px;
    font-weight: 500;
    letter-spacing: .01em;
}

.cog-cart-ndc {
    display: inline-block;
    margin-left: 8px;
    background: #f0f3f8;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    color: #5a6a85;
    letter-spacing: .05em;
}

/* Price + subtotal */
.cog-cart-main table td.product-price,
.cog-cart-main table td.product-subtotal {
    font-weight: 600;
    font-size: 16px;
    color: #0d1b3e;
    white-space: nowrap;
}

.cog-cart-main table td.product-subtotal {
    color: #CA161B;
}

.cog-cart-main table td.product-subtotal .woocommerce-Price-amount {
    font-weight: 700;
}

/* Quantity input */
.cog-cart-main table td.product-quantity .qty {
    width: 70px;
    height: 38px;
    border: 1.5px solid #dde3ef;
    border-radius: 8px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #0d1b3e;
    padding: 0 8px;
    transition: border-color .15s;
    -moz-appearance: textfield;
}

.cog-cart-main table td.product-quantity .qty::-webkit-inner-spin-button,
.cog-cart-main table td.product-quantity .qty::-webkit-outer-spin-button {
    opacity: 1;
}

.cog-cart-main table td.product-quantity .qty:focus {
    outline: none;
    border-color: #CA161B;
}

/* ── Actions bar ── */
.cog-cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 24px;
    border-top: 1px solid #edf0f7;
    background: #fafbfd;
}

.cog-cart-coupon {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cog-cart-coupon #coupon_code {
    height: 42px;
    padding: 0 14px;
    border: 1.5px solid #dde3ef;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #0d1b3e;
    width: 200px;
    transition: border-color .15s;
    background: #fff;
}

.cog-cart-coupon #coupon_code:focus {
    outline: none;
    border-color: #CA161B;
}

.cog-cart-coupon #coupon_code::placeholder {
    color: #adb5c2;
    font-style: italic;
}

.cog-btn-coupon {
    height: 42px;
    padding: 0 20px;
    background: #0d1b3e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
}

.cog-btn-coupon:hover {
    background: #CA161B;
}

.cog-cart-update {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cog-btn-update {
    height: 42px;
    padding: 0 22px;
    background: transparent;
    color: #0d1b3e;
    border: 1.5px solid #0d1b3e;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}

.cog-btn-update:hover {
    background: #0d1b3e;
    color: #fff;
}

/* Continue shopping link */
.cog-cart-continue {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 24px;
    color: #7a8ba8;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color .15s;
}

.cog-cart-continue:hover {
    color: #CA161B;
}

/* ── Right: Order summary ── */
.cog-cart-sidebar {
    position: sticky;
    top: 24px;
    min-width: 0;
    overflow: hidden;
}

.cog-cart-sidebar .cart-collaterals {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(18,30,58,.07);
    overflow: hidden;
}

/* Cart totals widget */
.cog-cart-sidebar .cart-collaterals .cart_totals {
    width: 100%;
}

.cog-cart-sidebar .cart_totals h2 {
    background: #0d1b3e;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 18px 24px;
    margin: 0;
}

.cog-cart-sidebar .cart_totals table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Montserrat', sans-serif;
}

.cog-cart-sidebar .cart_totals table th,
.cog-cart-sidebar .cart_totals table td {
    padding: 14px 24px;
    border-bottom: 1px solid #edf0f7;
    vertical-align: middle;
}

.cog-cart-sidebar .cart_totals table th {
    font-size: 13px;
    font-weight: 600;
    color: #7a8ba8;
    text-align: left;
    white-space: nowrap;
    width: 40%;
}

.cog-cart-sidebar .cart_totals table td {
    font-size: 15px;
    font-weight: 600;
    color: #0d1b3e;
    text-align: right;
}

.cog-cart-sidebar .cart_totals table.shop_table tr.order-total th,
.cog-cart-sidebar .cart_totals table.shop_table tr.order-total td {
    border-bottom: none;
    font-size: 17px;
    font-weight: 800;
    color: #0d1b3e;
    padding-top: 16px;
    padding-bottom: 16px;
}

.cog-cart-sidebar .cart_totals table.shop_table tr.order-total td {
    color: #CA161B;
    font-size: 20px;
}

/* Shipping row */
.cog-cart-sidebar .cart_totals table td.shipping .woocommerce-shipping-calculator {
    margin-top: 8px;
}

.cog-cart-sidebar .cart_totals table td.shipping p {
    font-size: 13px;
    color: #7a8ba8;
    font-weight: 500;
    margin: 0;
}

/* Proceed to checkout button */
.cog-cart-sidebar .wc-proceed-to-checkout {
    padding: 0 20px 20px;
}

.cog-cart-sidebar .wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 15px 16px;
    background: #CA161B;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px !important;
    font-weight: 800;
    letter-spacing: .05em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, transform .15s;
    box-shadow: 0 4px 14px rgba(202,22,27,.25);
    overflow: hidden;
}

.cog-cart-sidebar .wc-proceed-to-checkout .checkout-button:hover {
    background: #a81217;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(202,22,27,.32);
}

/* Applied coupon tags */
.cog-cart-sidebar .cart_totals .cart-discount td,
.woocommerce-remove-coupon {
    font-size: 13px;
}

.woocommerce-remove-coupon {
    color: #CA161B;
    text-decoration: none;
    font-weight: 600;
    margin-left: 6px;
}

/* Cross-sells (below cart on mobile) */
.cross-sells {
    margin-top: 40px;
    font-family: 'Montserrat', sans-serif;
}

.cross-sells h2 {
    font-size: 18px;
    font-weight: 800;
    color: #0d1b3e;
    margin-bottom: 20px;
    letter-spacing: -.01em;
}

/* ── Empty cart ── */
.cog-cart-empty {
    text-align: center;
    padding: 80px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(18,30,58,.07);
}

.cog-cart-empty svg {
    margin-bottom: 24px;
    opacity: .5;
}

.cog-cart-empty h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 24px;
}

.cog-cart-empty .cog-btn-shop {
    display: inline-block;
    padding: 14px 32px;
    background: #CA161B;
    color: #fff;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .04em;
    transition: background .2s;
}

.cog-cart-empty .cog-btn-shop:hover {
    background: #a81217;
}

/* ── WC notices in cart ── */
.cog-cart-wrap .woocommerce-message,
.cog-cart-wrap .woocommerce-error,
.cog-cart-wrap .woocommerce-info {
    border-radius: 8px;
    margin-bottom: 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .cog-cart-layout {
        grid-template-columns: 1fr;
    }
    .cog-cart-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .cog-cart-container {
        padding: 0 16px;
    }
    .cog-cart-wrap {
        padding: 24px 0 60px;
    }
    .cog-cart-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .cog-cart-coupon {
        flex-direction: column;
    }
    .cog-cart-coupon #coupon_code {
        width: 100%;
    }
    .cog-btn-coupon,
    .cog-btn-update {
        width: 100%;
        justify-content: center;
    }
    /* Mobile: responsive table */
    .cog-cart-main table.shop_table thead {
        display: none;
    }
    .cog-cart-main table.shop_table tbody tr {
        display: grid;
        grid-template-columns: 36px 72px 1fr;
        grid-template-rows: auto auto;
        gap: 4px 8px;
        padding: 12px 16px;
        border-bottom: 1px solid #edf0f7;
    }
    .cog-cart-main table.shop_table td {
        padding: 0;
        display: block;
    }
    .cog-cart-main table td.product-remove { grid-column: 1; grid-row: 1 / 3; align-self: center; }
    .cog-cart-main table td.product-thumbnail { grid-column: 2; grid-row: 1 / 3; align-self: center; }
    .cog-cart-main table td.product-name { grid-column: 3; grid-row: 1; }
    .cog-cart-main table td.product-quantity { grid-column: 3; grid-row: 2; }
    .cog-cart-main table td.product-price,
    .cog-cart-main table td.product-subtotal { display: none; }
    .cog-cart-main table td.product-subtotal { display: block; grid-column: 3; font-size: 14px; }
    .cog-cart-main table td[data-title]:before {
        content: attr(data-title) ': ';
        font-weight: 700;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: #7a8ba8;
    }
}

/* ═══════════════════════════════════════════════════════════════
   COG PHARMA — CHECKOUT PAGE
   ═══════════════════════════════════════════════════════════════ */

.cog-co-wrap {
    background: #f4f6fb;
    min-height: 60vh;
    padding: 48px 0 80px;
}

.cog-co-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── 2-col layout ── */
.cog-co-layout {
    display: grid;
    grid-template-columns: 1fr minmax(0, 420px);
    gap: 32px;
    align-items: start;
}

/* ── Section cards (billing / shipping) ── */
.cog-co-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(18,30,58,.07);
    overflow: hidden;
    margin-bottom: 24px;
}

.cog-co-section__head {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #0d1b3e;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 16px 24px;
}

.cog-co-section__body {
    padding: 24px;
}

/* ── WC form fields inside sections ── */
.cog-co-section__body .woocommerce-billing-fields,
.cog-co-section__body .woocommerce-shipping-fields,
.cog-co-section__body .woocommerce-additional-fields {
    margin: 0;
}

.cog-co-section__body .form-row {
    margin: 0 0 16px;
    padding: 0;
}

.cog-co-section__body .form-row label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #5a6a85;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.cog-co-section__body .form-row .required {
    color: #CA161B;
}

.cog-co-section__body .form-row input.input-text,
.cog-co-section__body .form-row textarea,
.cog-co-section__body .form-row select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid #dde3ef;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #0d1b3e;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
    -webkit-appearance: none;
}

.cog-co-section__body .form-row textarea {
    height: auto;
    padding: 12px 14px;
    resize: vertical;
    min-height: 80px;
}

.cog-co-section__body .form-row input.input-text:focus,
.cog-co-section__body .form-row textarea:focus,
.cog-co-section__body .form-row select:focus {
    outline: none;
    border-color: #CA161B;
    box-shadow: 0 0 0 3px rgba(202,22,27,.08);
}

.cog-co-section__body .form-row input.input-text::placeholder,
.cog-co-section__body .form-row textarea::placeholder {
    color: #b0bac8;
    font-style: italic;
}

/* Half-width rows side by side */
.cog-co-section__body .form-row-first,
.cog-co-section__body .form-row-last {
    float: left;
    width: calc(50% - 8px);
    clear: none;
}

.cog-co-section__body .form-row-first {
    margin-right: 16px;
}

.cog-co-section__body .form-row-wide {
    clear: both;
}

/* Select2 / native select arrow */
.cog-co-section__body .form-row select {
    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='%235a6a85' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

/* Ship to different address checkbox */
.cog-co-section__body .woocommerce-shipping-fields h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0d1b3e;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cog-co-section__body .woocommerce-shipping-fields h3 label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: #0d1b3e;
    text-transform: none;
    letter-spacing: 0;
}

.cog-co-section__body input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #CA161B;
    cursor: pointer;
}

/* Validation errors */
.cog-co-section__body .form-row.woocommerce-invalid input.input-text,
.cog-co-section__body .form-row.woocommerce-invalid select {
    border-color: #CA161B;
}

.cog-co-section__body .form-row.woocommerce-validated input.input-text,
.cog-co-section__body .form-row.woocommerce-validated select {
    border-color: #22c55e;
}

/* ── Right: Order summary sidebar ── */
.cog-co-sidebar {
    position: sticky;
    top: 24px;
    min-width: 0;
}

.cog-co-summary {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(18,30,58,.07);
}

.cog-co-summary__head {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #0d1b3e;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 16px 24px;
}

/* Order review table */
#order_review {
    width: 100% !important;
}

.cog-co-review table.shop_table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Montserrat', sans-serif;
}

.cog-co-review table.shop_table th,
.cog-co-review table.shop_table td {
    padding: 13px 24px;
    border-bottom: 1px solid #edf0f7;
    font-size: 14px;
    vertical-align: middle;
}

.cog-co-review table.shop_table thead th {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #7a8ba8;
    background: #fafbfd;
}

.cog-co-review table.shop_table .product-name {
    color: #0d1b3e;
    font-weight: 600;
}

.cog-co-review table.shop_table .product-name .product-quantity {
    color: #7a8ba8;
    font-weight: 500;
}

.cog-co-review table.shop_table .product-total {
    text-align: right;
    font-weight: 700;
    color: #0d1b3e;
}

.cog-co-review table.shop_table tr.cart-subtotal td,
.cog-co-review table.shop_table tr.shipping td,
.cog-co-review table.shop_table tr.tax-rate td,
.cog-co-review table.shop_table tr.tax-total td {
    text-align: right;
    font-weight: 600;
    color: #0d1b3e;
}

.cog-co-review table.shop_table tr.order-total th,
.cog-co-review table.shop_table tr.order-total td {
    border-bottom: none;
    font-size: 16px;
    font-weight: 800;
    color: #0d1b3e;
    padding-top: 16px;
    padding-bottom: 16px;
}

.cog-co-review table.shop_table tr.order-total td {
    color: #CA161B;
    font-size: 20px;
    text-align: right;
}

/* Payment section */
.cog-co-review #payment {
    padding: 20px 24px;
    border-top: 1px solid #edf0f7;
}

.cog-co-review #payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    border: 1.5px solid #dde3ef;
    border-radius: 8px;
    overflow: hidden;
}

.cog-co-review #payment ul.payment_methods li {
    padding: 14px 16px;
    border-bottom: 1px solid #edf0f7;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0d1b3e;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.cog-co-review #payment ul.payment_methods li:last-child {
    border-bottom: none !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.cog-co-review #payment ul.payment_methods li input[type="radio"] {
    accent-color: #CA161B;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cog-co-review #payment ul.payment_methods li label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #0d1b3e;
    font-family: 'Montserrat', sans-serif;
}

.cog-co-review #payment .payment_box {
    background: #f4f6fb;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 8px 0 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #5a6a85;
    line-height: 1.6;
}

.woocommerce-checkout .mwc-external-checkout-buttons {
    margin-top: 60px;
}

/* Coupon block under totals */
.cog-co-coupon {
    border-top: 1px solid #edf0f7;
    margin: 0;
}

.cog-co-coupon__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #5a6a85;
    letter-spacing: .04em;
    cursor: default;
}

.cog-co-coupon__head svg {
    color: #CA161B;
    flex-shrink: 0;
}

.cog-co-coupon__body {
    display: flex;
    gap: 8px;
    padding: 0 24px 20px;
}

.cog-co-coupon__body #co_coupon_code {
    flex: 1;
    height: 40px;
    padding: 0 12px;
    border: 1.5px solid #dde3ef;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #0d1b3e;
    background: #fff;
    transition: border-color .15s;
}

.cog-co-coupon__body #co_coupon_code:focus {
    outline: none;
    border-color: #CA161B;
}

.cog-co-coupon__body #co_coupon_code::placeholder {
    color: #b0bac8;
    font-style: italic;
}

.cog-co-btn-coupon {
    height: 40px;
    padding: 0 16px;
    background: #0d1b3e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}

.cog-co-btn-coupon:hover {
    background: #CA161B;
}

/* Place order button */
.cog-co-review #payment #place_order {
    display: block;
    width: 100%;
    padding: 16px;
    background: #CA161B;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px !important;
    font-weight: 800;
    letter-spacing: .04em;
    text-align: center;
    cursor: pointer;
    transition: background .2s, transform .15s;
    box-shadow: 0 4px 14px rgba(202,22,27,.25);
}

.cog-co-review #payment #place_order:hover {
    background: #a81217;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(202,22,27,.32);
}

/* WC notices inside checkout */
.cog-co-wrap .woocommerce-NoticeGroup,
.cog-co-wrap .woocommerce-message,
.cog-co-wrap .woocommerce-error,
.cog-co-wrap .woocommerce-info {
    border-radius: 8px;
    margin-bottom: 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

/* Login / coupon notices above form */
.cog-co-wrap .woocommerce-checkout-login,
.cog-co-wrap .woocommerce-checkout-coupon {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(18,30,58,.07);
    padding: 20px 24px;
    margin-bottom: 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .cog-co-layout {
        grid-template-columns: 1fr;
    }
    .cog-co-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .cog-co-container {
        padding: 0 16px;
    }
    .cog-co-wrap {
        padding: 24px 0 60px;
    }
    .cog-co-section__body .form-row-first,
    .cog-co-section__body .form-row-last {
        float: none;
        width: 100%;
        margin-right: 0;
    }
}

/* ============================================================
   B2B Access Gate — Shop Page
   ============================================================ */

.cog-shop-wrap--gate {
    padding: 48px 20px 80px;
    display: flex;
    justify-content: center;
}

.cog-b2b-gate {
    max-width: 680px;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e4e8f0;
    box-shadow: 0 4px 32px rgba(1, 17, 64, 0.08);
    padding: 52px 48px;
    text-align: center;
}

.cog-b2b-gate__icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #1a3c5e;
    background: #f0f4fa;
}

.cog-b2b-gate--guest .cog-b2b-gate__icon { background: #edf2fb; color: #1a3c5e; }
.cog-b2b-gate--pending_applicant .cog-b2b-gate__icon { background: #fff8e1; color: #b8860b; }
.cog-b2b-gate--rejected .cog-b2b-gate__icon { background: #fdecea; color: #CA161B; }

.cog-b2b-gate__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #0d1f4c;
    margin: 0 0 12px;
}

.cog-b2b-gate__text {
    font-size: 15px;
    color: #5a6a80;
    line-height: 1.7;
    margin: 0 0 28px;
}

.cog-b2b-gate__reason {
    background: #fff4f4;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 14px 18px;
    font-size: 14px;
    color: #721c24;
    margin: 0 0 24px;
    text-align: left;
}

.cog-b2b-gate__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 0 20px;
}

.cog-b2b-gate__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.cog-b2b-gate__btn--primary {
    background: #0d1f4c;
    color: #fff;
}
.cog-b2b-gate__btn--primary:hover {
    background: #1a3c5e;
    color: #fff;
    transform: translateY(-1px);
}

.cog-b2b-gate__btn--secondary {
    background: #CA161B;
    color: #fff;
}
.cog-b2b-gate__btn--secondary:hover {
    background: #a81015;
    color: #fff;
    transform: translateY(-1px);
}

.cog-b2b-gate__btn--ghost {
    background: transparent;
    color: #0d1f4c;
    border: 1.5px solid #0d1f4c;
}
.cog-b2b-gate__btn--ghost:hover {
    background: #0d1f4c;
    color: #fff;
}

.cog-b2b-gate__foot {
    font-size: 13px;
    color: #8a9ab0;
    margin: 0;
}
.cog-b2b-gate__foot a {
    color: #CA161B;
    text-decoration: none;
}
.cog-b2b-gate__foot a:hover { text-decoration: underline; }

/* ============================================================
   B2B Access Strip — Single Product Page
   ============================================================ */

.cog-sp-access-strip {
    background: #f0f4fa;
    border-top: 3px solid #0d1f4c;
}

.cog-sp-access-strip--guest { border-color: #0d1f4c; background: #f0f4fa; }
.cog-sp-access-strip--pending_applicant { border-color: #b8860b; background: #fffbf0; }
.cog-sp-access-strip--rejected { border-color: #CA161B; background: #fff5f5; }

.cog-sp-access-strip__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cog-sp-access-strip__text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #2c3e50;
    flex: 1;
}

.cog-sp-access-strip--guest .cog-sp-access-strip__text { color: #0d1f4c; }
.cog-sp-access-strip--pending_applicant .cog-sp-access-strip__text { color: #856404; }
.cog-sp-access-strip--rejected .cog-sp-access-strip__text { color: #721c24; }

.cog-sp-access-strip__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cog-sp-access-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(13, 31, 76, 0.08);
    color: #0d1f4c;
    border: 1px solid rgba(13, 31, 76, 0.2);
    transition: background 0.2s;
}
.cog-sp-access-btn:hover { background: rgba(13, 31, 76, 0.15); color: #0d1f4c; }
.cog-sp-access-btn--primary {
    background: #0d1f4c;
    color: #fff;
    border-color: #0d1f4c;
}
.cog-sp-access-btn--primary:hover { background: #1a3c5e; color: #fff; }

/* ============================================================
   Login / My Account Page
   ============================================================ */

.cog-login-wrap {
    background: #f0f2f7;
    padding: 48px 20px 80px;
}

.cog-login-container {
    max-width: 1060px;
    margin: 0 auto;
}

.cog-login-layout {
    display: grid;
    grid-template-columns: minmax(0, 460px) 1fr;
    gap: 28px;
    align-items: start;
}

.cog-login-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e4e8f0;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(1, 17, 64, 0.06);
}

.cog-login-card__head {
    background: #0d1f4c;
    color: #fff;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cog-login-card__body {
    padding: 28px 24px;
}

/* Login form fields */
.cog-lf-row {
    margin-bottom: 18px;
}
.cog-lf-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
}
.cog-lf-row input[type="text"],
.cog-lf-row input[type="email"],
.cog-lf-row input[type="password"] {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d0d8e8;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    color: #1a2540;
    background: #fafbff;
    transition: border-color 0.2s;
    outline: none;
}
.cog-lf-row input:focus {
    border-color: #0d1f4c;
    background: #fff;
}

.cog-lf-row--inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.cog-lf-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #5a6a80;
    cursor: pointer;
}
.cog-lf-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0d1f4c;
    margin: 0;
}
.cog-lf-forgot {
    font-size: 13px;
    color: #CA161B;
    text-decoration: none;
}
.cog-lf-forgot:hover { text-decoration: underline; }

.cog-lf-submit {
    width: 100%;
    padding: 13px 20px;
    background: #0d1f4c;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, transform 0.15s;
}
.cog-lf-submit:hover {
    background: #1a3c5e;
    transform: translateY(-1px);
}

/* WC notices on login page */
.cog-login-wrap .woocommerce-notices-wrapper .woocommerce-message,
.cog-login-wrap .woocommerce-notices-wrapper .woocommerce-error,
.cog-login-wrap .woocommerce-notices-wrapper .woocommerce-info {
    margin-bottom: 16px;
}

/* Apply column */
.cog-login-card__body--apply {
    padding: 24px;
}

.cog-apply-intro p {
    font-size: 14px;
    color: #4a5a72;
    line-height: 1.7;
    margin-bottom: 12px;
}

.cog-apply-steps {
    list-style: none;
    padding: 0;
    margin: 20px 0 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cog-apply-steps li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.cog-apply-steps__num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0d1f4c;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cog-apply-steps li div {
    padding-top: 4px;
}
.cog-apply-steps li strong {
    display: block;
    font-size: 14px;
    color: #0d1f4c;
    margin-bottom: 2px;
}
.cog-apply-steps li p {
    font-size: 13px;
    color: #6a7a90;
    margin: 0;
}

.cog-apply-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 20px;
    background: #CA161B;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    margin-bottom: 14px;
}
.cog-apply-cta:hover {
    background: #a81015;
    color: #fff;
    transform: translateY(-1px);
}

.cog-apply-footer {
    text-align: center;
    font-size: 13px;
    color: #8a9ab0;
    margin: 0;
}
.cog-apply-footer a { color: #CA161B; text-decoration: none; }
.cog-apply-footer a:hover { text-decoration: underline; }

/* ============================================================
   B2B Registration Form (plugin classes)
   ============================================================ */

.b2b-registration-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 16px 60px;
}

.b2b-registration-form h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0d1f4c;
    margin: 28px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e4e8f0;
}

.b2b-form-row {
    margin-bottom: 16px;
}
.b2b-form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
}
.b2b-form-row input[type="text"],
.b2b-form-row input[type="email"],
.b2b-form-row input[type="tel"],
.b2b-form-row input[type="password"],
.b2b-form-row input[type="date"],
.b2b-form-row select,
.b2b-form-row textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d0d8e8;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    color: #1a2540;
    background: #fafbff;
    transition: border-color 0.2s;
    outline: none;
}
.b2b-form-row input:focus,
.b2b-form-row select:focus,
.b2b-form-row textarea:focus {
    border-color: #0d1f4c;
    background: #fff;
}

.b2b-form-row--half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.b2b-form-row--half .b2b-form-row {
    margin-bottom: 0;
}

.b2b-form-row--submit {
    margin-top: 24px;
}

.b2b-form-desc {
    font-size: 13px;
    color: #6a7a90;
    margin: -8px 0 12px;
}

.b2b-conditional-note {
    font-size: 12px;
    color: #8a9ab0;
    font-weight: 400;
    margin-left: 4px;
}

.required { color: #CA161B; }

.b2b-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: background 0.2s, transform 0.15s;
    background: #0d1f4c;
    color: #fff;
}
.b2b-btn:hover { background: #1a3c5e; color: #fff; transform: translateY(-1px); }

.b2b-btn--primary {
    background: #0d1f4c;
    color: #fff;
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 15px;
}
.b2b-btn--primary:hover { background: #1a3c5e; }

/* B2B Notices */
.b2b-notice {
    border-radius: 6px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}
.b2b-notice ul { margin: 6px 0 0 18px; padding: 0; }
.b2b-notice li { margin-bottom: 4px; }
.b2b-notice p { margin: 0 0 6px; }
.b2b-notice p:last-child { margin-bottom: 0; }

.b2b-notice--success {
    background: #d4edda;
    border-left: 4px solid #27ae60;
    color: #155724;
}
.b2b-notice--error {
    background: #f8d7da;
    border-left: 4px solid #CA161B;
    color: #721c24;
}
.b2b-notice--info {
    background: #e8f0fa;
    border-left: 4px solid #0d1f4c;
    color: #0d1f4c;
}
.b2b-notice--warning {
    background: #fff3cd;
    border-left: 4px solid #f0ad4e;
    color: #856404;
}

/* My Account page notices for B2B status */
.b2b-price-hidden {
    font-size: 13px;
    color: #8a9ab0;
    font-style: italic;
}

/* ============================================================
   Responsive — B2B
   ============================================================ */

@media ( max-width: 860px ) {
    .cog-login-layout {
        grid-template-columns: 1fr;
    }
    .cog-b2b-gate {
        padding: 36px 24px;
    }
    .cog-b2b-gate__title {
        font-size: 21px;
    }
    .cog-b2b-gate__actions {
        flex-direction: column;
        align-items: center;
    }
    .cog-b2b-gate__btn {
        width: 100%;
        justify-content: center;
    }
    .cog-sp-access-strip__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .b2b-form-row--half {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Wholesale Apply Page
   ============================================================ */

.cog-apply-page .site-content { background: #f0f2f7; }
.cog-apply-page #primary { max-width: none !important; padding: 0 !important; margin: 0 !important; float: none !important; width: 100% !important; }
.cog-apply-page .entry-header,
.cog-apply-page .page-header { display: none !important; }
.cog-apply-page .hentry { margin: 0 !important; }

.cog-apply-wrap {
    background: #f0f2f7;
    padding: 40px 20px 80px;
}

.cog-apply-container {
    max-width: 1280px;
    margin: 0 auto;
}

.cog-apply-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}

/* ── Form card ── */
.cog-apply-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e4e8f0;
    box-shadow: 0 2px 16px rgba(1, 17, 64, 0.06);
    overflow: hidden;
}

.cog-apply-card__head {
    background: #0d1f4c;
    color: #fff;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cog-apply-card__body {
    padding: 28px 28px 32px;
}

/* Remove b2b-registration-wrap's own max-width since the card handles it */
.cog-apply-card__body .b2b-registration-wrap {
    max-width: none;
    padding: 0;
}

/* ── Info sidebar cards ── */
.cog-apply-info-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cog-apply-info-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e4e8f0;
    box-shadow: 0 2px 12px rgba(1, 17, 64, 0.05);
    overflow: hidden;
}

.cog-apply-info-card--highlight {
    border-color: #0d1f4c;
}

.cog-apply-info-card__head {
    background: #0d1f4c;
    color: #fff;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Checklist */
.cog-apply-checklist {
    list-style: none;
    padding: 16px 18px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cog-apply-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #2c3e50;
    line-height: 1.5;
}
.cog-apply-checklist li svg { flex-shrink: 0; margin-top: 2px; }

.cog-apply-info-note {
    font-size: 12px;
    color: #8a9ab0;
    padding: 0 18px 14px;
    margin: 0;
}

/* Timeline */
.cog-apply-timeline {
    list-style: none;
    padding: 16px 18px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    counter-reset: timeline;
    position: relative;
}
.cog-apply-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: #e4e8f0;
}
.cog-apply-timeline li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 16px;
    position: relative;
}
.cog-apply-timeline li:last-child { padding-bottom: 0; }

.cog-apply-timeline__dot {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0d1f4c;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #0d1f4c;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

.cog-apply-timeline li strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0d1f4c;
    margin-bottom: 2px;
}
.cog-apply-timeline li p {
    font-size: 12px;
    color: #6a7a90;
    margin: 0;
    line-height: 1.5;
}

/* Benefits */
.cog-apply-benefits {
    list-style: none;
    padding: 16px 18px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cog-apply-benefits li {
    font-size: 13px;
    color: #2c3e50;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}
.cog-apply-benefits li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #CA161B;
    font-size: 12px;
}

/* Already have account */
.cog-apply-login-prompt {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e4e8f0;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.cog-apply-login-prompt p {
    font-size: 13px;
    color: #5a6a80;
    margin: 0;
}
.cog-apply-login-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #0d1f4c;
    color: #fff;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}
.cog-apply-login-link:hover { background: #1a3c5e; color: #fff; }

/* WC notices on apply page */
.cog-apply-container .woocommerce-notices-wrapper { margin-bottom: 16px; }

/* ── Responsive ── */
@media ( max-width: 900px ) {
    .cog-apply-layout {
        grid-template-columns: 1fr;
    }
    .cog-apply-info-col {
        order: -1;
    }
    .cog-apply-timeline::before { display: none; }
}

/* ============================================================
   My Account Page
   ============================================================ */

.cog-ma-wrap {
    background: #f0f2f7;
    padding: 36px 20px 80px;
    min-height: 60vh;
}

.cog-ma-container {
    max-width: 1280px;
    margin: 0 auto;
}

.cog-ma-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
}

/* ── Left Navigation ── */
.cog-ma-nav-col {
    position: sticky;
    top: 24px;
}

.cog-ma-nav ul {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e4e8f0;
    box-shadow: 0 2px 12px rgba(1,17,64,0.06);
    overflow: hidden;
}

.cog-ma-nav ul li {
    border-bottom: 1px solid #f0f2f7;
    margin: 0;
}
.cog-ma-nav ul li:last-child { border-bottom: none; }

.cog-ma-nav__link {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    padding: 12px 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #3a4a60 !important;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s;
    position: relative;
}
.cog-ma-nav__link:hover {
    background: #f4f7fd !important;
    color: #0d1f4c !important;
}
.cog-ma-nav__link.is-active {
    background: #0d1f4c !important;
    color: #fff !important;
    font-weight: 700 !important;
}
.cog-ma-nav__link.is-locked {
    opacity: 0.5;
    pointer-events: none;
}
.cog-ma-nav__icon { flex-shrink: 0; opacity: 0.7; }
.cog-ma-nav__link.is-active .cog-ma-nav__icon { opacity: 1; }
.cog-ma-nav__label { flex: 1; }

.cog-ma-nav__badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    line-height: 1.4;
}
.cog-ma-nav__badge--warning { background: #fff3cd; color: #856404; }
.cog-ma-nav__badge--error   { background: #f8d7da; color: #721c24; }
.cog-ma-nav__lock { opacity: 0.5; margin-left: auto; }

/* Role badge under nav */
.cog-ma-role-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}
.cog-ma-role-badge--wholesale_customer { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.cog-ma-role-badge--pending_applicant  { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.cog-ma-role-badge--rejected           { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.cog-ma-role-badge--administrator      { background: #e8f0fa; color: #0d1f4c; border: 1px solid #cdd8f0; }
.cog-ma-role-badge--guest              { background: #e2e3e5; color: #383d41; border: 1px solid #d6d8db; }

/* ── Right Content Column ── */
.cog-ma-content-col {
    min-width: 0;
}

/* Notices */
.cog-ma-notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.cog-ma-notice svg { flex-shrink: 0; margin-top: 1px; }
.cog-ma-notice a { font-weight: 600; text-decoration: none; margin-left: 6px; }
.cog-ma-notice a:hover { text-decoration: underline; }

.cog-ma-notice--error   { background: #fdf0f0; border-left: 4px solid #CA161B; color: #721c24; }
.cog-ma-notice--error a { color: #CA161B; }
.cog-ma-notice--warning { background: #fffbf0; border-left: 4px solid #f0ad4e; color: #856404; }
.cog-ma-notice--warning a { color: #b8860b; }
.cog-ma-notice--info    { background: #edf3fb; border-left: 4px solid #0d1f4c; color: #0d1f4c; }
.cog-ma-notice--info a  { color: #CA161B; }

/* WooCommerce content area overrides */
.woocommerce-MyAccount-content {
    background: transparent !important;
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
}

/* ── Greeting ── */
.cog-ma-greeting {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}
.cog-ma-greeting__text h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0d1f4c;
    margin: 0 0 4px;
}
.cog-ma-greeting__text p {
    font-size: 13px;
    color: #6a7a90;
    margin: 0;
}
.cog-ma-logout-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #8a9ab0;
    text-decoration: none;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 5px;
    border: 1px solid #e4e8f0;
    background: #fff;
    transition: color 0.2s, border-color 0.2s;
}
.cog-ma-logout-link:hover { color: #CA161B; border-color: #CA161B; }

/* ── Status Card ── */
.cog-ma-status-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.cog-ma-status-card__left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.cog-ma-status-card--approved  { background: #d4edda; border: 1px solid #c3e6cb; }
.cog-ma-status-card--pending   { background: #fff3cd; border: 1px solid #ffeeba; }
.cog-ma-status-card--rejected  { background: #f8d7da; border: 1px solid #f5c6cb; }
.cog-ma-status-card--suspended { background: #e2e3e5; border: 1px solid #d6d8db; }
.cog-ma-status-card--no_access { background: #e8f0fa; border: 1px solid #cdd8f0; }

.cog-ma-status-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cog-ma-status-card--approved  .cog-ma-status-icon { background: rgba(39,174,96,0.15);  color: #155724; }
.cog-ma-status-card--pending   .cog-ma-status-icon { background: rgba(240,173,78,0.2);  color: #856404; }
.cog-ma-status-card--rejected  .cog-ma-status-icon { background: rgba(202,22,27,0.12);  color: #721c24; }
.cog-ma-status-card--suspended .cog-ma-status-icon { background: rgba(108,117,125,0.15); color: #383d41; }
.cog-ma-status-card--no_access .cog-ma-status-icon { background: rgba(13,31,76,0.1);    color: #0d1f4c; }

.cog-ma-status-label {
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 4px;
}
.cog-ma-status-card--approved  .cog-ma-status-label { color: #155724; }
.cog-ma-status-card--pending   .cog-ma-status-label { color: #856404; }
.cog-ma-status-card--rejected  .cog-ma-status-label { color: #721c24; }
.cog-ma-status-card--suspended .cog-ma-status-label { color: #383d41; }
.cog-ma-status-card--no_access .cog-ma-status-label { color: #0d1f4c; }

.cog-ma-status-sub {
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.5;
}
.cog-ma-status-card--approved .cog-ma-status-sub { color: #155724; }

.cog-ma-status-card__actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }

.cog-ma-status-btn {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.6);
    color: inherit;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}
.cog-ma-status-btn:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); }
.cog-ma-status-btn--primary {
    background: #0d1f4c;
    color: #fff;
    border-color: #0d1f4c;
}
.cog-ma-status-btn--primary:hover { background: #1a3c5e; color: #fff; }

/* ── Quick Actions Grid ── */
.cog-ma-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.cog-ma-quick-card {
    background: #fff;
    border: 1px solid #e4e8f0;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.cog-ma-quick-card:hover {
    border-color: #0d1f4c;
    box-shadow: 0 4px 16px rgba(13,31,76,0.1);
    transform: translateY(-2px);
}
.cog-ma-quick-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f0f4fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d1f4c;
    margin-bottom: 4px;
}
.cog-ma-quick-card__label {
    font-size: 13px;
    font-weight: 700;
    color: #0d1f4c;
}
.cog-ma-quick-card__sub {
    font-size: 11px;
    color: #8a9ab0;
}
.cog-ma-quick-card--alert {
    border-color: #f5c6cb;
    background: #fff8f8;
}
.cog-ma-quick-card--alert .cog-ma-quick-card__icon { background: #fdecea; color: #CA161B; }
.cog-ma-quick-card--alert .cog-ma-quick-card__label { color: #CA161B; }
.cog-ma-quick-card--cta {
    border-color: #CA161B;
    background: #fff5f5;
}
.cog-ma-quick-card--cta .cog-ma-quick-card__icon { background: #fdecea; color: #CA161B; }
.cog-ma-quick-card--cta .cog-ma-quick-card__label { color: #CA161B; }

/* ── Business Profile Details ── */
.cog-ma-details-card {
    background: #fff;
    border: 1px solid #e4e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(1,17,64,0.05);
}
.cog-ma-details-card__head {
    background: #0d1f4c;
    color: #fff;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cog-ma-details-card__body { padding: 4px 0; }
.cog-ma-detail-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 20px;
    border-bottom: 1px solid #f4f6fa;
    font-size: 13px;
}
.cog-ma-detail-row:last-child { border-bottom: none; }
.cog-ma-detail-row__l { width: 130px; flex-shrink: 0; color: #6a7a90; font-weight: 600; }
.cog-ma-detail-row__v { color: #1a2540; }

/* ── WC inner pages (orders, addresses, etc.) rendered inside .woocommerce-MyAccount-content ── */
.cog-ma-content-col .woocommerce-MyAccount-content table.shop_table {
    border: 1px solid #e4e8f0;
    border-radius: 8px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    font-size: 14px;
}
.cog-ma-content-col .woocommerce-MyAccount-content table.shop_table thead tr {
    background: #0d1f4c;
}
.cog-ma-content-col .woocommerce-MyAccount-content table.shop_table thead th {
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 12px 16px;
    border: none;
}
.cog-ma-content-col .woocommerce-MyAccount-content table.shop_table tbody tr:nth-child(even) { background: #f8fafd; }
.cog-ma-content-col .woocommerce-MyAccount-content table.shop_table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f2f7;
    border-right: none;
    border-left: none;
    border-top: none;
    vertical-align: middle;
}

/* Buttons inside account content */
.cog-ma-content-col .woocommerce-MyAccount-content .button,
.cog-ma-content-col .woocommerce-MyAccount-content button[type="submit"] {
    background: #0d1f4c !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: 'Montserrat', sans-serif !important;
    cursor: pointer;
    transition: background 0.2s !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.cog-ma-content-col .woocommerce-MyAccount-content .button:hover,
.cog-ma-content-col .woocommerce-MyAccount-content button[type="submit"]:hover {
    background: #1a3c5e !important;
    color: #fff !important;
}

/* Form inputs inside account content */
.cog-ma-content-col .woocommerce-MyAccount-content .woocommerce-Input,
.cog-ma-content-col .woocommerce-MyAccount-content input[type="text"],
.cog-ma-content-col .woocommerce-MyAccount-content input[type="email"],
.cog-ma-content-col .woocommerce-MyAccount-content input[type="password"],
.cog-ma-content-col .woocommerce-MyAccount-content input[type="tel"],
.cog-ma-content-col .woocommerce-MyAccount-content select,
.cog-ma-content-col .woocommerce-MyAccount-content textarea {
    border: 1.5px solid #d0d8e8 !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    font-family: 'Montserrat', sans-serif !important;
    background: #fafbff !important;
    width: 100%;
}
.cog-ma-content-col .woocommerce-MyAccount-content .woocommerce-Input:focus,
.cog-ma-content-col .woocommerce-MyAccount-content input:focus,
.cog-ma-content-col .woocommerce-MyAccount-content select:focus,
.cog-ma-content-col .woocommerce-MyAccount-content textarea:focus {
    border-color: #0d1f4c !important;
    background: #fff !important;
    outline: none;
}

/* Account form fieldset */
.cog-ma-content-col .woocommerce-MyAccount-content fieldset {
    border: 1px solid #e4e8f0;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
}
.cog-ma-content-col .woocommerce-MyAccount-content fieldset legend {
    font-weight: 700;
    font-size: 13px;
    color: #0d1f4c;
    padding: 0 8px;
}

/* WC labels */
.cog-ma-content-col .woocommerce-MyAccount-content label {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
}

/* View order button */
.cog-ma-content-col .woocommerce-orders-table__cell-order-actions .button {
    font-size: 12px !important;
    padding: 6px 12px !important;
}

/* Responsive */
@media ( max-width: 860px ) {
    .cog-ma-layout {
        grid-template-columns: 1fr;
    }
    .cog-ma-nav-col {
        position: static;
    }
    .cog-ma-nav ul {
        display: flex;
        flex-wrap: wrap;
        border-radius: 8px;
    }
    .cog-ma-nav ul li {
        border-bottom: none;
        border-right: 1px solid #f0f2f7;
    }
    .cog-ma-nav__link {
        padding: 10px 12px;
        font-size: 12px;
    }
    .cog-ma-role-badge { margin-top: 8px; }
    .cog-ma-status-card { flex-direction: column; align-items: flex-start; }
    .cog-ma-quick-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   COG Pharma Header
   ============================================================ */

/* Neutralise Storefront's default header so it doesn't interfere */
.site-header { display: none !important; }

/* ── Wrapper ── */
.cog-hdr {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: #fff;
    border-bottom: 1px solid #e8ecf5;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
    transition: box-shadow 0.25s, border-color 0.25s;
}
.cog-hdr.is-scrolled {
    box-shadow: 0 4px 20px rgba(13,31,76,0.10);
    border-color: transparent;
}

/* Red accent line at very top */
.cog-hdr__accent {
    height: 3px;
    background: linear-gradient(90deg, #CA161B 0%, #e8353a 100%);
}

.cog-hdr__body { background: #fff; }

.cog-hdr__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 32px;
}

/* ── Logo ── */
.cog-hdr__logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    margin-bottom: 0;
}
.cog-hdr__logo a img { max-height: 40px; width: auto; }
.cog-hdr__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.cog-hdr__logo-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #0d1f4c;
    letter-spacing: -0.02em;
}
.cog-hdr__logo-tag {
    font-size: 9px;
    font-weight: 500;
    color: #9aa5be;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── Primary Nav ── */
.cog-hdr__nav { flex: 1; }

.cog-hdr__menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cog-hdr__menu > li { position: relative; }

.cog-hdr__menu > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: #3a4a60;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.cog-hdr__menu > li > a:hover,
.cog-hdr__menu > li.current-menu-item > a,
.cog-hdr__menu > li.current-menu-ancestor > a {
    background: #f4f7fd;
    color: #0d1f4c;
}

/* Dropdown submenu */
.cog-hdr__menu li ul {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.16);
    list-style: none;
    padding: 6px 0;
    margin: 0;
    z-index: 9100;
    border: 1px solid #e4e8f0;
}
.cog-hdr__menu li:hover > ul { display: block; }
.cog-hdr__menu li ul li a {
    display: block;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #2c3e50;
    text-decoration: none;
    transition: background 0.12s;
}
.cog-hdr__menu li ul li a:hover { background: #f4f7fd; color: #0d1f4c; }

/* ── Action Buttons ── */
.cog-hdr__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cog-hdr__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s;
    cursor: pointer;
    border: 1.5px solid transparent;
}

.cog-hdr__btn--ghost {
    background: transparent;
    border-color: #d0d8ea;
    color: #0d1f4c;
}
.cog-hdr__btn--ghost:hover {
    background: #f4f7fd;
    border-color: #0d1f4c;
    color: #0d1f4c;
}

.cog-hdr__btn--primary {
    background: #CA161B;
    border-color: #CA161B;
    color: #fff;
}
.cog-hdr__btn--primary:hover {
    background: #a81015;
    border-color: #a81015;
    color: #fff;
    transform: translateY(-1px);
}

.cog-hdr__btn--full { width: 100%; justify-content: center; }

/* Application status badge */
.cog-hdr__status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: #fffbf0;
    border: 1px solid #f0c040;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #b07d00;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
}
.cog-hdr__status-badge:hover { background: #fff5cc; color: #b07d00; }
.cog-hdr__status-badge--full { justify-content: center; border-radius: 6px; }

.cog-hdr__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f0ad4e;
    flex-shrink: 0;
    animation: cog-pulse 1.8s ease-in-out infinite;
}
@keyframes cog-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.85); }
}

/* ── Cart Button ── */
.cog-hdr__cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #f4f7fd;
    border: 1.5px solid #d0d8ea;
    border-radius: 8px;
    color: #0d1f4c;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    flex-shrink: 0;
    padding: 0;
}
.cog-hdr__cart-btn:hover {
    background: #e8ecf5;
    border-color: #0d1f4c;
    color: #0d1f4c;
}
.cog-hdr__cart-btn.is-open {
    background: #fce8e8;
    border-color: #CA161B;
    color: #CA161B;
}

/* Cart count badge */
.cog-cart-count {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: #CA161B;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border-radius: 10px;
    display: none;
    font-family: 'Montserrat', sans-serif;
}
.cog-cart-count.has-items { display: block; }

/* ── Mobile Burger ── */
.cog-hdr__mobile-right {
    display: none;
    align-items: center;
    gap: 10px;
}

.cog-hdr__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 9px 8px;
    background: transparent;
    border: 1.5px solid #d0d8ea;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.cog-hdr__burger:hover { border-color: #0d1f4c; background: #f4f7fd; }
.cog-hdr__burger span {
    display: block;
    height: 2px;
    background: #0d1f4c;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}
.cog-hdr__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cog-hdr__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.cog-hdr__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Menu ── */
.cog-mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid #e8ecf5;
    box-shadow: 0 6px 20px rgba(13,31,76,0.08);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.32s ease;
}
.cog-mobile-menu.is-open {
    display: block;
    max-height: 600px;
}

.cog-mobile-menu__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px 24px;
}

.cog-mobile-menu__nav {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}
.cog-mobile-menu__nav li { border-bottom: 1px solid #f0f3f9; }
.cog-mobile-menu__nav li:last-child { border-bottom: none; }
.cog-mobile-menu__nav li a {
    display: block;
    padding: 13px 4px;
    font-size: 14px;
    font-weight: 600;
    color: #3a4a60;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.15s;
}
.cog-mobile-menu__nav li a:hover,
.cog-mobile-menu__nav .current-menu-item > a { color: #CA161B; }

/* Sub-menus in mobile */
.cog-mobile-menu__nav li ul {
    list-style: none;
    padding: 0 0 8px 16px;
    margin: 0;
}
.cog-mobile-menu__nav li ul li { border: none; }
.cog-mobile-menu__nav li ul li a { font-size: 13px; font-weight: 500; padding: 8px 4px; color: #6a7a90; }

.cog-mobile-menu__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid #e8ecf5;
}

/* ============================================================
   Cart Panel (right drawer)
   ============================================================ */

/* ── Overlay ── */
.cog-cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 50, 0.55);
    z-index: 9100;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: cogOverlayIn 0.25s ease forwards;
}
.cog-cart-overlay.is-open { display: block; }
@keyframes cogOverlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Panel shell ── */
.cog-cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 95vw;
    background: #f5f7fb;
    z-index: 9200;
    display: flex;
    flex-direction: column;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -12px 0 60px rgba(0,0,0,0.22);
}
.cog-cart-panel.is-open { transform: translateX(0); }

/* ── Panel header ── */
.cog-cart-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 62px;
    background: #0d1f4c;
    color: #fff;
    flex-shrink: 0;
    border-bottom: 3px solid #CA161B;
}
.cog-cart-panel__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
}
.cog-cart-panel__title svg {
    opacity: 0.8;
}
/* item count badge inside header */
.cog-cart-panel__title .cog-cart-count {
    position: static;
    display: none;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    line-height: 22px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 11px;
    background: #CA161B;
    color: #fff;
    text-align: center;
}
.cog-cart-panel__title .cog-cart-count.has-items { display: inline-block; }
/* close button */
.cog-cart-panel__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    padding: 0;
    flex-shrink: 0;
}
.cog-cart-panel__close:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.3);
}

/* ── Panel body: scrollable items + sticky footer ── */
.cog-cart-panel__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

/* ── WC mini cart wrapper ── */
.cog-mini-cart-content,
.cog-cart-panel__body .widget_shopping_cart_content {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

/* ── Scrollable items list ── */
.cog-mini-cart-content .woocommerce-mini-cart {
    list-style: none;
    margin: 0;
    padding: 12px 0 0;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    overscroll-behavior: contain;
}
/* custom scrollbar */
.cog-mini-cart-content .woocommerce-mini-cart::-webkit-scrollbar { width: 4px; }
.cog-mini-cart-content .woocommerce-mini-cart::-webkit-scrollbar-track { background: transparent; }
.cog-mini-cart-content .woocommerce-mini-cart::-webkit-scrollbar-thumb { background: #c8d0e0; border-radius: 2px; }

/* ── Empty state ── */
.cog-mini-cart-content .woocommerce-mini-cart__empty-message {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 60px 28px;
    text-align: center;
    color: #8a9ab0;
    font-size: 14px;
    line-height: 1.6;
}
.cog-mini-cart-content .woocommerce-mini-cart__empty-message::before {
    content: '';
    display: block;
    width: 64px;
    height: 64px;
    background: #edf0f7;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' fill='none' stroke='%23b0bad0' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* ── Cart items ── */
.cog-mini-cart-content .woocommerce-mini-cart-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 12px 10px;
    padding: 14px 46px 14px 14px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8ecf5;
    box-shadow: 0 1px 4px rgba(13,31,76,0.05);
    transition: box-shadow 0.15s;
}
.cog-mini-cart-content .woocommerce-mini-cart-item:hover {
    box-shadow: 0 3px 12px rgba(13,31,76,0.09);
}

/* Product link (contains img + product name text node) */
.cog-mini-cart-content .woocommerce-mini-cart-item > a:not(.remove) {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: #0d1f4c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    word-break: break-word;
}
.cog-mini-cart-content .woocommerce-mini-cart-item > a:not(.remove):hover {
    color: #CA161B;
}
/* Product thumbnail inside the link */
.cog-mini-cart-content .woocommerce-mini-cart-item > a:not(.remove) img {
    width: 64px;
    height: 64px;
    min-width: 64px;
    object-fit: cover;
    border-radius: 7px;
    border: 1px solid #edf0f7;
    flex-shrink: 0;
    display: block;
}

/* Quantity row: "2 × $10.00" */
.cog-mini-cart-content .woocommerce-mini-cart-item > .quantity {
    display: block;
    margin-top: 8px;
    padding-left: 76px; /* 64px img + 12px gap */
    font-size: 12px;
    color: #6a7a90;
    font-weight: 500;
}
.cog-mini-cart-content .woocommerce-mini-cart-item > .quantity .woocommerce-Price-amount {
    font-weight: 700;
    color: #CA161B;
    font-size: 13px;
}

/* Remove × button (positioned top-right of card) */
.cog-mini-cart-content .woocommerce-mini-cart-item .remove_from_cart_button {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f0f3f9;
    color: #9aa5be;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    transition: background 0.15s, color 0.15s, transform 0.12s;
}
.cog-mini-cart-content .woocommerce-mini-cart-item .remove_from_cart_button:hover {
    background: #fce8e8;
    color: #CA161B;
    transform: scale(1.12);
}

/* ── Sticky footer: total + buttons ── */
.cog-mini-cart-content .woocommerce-mini-cart__total,
.cog-mini-cart-content .woocommerce-mini-cart__buttons {
    flex-shrink: 0;
}

.cog-mini-cart-content .woocommerce-mini-cart__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px 12px;
    margin-top: 2px;
    border-top: 1px solid #e8ecf5;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #6a7a90;
    box-shadow: 0 -6px 18px rgba(13,31,76,0.06);
}
.cog-mini-cart-content .woocommerce-mini-cart__total strong {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8a9ab0;
}
.cog-mini-cart-content .woocommerce-mini-cart__total .woocommerce-Price-amount {
    font-size: 20px;
    font-weight: 800;
    color: #0d1f4c;
    font-family: 'Montserrat', sans-serif;
}

.cog-mini-cart-content .woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 16px 18px;
    background: #fff;
}

/* Checkout button — primary */
.cog-mini-cart-content .woocommerce-mini-cart__buttons .button.checkout,
.cog-mini-cart-content .woocommerce-mini-cart__buttons a.checkout {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
    text-decoration: none !important;
    text-align: center;
    background: #CA161B !important;
    color: #fff !important;
    border: none !important;
    letter-spacing: 0.03em;
    transition: background 0.18s, transform 0.12s, box-shadow 0.18s !important;
    box-shadow: 0 4px 14px rgba(202,22,27,0.28);
    order: -1;
}
.cog-mini-cart-content .woocommerce-mini-cart__buttons .button.checkout:hover,
.cog-mini-cart-content .woocommerce-mini-cart__buttons a.checkout:hover {
    background: #a81217 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(202,22,27,0.34) !important;
    color: #fff !important;
}

/* View Cart button — ghost/outline */
.cog-mini-cart-content .woocommerce-mini-cart__buttons .button:not(.checkout),
.cog-mini-cart-content .woocommerce-mini-cart__buttons a:not(.checkout) {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: 'Montserrat', sans-serif !important;
    text-decoration: none !important;
    text-align: center;
    background: transparent !important;
    color: #0d1f4c !important;
    border: 1.5px solid #c8d0e4 !important;
    transition: border-color 0.15s, background 0.15s, color 0.15s !important;
}
.cog-mini-cart-content .woocommerce-mini-cart__buttons .button:not(.checkout):hover,
.cog-mini-cart-content .woocommerce-mini-cart__buttons a:not(.checkout):hover {
    border-color: #0d1f4c !important;
    background: #f4f7fd !important;
    color: #0d1f4c !important;
}

/* ── Loading state (WC fragment refresh) ── */
.cog-cart-panel.is-loading .cog-cart-panel__body::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* ── Fallback alias: WC replaces our div and drops .cog-mini-cart-content on
   fragment refresh; these rules re-apply all key styles to the native class ── */
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart {
    list-style: none; margin: 0; padding: 12px 0 0;
    flex: 1; overflow-y: auto; min-height: 0; overscroll-behavior: contain;
}
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart::-webkit-scrollbar { width: 4px; }
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart::-webkit-scrollbar-track { background: transparent; }
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart::-webkit-scrollbar-thumb { background: #c8d0e0; border-radius: 2px; }

.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart__empty-message {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px; padding: 60px 28px; text-align: center; color: #8a9ab0; font-size: 14px; line-height: 1.6;
}
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart__empty-message::before {
    content: ''; display: block; width: 64px; height: 64px; background: #edf0f7; border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' fill='none' stroke='%23b0bad0' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center;
}
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart-item {
    position: relative; display: flex; flex-direction: column; gap: 0;
    margin: 0 12px 10px; padding: 14px 46px 14px 14px;
    background: #fff; border-radius: 10px; border: 1px solid #e8ecf5;
    box-shadow: 0 1px 4px rgba(13,31,76,0.05); transition: box-shadow 0.15s;
}
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart-item:hover { box-shadow: 0 3px 12px rgba(13,31,76,0.09); }
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart-item > a:not(.remove) {
    display: flex; align-items: flex-start; gap: 12px; text-decoration: none;
    color: #0d1f4c; font-size: 13px; font-weight: 600; line-height: 1.45; word-break: break-word;
}
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart-item > a:not(.remove):hover { color: #CA161B; }
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart-item > a:not(.remove) img {
    width: 64px; height: 64px; min-width: 64px; object-fit: cover;
    border-radius: 7px; border: 1px solid #edf0f7; flex-shrink: 0; display: block;
}
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart-item > .quantity {
    display: block; margin-top: 8px; padding-left: 76px;
    font-size: 12px; color: #6a7a90; font-weight: 500;
}
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart-item > .quantity .woocommerce-Price-amount {
    font-weight: 700; color: #CA161B; font-size: 13px;
}
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart-item .remove_from_cart_button {
    position: absolute; top: 12px; right: 12px;
    display: flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: #f0f3f9; color: #9aa5be; text-decoration: none;
    font-size: 15px; font-weight: 400; line-height: 1;
    transition: background 0.15s, color 0.15s, transform 0.12s;
}
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart-item .remove_from_cart_button:hover {
    background: #fce8e8; color: #CA161B; transform: scale(1.12);
}
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart__total,
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart__buttons { flex-shrink: 0; }

.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart__total {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 20px 12px; margin-top: 2px; border-top: 1px solid #e8ecf5;
    background: #fff; font-size: 13px; font-weight: 600; color: #6a7a90;
    box-shadow: 0 -6px 18px rgba(13,31,76,0.06);
}
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart__total strong {
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #8a9ab0;
}
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart__total .woocommerce-Price-amount {
    font-size: 20px; font-weight: 800; color: #0d1f4c; font-family: 'Montserrat', sans-serif;
}
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart__buttons {
    display: flex; flex-direction: column; gap: 8px; padding: 0 16px 18px; background: #fff;
}
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart__buttons .button.checkout,
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart__buttons a.checkout {
    display: flex !important; align-items: center; justify-content: center;
    width: 100% !important; padding: 14px 20px !important; border-radius: 8px !important;
    font-size: 14px !important; font-weight: 700 !important; font-family: 'Montserrat', sans-serif !important;
    text-decoration: none !important; background: #CA161B !important; color: #fff !important;
    border: none !important; letter-spacing: 0.03em; order: -1;
    box-shadow: 0 4px 14px rgba(202,22,27,0.28);
    transition: background 0.18s, transform 0.12s, box-shadow 0.18s !important;
}
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart__buttons .button.checkout:hover,
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart__buttons a.checkout:hover {
    background: #a81217 !important; transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(202,22,27,0.34) !important; color: #fff !important;
}
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart__buttons .button:not(.checkout),
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart__buttons a:not(.checkout) {
    display: flex !important; align-items: center; justify-content: center;
    width: 100% !important; padding: 12px 20px !important; border-radius: 8px !important;
    font-size: 13px !important; font-weight: 600 !important; font-family: 'Montserrat', sans-serif !important;
    text-decoration: none !important; background: transparent !important; color: #0d1f4c !important;
    border: 1.5px solid #c8d0e4 !important;
    transition: border-color 0.15s, background 0.15s, color 0.15s !important;
}
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart__buttons .button:not(.checkout):hover,
.cog-cart-panel__body .widget_shopping_cart_content .woocommerce-mini-cart__buttons a:not(.checkout):hover {
    border-color: #0d1f4c !important; background: #f4f7fd !important; color: #0d1f4c !important;
}

/* ============================================================
   Header — Responsive
   ============================================================ */

@media ( max-width: 1024px ) {
    .cog-hdr__inner { gap: 20px; }
    .cog-hdr__btn { padding: 7px 12px; font-size: 12px; }
}

@media ( max-width: 860px ) {
    .cog-hdr__nav,
    .cog-hdr__actions { display: none !important; }
    .cog-hdr__mobile-right { display: flex; align-items: center; gap: 4px; }
    .cog-hdr__inner { gap: 0; justify-content: space-between; }

    /* Clean icon-only buttons on mobile — no box border */
    .cog-hdr__cart-btn {
        width: 40px;
        height: 40px;
        background: transparent;
        border-color: transparent;
    }
    .cog-hdr__cart-btn:hover {
        background: #f4f7fd;
        border-color: transparent;
    }
    .cog-hdr__burger {
        border-color: transparent;
        background: transparent;
    }
    .cog-hdr__burger:hover {
        border-color: transparent;
        background: #f4f7fd;
    }
}

@media ( max-width: 480px ) {
    .cog-hdr__inner { padding: 0 14px; }
    .cog-hdr__logo-name { font-size: 15px; }
    .cog-hdr__logo-tag { display: none; }
    .cog-hdr__logo a { gap: 7px; }
    .cog-cart-panel { width: 100%; max-width: 100%; border-radius: 0; }
    .cog-mini-cart-content .woocommerce-mini-cart-item { margin: 0 8px 8px; }
}

/* ============================================================
   Footer — COG Pharma
   ============================================================ */

/* Hide Storefront's default footer */
.site-footer { display: none !important; }

.cog-footer {
    background: #0d1f4c;
    color: rgba(255,255,255,0.75);
    font-family: 'Montserrat', sans-serif;
}

/* Red accent bar at very top of footer */
.cog-footer__accent {
    height: 3px;
    background: linear-gradient(90deg, #CA161B 0%, #e8353a 100%);
}

/* ── Main body ── */
.cog-footer__body {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cog-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 48px;
}

/* ── Column headings ── */
.cog-footer__heading {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(202,22,27,0.4);
}

/* ── Brand column ── */
.cog-footer__logo {
    display: block;
    margin-bottom: 18px;
}
/* WP custom logo inside footer */
.cog-footer__logo .custom-logo-link {
    display: inline-block;
    line-height: 0;
}
.cog-footer__logo .custom-logo {
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}
.cog-footer__logo img {
    width: 160px;
}
/* Fallback SVG + text logo */
.cog-footer__logo > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.cog-footer__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.cog-footer__logo-name {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}
.cog-footer__logo-tag {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.cog-footer__desc {
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(255,255,255,0.55);
    margin: 0 0 20px;
    max-width: 280px;
}
.cog-footer__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.cog-footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
}

/* ── Nav link lists ── */
.cog-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cog-footer__links li a,
.cog-footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.15s, padding-left 0.15s;
    border: none !important;
    background: none !important;
}
.cog-footer__links li a::before,
.cog-footer__links a::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #CA161B;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.15s;
}
.cog-footer__links li a:hover,
.cog-footer__links a:hover {
    color: #fff;
    padding-left: 6px;
}
.cog-footer__links li a:hover::before,
.cog-footer__links a:hover::before {
    opacity: 1;
}

/* ── Contact list ── */
.cog-footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cog-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}
.cog-footer__contact li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #CA161B;
    opacity: 0.85;
}
.cog-footer__contact a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.15s;
}
.cog-footer__contact a:hover { color: #fff; }
.cog-footer__hours { color: rgba(255,255,255,0.4) !important; font-size: 14px !important; }

/* ── Bottom bar ── */
.cog-footer__bottom {
    padding: 18px 0;
}
.cog-footer__bottom-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cog-footer__copy {
    font-size: 14px;
    color: rgba(255,255,255,0.35);
    margin: 0;
}
.cog-footer__bottom-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cog-footer__bottom-links li::before { display: none; }
.cog-footer__bottom-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.15s;
}
.cog-footer__bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ── Responsive ── */
@media ( max-width: 1024px ) {
    .cog-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px 40px;
    }
    .cog-footer__col--brand {
        grid-column: 1 / -1;
    }
    .cog-footer__desc { max-width: 100%; }
}

@media ( max-width: 640px ) {
    .cog-footer__body { padding: 40px 0 32px; }
    .cog-footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 0 20px;
    }
    .cog-footer__col--brand { grid-column: auto; }
    .cog-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 0 20px;
    }
    .cog-footer__bottom-links { gap: 14px; }
}


/* ============================================================
   COL-FULL — Proper container (replaces the customizer hack)
   Remove ".col-full { max-width:100%; padding:0 }" from
   Appearance → Customize → Additional CSS after adding this.
   ============================================================ */

body.page-template-default:not(.elementor-page):not(.woocommerce-page):not(.cog-apply-page) .col-full {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
}

@media ( max-width: 768px ) {
    body.page-template-default:not(.elementor-page):not(.woocommerce-page):not(.cog-apply-page) .col-full {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ============================================================
   DEFAULT PAGE TEMPLATE  (.cog-page-wrap / .cog-page-article)
   ============================================================ */

/* Pull #primary out of the sidebar-aware layout */
.cog-page-wrap {
    width: 100%;
}

/* ── Page hero (title bar) ── */
.cog-page-hero {
    background: #f8f9fb;
    border-bottom: 1px solid #eceef2;
    padding: 52px 0 44px;
    margin-bottom: 0;
}

.cog-page-hero__inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

.cog-page-hero__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #CA161B;
    background: rgba(202,22,27,0.08);
    border-radius: 4px;
    padding: 3px 10px;
    margin-bottom: 16px;
}

.cog-page-hero__title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    color: #1a2230;
    line-height: 1.2;
    margin: 0 0 12px;
}

.cog-page-hero__excerpt {
    font-size: 16px;
    color: #5a6a80;
    margin: 0;
    line-height: 1.6;
}

/* ── Page body ── */
.cog-page-body {
    padding: 52px 24px 80px;
}

.cog-page-content {
    max-width: 760px;
    margin: 0 auto;
}

/* Typography inside page content */
.cog-page-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a2230;
    margin: 36px 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eceef2;
}

.cog-page-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a2230;
    margin: 28px 0 8px;
}

.cog-page-content p {
    font-size: 15px;
    line-height: 1.75;
    color: #3a4a60;
    margin-bottom: 16px;
}

.cog-page-content ul,
.cog-page-content ol {
    font-size: 15px;
    line-height: 1.75;
    color: #3a4a60;
    padding-left: 24px;
    margin-bottom: 16px;
}

.cog-page-content li { margin-bottom: 6px; }

.cog-page-content a {
    color: #CA161B;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cog-page-content a:hover { color: #a01015; }

.cog-page-content blockquote {
    border-left: 3px solid #CA161B;
    margin: 24px 0;
    padding: 12px 20px;
    background: #f8f9fb;
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: #5a6a80;
}

.cog-page-content hr {
    border: none;
    border-top: 1px solid #eceef2;
    margin: 36px 0;
}

@media ( max-width: 640px ) {
    .cog-page-hero { padding: 36px 0 28px; }
    .cog-page-hero__inner { padding: 0 16px; }
    .cog-page-body { padding: 36px 16px 60px; }
}

/* ============================================================
   404 PAGE  (.cog-404)
   ============================================================ */

.cog-404 {
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 72px 24px 80px;
    text-align: center;
}

/* ── Hero ── */
.cog-404__hero {
    max-width: 560px;
    width: 100%;
}

.cog-404__graphic {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.cog-404__number {
    font-size: clamp(100px, 20vw, 160px);
    font-weight: 900;
    line-height: 1;
    color: #eceef2;
    letter-spacing: -4px;
    user-select: none;
}

.cog-404__pill {
    position: absolute;
    background: #CA161B;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.cog-404__title {
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 800;
    color: #1a2230;
    line-height: 1.25;
    margin: 0 0 16px;
}

.cog-404__sub {
    font-size: 15px;
    color: #5a6a80;
    line-height: 1.7;
    margin: 0 0 36px;
}

.cog-404__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.cog-404__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 7px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.cog-404__btn--primary {
    background: #CA161B;
    color: #fff;
    border: 1.5px solid #CA161B;
}

.cog-404__btn--primary:hover {
    background: #a01015;
    border-color: #a01015;
    color: #fff;
}

.cog-404__btn--ghost {
    background: #fff;
    color: #3a4a60;
    border: 1.5px solid #dde1e9;
}

.cog-404__btn--ghost:hover {
    border-color: #CA161B;
    color: #CA161B;
    background: #fff;
}

/* ── Quick link cards ── */
.cog-404__links-section {
    width: 100%;
    max-width: 700px;
    margin-top: 60px;
}

.cog-404__links-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8a9ab0;
    margin-bottom: 16px;
}

.cog-404__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
}

.cog-404__card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1.5px solid #eceef2;
    border-radius: 10px;
    padding: 16px 18px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cog-404__card:hover {
    border-color: #CA161B;
    box-shadow: 0 2px 12px rgba(202,22,27,0.08);
    color: inherit;
}

.cog-404__card-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #f8f9fb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CA161B;
}

.cog-404__card-body {
    flex: 1;
    min-width: 0;
}

.cog-404__card-body strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a2230;
    margin-bottom: 2px;
}

.cog-404__card-body span {
    font-size: 12.5px;
    color: #8a9ab0;
    line-height: 1.4;
}

.cog-404__card-arrow {
    flex-shrink: 0;
    color: #ccd0d9;
    transition: color 0.15s, transform 0.15s;
}

.cog-404__card:hover .cog-404__card-arrow {
    color: #CA161B;
    transform: translateX(3px);
}

/* ── Help strip ── */
.cog-404__help {
    margin-top: 48px;
    font-size: 13.5px;
    color: #8a9ab0;
    display: flex;
    align-items: center;
    gap: 7px;
}

.cog-404__help a {
    color: #CA161B;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cog-404__help a:hover { color: #a01015; }

@media ( max-width: 640px ) {
    .cog-404 { padding: 48px 16px 60px; }
    .cog-404__cards { grid-template-columns: 1fr; }
    .cog-404__actions { flex-direction: column; }
    .cog-404__btn { justify-content: center; }
}

/* ============================================================
   THANK YOU / ORDER RECEIVED PAGE
   ============================================================ */

.cog-ty-wrap {
    background: #f4f6fb;
    min-height: 60vh;
    padding: 48px 0 80px;
}

.cog-ty-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Success / failed card ── */
.cog-ty-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e4e8f0;
    box-shadow: 0 2px 20px rgba(18,30,58,.07);
    padding: 48px 40px 40px;
    text-align: center;
    margin-bottom: 28px;
}

.cog-ty-card--failed {
    border-color: #f5c6cb;
    background: #fff8f8;
}

.cog-ty-card__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.cog-ty-card__icon--success {
    background: rgba(39,174,96,0.1);
    color: #27ae60;
}

.cog-ty-card__icon--failed {
    background: rgba(202,22,27,0.1);
    color: #CA161B;
}

.cog-ty-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    color: #0d1b3e;
    margin: 0 0 14px;
}

.cog-ty-card__text {
    font-size: 15px;
    color: #5a6a80;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 28px;
}

.cog-ty-card__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Order stat pills ── */
.cog-ty-overview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.cog-ty-stat {
    background: #fff;
    border: 1px solid #e4e8f0;
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 1px 6px rgba(18,30,58,.05);
}

.cog-ty-stat__l {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9aa5be;
}

.cog-ty-stat__v {
    font-size: 15px;
    font-weight: 700;
    color: #0d1b3e;
    font-family: 'Montserrat', sans-serif;
}

.cog-ty-stat__v--total {
    font-size: 20px;
    color: #CA161B;
}

/* Order status pill */
.cog-ty-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: #e8f0fa;
    color: #0d1b3e;
}
.cog-ty-status--processing  { background: #d4edda; color: #155724; }
.cog-ty-status--on-hold     { background: #fff3cd; color: #856404; }
.cog-ty-status--pending     { background: #e8f0fa; color: #0d1b3e; }
.cog-ty-status--completed   { background: #d4edda; color: #155724; }
.cog-ty-status--cancelled,
.cog-ty-status--failed      { background: #f8d7da; color: #721c24; }

/* ── Order details (WC-rendered: items table + address cols) ── */
.cog-ty-details {
    background: #fff;
    border: 1px solid #e4e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(18,30,58,.06);
    margin-bottom: 28px;
}

/* WC order table inside details */
.cog-ty-details table.woocommerce-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Montserrat', sans-serif;
}

.cog-ty-details table.woocommerce-table thead tr {
    background: #0d1b3e;
}

.cog-ty-details table.woocommerce-table thead th {
    color: #a8bcd8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 14px 20px;
    border: none;
    text-align: left;
}

.cog-ty-details table.woocommerce-table thead th.product-total {
    text-align: right;
}

.cog-ty-details table.woocommerce-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid #edf0f7;
    font-size: 14px;
    color: #1a2540;
    vertical-align: middle;
}

.cog-ty-details table.woocommerce-table tbody td.product-total {
    text-align: right;
    font-weight: 600;
    color: #0d1b3e;
}

.cog-ty-details table.woocommerce-table tfoot tr th,
.cog-ty-details table.woocommerce-table tfoot tr td {
    padding: 12px 20px;
    border-bottom: 1px solid #edf0f7;
    font-size: 14px;
    font-weight: 600;
    color: #1a2540;
}

.cog-ty-details table.woocommerce-table tfoot tr td {
    text-align: right;
}

.cog-ty-details table.woocommerce-table tfoot tr.order-total th,
.cog-ty-details table.woocommerce-table tfoot tr.order-total td {
    font-size: 16px;
    font-weight: 800;
    color: #0d1b3e;
    border-bottom: none;
    padding-top: 16px;
    padding-bottom: 16px;
}

.cog-ty-details table.woocommerce-table tfoot tr.order-total td {
    color: #CA161B;
}

/* Address section wrapper */
.cog-ty-details .woocommerce-order-details,
.cog-ty-details .woocommerce-customer-details {
    padding: 0;
    margin: 0;
}

/* Section header (Order Details, Billing Address, Shipping Address) */
.cog-ty-details h2.woocommerce-order-details__title,
.cog-ty-details h2.woocommerce-column__title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    color: #fff !important;
    background: #0d1b3e !important;
    margin: 0 !important;
    padding: 12px 20px !important;
    border-top: 1px solid #edf0f7;
}

/* 2-column grid (only rendered when order has a separate shipping address) */
.cog-ty-details .woocommerce-columns--addresses {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0;
}

.cog-ty-details .woocommerce-column {
    display: flex !important;
    flex-direction: column !important;
    border-right: 1px solid #edf0f7;
}

.cog-ty-details .woocommerce-column:last-child {
    border-right: none;
}

/* Kill browser default italic on <address> and everything inside it */
.cog-ty-details address,
.cog-ty-details address p,
.cog-ty-details address * {
    font-style: normal !important;
}

/* Address block body */
.cog-ty-details address {
    padding: 18px 20px !important;
    font-size: 14px !important;
    color: #3a4a60 !important;
    line-height: 1.8 !important;
    margin: 0 !important;
    flex: 1;
}

/* Phone row inside address */
.cog-ty-details .woocommerce-customer-details--phone {
    margin: 6px 0 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    color: #5a6a85 !important;
}

/* Email row inside address */
.cog-ty-details .woocommerce-customer-details--email {
    margin: 4px 0 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    color: #5a6a85 !important;
}

/* ── CTA row ── */
.cog-ty-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ── Shared button style ── */
.cog-ty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s, border-color .15s, color .15s, transform .12s;
    cursor: pointer;
    border: 1.5px solid transparent;
}

.cog-ty-btn--primary {
    background: #CA161B;
    border-color: #CA161B;
    color: #fff;
}

.cog-ty-btn--primary:hover {
    background: #a81015;
    border-color: #a81015;
    color: #fff;
    transform: translateY(-1px);
}

.cog-ty-btn--ghost {
    background: #fff;
    border-color: #d0d8ea;
    color: #0d1b3e;
}

.cog-ty-btn--ghost:hover {
    border-color: #0d1b3e;
    color: #0d1b3e;
    background: #f4f7fd;
}

/* ── Responsive ── */
@media ( max-width: 640px ) {
    .cog-ty-wrap { padding: 28px 0 60px; }
    .cog-ty-card { padding: 32px 20px 28px; }
    .cog-ty-overview { grid-template-columns: 1fr 1fr; }
    .cog-ty-details .woocommerce-columns--addresses { grid-template-columns: 1fr; }
    .cog-ty-details .woocommerce-column { border-right: none; border-bottom: 1px solid #edf0f7; }
    .cog-ty-details .woocommerce-column:last-child { border-bottom: none; }
    .cog-ty-actions { flex-direction: column; }
    .cog-ty-btn { justify-content: center; width: 100%; }
}

/* ── PO Number badge (thank you page) ── */
.cog-ty-po-badge {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #0d1b3e;
    box-shadow: 0 2px 8px rgba(13,27,62,.12);
}
.cog-ty-po-badge__label {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    background: #0d1b3e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
}
.cog-ty-po-badge__label::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23fff' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}
.cog-ty-po-badge__value {
    padding: 10px 18px;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0d1b3e;
    letter-spacing: .06em;
}
