/**
 * Cyber Canvas Theme - WooCommerce Frontend Styles
 */

.woocommerce,
.woocommerce-page,
.cc-product-showcase {
    --cc-woo-radius: var(--cc-woo-btn-radius, 6px);
}

.woocommerce :where(button, .button, a.button, input.button, select, input, textarea, .cc-toggle-icon, [data-cc-cart-toggle]):focus-visible {
    outline: 2px solid var(--cc-highlight-color, var(--cc-primary, #bc7c22));
    outline-offset: 2px;
    box-shadow: none;
}

:where(.cc-shop-toolbar, .cc-product-card, .cc-mini-cart-shipping, .cc-mini-cart-item-image, .cc-mini-cart-empty, .cc-commerce-empty, .cc-compare-modal-inner, .cc-commerce-page, .woocommerce-account .woocommerce-MyAccount-navigation a, .woocommerce-account .woocommerce-MyAccount-content, .woocommerce-account .woocommerce-Address, .woocommerce-account .woocommerce-orders-table, .woocommerce-account .woocommerce-EditAccountForm) {
    border-radius: var(--cc-radius-lg, 15px);
}

:where(.cc-product-card-badge, .cc-product-card-action-btn, .cc-header-action, .cc-header-badge, .cc-mini-cart-qty, .cc-compare-modal-close) {
    border-radius: var(--cc-radius-pill, 999px);
}

:where(.cc-product-card-footer .button, .woocommerce ul.products li.product .button, .cc-btn-primary, .cc-btn-secondary, .cc-shop-toolbar select) {
    border-radius: var(--cc-woo-btn-radius, var(--cc-radius-md, 12px));
}

.cc-shop-archive-page {
    --cc-shop-max-width: 1400px;
    --cc-shop-sidebar-width: 200px;
    --cc-shop-layout-gap: 36px;
    padding-bottom: 40px;
}

.single-product {
    --cc-single-product-max-width: 1400px;
}

.cc-shop-archive-page > .cc-container {
    width: min(100%, var(--cc-shop-max-width));
    max-width: var(--cc-shop-max-width);
    padding-left: 24px;
    padding-right: 24px;
}

.cc-content-layout-full-width .cc-shop-archive-page > .cc-container {
    width: min(100%, var(--cc-shop-max-width));
    max-width: var(--cc-shop-max-width);
    padding-left: 24px;
    padding-right: 24px;
}

.cc-shop-hero {
    padding: 26px 0 18px;
    background:
        radial-gradient(circle at top left, rgba(12, 118, 138, 0.12), transparent 42%),
        linear-gradient(180deg, var(--cc-bg-secondary, #f7f7f8) 0%, transparent 100%);
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    margin-bottom: 24px;
}

.cc-shop-hero-copy {
    display: grid;
    gap: 10px;
    padding: 8px 0 4px;
}

.cc-shop-hero-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--cc-text-heading);
}

.cc-shop-hero-description {
    max-width: 720px;
    color: var(--cc-text-secondary);
}

.cc-shop-shell {
    align-items: flex-start;
}

.cc-shop-archive-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--cc-shop-layout-gap, 36px);
}

.cc-shop-grid-wrap {
    min-width: 0;
}

.cc-shop-breadcrumb-row {
    margin-bottom: 12px;
}

.cc-shop-breadcrumb-row .cc-breadcrumb,
.cc-shop-breadcrumb-row .woocommerce-breadcrumb {
    margin: 0;
    color: var(--cc-text-secondary);
    font-size: 14px;
}

.cc-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding: 0 0 18px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: 0;
}

.cc-shop-toolbar .woocommerce-result-count,
.cc-shop-toolbar .woocommerce-ordering {
    margin: 0;
}

.cc-shop-filters-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-woo-btn-radius, var(--cc-radius-md, 12px));
    background: var(--cc-bg-primary, #fff);
    color: var(--cc-text-heading);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.cc-shop-filter-sidebar .cc-shop-filters-toggle {
    display: none;
}

.cc-shop-filters {
    padding: 20px;
    background: var(--cc-bg-primary, #fff);
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-lg, 15px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.cc-shop-filters-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.cc-shop-filters-kicker {
    margin: 0 0 6px;
    color: var(--cc-text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cc-shop-filters-title {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.1;
    color: var(--cc-text-heading);
}

.cc-shop-filters-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: 50%;
    background: var(--cc-bg-secondary, #f7f7f8);
    color: var(--cc-text-heading);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.cc-shop-filters-form {
    display: grid;
    gap: 18px;
}

.cc-shop-filter-group {
    display: grid;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

.cc-shop-filter-group:last-of-type {
    padding-bottom: 0;
    border-bottom: 0;
}

.cc-shop-filter-group h3 {
    margin: 0;
    font-size: 15px;
    color: var(--cc-text-heading);
}

/* ── Filter Section Headings ─────────────────────────────── */

.cc-filter-section-head {
    margin-bottom: 4px;
}

.cc-filter-kicker {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cc-primary, #bc7c22);
    margin: 0 0 2px;
    line-height: 1.2;
}

.cc-filter-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--cc-text-heading, #1a1a1a);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Price Range Slider ──────────────────────────────────── */

.cc-filter-price-display {
    font-size: 13px;
    color: var(--cc-text-primary);
    margin-bottom: 14px;
}

.cc-filter-price-track {
    position: relative;
    height: 4px;
    background: var(--cc-border-color, #ece4d5);
    border-radius: 2px;
    margin: 8px 0 20px;
}

.cc-filter-price-fill {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--cc-primary, #bc7c22);
    border-radius: 2px;
    pointer-events: none;
}

.cc-filter-range {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    margin: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
}

.cc-filter-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--cc-primary, #bc7c22);
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.cc-filter-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--cc-primary, #bc7c22);
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    border-style: solid;
}

/* ── Brand Search ────────────────────────────────────────── */

.cc-filter-brand-search-wrap {
    position: relative;
    margin-bottom: 12px;
}

.cc-filter-brand-search {
    width: 100%;
    min-height: 52px;
    padding: 0 52px 0 16px;
    border: 2px solid color-mix(in srgb, var(--cc-woo-form-border, var(--cc-border-color, #d9d4c8)) 92%, transparent);
    border-radius: 16px;
    font-size: 15px;
    background: var(--cc-woo-form-bg, var(--cc-bg-primary, #fff));
    color: var(--cc-text-primary);
    box-sizing: border-box;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.cc-filter-brand-search:focus {
    border-color: color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 72%, var(--cc-woo-form-border, var(--cc-border-color, #d9d4c8)));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 12%, transparent);
    outline: 0;
}

.cc-filter-brand-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cc-text-muted, #a09888);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.cc-filter-brand-logo {
    max-width: 40px;
    max-height: 24px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-right: 6px;
    flex-shrink: 0;
}

.cc-filter-brand-item {
    align-items: center;
}

.cc-filter-brand-item[hidden] {
    display: none !important;
}

.cc-shop-filter-options {
    display: grid;
    gap: 10px;
}

.cc-shop-filter-options--compact {
    gap: 0;
}

.cc-shop-filter-check {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    color: var(--cc-text-primary);
    font-size: 14px;
}

.cc-shop-filter-check-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.cc-shop-filter-check--count {
    justify-content: space-between;
    gap: 14px;
    min-height: 32px;
    padding: 0;
}

[data-cc-filter-collapsed][hidden],
.cc-shop-filter-check[hidden],
.cc-filter-brand-item[hidden] {
    display: none !important;
}

.cc-shop-filter-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
    border: 2px solid color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 52%, var(--cc-woo-form-border, var(--cc-border-color, #d9d4c8)));
    border-radius: 5px;
    background: color-mix(in srgb, var(--cc-bg-primary, #fff) 94%, transparent);
    box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 40%, transparent);
    cursor: pointer;
    position: relative;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cc-shop-filter-check input[type="checkbox"]::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 2px;
    background: linear-gradient(135deg, var(--cc-highlight-color, var(--cc-primary, #bc7c22)), color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 72%, #ffffff 28%));
    opacity: 0;
    transform: scale(0.72);
    transition: opacity 160ms ease, transform 160ms ease;
}

.cc-shop-filter-check input[type="checkbox"]:checked {
    border-color: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 14%, transparent);
}

.cc-shop-filter-check input[type="checkbox"]:checked::after {
    opacity: 1;
    transform: scale(1);
}

.cc-shop-filter-check input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
}

.cc-shop-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--cc-bg-secondary, #f4f2ee) 90%, #fff);
    color: var(--cc-text-heading);
    font-size: 13px;
    font-weight: 600;
}

.cc-shop-filter-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 82%, var(--cc-text-primary, #1f1f1f));
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.cc-shop-filter-more:hover {
    color: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
}

.cc-filter-color-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cc-filter-color-item {
    position: relative;
    display: inline-flex;
}

.cc-filter-color-item input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.cc-filter-color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--cc-border-color, #d9d7d1) 88%, transparent);
    background: var(--cc-filter-swatch, #d9d7d1);
    box-shadow: inset 0 0 0 6px color-mix(in srgb, var(--cc-bg-primary, #fff) 88%, transparent);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.cc-filter-color-item input:checked + .cc-filter-color-swatch {
    transform: scale(1.06);
    border-color: var(--cc-text-heading);
    box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--cc-bg-primary, #fff) 74%, transparent), 0 0 0 2px color-mix(in srgb, var(--cc-text-heading) 16%, transparent);
}

.cc-shop-filter-price {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cc-shop-filter-price label,
.cc-quick-view-qty {
    display: grid;
    gap: 6px;
    color: var(--cc-text-secondary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cc-shop-filter-price input,
.cc-quick-view-qty input {
    min-height: var(--cc-woo-form-height, 40px);
    padding: 0 12px;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-woo-btn-radius, var(--cc-radius-md, 12px));
    background: var(--cc-woo-form-bg, var(--cc-bg-primary, #fff));
    color: var(--cc-woo-form-text, var(--cc-text-primary));
}

.cc-shop-filter-actions {
    display: grid;
    gap: 10px;
}

.cc-shop-filter-actions .cc-btn-primary,
.cc-shop-filter-actions .cc-btn-secondary {
    width: auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: var(--cc-woo-btn-radius, var(--cc-radius-md, 12px));
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.cc-shop-filter-actions .cc-btn-primary {
    border: 0;
    cursor: pointer;
}

/* ── Filter Layout: Sidebar ─────────────────────────────── */

.cc-shop-filter-sidebar .cc-shop-archive-layout {
    grid-template-columns: var(--cc-shop-sidebar-width, 200px) minmax(0, 1fr);
}

.cc-shop-filters--sidebar {
    position: sticky;
    top: 24px;
    align-self: start;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

.cc-shop-filters--sidebar .cc-shop-filters-close {
    display: none;
}

.cc-shop-filters--sidebar .cc-shop-filters-head {
    display: none;
}

/* Sidebar backdrop is hidden on desktop; only used when sidebar becomes a drawer on mobile */
.cc-shop-sidebar-backdrop {
    display: none !important;
}

/* Sidebar filter toggle is hidden on desktop; shown at tablet/mobile when sidebar becomes a drawer */
.cc-shop-filter-sidebar .cc-shop-filters-toggle {
    display: none;
}

/* ── Filter Layout: Drawer ──────────────────────────────── */

.cc-shop-filters--drawer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: min(380px, 90vw);
    height: 100dvh;
    overflow-y: auto;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-shop-filters--drawer.is-open {
    transform: translateX(0);
}

.cc-shop-filters--drawer .cc-shop-filters-close {
    display: inline-flex;
}

/* ── Filter Layout: Off-Canvas ──────────────────────────── */

.cc-shop-filters--off-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100vw;
    height: 100dvh;
    overflow-y: auto;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-shop-filters--off-canvas.is-open {
    transform: translateX(0);
}

.cc-shop-filters--off-canvas .cc-shop-filters-close {
    display: inline-flex;
}

@media (min-width: 1200px) {
    .cc-shop-filters--off-canvas {
        width: min(420px, 40vw);
    }
}

/* ── Filter Layout: Top Panel ───────────────────────────── */

.cc-shop-filter-top-panel {
    padding: 20px;
    margin-bottom: 18px;
    background: var(--cc-bg-primary, #fff);
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-lg, 15px);
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.cc-shop-filter-top-panel[hidden] {
    display: block;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-color: transparent;
    visibility: hidden;
}

.cc-shop-filter-top-panel[aria-hidden="false"] {
    max-height: 600px;
    visibility: visible;
}

.cc-shop-filter-top-panel .cc-shop-filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.cc-shop-filter-top-panel .cc-shop-filter-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
}

.cc-shop-filter-top-panel .cc-shop-filters-head {
    display: none;
}

/* ── Filter Layout: Horizontal Bar ──────────────────────── */

.cc-shop-filter-horizontal-bar {
    margin-bottom: 18px;
}

.cc-shop-filters-form--horizontal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
    background: var(--cc-bg-secondary, #f7f7f8);
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-lg, 15px);
}

.cc-shop-filter-dropdown {
    position: relative;
}

.cc-shop-filter-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-woo-btn-radius, var(--cc-radius-md, 12px));
    background: var(--cc-bg-primary, #fff);
    color: var(--cc-text-heading);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.cc-shop-filter-dropdown-toggle:hover {
    border-color: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
}

.cc-shop-filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 100;
    min-width: 200px;
    padding: 12px;
    background: var(--cc-bg-primary, #fff);
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-lg, 15px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.cc-shop-filter-dropdown-menu[hidden] {
    display: none;
}

.cc-shop-filter-dropdown-menu .cc-shop-filter-check {
    padding: 4px 0;
}

.cc-shop-filter-apply,
.cc-shop-filter-clear {
    min-height: 38px;
    padding: 0 16px;
    border-radius: var(--cc-woo-btn-radius, var(--cc-radius-md, 12px));
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.cc-shop-filter-apply {
    border: 0;
}

.cc-shop-filter-clear {
    display: inline-flex;
    align-items: center;
}

/* ── Active Filter Chips ────────────────────────────────── */

.cc-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.cc-active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--cc-bg-secondary, #f1f5f9);
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: 100px;
    color: var(--cc-text-primary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.cc-active-filter-chip:hover {
    background: var(--cc-bg-primary, #fff);
    border-color: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
    color: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
}

.cc-active-filter-remove {
    font-size: 16px;
    line-height: 1;
    opacity: 0.5;
}

.cc-active-filter-chip:hover .cc-active-filter-remove {
    opacity: 1;
}

.cc-active-filters-clear {
    font-size: 13px;
    font-weight: 600;
    color: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
    text-decoration: none;
}

.cc-active-filters-clear:hover {
    text-decoration: underline;
}

/* ── Brand Section ──────────────────────────────────────── */

.cc-shop-brands {
    padding: 20px 0;
}

.cc-shop-brands-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.cc-shop-brand-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: var(--cc-bg-primary, #fff);
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-md, 12px);
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cc-shop-brand-item:hover {
    border-color: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.cc-shop-brand-logo {
    max-height: 36px;
    width: auto;
    object-fit: contain;
}

.cc-shop-brand-name {
    color: var(--cc-text-heading);
    font-size: 13px;
    font-weight: 600;
}

/* ── View Toggle ────────────────────────────────────────── */

.cc-shop-view-toggle {
    display: inline-flex;
    gap: 2px;
    margin-left: auto;
    padding: 3px;
    background: var(--cc-bg-primary, #fff);
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-woo-btn-radius, var(--cc-radius-md, 12px));
}

.cc-shop-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: calc(var(--cc-woo-btn-radius, var(--cc-radius-md, 12px)) - 3px);
    background: transparent;
    color: var(--cc-text-secondary);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.cc-shop-view-btn:hover {
    color: var(--cc-text-heading);
}

.cc-shop-view-btn.is-active {
    background: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
    color: #fff;
}

/* ── Card Gap Variable ──────────────────────────────────── */

.cc-shop-archive-page .woocommerce ul.products {
    column-gap: var(--cc-shop-grid-gap-x, var(--cc-shop-grid-gap, 16px));
    row-gap: var(--cc-shop-grid-gap-y, var(--cc-shop-grid-gap, 16px));
}

.cc-shop-archive-page .cc-product-card,
.cc-shop-archive-page .cc-product-card.glass-card {
    width: 100%;
    min-width: 0;
    min-height: var(--cc-shop-card-min-height, 0);
    border-radius: var(--cc-radius-md, 12px);
}

.cc-shop-archive-page .woocommerce ul.products li.product {
    width: 100%;
    min-width: 0;
}

.cc-shop-archive-page .cc-product-card-image,
.cc-shop-archive-page .cc-product-card-media,
.cc-shop-archive-page.cc-shop-density-compact .cc-product-card-image {
    height: var(--cc-shop-card-image-height, auto);
    aspect-ratio: 4 / 3;
}

.cc-shop-archive-page .cc-product-card-body {
    gap: 8px;
    min-width: 0;
    padding: var(--cc-shop-card-padding, 14px) var(--cc-shop-card-padding, 14px) 10px;
}

.cc-shop-archive-page .cc-product-card-title {
    font-size: 16px;
    line-height: 1.25;
}

.cc-shop-archive-page .cc-product-card-excerpt {
    font-size: 13px;
}

.cc-shop-archive-page .cc-product-card-price {
    font-size: 16px;
}

.cc-shop-archive-page .cc-product-card-footer {
    padding: 0 var(--cc-shop-card-padding, 14px) var(--cc-shop-card-padding, 14px);
}

.cc-shop-archive-page .cc-product-card-footer .button,
.cc-shop-archive-page .woocommerce ul.products li.product .button {
    min-height: 40px;
    font-size: 12px;
}

.cc-shop-archive-page .cc-product-card-actions {
    top: 10px;
    right: 10px;
    gap: 6px;
}

.cc-shop-archive-page .cc-product-card-action-btn,
.cc-shop-archive-page .cc-card-action-circle {
    width: 36px;
    height: 36px;
}

.cc-shop-archive-page .cc-product-card-badges {
    top: 10px;
    left: 10px;
    gap: 6px;
}

/* ── Load More / Infinite Scroll ────────────────────────── */

.cc-shop-load-more {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 24px auto 0;
    min-height: 48px;
    cursor: pointer;
}

.cc-shop-load-more.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.cc-shop-infinite-sentinel {
    display: flex;
    justify-content: center;
    padding: 24px 0;
}

.cc-shop-infinite-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--cc-border-color, #e2e8f0);
    border-top-color: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
    border-radius: 50%;
    animation: cc-spin 0.7s linear infinite;
}

@keyframes cc-spin {
    to { transform: rotate(360deg); }
}

/* ── Loading Skeleton ───────────────────────────────────── */

.cc-shop-products-grid.is-loading {
    position: relative;
}

.cc-shop-products-grid.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cc-bg-primary, #fff);
    opacity: 0.6;
    z-index: 10;
}

.cc-shop-toolbar select {
    min-height: var(--cc-woo-form-height, 40px);
    padding: 0 12px;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-woo-btn-radius, var(--cc-radius-md, 12px));
    background: var(--cc-woo-form-bg, var(--cc-bg-primary, #fff));
    color: var(--cc-woo-form-text, var(--cc-text-primary));
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
}

@media (max-width: 781px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}

.cc-shop-columns-4 .woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cc-shop-filter-sidebar .cc-shop-columns-4 .woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cc-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--cc-surface-card, var(--cc-bg-primary, #fff));
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-lg, 15px);
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.cc-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cc-shadow, 0 26px 56px rgba(0, 0, 0, 0.1));
    border-color: color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 28%, transparent);
}

.cc-product-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(180deg, var(--cc-bg-secondary, #f7f7f8), transparent 100%);
}

.cc-product-card-media a {
    display: block;
    width: 100%;
    height: 100%;
}

.cc-product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.cc-product-card:hover .cc-product-card-media img {
    transform: scale(1.05);
}

.cc-product-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    z-index: 2;
}

.cc-product-card-badges > * {
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
}

.cc-product-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #1d2327 0%, #364152 100%);
    border: 1px solid color-mix(in srgb, #ffffff 16%, transparent);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.cc-product-card-badge.is-sale {
    background: linear-gradient(135deg, #bc7c22 0%, #8d5b14 100%);
}

.cc-product-card-badge.is-new {
    background: linear-gradient(135deg, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 0%, color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 76%, #ffffff 24%) 100%);
}

.cc-product-card-badge.is-featured {
    background: linear-gradient(135deg, #b42318 0%, #7a1b12 100%);
}

.cc-product-card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.cc-product-card:hover .cc-product-card-actions,
.cc-product-card:focus-within .cc-product-card-actions {
    opacity: 1;
    transform: translateY(0);
}

.cc-product-card-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    line-height: 1;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: var(--cc-radius-pill, 999px);
    background: rgba(255, 255, 255, 0.92);
    color: var(--cc-text-heading);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cc-product-card-action-btn svg,
.cc-product-card-action-btn svg *,
.cc-product-card-action-btn .e-font-icon-svg,
.cc-product-card-action-btn .e-font-icon-svg *,
.cc-card-action-circle svg,
.cc-card-action-circle svg *,
.cc-card-action-circle .e-font-icon-svg,
.cc-card-action-circle .e-font-icon-svg * {
    color: currentColor !important;
}

.cc-product-card-action-btn :is(svg, .e-font-icon-svg) [stroke]:not([stroke="none"]),
.cc-card-action-circle :is(svg, .e-font-icon-svg) [stroke]:not([stroke="none"]) {
    stroke: currentColor !important;
}

.cc-product-card-action-btn :is(svg, .e-font-icon-svg) [fill]:not([fill="none"]),
.cc-card-action-circle :is(svg, .e-font-icon-svg) [fill]:not([fill="none"]) {
    fill: currentColor !important;
}

.cc-product-card-action-btn:hover,
.cc-product-card-action-btn:focus-visible,
.cc-product-card-action-btn.is-active {
    background: var(--cc-btn-bg);
    border-color: var(--cc-btn-bg);
    color: var(--cc-btn-text);
    transform: translateY(-1px);
}

.cc-product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.cc-product-card-category {
    margin: 0;
    color: var(--cc-text-secondary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cc-product-card-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    color: var(--cc-text-heading);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    min-height: 2.4em;
}

.cc-product-card-title a {
    display: block;
    color: inherit;
}

.cc-product-card-excerpt {
    margin: 0;
    color: var(--cc-text-secondary);
    font-size: 14px;
}

.cc-product-card-excerpt.is-empty {
    min-height: 1.6em;
}

.cc-product-card-rating .star-rating {
    display: none !important;
}

.cc-product-card-price {
    font-size: 18px;
    color: var(--cc-text-heading);
}

.cc-product-card-price .price {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 4px;
    margin: 0;
}

.cc-product-card-price ins {
    text-decoration: none;
}

.cc-product-card-price del,
.cc-product-card-price ins,
.cc-product-card-price del .amount,
.cc-product-card-price ins .amount,
.cc-product-card-price del bdi,
.cc-product-card-price ins bdi {
    display: inline-flex;
    align-items: baseline;
}

.cc-product-card-price del {
    color: var(--cc-text-secondary);
}

.cc-product-card-footer {
    padding: 0 16px 16px;
}

.cc-line-clamp-1,
.cc-line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cc-line-clamp-1 {
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.cc-line-clamp-2 {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.cc-product-card-footer .button,
.woocommerce ul.products li.product .button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: var(--cc-woo-btn-radius, var(--cc-radius-md, 12px));
    background: var(--cc-btn-bg);
    color: var(--cc-btn-text);
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cc-product-card-footer .button.loading {
    opacity: 0.75;
    pointer-events: none;
}

.cc-product-card-footer .button.is-added {
    background: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
    color: var(--cc-btn-text);
}

.single_add_to_cart_button.is-added,
.single_add_to_cart_button.added {
    background: var(--cc-btn-bg, var(--cc-primary, #bc7c22)) !important;
    color: var(--cc-btn-text, #fff) !important;
}

.single_add_to_cart_button.is-added::after,
.single_add_to_cart_button.added::after,
.single_add_to_cart_button::after {
    content: none !important;
    display: none !important;
}

.cc-product-card-footer .button:hover,
.woocommerce ul.products li.product .button:hover {
    background: var(--cc-btn-hover-bg);
    color: var(--cc-btn-hover-text);
    transform: translateY(-1px);
}

.cc-shop-pagination {
    margin-top: 22px;
}

.cc-shop-pagination .woocommerce-pagination ul.page-numbers {
    border: 0;
    display: flex;
    gap: 8px;
    padding: 0;
}

.cc-shop-pagination .woocommerce-pagination ul.page-numbers li {
    border: 0;
}

.cc-shop-pagination .woocommerce-pagination .page-numbers a,
.cc-shop-pagination .woocommerce-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-md, 12px);
    background: var(--cc-bg-primary, #fff);
    color: var(--cc-text-primary);
}

.cc-shop-pagination .woocommerce-pagination .page-numbers.current {
    background: var(--cc-btn-bg);
    border-color: var(--cc-btn-bg);
    color: var(--cc-btn-text);
}

.woocommerce a.added_to_cart.wc-forward {
    display: none !important;
}

.cc-header-actions-legacy {
    --cc-header-badge-reserve: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cc-header-action-legacy {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-pill, 999px);
    background: var(--cc-bg-primary, #fff);
    color: var(--cc-icon-color, var(--cc-text-heading));
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.cc-header-action-legacy:hover,
.cc-header-action-legacy:focus-visible {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 35%, transparent);
    background: var(--cc-bg-secondary, #f7f7f8);
    color: var(--cc-link-hover-color, var(--cc-highlight-color, var(--cc-btn-bg)));
}

.cc-header-action-legacy.cc-header-action-link {
    width: auto;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    gap: 8px;
    white-space: nowrap;
}

.cc-header-action-legacy.cc-header-action-link .cc-header-action-label {
    display: inline;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.cc-header-action-legacy.cc-header-action-has-corner-badge {
    min-width: calc(42px + var(--cc-header-badge-reserve, 6px));
    padding-inline-end: var(--cc-header-badge-reserve, 6px);
}

.cc-header-action-legacy > .cc-header-badge {
    position: absolute;
    top: -1px;
    right: 3px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--cc-radius-pill, 999px);
    background: var(--cc-btn-bg);
    color: var(--cc-btn-text);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.cc-commerce-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: color-mix(in srgb, var(--cc-bg-primary, #1f1b18) 74%, transparent);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.cc-commerce-backdrop.is-visible {
    opacity: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cc-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: min(420px, 100vw);
    max-width: 100vw;
    height: 100dvh;
    padding: 16px;
    overflow: hidden;
    background: var(--cc-bg-primary, #fff);
    border-left: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    box-shadow: -28px 0 60px rgba(15, 23, 42, 0.18);
    transform: translateX(100%);
    transition: transform 0.22s ease;
}

.cc-cart-drawer.is-open {
    transform: translateX(0);
}

.cc-cart-drawer-open,
.cc-compare-open,
.cc-quick-view-open,
.cc-shop-filters-open {
    overflow: hidden;
}

.cc-mini-cart-header,
.cc-compare-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.cc-mini-cart-header h3,
.cc-compare-modal-header h3 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.02em;
}

.cc-compare-modal-heading {
    display: grid;
    gap: 6px;
}

.cc-compare-modal-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.35rem 0.7rem;
    border-radius: var(--cc-radius-pill, 999px);
    background: color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 12%, transparent);
    color: var(--cc-btn-bg);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cc-compare-modal-heading p {
    margin: 0;
    color: var(--cc-text-secondary);
    font-size: 14px;
}

.cc-compare-empty {
    min-height: 180px;
    display: grid;
    place-items: center;
}

.cc-mini-cart-shipping {
    display: grid;
    gap: 10px;
    padding: 14px;
    margin-bottom: 14px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--cc-btn-bg) 12%, transparent), color-mix(in srgb, var(--cc-btn-bg) 4%, transparent));
    border: 1px solid color-mix(in srgb, var(--cc-btn-bg) 18%, transparent);
    border-radius: var(--cc-radius-lg, 15px);
}

.cc-mini-cart-shipping-copy {
    display: grid;
    gap: 4px;
    color: var(--cc-text-secondary);
    font-size: 14px;
}

.cc-mini-cart-shipping-copy strong {
    color: var(--cc-text-heading);
    font-size: 15px;
}

.cc-mini-cart-shipping-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--cc-text-heading);
}

.cc-mini-cart-shipping-track {
    width: 100%;
    height: 8px;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.cc-mini-cart-shipping-bar {
    display: block;
    height: 100%;
    background: var(--cc-btn-bg);
    border-radius: inherit;
}

.cc-mini-cart-items {
    display: grid;
    gap: 8px;
    flex: 0 1 auto;
    align-content: start;
    overflow-y: auto;
    max-height: calc(100dvh - 240px);
    padding-right: 4px;
}

.cc-mini-cart-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

.cc-mini-cart-item-image {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: var(--cc-radius-md, 12px);
    overflow: hidden;
    background: var(--cc-bg-secondary, #f7f7f8);
}

.cc-mini-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cc-mini-cart-item-info {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.cc-mini-cart-item-name {
    color: var(--cc-text-heading);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
}

.cc-mini-cart-item-qty-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-mini-cart-item-price {
    color: var(--cc-text-secondary);
    font-size: 0.78rem;
    white-space: nowrap;
}

.cc-mini-cart-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-pill, 999px);
    overflow: hidden;
}

.cc-mini-cart-qty-btn,
.cc-mini-cart-qty input {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center;
    color: var(--cc-text-heading);
    font-size: 12px;
}

.cc-mini-cart-qty-btn {
    cursor: pointer;
}

.cc-mini-cart-qty input {
    appearance: textfield;
}

.cc-mini-cart-qty input::-webkit-outer-spin-button,
.cc-mini-cart-qty input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.cc-mini-cart-remove {
    padding: 0;
    border: 0;
    background: transparent;
    color: #d85c4a;
    font-size: 0.75rem;
    line-height: 1;
    cursor: pointer;
    align-self: center;
    white-space: nowrap;
}

.cc-mini-cart-empty,
.cc-commerce-empty {
    padding: 24px;
    border: 1px dashed var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-lg, 15px);
    background: var(--cc-bg-secondary, #f7f7f8);
    color: var(--cc-text-secondary);
    text-align: center;
}

.cc-mini-cart-footer {
    display: grid;
    gap: 16px;
    padding-top: 16px;
    margin-top: 18px;
    border-top: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

.cc-mini-cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-weight: 700;
    color: var(--cc-text-heading);
}

.cc-mini-cart-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cc-btn-secondary {
    background: var(--cc-bg-secondary, #f7f7f8);
    color: var(--cc-text-heading);
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

.cc-btn-primary {
    background: var(--cc-btn-bg);
    color: var(--cc-btn-text);
}

.cc-compare-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    align-items: start;
    justify-items: center;
    padding: min(8vh, 72px) 20px 20px;
    background: color-mix(in srgb, #0f172a 58%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cc-compare-modal-inner {
    width: min(1080px, 100%);
    max-height: min(82vh, 920px);
    padding: 24px;
    overflow: auto;
    background: color-mix(in srgb, var(--cc-bg-primary, #fff) 92%, var(--cc-bg-secondary, #f7f7f8));
    border: 1px solid color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 14%, var(--cc-woo-form-border, var(--cc-border-color)));
    border-radius: max(var(--cc-radius-xl, 21px), 24px);
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.3);
}

.cc-quick-view-modal,
.cc-quick-view-dialog {
    width: min(960px, 100%);
    max-height: min(86vh, 960px);
    padding: 24px;
    overflow: auto;
    background: color-mix(in srgb, var(--cc-bg-primary, #fff) 92%, var(--cc-bg-secondary, #f7f7f8));
    border: 1px solid color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 14%, var(--cc-woo-form-border, var(--cc-border-color)));
    border-radius: max(var(--cc-radius-xl, 21px), 24px);
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.3);
}

.cc-quick-view-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.cc-quick-view-heading {
    min-width: 0;
}

.cc-quick-view-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--cc-text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cc-quick-view-header h3 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.02em;
}

.cc-quick-view-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: 50%;
    background: var(--cc-bg-secondary, #f7f7f8);
    color: var(--cc-text-heading);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s;
}

.cc-quick-view-close:hover {
    background: var(--cc-bg-primary, #fff);
}

.cc-quick-view-grid {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.cc-quick-view-media {
    border-radius: var(--cc-radius-lg, 15px);
    overflow: hidden;
    background: linear-gradient(180deg, var(--cc-bg-secondary, #f7f7f8), transparent 100%);
}

.cc-quick-view-image-link,
.cc-quick-view-image-link img,
.cc-quick-view-image {
    display: block;
    width: 100%;
}

.cc-quick-view-image-link img,
.cc-quick-view-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.cc-quick-view-content {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.cc-quick-view-product-title {
    margin: 0;
    font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cc-quick-view-product-title a {
    color: inherit;
    text-decoration: none;
}

.cc-quick-view-description {
    color: var(--cc-text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.cc-quick-view-description p {
    margin: 0;
}

.cc-quick-view-stock {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cc-quick-view-stock.is-in-stock {
    color: #15803d;
}

.cc-quick-view-stock.is-out-of-stock {
    color: #b42318;
}

.cc-quick-view-actions {
    display: grid;
    gap: 12px;
}

.cc-quick-view-purchase {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.cc-quick-view-purchase .cc-add-to-cart {
    width: 100%;
}

.cc-quick-view-qty input {
    max-width: 160px;
}

.cc-quick-view-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: var(--cc-woo-btn-radius, var(--cc-radius-md, 12px));
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.cc-compare-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-pill, 999px);
    background: color-mix(in srgb, var(--cc-bg-primary, #fff) 88%, transparent);
    color: var(--cc-text-heading);
    font-size: 22px;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.cc-compare-modal-close:hover {
    transform: translateY(-1px);
    background: color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 9%, var(--cc-bg-primary, #fff));
    border-color: color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 24%, var(--cc-woo-form-border, var(--cc-border-color)));
}

.cc-commerce-page {
    display: grid;
    gap: 0;
    padding: 0;
    background: var(--cc-bg-primary, #fff);
    border: none;
    border-radius: var(--cc-radius-xl, 21px);
}

.cc-commerce-page-head {
    display: grid;
    gap: 6px;
}

.cc-commerce-page-head h2 {
    margin: 0;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-weight: 700;
}

.cc-commerce-page-head p {
    margin: 0;
    color: var(--cc-text-secondary);
}

.cc-commerce-page-body {
    display: grid;
    gap: 20px;
}

.cc-compare-table-wrap {
    overflow-x: auto;
    padding-top: 8px;
}

.cc-compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: separate;
    border-spacing: 0;
}

.cc-compare-table th,
.cc-compare-table td {
    padding: 16px;
    border-right: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    text-align: left;
    vertical-align: top;
    background: color-mix(in srgb, var(--cc-bg-primary, #fff) 96%, transparent);
}

.cc-compare-table tr > *:first-child {
    border-left: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

.cc-compare-table thead tr:first-child > * {
    border-top: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

.cc-compare-table thead th {
    background: color-mix(in srgb, var(--cc-bg-secondary, #f7f7f8) 92%, var(--cc-bg-primary, #fff));
    color: var(--cc-text-heading);
    position: sticky;
    top: 0;
    z-index: 1;
}

.cc-compare-table thead th img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: var(--cc-radius-md, 12px);
}

.cc-compare-table thead th a {
    display: inline-block;
    color: var(--cc-text-heading);
    text-decoration: none;
    font-weight: 700;
    line-height: 1.3;
}

.cc-compare-table thead th a:hover {
    color: var(--cc-btn-bg);
}

.cc-compare-table tbody td:first-child {
    width: 180px;
    font-weight: 700;
    color: var(--cc-text-heading);
    background: color-mix(in srgb, var(--cc-bg-secondary, #f7f7f8) 75%, var(--cc-bg-primary, #fff));
}

.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 24px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 12px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li + li {
    margin-top: 8px;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 12px 14px;
    border-radius: var(--cc-radius-md, 12px);
    color: var(--cc-text-heading);
    font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: var(--cc-bg-secondary, #f7f7f8);
    color: var(--cc-btn-bg);
}

.woocommerce-account .woocommerce-MyAccount-content {
    padding: 24px;
}

.woocommerce-account .woocommerce-Address,
.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
    border-radius: 3px;
}

.woocommerce div.product {
    color: var(--cc-text-primary);
}

.woocommerce div.product .product_title {
    color: var(--cc-text-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.woocommerce div.product .price {
    color: var(--cc-text-primary);
    font-size: 22px;
}

.woocommerce div.product .woocommerce-tabs {
    margin-top: 30px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: var(--cc-bg-secondary);
    border-color: var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: 3px 3px 0 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: var(--cc-bg-primary);
}

.woocommerce table.cart,
.woocommerce table.shop_table,
.woocommerce-checkout .woocommerce-form-login,
.woocommerce-checkout .woocommerce-form-coupon,
.woocommerce .cart-collaterals .cart_totals,
.woocommerce .woocommerce-checkout-review-order,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation {
    border-color: var(--cc-woo-form-border, var(--cc-border-color));
    background: var(--cc-bg-primary, #fff);
    border-radius: 3px;
}

.woocommerce table.cart th,
.woocommerce table.shop_table th {
    background: var(--cc-bg-secondary);
    color: var(--cc-text-heading);
}

.woocommerce table.cart td,
.woocommerce table.shop_table td {
    color: var(--cc-text-primary);
    border-color: var(--cc-border-light, var(--cc-woo-form-border, var(--cc-border-color)));
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
    border-radius: 3px;
}

.cc-visitor-counter,
.cc-sold-counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--cc-text-secondary, #888);
    margin: 4px 0;
}

.cc-counter-icon {
    font-size: 16px;
    line-height: 1;
}

.cc-buy-now-btn {
    background: var(--cc-color-accent, #0f3460) !important;
    color: #fff !important;
    border-color: var(--cc-color-accent, #0f3460) !important;
    margin-left: 8px !important;
    border-radius: var(--cc-woo-btn-radius, 6px);
}

.cc-buy-now-btn:hover {
    opacity: 0.9;
}

.single_add_to_cart_button.cc-loading {
    opacity: 0.7;
    pointer-events: none;
}

.cc-product-layout-1 .product .summary {
    float: right;
    width: 48%;
}

.cc-product-layout-1 .product .woocommerce-product-gallery {
    float: left;
    width: 48%;
}

.cc-product-layout-2 .product .summary,
.cc-product-layout-2 .product .woocommerce-product-gallery {
    float: none;
    width: 100%;
}

.cc-product-layout-3 .product {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.cc-product-layout-3 .product .woocommerce-product-gallery,
.cc-product-layout-3 .product .summary {
    flex: 1;
    min-width: 300px;
}

.cc-product-layout-4 .product .woocommerce-product-gallery {
    float: right;
    width: 48%;
}

.cc-product-layout-4 .product .summary {
    float: left;
    width: 48%;
}

.cc-product-layout-5 .product .woocommerce-product-gallery {
    max-width: 660px;
    margin: 0 auto 30px;
}

@media (max-width: 991px) {
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
    }

    .cc-header-actions-legacy {
        gap: 8px;
    }
}

@media (max-width: 767px) {
    .cc-product-card-actions {
        opacity: 1;
        transform: none;
    }

    .cc-cart-drawer {
        width: 100vw;
        max-width: 100vw;
        padding: 16px 14px calc(16px + env(safe-area-inset-bottom));
    }

    .cc-mini-cart-header h3 {
        font-size: 1.5rem;
    }

    .cc-mini-cart-shipping {
        gap: 10px;
        padding: 14px;
    }

    .cc-mini-cart-shipping-copy,
    .cc-mini-cart-shipping-value {
        font-size: 13px;
    }

    .cc-mini-cart-item {
        grid-template-columns: 56px minmax(0, 1fr) auto;
    }

    .cc-mini-cart-item-qty-row {
        flex-wrap: wrap;
    }

    .cc-mini-cart-qty {
        width: auto;
    }

    .cc-mini-cart-qty-btn,
    .cc-mini-cart-qty input {
        width: auto;
        min-width: 32px;
        height: 36px;
    }

    .cc-mini-cart-remove {
        align-self: center;
        min-height: 0;
    }

    .cc-mini-cart-actions {
        grid-template-columns: 1fr;
    }

    .cc-commerce-page {
        padding: 20px;
    }

    .cc-shop-toolbar {
        align-items: stretch;
    }

    /* Single product: unstack float layouts on mobile */
    .cc-product-layout-1 .product .summary,
    .cc-product-layout-1 .product .woocommerce-product-gallery,
    .cc-product-layout-4 .product .summary,
    .cc-product-layout-4 .product .woocommerce-product-gallery {
        float: none;
        width: 100%;
    }

    .cc-product-layout-3 .product .woocommerce-product-gallery,
    .cc-product-layout-3 .product .summary {
        min-width: 0;
        flex-basis: 100%;
    }
}

.cc-product-layout-5 .product .summary {
    max-width: 660px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 1199px) {
    /* Sidebar collapses to single column on tablet */
    .cc-shop-filter-sidebar .cc-shop-archive-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Sidebar becomes a drawer on mobile/tablet */
    .cc-shop-filters--sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        width: min(360px, 90vw);
        height: 100dvh;
        overflow-y: auto;
        border-radius: 0;
        padding: 20px;
        background: var(--cc-bg-primary, #fff);
        box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
        transform: translateX(-100%);
        transition: transform 0.22s ease;
    }

    .cc-shop-filters--sidebar.is-open {
        transform: translateX(0);
    }

    .cc-shop-filters--sidebar .cc-shop-filters-close {
        display: inline-flex;
    }

    .cc-shop-filters--sidebar .cc-shop-filters-head {
        display: flex;
    }

    .cc-shop-sidebar-backdrop {
        display: block !important;
    }

    /* Show filter toggle for sidebar mode on small screens */
    .cc-shop-filter-sidebar .cc-shop-filters-toggle {
        display: inline-flex;
    }

    /* Horizontal bar stacks on mobile */
    .cc-shop-filters-form--horizontal {
        flex-direction: column;
        align-items: stretch;
    }

    .cc-shop-filter-dropdown {
        width: 100%;
    }

    .cc-shop-filter-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .cc-shop-filter-dropdown-menu {
        position: static;
        box-shadow: none;
        border: 0;
        padding: 8px 0 0;
    }
}

@media (min-width: 1200px) {
    .cc-shop-columns-4 .woocommerce ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .cc-shop-filter-sidebar .cc-shop-columns-4 .woocommerce ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 782px) and (max-width: 1199px) {
    .cc-shop-columns-4 .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 640px) and (max-width: 781px) {
    .cc-shop-columns-4 .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1199px) {
    .cc-quick-view-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.cc-my-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cc-my-account .woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 10px 12px;
    color: var(--cc-text-primary);
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    text-decoration: none;
    border-radius: 3px;
}

.cc-my-account .woocommerce-MyAccount-navigation li.is-active a {
    background: var(--cc-color-primary);
    color: #fff;
}

@media (max-width: 782px) {
    .cc-shop-archive-page > .cc-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cc-content-layout-full-width .cc-shop-archive-page > .cc-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cc-shop-toolbar {
        align-items: stretch;
    }

    .cc-shop-filters-toggle {
        width: 100%;
        justify-content: center;
    }

    .cc-shop-toolbar .woocommerce-ordering,
    .cc-shop-toolbar .woocommerce-ordering select {
        width: 100%;
    }

    .cc-shop-columns-4 .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .cc-shop-hero {
        padding-top: 20px;
    }

    .cc-shop-columns-4 .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cc-shop-filter-price {
        grid-template-columns: 1fr;
    }
}

/* ── Mobile Columns (placed after column rules so it wins on specificity order) ── */

@media (max-width: 781px) {
    .cc-shop-mobile-cols-1 .woocommerce ul.products {
        grid-template-columns: minmax(0, 1fr);
    }

    .cc-shop-mobile-cols-2 .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ── List View (placed last so it wins over all column rules on cascade order) ── */

.cc-shop-view-list .woocommerce ul.products,
.cc-shop-view-list ul.products {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
}

.cc-shop-view-list .cc-product-card {
    display: grid;
    grid-template-columns: minmax(140px, 200px) minmax(0, 1fr) auto;
    grid-template-areas:
        "image body footer"
        "image body actions";
    align-items: stretch;
    gap: 0 24px;
    padding: 20px 24px 18px;
    border: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--cc-border-color, #e2e0da) 92%, transparent);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    max-height: none;
    overflow: visible;
    transition: background-color 180ms ease, transform 180ms ease;
}

.cc-shop-view-list .cc-product-card:hover,
.cc-shop-view-list .cc-product-card:focus-within {
    transform: translateY(-1px);
    background: color-mix(in srgb, var(--cc-bg-primary, #fff) 88%, transparent);
}

.cc-shop-view-list .woocommerce ul.products li.product:first-child .cc-product-card {
    border-top: 1px solid color-mix(in srgb, var(--cc-border-color, #e2e0da) 92%, transparent);
}

.cc-shop-view-list .cc-product-card-image {
    grid-area: image;
    width: 100%;
    min-width: 0;
    aspect-ratio: auto;
    align-self: center;
}

.cc-shop-view-list .cc-product-card-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.cc-shop-view-list .cc-product-card-image img,
.cc-shop-view-list .cc-product-card-image .cc-card-image-el {
    width: 100%;
    max-width: 180px;
    height: auto;
    object-fit: contain;
    transform: none;
}

.cc-shop-view-list .cc-product-card-body {
    grid-area: body;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 6px 0;
}

.cc-shop-view-list .cc-product-card-category {
    order: 1;
}

.cc-shop-view-list .cc-product-card-title {
    order: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: clamp(1.1rem, 1rem + 0.2vw, 1.3rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.cc-shop-view-list .cc-product-card-rating {
    order: 3;
}

.cc-shop-view-list .cc-product-card-specs {
    order: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 1rem;
    line-height: 1.7;
    color: color-mix(in srgb, var(--cc-text-primary, #2d2b27) 68%, white 32%);
}

.cc-shop-view-list .cc-product-card-footer {
    grid-area: footer;
    align-self: center;
    justify-self: stretch;
    width: 100%;
    padding: 0;
    gap: 10px;
}

.cc-shop-view-list .cc-product-card-price,
.cc-shop-view-list .cc-product-card-price .price,
.cc-shop-view-list .cc-product-card-price .amount,
.cc-shop-view-list .cc-product-card-price del,
.cc-shop-view-list .cc-product-card-price ins,
.cc-shop-view-list .cc-product-card-price bdi {
    font-size: clamp(1.1rem, 1rem + 0.2vw, 1.35rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.cc-shop-view-list .cc-product-card-footer .button,
.cc-shop-view-list .woocommerce ul.products li.product .button,
.cc-shop-view-list ul.products li.product .button {
    min-height: 44px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
}

.cc-shop-view-list .cc-product-card-actions {
    grid-area: actions;
    position: static;
    justify-self: start;
    align-self: start;
    display: flex;
    flex-direction: row;
    gap: 10px;
    opacity: 1;
    transform: none;
    margin-top: 2px;
}

.cc-shop-view-list .cc-card-action-circle,
.cc-shop-view-list .cc-product-card-action-btn {
    width: 36px;
    height: 36px;
    border: 1px solid color-mix(in srgb, var(--cc-border-color, #ddd7ca) 84%, transparent);
    background: transparent;
    box-shadow: none;
}

.cc-shop-view-list .cc-product-card-badges {
    top: 20px;
    left: 24px;
}

.cc-shop-view-list .cc-card-glass-reflection,
.cc-shop-view-list .cc-card-image-overlay {
    display: none;
}

.cc-shop-view-list .cc-product-card-badge,
.cc-shop-view-list .cc-badge {
    border-radius: 999px;
}

@media (max-width: 640px) {
    .cc-shop-view-list .cc-product-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "body"
            "footer"
            "actions";
        gap: 18px;
        padding: 22px 0 20px;
    }

    .cc-shop-view-list .cc-product-card-image {
        width: 100%;
        min-width: 0;
    }

    .cc-shop-view-list .cc-product-card-image a {
        min-height: 180px;
    }

    .cc-shop-view-list .cc-product-card-footer,
    .cc-shop-view-list .cc-product-card-actions {
        justify-self: stretch;
    }

    .cc-shop-view-list .cc-product-card-actions {
        margin-top: -4px;
    }
}

.cc-card-glass-reflection {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 42%);
    opacity: 0.45;
    z-index: 1;
}

.cc-product-card-media-shell {
    position: relative;
    overflow: hidden;
}

.cc-product-card-media-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 42%);
    opacity: 0.45;
    z-index: 1;
}

.cc-product-card {
    position: relative;
    overflow: hidden;
    background: var(--cc-showcase-card-bg, color-mix(in srgb, var(--cc-bg-primary, #fff) 88%, transparent));
    border: 1px solid var(--cc-showcase-card-border, color-mix(in srgb, var(--cc-woo-form-border, var(--cc-border-color)) 72%, transparent));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    contain: layout paint style;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.cc-product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    background: linear-gradient(180deg, var(--cc-bg-secondary, #f7f7f8), transparent 100%);
}

.cc-product-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.cc-product-card-image img,
.cc-product-card-image .cc-card-image-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    will-change: transform;
    backface-visibility: hidden;
}

.cc-product-card:hover .cc-product-card-image img,
.cc-product-card:hover .cc-product-card-image .cc-card-image-el {
    transform: scale(1.05);
}

.cc-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.08) 100%);
    pointer-events: none;
}

.cc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #1d2327 0%, #364152 100%);
    border: 1px solid color-mix(in srgb, #ffffff 16%, transparent);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.cc-badge-hot {
    background: linear-gradient(135deg, #b42318 0%, #7a1b12 100%);
}

.cc-badge-new {
    background: linear-gradient(135deg, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 0%, color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 76%, #ffffff 24%) 100%);
}

.cc-badge-sale {
    background: linear-gradient(135deg, var(--cc-primary, #bc7c22) 0%, #8d5b14 100%);
}

.cc-badge-low-stock {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    color: #111827;
}

.cc-badge-authenticity {
    color: #fffef7;
}

.cc-badge-authenticity-authentic {
    background: linear-gradient(135deg, #0f8a5f 0%, #0c6c4a 100%);
}

.cc-badge-authenticity-high-quality-copy {
    background: linear-gradient(135deg, #72511d 0%, #bc7c22 100%);
}

.cc-badge-origin {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: color-mix(in srgb, var(--cc-bg-primary, #ffffff) 88%, transparent);
    color: var(--cc-text-heading, #1a1a1a);
    border: 1px solid color-mix(in srgb, var(--cc-primary, #bc7c22) 18%, transparent);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    font-weight: 700;
}

.cc-badge-origin-flag {
    font-size: 0.95em;
    line-height: 1;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.cc-badge-origin-label {
	font-family: inherit;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale,
.woocommerce .products .onsale {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    min-width: 0;
    min-height: 0;
    line-height: 1;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--cc-primary, #bc7c22) 0%, #8d5b14 100%);
    border: 1px solid color-mix(in srgb, #ffffff 16%, transparent);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    margin: 0;
    inset: auto auto auto auto;
    top: 14px;
    left: 14px;
    right: auto;
}

.cc-product-card-badges .elementor-text-editor,
.cc-product-card-badges .elementor-text-editor p {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.cc-product-card-actions {
    z-index: 3;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    will-change: opacity, transform;
}

.cc-product-card-actions .elementor-text-editor,
.cc-product-card-actions .elementor-text-editor p {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}

.cc-product-card:hover .cc-product-card-actions,
.cc-product-card:focus-within .cc-product-card-actions {
    opacity: 1;
    transform: translateX(0);
}

.cc-card-action-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--cc-border, #ddd) 60%, transparent);
    background: var(--cc-surface, #ffffff);
    color: var(--cc-text-heading);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    font: inherit;
    line-height: 1;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    will-change: transform, background-color, color;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.cc-card-action-circle svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    pointer-events: none;
}

.cc-card-action-circle:hover,
.cc-card-action-circle:focus-visible,
.cc-card-action-circle.is-active {
    background: var(--cc-primary, #bc7c22);
    border-color: var(--cc-primary, #bc7c22);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

[data-theme="dark"] .cc-card-action-circle {
    background: color-mix(in srgb, var(--cc-surface, #1e1e1e) 95%, #fff);
    border-color: color-mix(in srgb, var(--cc-border, #333) 80%, transparent);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.cc-product-card-body {
    flex: 0 0 auto;
    gap: 6px;
    padding-bottom: 10px;
    min-width: 0;
}

.cc-product-card-category,
.cc-product-card-category .elementor-text-editor,
.cc-product-card-category .elementor-text-editor p {
    margin: 0;
    color: var(--cc-text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cc-product-card-title {
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    min-height: 2.5em;
}

.cc-product-card-title .elementor-heading-title {
    margin: 0;
    font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.cc-product-card-title .elementor-heading-title a {
    color: inherit;
    text-decoration: none;
}

.cc-product-card-specs {
    margin: 0;
    color: var(--cc-text-secondary);
    font-size: 14px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    min-height: 2.7em;
}

.cc-product-card-specs .elementor-text-editor,
.cc-product-card-specs .elementor-text-editor p {
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.cc-product-card-specs.is-empty {
    visibility: hidden;
}

.cc-product-card-rating {
    display: none !important;
    align-items: center;
    gap: 4px;
    margin: 0;
    color: #f59e0b;
}

.cc-product-card-rating .elementor-text-editor,
.cc-product-card-rating .elementor-text-editor p {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.cc-product-card-rating .star-empty {
    color: var(--cc-woo-form-border, var(--cc-border-color));
}

.cc-product-card-rating .count {
    margin-left: 4px;
    font-size: 12px;
    color: var(--cc-text-secondary);
}

.cc-product-card-price .amount {
    color: var(--cc-showcase-card-price-color, var(--cc-text-heading));
}

.cc-product-card-price {
    display: flex;
    align-items: center;
    line-height: 1.1;
    min-width: 0;
    overflow: hidden;
}

.cc-product-card-price .elementor-text-editor,
.cc-product-card-price .elementor-text-editor p {
    margin: 0;
}

.cc-product-card-price-missing {
    font-size: 14px;
    font-weight: 500;
    color: var(--cc-text-secondary);
}

.cc-product-card-footer .elementor-widget-button {
    width: 100%;
}

.cc-product-card-footer {
    display: grid;
    gap: 10px;
    padding-top: 0;
    min-width: 0;
}

.cc-shop-density-compact .cc-product-card-image {
    aspect-ratio: 5 / 4;
}

.cc-shop-density-compact .cc-product-card-body {
    gap: 6px;
    padding: 14px 14px 10px;
}

.cc-shop-density-compact .cc-product-card-title,
.cc-shop-density-compact .cc-product-card-title .elementor-heading-title {
    font-size: clamp(1rem, 0.95rem + 0.18vw, 1.1rem);
    line-height: 1.25;
}

.cc-shop-density-compact .cc-product-card-specs,
.cc-shop-density-compact .cc-product-card-specs .elementor-text-editor,
.cc-shop-density-compact .cc-product-card-specs .elementor-text-editor p {
    font-size: 13px;
}

.cc-shop-density-compact .cc-product-card-footer {
    gap: 8px;
    padding: 0 14px 14px;
}

.cc-shop-density-compact .cc-product-card-footer .button,
.cc-shop-density-compact .woocommerce ul.products li.product .button,
.cc-shop-density-compact .cc-product-card-footer .elementor-button,
.cc-shop-density-compact .cc-add-to-cart {
    min-height: 42px;
}

.cc-product-card-footer .elementor-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: var(--cc-radius-md, 3px);
    background: var(--cc-showcase-button-bg, var(--cc-btn-bg));
    color: var(--cc-showcase-button-text, var(--cc-btn-text));
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.cc-product-card-footer .elementor-button:hover,
.cc-product-card-footer .elementor-button:focus-visible {
    color: var(--cc-showcase-button-text, var(--cc-btn-text));
    transform: translateY(-1px);
}

.cc-add-to-cart {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: var(--cc-radius-md, 12px);
    background: var(--cc-showcase-button-bg, var(--cc-btn-bg));
    color: var(--cc-showcase-button-text, var(--cc-btn-text));
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.cc-add-to-cart:hover,
.cc-add-to-cart:focus-visible {
    color: var(--cc-showcase-button-text, var(--cc-btn-text));
    transform: translateY(-1px);
}

.cc-add-to-cart.loading {
    opacity: 0.75;
    pointer-events: none;
}

.cc-add-to-cart-disabled {
    background: var(--cc-woo-form-border, var(--cc-border-color));
    color: var(--cc-text-secondary);
    cursor: not-allowed;
    pointer-events: none;
}

.cc-product-card .added_to_cart {
    display: none !important;
}

.cc-product-card-flat {
    background: var(--cc-bg-primary, #fff);
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.cc-product-card-flat:hover {
    transform: scale(1.02);
}

.cc-product-card-elevated {
    background: var(--cc-bg-primary, #fff);
    border: 0;
    box-shadow: var(--cc-shadow, 0 26px 56px rgba(0, 0, 0, 0.1));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.cc-product-card-elevated:hover {
    transform: translateY(-6px);
}

.cc-product-card-outlined {
    background: transparent;
    border: 2px solid var(--cc-woo-form-border, var(--cc-border-color));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.cc-product-card-outlined:hover {
    border-color: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
    background: var(--cc-bg-primary, #fff);
}

.cc-category-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cc-category-tabs::-webkit-scrollbar {
    display: none;
}

.cc-category-tab {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--cc-radius-pill, 3px);
    border: 1px solid var(--cc-showcase-tab-border-color, var(--cc-woo-form-border, var(--cc-border-color)));
    background: color-mix(in srgb, var(--cc-showcase-card-bg, var(--cc-bg-secondary, #f7f7f8)) 76%, transparent);
    color: var(--cc-showcase-tab-color, var(--cc-text-secondary));
    white-space: nowrap;
    min-height: 34px;
    font-size: 13px;
    line-height: 1.1;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cc-category-tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cc-showcase-tab-icon-color, currentColor);
}

.cc-category-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: color-mix(in srgb, currentColor 10%, transparent);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.cc-category-tab-icon svg {
    width: 12px;
    height: 12px;
}

.cc-category-tab:hover,
.cc-category-tab:focus-visible {
    background-color: var(--cc-showcase-tab-hover-bg, color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 12%, transparent));
    color: var(--cc-showcase-tab-hover-color, var(--cc-highlight-color, var(--cc-primary, #bc7c22)));
    border-color: var(--cc-showcase-tab-hover-border-color, color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary, #bc7c22)) 28%, var(--cc-showcase-tab-border-color, var(--cc-woo-form-border, var(--cc-border-color)))));
}

.cc-category-tab.active {
    background-color: var(--cc-showcase-tab-active-bg, var(--cc-btn-bg));
    color: var(--cc-showcase-tab-active-color, var(--cc-btn-text));
    border-color: var(--cc-showcase-tab-active-bg, var(--cc-btn-bg));
}

.cc-category-tab:hover .cc-category-tab-count,
.cc-category-tab:focus-visible .cc-category-tab-count {
    background: color-mix(in srgb, currentColor 16%, transparent);
}

.cc-category-tab.active .cc-category-tab-count {
    background: color-mix(in srgb, currentColor 18%, transparent);
}

/* Single product layout refinement */
.woocommerce div.product {
    width: min(100%, var(--cc-single-product-max-width, 1400px));
    max-width: var(--cc-single-product-max-width, 1400px);
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.woocommerce-breadcrumb {
    font-size: 0.8rem;
    color: var(--cc-text-secondary);
    padding: 1rem 1.5rem;
    margin: 0;
}

.woocommerce-breadcrumb a {
    color: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
    float: none;
    width: 100%;
}

.woocommerce div.product div.images {
    position: relative;
    top: auto;
}

.woocommerce div.product div.summary {
    padding-top: 0.5rem;
}

.woocommerce div.product div.summary .woocommerce-tabs {
    margin-top: 1rem;
    width: 100%;
}

.woocommerce div.product div.summary .woocommerce-tabs .panel {
    margin-bottom: 0;
}

.woocommerce div.product .woocommerce-breadcrumb,
.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
    grid-column: 1 / -1;
}

.woocommerce div.product div.images img {
    border-radius: var(--cc-woo-radius, 3px);
    max-width: 100%;
    height: auto;
}

.woocommerce div.product .product_title {
    font-size: clamp(1.75rem, 1.4rem + 1vw, 2.4rem);
    line-height: 1.2;
    margin: 0 0 0.75rem;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 6px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
    margin-bottom: 1.25rem;
}

.woocommerce div.product p.price del {
    font-weight: 400;
    font-size: 1rem;
    color: var(--cc-text-secondary);
}

.woocommerce div.product p.price del,
.woocommerce div.product p.price ins,
.woocommerce div.product span.price del,
.woocommerce div.product span.price ins,
.woocommerce div.product p.price del .amount,
.woocommerce div.product p.price ins .amount,
.woocommerce div.product span.price del .amount,
.woocommerce div.product span.price ins .amount,
.woocommerce div.product p.price del bdi,
.woocommerce div.product p.price ins bdi,
.woocommerce div.product span.price del bdi,
.woocommerce div.product span.price ins bdi {
    display: inline-flex;
    align-items: baseline;
}

.woocommerce div.product p.price ins {
    text-decoration: none;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--cc-text-primary);
    margin-bottom: 1.5rem;
}

.woocommerce div.product form.cart {
    display: flex;
    align-items: flex-end;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.woocommerce div.product form.cart .quantity,
.woocommerce div.product form.cart .cc-quantity-pill {
    flex: 0 0 auto;
    margin: 0;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
    flex: 1 1 220px;
}

.woocommerce div.product .woocommerce-product-gallery {
    margin-bottom: 30px;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
    min-height: 48px;
    padding: 0 2rem;
    border-radius: var(--cc-woo-btn-radius, var(--cc-radius-md, 12px));
    background: var(--cc-btn-bg, var(--cc-primary, #bc7c22)) !important;
    color: var(--cc-btn-text, #fff) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    background: var(--cc-btn-hover-bg, var(--cc-primary-dark, #a66b1a)) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.woocommerce div.product form.cart .single_add_to_cart_button:active {
    transform: translateY(0);
}

.woocommerce div.product form.cart .single_add_to_cart_button.loading {
    padding-right: 3rem;
}

.woocommerce div.product form.cart .single_add_to_cart_button.loading::after {
    content: "";
    position: absolute;
    right: 1.2rem;
    top: 50%;
    width: 1.2rem;
    height: 1.2rem;
    margin-top: -0.6rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cc-spin 0.6s linear infinite;
}

@keyframes cc-spin {
    to { transform: rotate(360deg); }
}

.cc-product-layout-3 .product {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.woocommerce div.product .product_meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    font-size: 0.9rem;
    color: var(--cc-text-secondary);
}

.woocommerce div.product .product_meta a {
    color: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
}

.cc-single-product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.cc-single-product-badges .cc-badge {
    width: fit-content;
    max-width: 100%;
}

.cc-product-card-price-group {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.cc-product-card-price-old,
.cc-product-card-price-group del {
    opacity: 0.7;
}

.cc-product-card-price-current,
.cc-product-card-price-group ins {
    text-decoration: none;
}

.cc-checkout-order-notes-help {
    margin: 0 0 12px;
    color: var(--cc-text-muted, #7f7c74);
    font-size: 0.94rem;
    line-height: 1.55;
}

.cc-order-notes-row textarea,
.cc-order-notes-textarea,
.cc-msco-order-notes textarea {
    min-height: 190px;
    padding: 16px 18px;
    font-size: 0.98rem;
    line-height: 1.6;
    resize: vertical;
}

.cc-product-option-picker,
.cc-product-size-picker {
    margin: 0 0 18px;
    padding: 14px;
    border: 1px solid var(--cc-border-color, #e0d8cc);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
}

.cc-product-option-picker__label,
.cc-product-size-picker__label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.cc-product-option-picker__help,
.cc-product-size-picker__help {
    margin: 0 0 10px;
    color: var(--cc-text-muted, #7f7c74);
    font-size: 0.92rem;
    line-height: 1.5;
}

.cc-product-option-picker__select,
.cc-product-size-picker__select {
    width: 100%;
    min-height: 48px;
}

.cc-product-option-picker__status,
.cc-product-size-picker__status {
    margin-top: 10px;
    color: var(--cc-text-muted, #7f7c74);
    font-size: 0.92rem;
    line-height: 1.5;
}

.cc-product-brand {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: var(--cc-text-secondary);
    font-size: 14px;
    font-weight: 600;
}

.cc-product-brand-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 999px;
}

.cc-product-brand-name {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
}

.cc-social-share {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

.cc-social-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: 50%;
    background: var(--cc-bg-primary, #fff);
    color: var(--cc-text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.cc-social-share a:hover,
.cc-social-share a:focus-visible {
    border-color: var(--cc-btn-bg);
    background: var(--cc-btn-bg);
    color: var(--cc-btn-text);
}

.woocommerce div.product .woocommerce-tabs {
    margin-top: 1.25rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 0.35rem;
    padding: 0;
    margin: 0 0 1rem;
    list-style: none;
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 0.55rem 0.9rem;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--cc-text-secondary);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
    border-bottom-color: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--cc-text-heading);
}

.woocommerce div.product .woocommerce-tabs .panel {
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--cc-text-primary);
    font-size: 0.92rem;
    line-height: 1.65;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 1.25rem;
    color: var(--cc-text-heading);
    margin: 0 0 0.75rem;
}

.cc-social-share {
    display: none;
}

.woocommerce div.product .related.products > h2,
.woocommerce div.product .upsells.products > h2 {
    margin: 0 0 0.9rem;
    color: var(--cc-text-heading);
    font-size: clamp(1.35rem, 1.2rem + 0.4vw, 1.75rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
}

.woocommerce div.product .related.products .products,
.woocommerce div.product .upsells.products .products {
    margin-top: 0;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.woocommerce div.product .woocommerce-tabs #reviews,
.woocommerce div.product .woocommerce-tabs #review_form_wrapper,
.woocommerce div.product .woocommerce-tabs #review_form,
.woocommerce div.product .woocommerce-tabs .comment-respond,
.woocommerce div.product .woocommerce-tabs .comment-form-comment,
.woocommerce div.product .woocommerce-tabs .comment-form-comment textarea,
.woocommerce div.product .woocommerce-tabs .comment-form-author input,
.woocommerce div.product .woocommerce-tabs .comment-form-email input,
.woocommerce div.product .woocommerce-tabs .comment-form-url input {
    background: transparent;
    box-shadow: none;
}

.woocommerce div.product .woocommerce-tabs .comment-form-comment textarea,
.woocommerce div.product .woocommerce-tabs .comment-form-author input,
.woocommerce div.product .woocommerce-tabs .comment-form-email input,
.woocommerce div.product .woocommerce-tabs .comment-form-url input {
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    color: var(--cc-text-primary);
    background: color-mix(in srgb, var(--cc-bg-primary, #1f1b18) 92%, transparent);
}

@media (max-width: 768px) {
    .woocommerce div.product {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .woocommerce div.product div.images {
        position: static;
    }
}

/* Pill quantity controls */
.cc-quantity-pill {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    min-width: 140px;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-pill, 999px);
    background: var(--cc-bg-primary, #fff);
    overflow: hidden;
}

.cc-qty-btn {
    width: 42px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--cc-text-heading);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.cc-qty-btn:hover,
.cc-qty-btn:focus-visible {
    background: var(--cc-bg-secondary, #f7f7f8);
}

.cc-qty-input {
    width: 56px;
    min-width: 56px;
    flex: 0 0 56px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cc-text-heading);
    text-align: center;
    font-weight: 600;
    appearance: textfield;
    -moz-appearance: textfield;
}

.cc-qty-input::-webkit-outer-spin-button,
.cc-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Cart page */
.cc-cart-page {
    max-width: 1200px;
    margin: 0 auto;
}

.cc-cart-page .woocommerce-cart-form {
    display: block;
    width: 100%;
}

.cc-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2.5rem;
    align-items: start;
}

.cc-cart-items-col {
    min-width: 0;
}

.cc-cart-totals-col {
    position: sticky;
    top: var(--cc-sticky-offset, 1.5rem);
    max-height: calc(100vh - var(--cc-sticky-offset, 1.5rem) - 2rem);
    overflow-y: auto;
    overflow-x: visible;
    min-width: 0;
}

/* Column headers */
.cc-cart-col-headers {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cc-text-secondary);
    margin-bottom: 0.25rem;
}

.cc-cart-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

/* Left: image + details */
.cc-cart-item-product {
    display: flex;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.cc-cart-item-image {
    width: 3.75rem;
    height: 3.75rem;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--cc-radius-md, 12px);
}

.cc-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cc-cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.cc-cart-item-name {
    font-size: 0.975rem;
    font-weight: 500;
    color: var(--cc-highlight-color, var(--cc-primary, #0c768a));
    text-decoration: none;
    line-height: 1.3;
}

.cc-cart-item-name:hover {
    text-decoration: underline;
}

.cc-cart-item-price {
    font-size: 0.9rem;
    color: var(--cc-text-primary);
}

.cc-cart-item-price del {
    color: var(--cc-text-secondary);
    margin-right: 0.25rem;
}

/* SAVE badge */
.cc-save-badge {
    display: inline-block;
    padding: 0.2em 0.55em;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--cc-text-heading);
    background: transparent;
    white-space: nowrap;
}

.cc-cart-item-desc {
    font-size: 0.825rem;
    color: var(--cc-text-secondary);
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42ch;
    margin-top: 0.2rem;
}

.cc-cart-item-qty-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* Compact qty pill in cart */
.cc-cart-item-qty .cc-quantity-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: 999px;
    overflow: hidden;
}

.cc-cart-item-qty .cc-qty-btn {
    width: 32px;
    height: 32px;
    min-height: unset;
    font-size: 16px;
    line-height: 1;
    background: transparent;
    border: none;
}

.cc-cart-item-qty .cc-qty-input {
    width: 36px;
    min-width: 36px;
    height: 32px;
    min-height: unset;
    font-size: 0.85rem;
    background: transparent;
    border: none;
    text-align: center;
}

.cc-cart-item-qty .quantity {
    display: flex;
    align-items: center;
}

.cc-cart-remove-link {
    font-size: 0.8rem;
    color: var(--cc-text-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cc-cart-remove-link:hover {
    color: #b42318;
}

/* Right: total column */
.cc-cart-item-total-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
    flex-shrink: 0;
    min-width: 100px;
    text-align: right;
    padding-top: 0.1rem;
}

.cc-cart-item-subtotal {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cc-text-heading);
}

.cc-cart-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.25rem 0;
}

.cc-update-cart-btn {
    font-size: 0.875rem;
    display: none;
}

/* Totals panel */
.cc-cart-totals {
    padding: 0 1.5rem 1.5rem;
    background: color-mix(in srgb, var(--cc-bg-primary, #fff) 96%, transparent);
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.cc-cart-totals-heading {
    margin: 0 0 0.5rem;
    font-size: 1em;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--cc-text-heading);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

/* Coupon accordion */
.cc-coupon-accordion {
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

.cc-coupon-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.9rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--cc-text-primary);
    text-align: left;
}

.cc-coupon-toggle:hover {
    color: var(--cc-highlight-color, var(--cc-primary));
}

.cc-coupon-chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: var(--cc-text-secondary);
}

.cc-coupon-body {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
}

/* hidden attribute must override display:flex */
.cc-coupon-body[hidden] {
    display: none !important;
}

.cc-coupon-input {
    flex: 1;
    min-width: 140px;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-md, 12px);
    background: var(--cc-bg-primary, #fff);
    color: var(--cc-text-primary);
    font-size: 0.9rem;
}

.cc-cart-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    font-size: 0.95rem;
}

.cc-cart-totals-row:last-of-type {
    border-bottom: 0;
}

/* Estimated total row */
.cc-cart-totals-estimated {
    border-bottom: 0;
    padding-top: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--cc-text-heading);
}

.cc-cart-totals-estimated span:last-child {
    font-size: 1.25rem;
}

.cc-cart-checkout-btn {
    margin-top: 1rem;
}

.cc-cart-checkout-btn .checkout-button {
    display: block;
    width: 100%;
    padding: 0.85rem 1.5rem;
    text-align: center;
    background: var(--cc-btn-bg) !important;
    color: var(--cc-btn-text) !important;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none !important;
    border-radius: var(--cc-woo-btn-radius, var(--cc-radius-md, 12px));
    transition: opacity 0.15s;
}

.cc-cart-checkout-btn .checkout-button:hover {
    opacity: 0.88;
}

/* ── Checkout Page ────────────────────────────────────────────── */

.cc-checkout-page {
    max-width: 1200px;
    margin: 0 auto;
}

.cc-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 3rem;
    align-items: start;
}

/* ─── LEFT column: form sections ──────────────────────────────── */

.cc-checkout-form-col .woocommerce-billing-fields h3,
.cc-checkout-form-col .woocommerce-shipping-fields > h3,
.cc-checkout-form-col .woocommerce-additional-fields h3,
.cc-checkout-form-col #payment > h3,
.woocommerce-checkout #payment > h3 {
    margin: 1.5rem 0 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--cc-text-heading);
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    padding-bottom: 0.6rem;
}

.cc-checkout-form-col .woocommerce-billing-fields h3:first-child {
    margin-top: 0;
}

/* Ship-to toggle checkbox */
.cc-checkout-form-col .woocommerce-shipping-fields h3 label {
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--cc-text-secondary);
}

/* Form rows */
.woocommerce-checkout .form-row {
    margin-bottom: 0.75rem;
}

.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cc-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-woo-btn-radius, var(--cc-radius-md, 12px));
    background: var(--cc-woo-form-bg, var(--cc-bg-primary, #fff));
    color: var(--cc-woo-form-text, var(--cc-text-primary));
    font-size: 0.95rem;
    transition: border-color 0.15s;
    -webkit-appearance: none;
    appearance: none;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    outline: none;
    border-color: var(--cc-woo-form-focus, var(--cc-highlight-color, var(--cc-primary)));
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--cc-woo-form-focus, var(--cc-highlight-color, var(--cc-primary))) 18%, transparent);
}

/* Two-col field pairs (first/last name, city/state etc.) */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: calc(50% - 0.375rem);
    float: left;
}

.woocommerce-checkout .form-row-first {
    margin-right: 0.75rem;
}

/* Ensure all checkout inputs / selects fill their container fully */
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    box-sizing: border-box;
}

/* Payment section inside #order_review */
.woocommerce-checkout #payment {
    border: none;
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.woocommerce-checkout #payment .woocommerce-checkout-payment ul.payment_methods {
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-lg, 15px);
    padding: 0.5rem;
    list-style: none;
    margin: 0 0 1rem;
}

.woocommerce-checkout #payment ul.payment_methods li.payment_method {
    padding: 0.75rem 1rem;
    border-radius: var(--cc-radius-md, 12px);
    border: none;
}

.woocommerce-checkout #payment ul.payment_methods li.payment_method:has(input:checked) {
    background: color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary)) 8%, transparent);
}

.woocommerce-checkout #payment ul.payment_methods .payment_box {
    background: none;
    padding: 0.5rem 0 0;
    margin: 0;
}

.woocommerce-checkout #payment ul.payment_methods .payment_box::before {
    display: none;
}

/* Place order button */
.woocommerce-checkout #payment #place_order {
    display: block;
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: var(--cc-btn-bg) !important;
    color: var(--cc-btn-text) !important;
    border: none !important;
    border-radius: var(--cc-woo-btn-radius, var(--cc-radius-md, 12px)) !important;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s;
}

.woocommerce-checkout #payment #place_order:hover {
    opacity: 0.88;
}

/* "Return to cart" link */
.woocommerce-checkout .return-to-shop a,
.woocommerce-checkout a.wc-backward {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: var(--cc-text-secondary);
    text-decoration: none;
}

.woocommerce-checkout .return-to-shop a:hover,
.woocommerce-checkout a.wc-backward:hover {
    color: var(--cc-text-heading);
}

/* ─── RIGHT column: order summary ─────────────────────────────── */

.cc-checkout-summary-col {
    position: sticky;
    top: var(--cc-sticky-offset, 1.5rem);
}

.cc-order-summary {
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-lg, 15px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--cc-sticky-offset, 1.5rem) - 3rem);
}

.cc-order-summary-heading {
    margin: 0;
    padding: 1.1rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--cc-text-heading);
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

/* Product list */
.cc-order-summary-items {
    padding: 0 1.25rem;
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    overscroll-behavior: contain;
}

.cc-order-summary-item {
    display: flex;
    gap: 0.875rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

.cc-order-summary-item:last-child {
    border-bottom: none;
}

.cc-order-summary-img-wrap {
    position: relative;
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--cc-radius-md, 12px);
    overflow: visible;
}

.cc-order-summary-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--cc-radius-md, 12px);
    display: block;
}

.cc-order-summary-qty-badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.3rem;
    background: var(--cc-text-secondary);
    color: var(--cc-bg-primary, #fff);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 1.5px solid var(--cc-bg-primary, #fff);
}

.cc-order-summary-info {
    flex: 1;
    min-width: 0;
}

.cc-order-summary-name-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.cc-order-summary-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--cc-text-heading);
    text-decoration: none;
    line-height: 1.3;
}

.cc-order-summary-name:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cc-order-summary-line-total {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cc-text-heading);
    white-space: nowrap;
    flex-shrink: 0;
}

.cc-order-summary-unit-price {
    font-size: 0.8rem;
    color: var(--cc-text-secondary);
    margin-top: 0.15rem;
}

.cc-order-summary-unit-price del {
    margin-right: 0.25rem;
    opacity: 0.6;
}

/* Section divider */
.cc-order-summary-section {
    border-top: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

/* Coupon accordion in summary */
.cc-order-summary .cc-coupon-accordion {
    padding: 0 1.25rem;
    border-bottom: none;
}

.cc-order-summary .cc-coupon-toggle {
    padding: 0.85rem 0;
}

.cc-order-summary .cc-coupon-body {
    padding-bottom: 0.85rem;
}

/* Totals rows */
.cc-order-summary-totals {
    padding: 0 1.25rem 0.5rem;
    flex-shrink: 0;
}

/* Coupon stays pinned too */
.cc-order-summary .cc-coupon-accordion {
    flex-shrink: 0;
}

.cc-order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    font-size: 0.9rem;
    color: var(--cc-text-primary);
}

.cc-order-summary-row > *:last-child {
    flex-shrink: 0;
    white-space: nowrap;
}

.cc-order-summary-row:last-of-type {
    border-bottom: 0;
}

.cc-order-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 1rem 0 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--cc-text-heading);
    border-top: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    margin-top: 0.25rem;
}

.cc-order-summary-total span:last-child {
    font-size: 1.3rem;
}

/* Theme WooCommerce info/error notices in checkout to match theme style */
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message {
    background: var(--cc-bg-primary, #fff);
    border-color: var(--cc-woo-form-border, var(--cc-border-color));
    border-left-color: var(--cc-highlight-color, var(--cc-primary));
    border-left-width: 4px;
    color: var(--cc-text-primary);
    border-radius: var(--cc-radius-md, 12px);
    box-shadow: none;
    font-size: 0.9rem;
}

.woocommerce-checkout .woocommerce-info::before,
.woocommerce-checkout .woocommerce-message::before {
    color: var(--cc-highlight-color, var(--cc-primary));
}

/* Legacy checkout cards (form-login, form-coupon) */
.woocommerce-checkout .woocommerce-form-login,
.woocommerce-checkout .woocommerce-form-coupon {
    padding: 1.25rem;
    background: color-mix(in srgb, var(--cc-bg-primary, #fff) 96%, transparent);
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-lg, 15px);
    box-shadow: none;
    margin-bottom: 1.5rem;
}

/* Remove old #order_review card styles (now borderless in left col) */
.woocommerce-checkout #order_review.woocommerce-checkout-review-order {
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* Checkout item thumbnail (thank-you page hook still uses this) */
.cc-checkout-item-name {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.35;
}

.cc-checkout-thumb {
    width: 56px;
    height: 56px;
    border-radius: var(--cc-radius-md, 12px);
    object-fit: cover;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .cc-checkout-grid {
        grid-template-columns: 1fr;
    }

    .cc-checkout-summary-col {
        position: static;
        max-height: none;
        overflow: visible;
        order: -1;
    }
}

@media (max-width: 991px) {
    .woocommerce div.product {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cc-cart-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .cc-cart-item-product {
        flex-direction: column;
    }

    .cc-cart-item-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        max-width: 7rem;
    }

    .cc-cart-item {
        flex-direction: column;
    }

    .cc-cart-item-total-col {
        align-items: flex-start;
        text-align: left;
    }

    .cc-cart-actions {
        align-items: stretch;
    }

    .cc-cart-actions,
    .cc-cart-coupon {
        flex-direction: column;
        align-items: stretch;
    }

    /* Hide column headers on mobile — they don't map to stacked layout */
    .cc-cart-col-headers {
        display: none;
    }

    /* Full-width update cart button */
    .cc-update-cart-btn {
        width: 100%;
        text-align: center;
    }



    /* Qty pill touch targets — ensure minimum 44px */
    .cc-cart-item-qty .cc-qty-btn {
        min-width: 36px;
        min-height: 36px;
    }

    /* Checkout: form field pairs go full-width on mobile */
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last,
    .cc-section-fields > .form-row-first,
    .cc-section-fields > .form-row-last {
        width: 100%;
        float: none;
        display: block;
        margin-right: 0;
    }



    /* Checkout summary spacing when stacked */
    .cc-checkout-summary-col {
        margin-bottom: 1.5rem;
    }

    /* Order items in summary: smaller thumbnails */
    .cc-checkout-thumb {
        width: 48px;
        height: 48px;
    }
}

/* Keep native Woo pages full-width when using the standard page template */
.woocommerce-cart .cc-layout,
.woocommerce-checkout .cc-layout,
.woocommerce-account .cc-layout {
    display: block;
}

.woocommerce-cart .cc-layout-sidebar,
.woocommerce-checkout .cc-layout-sidebar,
.woocommerce-account .cc-layout-sidebar {
    display: none;
}

.woocommerce-cart .cc-layout-content,
.woocommerce-checkout .cc-layout-content,
.woocommerce-account .cc-layout-content {
    max-width: none;
}

/* Mini-cart refinement */
.cc-mini-cart-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

.cc-mini-cart-items {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.cc-mini-cart-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

.cc-mini-cart-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cc-mini-cart-item-image {
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: var(--cc-radius-md, 12px);
}

.cc-mini-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cc-mini-cart-item-info {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.cc-mini-cart-item-name {
    display: block;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
    color: var(--cc-text-heading);
    text-decoration: none;
}

.cc-mini-cart-item-qty-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-mini-cart-item-name:hover {
    color: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
}

.cc-mini-cart-item-price {
    color: var(--cc-text-secondary);
    font-size: 0.78rem;
    white-space: nowrap;
}

.cc-mini-cart-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

.cc-mini-cart-total {
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

/* Account page polish */
.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.5rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--cc-bg-primary, #fff);
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-lg, 15px);
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation li + li {
    border-top: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 0.9rem 1rem;
    color: var(--cc-text-primary);
    text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: var(--cc-btn-bg);
    color: var(--cc-btn-text);
}

.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-Address,
.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
    padding: 1.5rem;
    background: var(--cc-bg-primary, #fff);
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-lg, 15px);
}

.woocommerce-account .woocommerce table.shop_table {
    border-collapse: collapse;
}

.woocommerce-account .woocommerce table.shop_table th,
.woocommerce-account .woocommerce table.shop_table td {
    border-color: var(--cc-woo-form-border, var(--cc-border-color));
}

@media (max-width: 991px) {
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
    }

    /* Make navigation horizontal tabs on mobile */
    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        border-radius: var(--cc-radius-lg, 15px);
        white-space: nowrap;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
        display: none;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li + li {
        border-top: none;
        border-left: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    }

    .woocommerce-account .woocommerce-MyAccount-navigation a {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    /* Order tables: horizontal scroll wrapper */
    .woocommerce-account .woocommerce table.shop_table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.cc-category-tab:hover .cc-category-tab-icon,
.cc-category-tab.active .cc-category-tab-icon {
    color: var(--cc-showcase-active-icon-mode-color, var(--cc-showcase-tab-active-icon-color, var(--cc-showcase-tab-active-color, var(--cc-btn-text))));
}

.cc-category-tab:hover .cc-category-tab-icon,
.cc-category-tab:focus-visible .cc-category-tab-icon {
    color: var(--cc-showcase-hover-icon-mode-color, var(--cc-showcase-tab-hover-icon-color, var(--cc-showcase-tab-hover-color, var(--cc-highlight-color, var(--cc-primary, #bc7c22)))));
}

.cc-category-tab {
    text-decoration: none;
}

.cc-showcase-section {
    position: relative;
    background: var(--cc-showcase-section-bg, var(--cc-bg-primary, #fff));
    padding: 24px 0;
    overflow: visible;
    color: var(--cc-text-primary);
    content-visibility: auto;
    contain-intrinsic-size: 1px 860px;
}

.cc-showcase-carousel {
    contain: layout paint;
    will-change: scroll-position;
}

@media (hover: hover) and (pointer: fine) {
    .cc-product-card-glass,
    .cc-product-card.cc-product-card-glass,
    .cc-product-card:not(.cc-product-card-flat):not(.cc-product-card-elevated):not(.cc-product-card-outlined) {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

@media (hover: none), (pointer: coarse) {
    .cc-product-card,
    .cc-product-card-glass,
    .cc-product-card.cc-product-card-glass {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .cc-product-card-actions {
        opacity: 1;
        transform: none;
    }
}

@media (update: slow) {
    .cc-product-card,
    .cc-product-card-glass,
    .cc-product-card.cc-product-card-glass,
    .cc-card-action-circle,
    .cc-showcase-arrow {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .cc-product-card,
    .cc-product-card-image img,
    .cc-product-card-image .cc-card-image-el,
    .cc-product-card-actions,
    .cc-card-action-circle,
    .cc-showcase-arrow,
    .cc-product-card-footer .elementor-button,
    .cc-add-to-cart {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cc-showcase-carousel {
        scroll-behavior: auto;
    }

    .cc-product-card,
    .cc-product-card-image img,
    .cc-product-card-image .cc-card-image-el,
    .cc-product-card-actions,
    .cc-card-action-circle,
    .cc-category-tab,
    .cc-showcase-arrow,
    .cc-product-card-footer .elementor-button,
    .cc-add-to-cart {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .cc-product-card:hover,
    .cc-card-action-circle:hover,
    .cc-product-card-footer .elementor-button:hover,
    .cc-add-to-cart:hover {
        transform: none;
    }
}

.cc-showcase-bg {
    display: none;
}

.cc-showcase-container {
    position: relative;
    max-width: calc(var(--cc-container-max-width, 1140px) + 40px);
    margin: 0 auto;
    padding: 0 16px;
}

.cc-showcase-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.cc-showcase-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.cc-showcase-icon {
    color: var(--cc-showcase-icon-mode-color, var(--cc-showcase-arrow-icon-mode-color, var(--cc-showcase-icon-color, var(--cc-btn-bg))));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.cc-showcase-icon svg,
.cc-showcase-icon i,
.cc-category-tab-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    color: currentColor;
}

.cc-showcase-icon :is(svg, .e-font-icon-svg),
.cc-showcase-icon :is(svg, .e-font-icon-svg) *,
.cc-category-tab-icon :is(svg, .e-font-icon-svg),
.cc-category-tab-icon :is(svg, .e-font-icon-svg) *,
.cc-sort-leading-icon :is(svg, .e-font-icon-svg),
.cc-sort-leading-icon :is(svg, .e-font-icon-svg) *,
.cc-sort-dropdown-caret :is(svg, .e-font-icon-svg),
.cc-sort-dropdown-caret :is(svg, .e-font-icon-svg) * {
    color: currentColor !important;
}

.cc-showcase-icon :is(svg, .e-font-icon-svg) [stroke]:not([stroke="none"]),
.cc-category-tab-icon :is(svg, .e-font-icon-svg) [stroke]:not([stroke="none"]),
.cc-sort-leading-icon :is(svg, .e-font-icon-svg) [stroke]:not([stroke="none"]),
.cc-sort-dropdown-caret :is(svg, .e-font-icon-svg) [stroke]:not([stroke="none"]) {
    stroke: currentColor !important;
}

.cc-showcase-icon :is(svg, .e-font-icon-svg) [fill]:not([fill="none"]),
.cc-category-tab-icon :is(svg, .e-font-icon-svg) [fill]:not([fill="none"]),
.cc-sort-leading-icon :is(svg, .e-font-icon-svg) [fill]:not([fill="none"]),
.cc-sort-dropdown-caret :is(svg, .e-font-icon-svg) [fill]:not([fill="none"]) {
    fill: currentColor !important;
}

.cc-showcase-icon svg,
.cc-category-tab-icon svg,
.cc-sort-leading-icon svg,
.cc-sort-dropdown-caret svg,
.cc-showcase-arrow svg {
    stroke-width: var(--cc-showcase-icon-stroke-width, 2);
    vector-effect: non-scaling-stroke;
}

.cc-showcase-icon i,
.cc-category-tab-icon i,
.cc-sort-leading-icon i,
.cc-sort-dropdown-caret i,
.cc-showcase-arrow i {
    font-weight: var(--cc-showcase-icon-font-weight, 700);
}

.cc-category-tab-icon {
    color: var(--cc-showcase-tab-icon-mode-color, var(--cc-showcase-arrow-icon-mode-color, var(--cc-showcase-tab-icon-color, currentColor)));
}

.cc-showcase-title {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    color: var(--cc-showcase-title-color, var(--cc-text-heading));
}

.cc-text-gold-gradient {
    background: linear-gradient(135deg, var(--cc-showcase-highlight-color, var(--cc-highlight-color, var(--cc-primary, #bc7c22))), color-mix(in srgb, var(--cc-showcase-highlight-color, var(--cc-highlight-color, var(--cc-primary, #bc7c22))) 45%, var(--cc-accent, var(--cc-primary, #bc7c22))), var(--cc-showcase-highlight-color, var(--cc-highlight-color, var(--cc-primary, #bc7c22))));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cc-showcase-subtitle {
    margin: 8px 0 0;
    max-width: 28rem;
    font-size: 14px;
    color: var(--cc-showcase-subtitle-color, var(--cc-text-secondary));
}

.cc-showcase-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cc-showcase-sort-controls {
    display: inline-flex;
    align-items: center;
    gap: var(--cc-showcase-sort-gap, 12px);
}

.cc-sort-leading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cc-showcase-sort-icon-mode-color, var(--cc-showcase-sort-icon-color, var(--cc-showcase-icon-mode-color, var(--cc-showcase-tab-color, var(--cc-text-primary)))));
    line-height: 0;
}

.cc-sort-dropdown {
    height: 40px;
    min-height: 40px;
    padding: 0 2.9rem 0 12px;
    border: 1px solid var(--cc-showcase-tab-border-color, var(--cc-woo-form-border, var(--cc-border-color)));
    border-radius: var(--cc-radius-md, 12px);
    background: color-mix(in srgb, var(--cc-showcase-card-bg, var(--cc-bg-primary, #fff)) 96%, transparent);
    color: var(--cc-showcase-tab-color, var(--cc-text-primary));
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    line-height: 1.2;
}

.cc-sort-dropdown:focus,
.cc-sort-dropdown:active {
    outline: none;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--cc-showcase-button-bg, var(--cc-btn-bg)) 24%, transparent);
}

.cc-sort-dropdown-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
}

.cc-sort-dropdown-caret {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cc-showcase-sort-icon-mode-color, var(--cc-showcase-sort-icon-color, var(--cc-showcase-icon-mode-color, var(--cc-showcase-tab-color, var(--cc-text-primary)))));
    pointer-events: none;
}

.cc-sort-leading-icon svg,
.cc-sort-dropdown-caret svg {
    width: var(--cc-showcase-sort-icon-size, 14px);
    height: var(--cc-showcase-sort-icon-size, 14px);
    display: block;
}

.cc-showcase-nav-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-showcase-arrow {
    width: 40px;
    height: 40px;
    border-radius: var(--cc-radius-pill, 3px);
    border: 1px solid color-mix(in srgb, var(--cc-woo-form-border, var(--cc-border-color)) 85%, transparent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cc-showcase-arrow-icon-mode-color, var(--cc-showcase-icon-mode-color, var(--cc-showcase-icon-color, var(--cc-btn-bg))));
    background: color-mix(in srgb, var(--cc-bg-primary, #fff) 72%, transparent);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cc-showcase-arrow:hover {
    background: var(--cc-showcase-button-bg, var(--cc-btn-bg));
    color: var(--cc-showcase-button-text, var(--cc-btn-text));
}

.cc-showcase-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    margin: 0;
    padding-top: 6px;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: stretch;
}

.cc-product-showcase[data-cc-disable-sliding="1"] .cc-showcase-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
}

.cc-product-showcase[data-cc-disable-sliding="1"] .cc-carousel-item {
    min-width: 0 !important;
    max-width: none !important;
}

.cc-showcase-carousel::-webkit-scrollbar {
    display: none;
}

.cc-carousel-item {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    scroll-snap-align: start;
    height: 100%;
    overflow: hidden;
}

.cc-product-showcase {
    --cc-showcase-card-width-active: var(--cc-showcase-card-width, 300px);
}

.cc-product-showcase .cc-showcase-carousel .cc-carousel-item {
    min-width: var(--cc-showcase-card-width-active);
    max-width: var(--cc-showcase-card-width-active);
}

.cc-carousel-item .cc-product-card {
    min-width: 0;
    width: 100%;
}

.cc-showcase-grid {
    display: grid;
    gap: 24px;
    align-items: stretch;
    padding-top: 6px;
}

.cc-showcase-grid .cc-product-card {
    height: 100%;
}

.cc-grid-cols-2 { grid-template-columns: repeat(1, 1fr); }
.cc-grid-cols-3 { grid-template-columns: repeat(1, 1fr); }
.cc-grid-cols-4 { grid-template-columns: repeat(1, 1fr); }
.cc-grid-cols-5 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 640px) {
    .cc-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .cc-grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
    .cc-grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
    .cc-grid-cols-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
    .cc-showcase-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .cc-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .cc-grid-cols-4 { grid-template-columns: repeat(3, 1fr); }
    .cc-grid-cols-5 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1280px) {
    .cc-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .cc-grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 767px) {
    .cc-showcase-arrow {
        width: 44px;
        height: 44px;
    }

    .cc-showcase-header {
        gap: 12px;
        margin-bottom: 16px;
    }

    .cc-showcase-container {
        padding: 0 12px;
    }

    .cc-sort-dropdown {
        font-size: 0.8125rem;
        padding: 0 2.4rem 0 10px;
        height: 36px;
        min-height: 36px;
    }

    .cc-sort-dropdown-wrap {
        min-height: 36px;
    }

    .cc-category-tab {
        padding: 6px 10px;
        font-size: 0.8125rem;
        min-height: 36px;
    }

    .cc-showcase-carousel {
        gap: 12px;
    }

    .cc-product-showcase {
        --cc-showcase-card-width-active: clamp(138px, min(var(--cc-showcase-card-width-mobile, 160px), calc((100vw - 76px) / 2)), 168px);
    }

    .cc-product-showcase[data-cc-disable-sliding="1"] .cc-showcase-carousel {
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .cc-product-showcase {
        --cc-showcase-card-width-active: clamp(164px, min(var(--cc-showcase-card-width-mobile, 184px), calc((100vw - 52px) / 2)), 198px);
    }

    .cc-product-showcase .cc-product-card-body {
        gap: 8px;
        padding: 12px 12px 10px;
    }

    .cc-product-showcase .cc-product-card-category {
        font-size: 10px;
        letter-spacing: 0.06em;
    }

    .cc-product-showcase .cc-product-card-title {
        min-height: 2.5em;
        font-size: 15px;
        line-height: 1.25;
    }

    .cc-product-showcase .cc-product-card-specs,
    .cc-product-showcase .cc-product-card-excerpt {
        min-height: 3.1em;
        font-size: 12px;
        line-height: 1.4;
    }

    .cc-product-showcase .cc-product-card-delivery-summary {
        margin-top: 0.2rem;
        font-size: 12px;
        line-height: 1.35;
    }

    .cc-product-showcase .cc-product-card-price {
        font-size: 17px;
        line-height: 1.2;
    }

    .cc-product-showcase .cc-product-card-footer {
        padding: 0 12px 12px;
    }

    .cc-product-showcase .cc-product-card-footer .button,
    .cc-product-showcase .cc-add-to-cart {
        min-height: 40px;
        padding: 0 12px;
        font-size: 12px;
        line-height: 1.25;
    }

    .cc-product-showcase .cc-add-to-cart svg {
        width: 14px;
        height: 14px;
        flex: 0 0 auto;
    }
}

.cc-showcase-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--cc-text-secondary);
}

.cc-showcase-loading {
    padding: 14px 16px 0;
    text-align: center;
    color: var(--cc-text-secondary);
    font-size: 12px;
}

.cc-showcase-sentinel {
    width: 100%;
    height: 1px;
}

/* Product showcase background token cleanup */
.cc-category-tab {
    background: transparent;
    border-color: var(--cc-custom-border, var(--cc-showcase-tab-border-color, var(--cc-woo-form-border, var(--cc-border-color))));
    color: var(--cc-showcase-tab-color, var(--cc-custom-muted, var(--cc-text-secondary)));
}

.cc-category-tab:hover,
.cc-category-tab:focus-visible {
    background: color-mix(in srgb, var(--cc-showcase-tab-hover-bg, var(--cc-custom-bg, transparent)) 82%, transparent);
    border-color: var(--cc-showcase-tab-hover-border-color, color-mix(in srgb, var(--cc-custom-border, var(--cc-woo-form-border, var(--cc-border-color))) 92%, var(--cc-highlight-color, var(--cc-primary, #bc7c22))));
    color: var(--cc-showcase-tab-hover-color, var(--cc-custom-text, var(--cc-highlight-color, var(--cc-primary, #bc7c22))));
}

.cc-category-tab.active {
    background: var(--cc-showcase-tab-active-bg, var(--cc-btn-bg));
    border-color: var(--cc-showcase-tab-active-bg, var(--cc-btn-bg));
    color: var(--cc-showcase-tab-active-color, var(--cc-btn-text));
}

.cc-showcase-section {
    background: var(--cc-custom-bg, var(--cc-showcase-section-bg, transparent));
    color: var(--cc-custom-text, var(--cc-text-primary));
}

.cc-showcase-bg {
    display: none;
}

.cc-showcase-title {
    color: var(--cc-showcase-title-color, var(--cc-custom-heading, var(--cc-text-heading)));
}

.cc-text-gold-gradient {
    background: none;
    color: var(--cc-showcase-highlight-color, var(--cc-highlight-color, var(--cc-primary, #bc7c22)));
    -webkit-text-fill-color: currentColor;
}

.cc-showcase-subtitle {
    color: var(--cc-showcase-subtitle-color, var(--cc-custom-muted, var(--cc-text-secondary)));
}

.cc-sort-dropdown {
    border-color: var(--cc-custom-border, var(--cc-showcase-tab-border-color, var(--cc-woo-form-border, var(--cc-border-color))));
    background: transparent;
    color: var(--cc-showcase-tab-color, var(--cc-custom-text, var(--cc-text-primary)));
}

.cc-sort-leading-icon,
.cc-sort-dropdown-caret {
    color: var(--cc-showcase-sort-icon-color, var(--cc-showcase-tab-color, var(--cc-custom-text, var(--cc-text-primary))));
}

.cc-showcase-arrow {
    border-color: var(--cc-custom-border, color-mix(in srgb, var(--cc-woo-form-border, var(--cc-border-color)) 85%, transparent));
    background: transparent;
}

/* ── WooCommerce Button Style Variants ────────────────────── */

/* Outline style */
.cc-woo-btn-outline :where(.cc-btn-primary, .single_add_to_cart_button, .cc-product-card-footer .button, .woocommerce ul.products li.product .button, .cc-cart-checkout-btn .checkout-button, #place_order, .woocommerce .button.alt, .woocommerce button.button) {
    background: transparent;
    color: var(--cc-btn-bg);
    border: 2px solid var(--cc-btn-bg);
}
.cc-woo-btn-outline :where(.cc-btn-primary, .single_add_to_cart_button, .cc-product-card-footer .button, .woocommerce ul.products li.product .button, .cc-cart-checkout-btn .checkout-button, #place_order, .woocommerce .button.alt, .woocommerce button.button):hover {
    background: var(--cc-btn-bg);
    color: var(--cc-btn-text);
    border-color: var(--cc-btn-bg);
}

/* Ghost style */
.cc-woo-btn-ghost :where(.cc-btn-primary, .single_add_to_cart_button, .cc-product-card-footer .button, .woocommerce ul.products li.product .button, .cc-cart-checkout-btn .checkout-button, #place_order, .woocommerce .button.alt, .woocommerce button.button) {
    background: transparent;
    color: var(--cc-btn-bg);
    border: 0;
}
.cc-woo-btn-ghost :where(.cc-btn-primary, .single_add_to_cart_button, .cc-product-card-footer .button, .woocommerce ul.products li.product .button, .cc-cart-checkout-btn .checkout-button, #place_order, .woocommerce .button.alt, .woocommerce button.button):hover {
    background: color-mix(in srgb, var(--cc-btn-bg) 12%, transparent);
    color: var(--cc-btn-hover-bg);
}

/* ── WooCommerce Form Style Variants ──────────────────────── */

/* Filled style */
.cc-woo-form-filled :where(.woocommerce input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]), .woocommerce select, .woocommerce textarea) {
    background: var(--cc-woo-form-bg, var(--cc-bg-secondary, #f7f7f8));
    border-color: transparent;
}
.cc-woo-form-filled :where(.woocommerce input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]), .woocommerce select, .woocommerce textarea):focus {
    border-color: var(--cc-woo-form-focus, var(--cc-highlight-color));
}

/* Underline style */
.cc-woo-form-underline :where(.woocommerce input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]), .woocommerce select, .woocommerce textarea) {
    border: 0;
    border-bottom: 2px solid var(--cc-woo-form-border, var(--cc-woo-form-border, var(--cc-border-color)));
    border-radius: 0;
    background: transparent;
    padding-left: 0;
    padding-right: 0;
}
.cc-woo-form-underline :where(.woocommerce input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]), .woocommerce select, .woocommerce textarea):focus {
    border-bottom-color: var(--cc-woo-form-focus, var(--cc-highlight-color));
}

/* ── WooCommerce Checkbox Style Variants ──────────────────── */

/* Rounded */
.cc-woo-checkbox-rounded :where(.woocommerce input[type="checkbox"]) {
    border-radius: 50%;
}

/* Toggle switch */
.cc-woo-checkbox-switch :where(.woocommerce input[type="checkbox"]) {
    appearance: none;
    -webkit-appearance: none;
    width: 36px;
    height: 20px;
    border-radius: 10px;
    background: var(--cc-woo-form-border, var(--cc-woo-form-border, var(--cc-border-color)));
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s ease;
    vertical-align: middle;
    flex-shrink: 0;
}
.cc-woo-checkbox-switch :where(.woocommerce input[type="checkbox"])::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}
.cc-woo-checkbox-switch :where(.woocommerce input[type="checkbox"]:checked) {
    background: var(--cc-woo-form-focus, var(--cc-highlight-color));
}
.cc-woo-checkbox-switch :where(.woocommerce input[type="checkbox"]:checked)::before {
    transform: translateX(16px);
}

/* ── Global WooCommerce form focus ring ───────────────────── */
.woocommerce :where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]), select, textarea):focus {
    border-color: var(--cc-woo-form-focus, var(--cc-highlight-color, var(--cc-primary)));
    outline: none;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--cc-woo-form-focus, var(--cc-highlight-color, var(--cc-primary))) 20%, transparent);
}

/* ── Hidden field utility (postcode for ZM etc.) ──────────── */
.cc-field-hidden {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════
   CHECKOUT SECTIONS (Billing Details / Address / Payment)
   ═══════════════════════════════════════════════════════════════════ */

.cc-checkout-section {
    margin-bottom: 1.75rem;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-lg, 15px);
    overflow: hidden;
}

.cc-checkout-section-title {
    margin: 0;
    padding: 0.9rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.015em;
    color: var(--cc-text-heading);
    background: color-mix(in srgb, var(--cc-bg-primary, #fff) 70%, var(--cc-woo-form-border, var(--cc-border-color)));
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

/* Padded field wrapper inside each section */
.cc-section-fields {
    padding: 1.25rem;
    overflow: hidden; /* clearfix for floated two-col rows */
}

/* Two-col rows inside the section fields wrapper */
.cc-section-fields > .form-row-first,
.cc-section-fields > .form-row-last {
    width: calc(50% - 0.375rem);
    float: left;
}

.cc-section-fields > .form-row-first {
    margin-right: 0.75rem;
}

.cc-section-fields > .form-row-wide {
    clear: both;
    width: 100%;
    float: none;
}

/* Legacy: WC billing/shipping field wrappers when rendered inside a section */
.cc-checkout-section .woocommerce-billing-fields,
.cc-checkout-section .woocommerce-shipping-fields,
.cc-checkout-section #customer_details {
    padding: 1.25rem;
}

/* The WC shipping form inside Delivery Options – strip its own heading
   since we've rendered our own section title above it */
.cc-checkout-section .woocommerce-shipping-fields h3,
.cc-checkout-section .woocommerce-billing-fields h3 {
    display: none;
}

/* "Ship to a different address?" label – keep it but strip default heading size */
.cc-checkout-section .woocommerce-shipping-fields > h3 {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cc-text-secondary);
    border: none;
    padding: 0 0 0.5rem;
    margin: 0 0 0.75rem;
}

/* Payment section */
#cc-checkout-payment {
    overflow: visible;
}

#cc-checkout-payment .cc-checkout-section-title {
    border-radius: calc(var(--cc-radius-lg, 15px) - 1px) calc(var(--cc-radius-lg, 15px) - 1px) 0 0;
}

#cc-checkout-payment > #order_review {
    padding: 0.75rem;
}

/* Squish default WC checkout headings now handled by section titles */
.cc-checkout-form-col .woocommerce-billing-fields h3,
.cc-checkout-form-col .woocommerce-additional-fields h3,
.cc-checkout-form-col #payment > h3,
.woocommerce-checkout #payment > h3 {
    display: none;
}

/* Keep "Ship to a different address?" block readable */
.woocommerce-shipping-fields {
    padding: 0;
}

.woocommerce-shipping-fields .shipping_address {
    margin-top: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════════
   MY ACCOUNT
   ═══════════════════════════════════════════════════════════════════ */

.cc-myaccount-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1.5rem 0 0;
    align-items: start;
}

/* ─── Nav sidebar ─────────────────────────────────────────── */

.cc-myaccount-nav-col {
    position: sticky;
    top: var(--cc-sticky-offset, 1.5rem);
}

.cc-commerce-page-account .cc-commerce-page-body {
    gap: 1.5rem;
    align-items: start;
}

.cc-commerce-page-account .cc-commerce-page-body > .woocommerce {
    width: 100%;
    max-width: none;
}

.woocommerce-account .woocommerce {
    display: block;
    width: 100%;
    max-width: none;
}

.cc-myaccount-content {
    min-width: 0;
}

.cc-myaccount-content > * {
    width: 100%;
}

.cc-myaccount-content .woocommerce-MyAccount-content {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.cc-myaccount-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-lg, 15px);
    overflow: hidden;
}

.cc-myaccount-nav-list > li {
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
}

.cc-myaccount-nav-list > li:last-child {
    border-bottom: none;
}

.cc-myaccount-nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cc-text-primary);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.cc-myaccount-nav-link:hover {
    background: color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary)) 6%, transparent);
    color: var(--cc-text-heading);
}

.woocommerce-MyAccount-navigation-link--dashboard .cc-myaccount-nav-link,
.woocommerce-MyAccount-navigation-link.is-active .cc-myaccount-nav-link {
    color: var(--cc-highlight-color, var(--cc-primary));
    font-weight: 700;
    border-left-color: var(--cc-highlight-color, var(--cc-primary));
    background: color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary)) 8%, transparent);
}

/* Override: only dashboard gets active style on its own page */
.woocommerce-MyAccount-navigation-link--dashboard .cc-myaccount-nav-link {
    color: var(--cc-text-primary);
    font-weight: 500;
    border-left-color: transparent;
    background: none;
}

.woocommerce-MyAccount-navigation-link--dashboard.is-active .cc-myaccount-nav-link,
.woocommerce-MyAccount-navigation-link.is-active .cc-myaccount-nav-link {
    color: var(--cc-highlight-color, var(--cc-primary));
    font-weight: 700;
    border-left-color: var(--cc-highlight-color, var(--cc-primary));
    background: color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary)) 8%, transparent);
}

.cc-myaccount-nav-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.6;
}

.is-active .cc-myaccount-nav-icon {
    opacity: 1;
}

/* ─── Dashboard card ──────────────────────────────────────── */

.cc-myaccount-dashboard {
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-lg, 15px);
    padding: 1.75rem;
    background: var(--cc-bg-primary, #fff);
}

.cc-myaccount-greeting {
    font-size: 1rem;
    margin: 0 0 0.75rem;
    color: var(--cc-text-primary);
}

.cc-myaccount-logout-link {
    color: var(--cc-text-secondary);
    font-size: 0.875rem;
}

.cc-myaccount-intro {
    color: var(--cc-text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0 0 1.5rem;
}

.cc-myaccount-intro a {
    color: var(--cc-highlight-color, var(--cc-primary));
    text-decoration: none;
}

.cc-myaccount-intro a:hover {
    text-decoration: underline;
}

/* Quick-links */
.cc-myaccount-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cc-myaccount-quicklink {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-pill, 999px);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--cc-text-primary);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.cc-myaccount-quicklink:hover {
    border-color: var(--cc-highlight-color, var(--cc-primary));
    color: var(--cc-highlight-color, var(--cc-primary));
    background: color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary)) 6%, transparent);
}

/* ─── Content area: WooCommerce default inner pages ──────── */

.cc-myaccount-content .woocommerce-MyAccount-content > h2,
.cc-myaccount-content .woocommerce-MyAccount-content > h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cc-text-heading);
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    padding-bottom: 0.8rem;
    margin: 0 0 1.25rem;
}

.cc-myaccount-content .woocommerce-notices-wrapper {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-message {
    margin: 0;
    padding: 1rem 1.1rem 1rem 2.9rem;
    background: var(--cc-bg-primary, #fff);
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-left: 4px solid var(--cc-highlight-color, var(--cc-primary));
    border-radius: var(--cc-radius-md, 12px);
    box-shadow: none;
    color: var(--cc-text-primary);
    font-size: 0.95rem;
}

.woocommerce-account .woocommerce-info::before,
.woocommerce-account .woocommerce-message::before,
.woocommerce-account .woocommerce-error::before {
    color: var(--cc-highlight-color, var(--cc-primary));
    top: 1rem;
    left: 1rem;
}

.cc-myaccount-content .woocommerce-MyAccount-content > p,
.cc-myaccount-content .woocommerce-MyAccount-content > form,
.cc-myaccount-content .woocommerce-MyAccount-content > .woocommerce-address-fields,
.cc-myaccount-content .woocommerce-MyAccount-content > .woocommerce-address-fields,
.cc-myaccount-content .woocommerce-MyAccount-content > .woocommerce-orders-table,
.cc-myaccount-content .woocommerce-MyAccount-content > .woocommerce-table,
.cc-myaccount-content .woocommerce-MyAccount-content > .woocommerce-pagination,
.cc-myaccount-content .woocommerce-MyAccount-content > .woocommerce-Address,
.cc-myaccount-content .woocommerce-MyAccount-content > fieldset,
    width: 100%;
}

.cc-myaccount-content .woocommerce-Addresses,
.cc-myaccount-content .woocommerce-MyAccount-content > .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.cc-myaccount-content .woocommerce-MyAccount-content > p:not(.woocommerce-info):not(.woocommerce-error):not(.woocommerce-message):not(.form-row),
.cc-myaccount-content .woocommerce-MyAccount-content > form,
.cc-myaccount-content .woocommerce-MyAccount-content > .woocommerce-address-fields,
.cc-myaccount-content .woocommerce-MyAccount-content > .woocommerce-address-fields,
.cc-myaccount-content .woocommerce-MyAccount-content > .woocommerce-orders-table,
.cc-myaccount-content .woocommerce-MyAccount-content > .woocommerce-table,
.cc-myaccount-content .woocommerce-MyAccount-content > .woocommerce-Address,
    padding: 1.5rem;
    background: var(--cc-bg-primary, #fff);
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-lg, 15px);
}

.cc-myaccount-content .woocommerce-MyAccount-content > form {
    display: flow-root;
}

.cc-myaccount-content .woocommerce-MyAccount-content > p:not(.woocommerce-info):not(.woocommerce-error):not(.woocommerce-message):not(.form-row) {
    margin: 0 0 1rem;
    color: var(--cc-text-secondary);
    line-height: 1.65;
}

.cc-myaccount-content .woocommerce-MyAccount-content > p:last-child {
    margin-bottom: 0;
}

.cc-myaccount-content .woocommerce-MyAccount-content .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cc-myaccount-content .woocommerce-MyAccount-content .woocommerce-Address-title h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--cc-text-heading);
}

.cc-myaccount-content .woocommerce-MyAccount-content .woocommerce-Address address {
    margin: 0;
    color: var(--cc-text-primary);
    font-style: normal;
    line-height: 1.75;
}

.cc-myaccount-content .woocommerce-Addresses .woocommerce-Address,
.cc-myaccount-content .woocommerce-MyAccount-content .woocommerce-Address {
    width: 100%;
    max-width: none;
    float: none;
    margin: 0;
    padding: 1.5rem;
    background: var(--cc-bg-primary, #fff);
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-lg, 15px);
    min-height: 100%;
    box-sizing: border-box;
}

.cc-myaccount-content .col-1,
.cc-myaccount-content .col-2 {
    float: none;
    width: auto;
    max-width: none;
}

.cc-myaccount-content .woocommerce-form-row,
.cc-myaccount-content .form-row {
    margin-bottom: 0.9rem;
}

.cc-myaccount-content .form-row label,
.cc-myaccount-content .woocommerce-form-row label,
.cc-myaccount-content fieldset legend {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--cc-text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

.cc-myaccount-content .form-row-first,
.cc-myaccount-content .form-row-last {
    width: calc(50% - 0.5rem);
}

.cc-myaccount-content .form-row-first {
    float: left;
    clear: none;
}

.cc-myaccount-content .form-row-last {
    float: right;
    clear: none;
}

.cc-myaccount-content .form-row-wide {
    clear: both;
}

.cc-myaccount-content :where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]), select, textarea) {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 0.75rem 0.85rem;
    background: var(--cc-woo-form-bg, var(--cc-bg-primary, #fff));
    color: var(--cc-woo-form-text, var(--cc-text-primary));
    border: 1px solid var(--cc-woo-form-border, var(--cc-woo-form-border, var(--cc-border-color)));
    border-radius: var(--cc-woo-btn-radius, var(--cc-radius-md, 12px));
}

.cc-myaccount-content textarea {
    min-height: 120px;
    resize: vertical;
}

.cc-myaccount-content .show-password-input,
.cc-myaccount-content .woocommerce-Input--password + .show-password-input {
    top: 50%;
    transform: translateY(-50%);
    right: 0.9rem;
}

.cc-myaccount-content fieldset {
    margin: 1.25rem 0 0;
    padding: 1.1rem 1.1rem 0.25rem;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-md, 12px);
}

.cc-myaccount-content fieldset legend {
    padding: 0 0.35rem;
    color: var(--cc-text-heading);
    font-size: 1rem;
}

.cc-myaccount-content .woocommerce-Button,
.cc-myaccount-content .button,
.cc-myaccount-content button.button,
.cc-myaccount-content input.button,
.cc-myaccount-content a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.75rem 1.15rem;
    background: var(--cc-btn-bg) !important;
    color: var(--cc-btn-text) !important;
    border: none !important;
    border-radius: var(--cc-woo-btn-radius, var(--cc-radius-md, 12px)) !important;
    box-shadow: none;
    font-weight: 600;
    text-decoration: none;
}

.cc-myaccount-content .woocommerce-Button:hover,
.cc-myaccount-content .button:hover,
.cc-myaccount-content button.button:hover,
.cc-myaccount-content input.button:hover,
.cc-myaccount-content a.button:hover {
    opacity: 0.9;
}

.cc-myaccount-content .woocommerce-button--next,
.cc-myaccount-content .woocommerce-button--view,
.cc-myaccount-content .edit,
.cc-myaccount-content .view,
.cc-myaccount-content .browse {
    white-space: nowrap;
}

.cc-myaccount-content .woocommerce-orders-table,
.cc-myaccount-content .woocommerce-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    background: transparent;
}

.cc-myaccount-content .woocommerce-orders-table,
.cc-myaccount-content .woocommerce-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.cc-myaccount-content .woocommerce-orders-table th,
.cc-myaccount-content .woocommerce-table th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cc-text-secondary);
    padding: 0.6rem 0.75rem;
    border-bottom: 2px solid var(--cc-woo-form-border, var(--cc-border-color));
    text-align: left;
}

.cc-myaccount-content .woocommerce-orders-table td,
.cc-myaccount-content .woocommerce-table td {
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    vertical-align: middle;
}

.cc-myaccount-content .woocommerce-orders-table td .button,
.cc-myaccount-content .woocommerce-table td .button {
    min-height: 38px;
    padding: 0.55rem 0.9rem;
    font-size: 0.82rem;
}

.cc-myaccount-content .woocommerce-pagination {
    margin-top: 1rem;
}

.cc-myaccount-content .woocommerce-pagination .woocommerce-button,
.cc-myaccount-content .woocommerce-pagination .button {
    min-height: 40px;
}

.cc-myaccount-content .woocommerce-account-fields,
.cc-myaccount-content .woocommerce-address-fields {
    margin-top: 1rem;
}

.cc-myaccount-content .woocommerce-account-fields .checkbox,
.cc-myaccount-content .woocommerce-address-fields .checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.cc-myaccount-content .woocommerce-account-fields .checkbox input,
.cc-myaccount-content .woocommerce-address-fields .checkbox input {
    width: auto;
    min-height: 0;
}

.cc-myaccount-content .woocommerce-orders-table tr:last-child td,
.cc-myaccount-content .woocommerce-table tr:last-child td {
    border-bottom: none;
}

/* ─── Responsive ──────────────────────────────────────────── */

@media (max-width: 768px) {
    .cc-myaccount-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem 0 0;
    }

    .cc-myaccount-nav-col {
        position: static;
    }

    .cc-myaccount-nav-list {
        display: flex;
        flex-wrap: wrap;
        border-radius: var(--cc-radius-md, 12px);
    }

    .cc-myaccount-nav-list > li {
        border-bottom: none;
        border-right: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
        flex: 1 1 auto;
    }

    .cc-myaccount-nav-list > li:last-child {
        border-right: none;
    }

    .cc-myaccount-nav-link {
        flex-direction: column;
        gap: 0.3rem;
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
        text-align: center;
        justify-content: center;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .is-active .cc-myaccount-nav-link,
    .woocommerce-MyAccount-navigation-link.is-active .cc-myaccount-nav-link {
        border-left-color: transparent;
        border-bottom-color: var(--cc-highlight-color, var(--cc-primary));
    }

    .cc-myaccount-content .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }

    .cc-myaccount-content .woocommerce-MyAccount-content > .woocommerce-Addresses {
        padding: 0;
        background: transparent;
        border: none;
    }

    .cc-myaccount-content .form-row-first,
    .cc-myaccount-content .form-row-last {
        width: 100%;
        float: none;
    }

    .cc-myaccount-content .woocommerce-orders-table,
    .cc-myaccount-content .woocommerce-table {
        display: block;
        overflow-x: auto;
    }
}

/* ═══════════════════════════════════════════════════════════════════
    PAYMENT GATEWAY – CHECKOUT FIELDS
   ═══════════════════════════════════════════════════════════════════ */

.cc-mm-desc {
    margin-bottom: 0.75rem;
    color: var(--cc-text-secondary);
    font-size: 0.875rem;
}

.cc-mm-methods {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
    border: none;
    padding: 0;
}

.cc-mm-method-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-md, 12px);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    font-size: 0.9rem;
    user-select: none;
}

.cc-mm-method-label:hover {
    border-color: var(--cc-highlight-color, var(--cc-primary));
}

.cc-mm-method-label.is-selected,
.cc-mm-method-label:has(.cc-mm-radio:checked) {
    border-color: var(--cc-highlight-color, var(--cc-primary));
    background: color-mix(in srgb, var(--cc-highlight-color, var(--cc-primary)) 6%, transparent);
}

.cc-mm-radio {
    flex-shrink: 0;
    accent-color: var(--cc-highlight-color, var(--cc-primary));
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.cc-mm-method-name {
    font-weight: 600;
    color: var(--cc-text-heading);
    flex: 1;
}

.cc-mm-method-phone {
    font-size: 0.8rem;
    color: var(--cc-text-secondary);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   THANK YOU PAGE
   ═══════════════════════════════════════════════════════════════════ */

.cc-thankyou-page {
    max-width: 900px;
    margin: 0 auto;
}

/* Hide the checkout page shell header when the thank-you page is rendered inside it */
.cc-commerce-page-checkout:has(.cc-thankyou-page) .cc-commerce-page-head {
    display: none;
}

/* Align classic checkout page title with the 1200px checkout content width */
.cc-commerce-page-checkout .cc-commerce-page-head {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Header */
.cc-thankyou-header {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
}

.cc-thankyou-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--cc-highlight-color, #c49a19) 14%, transparent);
    color: var(--cc-highlight-color, #c49a19);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.cc-thankyou-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--cc-text-heading);
    margin: 0 0 0.4rem;
    letter-spacing: -0.02em;
}

.cc-thankyou-subtitle {
    color: var(--cc-text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Overview pills */
.cc-thankyou-overview.woocommerce-order-overview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
}

.cc-thankyou-overview.woocommerce-order-overview li {
    background: var(--cc-bg-primary, #fff);
    border-radius: var(--cc-radius-md, 12px);
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cc-text-secondary);
    text-align: center;
    min-width: 110px;
}

.cc-thankyou-overview.woocommerce-order-overview li strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cc-text-heading);
    text-transform: none;
    letter-spacing: 0;
    margin-top: 0.3rem;
}

/* Payment instructions card — prominent action-required block */
.cc-mm-thankyou {
    background: color-mix(in srgb, var(--cc-highlight-color, #c49a19) 10%, var(--cc-bg-primary, #fff));
    border: 1.5px solid color-mix(in srgb, var(--cc-highlight-color, #c49a19) 50%, transparent);
    border-left: 5px solid var(--cc-highlight-color, #c49a19);
    border-radius: var(--cc-radius-md, 12px);
    padding: 1.5rem 1.75rem;
    margin: 0 0 2rem;
    box-shadow: 0 2px 12px color-mix(in srgb, var(--cc-highlight-color, #c49a19) 18%, transparent);
}

.cc-mm-thankyou-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cc-highlight-color, #c49a19);
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.cc-mm-thankyou-body {
    color: var(--cc-text-primary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Pending-state icon colour */
.cc-thankyou-header--pending .cc-thankyou-icon {
    background: color-mix(in srgb, var(--cc-highlight-color, #c49a19) 14%, transparent);
    color: var(--cc-highlight-color, #c49a19);
}

/* WooCommerce order details table on thankyou page */
.cc-thankyou-page .woocommerce-order-details,
.cc-thankyou-page .woocommerce-customer-details {
    margin-top: 1.5rem;
}

.cc-thankyou-page .woocommerce-order-details h2,
.cc-thankyou-page .woocommerce-customer-details h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cc-text-heading);
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    padding-bottom: 0.6rem;
    margin-bottom: 1rem;
}

.cc-thankyou-page .woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.cc-thankyou-page .woocommerce-table--order-details th,
.cc-thankyou-page .woocommerce-table--order-details td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    vertical-align: middle;
}

.cc-thankyou-page .woocommerce-table--order-details tfoot th,
.cc-thankyou-page .woocommerce-table--order-details tfoot td {
    font-weight: 700;
}

@media (max-width: 640px) {
    .cc-thankyou-overview.woocommerce-order-overview {
        gap: 0.5rem;
    }

    .cc-thankyou-overview.woocommerce-order-overview li {
        min-width: 80px;
        padding: 0.6rem 0.75rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   EMPTY CART
   ═══════════════════════════════════════════════════════════════════ */

.cc-empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem 5rem;
    text-align: center;
}

.cc-empty-cart-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--cc-highlight-color, #c49a19) 10%, transparent);
    color: var(--cc-highlight-color, #c49a19);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.cc-empty-cart-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cc-text-heading);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.cc-empty-cart-text {
    color: var(--cc-text-secondary);
    font-size: 0.95rem;
    margin: 0 0 2rem;
}

.cc-empty-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cc-highlight-color, #c49a19);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.75rem 1.75rem;
    border-radius: var(--cc-radius-md, 12px);
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.cc-empty-cart-btn:hover {
    opacity: 0.88;
    color: #fff;
    text-decoration: none;
}

.cc-product-card-delivery-summary {
    margin-top: 0.45rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--cc-text-secondary);
}

.cc-product-delivery-panel,
.cc-delivery-method-picker,
.cc-delivery-summary-block {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-md, 12px);
    background: color-mix(in srgb, var(--cc-bg-secondary, var(--cc-surface, #f2efe9)) 92%, var(--cc-highlight-color, #bc7c22) 8%);
}

.cc-product-delivery-panel strong,
.cc-delivery-method-picker h3,
.cc-delivery-summary-block strong {
    display: block;
    margin: 0 0 0.55rem;
    color: var(--cc-text-heading);
}

.cc-product-delivery-panel p,
.cc-delivery-summary-block p {
    margin: 0.25rem 0 0;
    color: var(--cc-text-secondary);
}

.cc-delivery-method-picker h3 {
    font-size: 1rem;
}

.cc-delivery-method-option {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.5rem 0 0;
    color: var(--cc-text-heading);
}

.cc-delivery-method-picker .description {
    margin: 0.55rem 0 0;
    color: var(--cc-text-secondary);
}

/* ── Cart page: rich shipping option cards (from cart-shipping.php override) ── */

.woocommerce-cart #shipping_method.woocommerce-shipping-methods,
.woocommerce-checkout #shipping_method.woocommerce-shipping-methods {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.woocommerce-cart .cc-ship-option input[type="radio"],
.woocommerce-cart .cc-ship-option input[type="hidden"],
.woocommerce-checkout .cc-ship-option input[type="radio"],
.woocommerce-checkout .cc-ship-option input[type="hidden"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.cc-ship-option-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--cc-border, #e2e8f0);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    background: var(--cc-bg-primary, #fff);
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}

.cc-ship-option-label:hover {
    border-color: var(--cc-primary, #3b82f6);
    background: color-mix(in srgb, var(--cc-primary, #3b82f6) 4%, transparent);
}

.cc-ship-option input:checked ~ .cc-ship-option-label {
    border-color: var(--cc-primary, #3b82f6);
    background: color-mix(in srgb, var(--cc-primary, #3b82f6) 6%, var(--cc-bg-primary, #fff));
}

.cc-ship-option-icon {
    flex-shrink: 0;
    color: var(--cc-primary, #3b82f6);
    display: flex;
    align-items: center;
}

.cc-ship-option-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cc-ship-option-name {
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.cc-ship-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.1em 0.5em;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.4;
}

.cc-ship-badge--free {
    background: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
    color: #fff;
}

.cc-ship-badge--price {
    background: var(--cc-primary, #3b82f6);
    color: #fff;
}

.cc-ship-option-check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--cc-border, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.cc-ship-option input:checked ~ .cc-ship-option-label .cc-ship-option-check {
    background: var(--cc-primary, #3b82f6);
    border-color: var(--cc-primary, #3b82f6);
    color: #fff;
}

[data-theme="dark"] .cc-ship-option-label {
    background: var(--cc-bg-secondary);
    border-color: var(--cc-border, rgba(255,255,255,.12));
}

/* ═══════════════════════════════════════════════════════════════════════════
   RICH DELIVERY PICKER  (.cc-delivery-picker-wrap)
   Rendered by cc_delivery_render_method_picker() on cart & checkout.
   ═══════════════════════════════════════════════════════════════════════════ */

.cc-delivery-picker-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ── Section (Local / International) ─────────────────────────── */

.cc-dpicker-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cc-dpicker-subsection {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.cc-dpicker-subsection + .cc-dpicker-subsection {
    margin-top: 0.25rem;
}

.cc-dpicker-subheading {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--cc-text-secondary);
}

.cc-dpicker-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--cc-text-heading);
    margin: 0 0 0.3rem;
}

.cc-dpicker-heading-icon {
    color: var(--cc-highlight-color, #bc7c22);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.cc-dpicker-required-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15em 0.6em;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--cc-border-color, #e0d8cc);
    color: var(--cc-text-secondary);
    margin-left: 0.25rem;
}

.cc-dpicker-pkg-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cc-text-secondary);
    margin: 0 0 0.4rem;
    padding: 0.5rem 0.85rem;
    background: var(--cc-bg-secondary, #f2efe9);
    border-radius: 6px;
}

/* ── Option list ──────────────────────────────────────────────── */

.cc-dpicker-options {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

/* Hidden radio inputs */
.cc-dpick-option input[type="radio"],
.cc-dpick-option input[type="hidden"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

/* Card */
.cc-dpick-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    border: 1.5px solid var(--cc-woo-form-border, var(--cc-border-color, #e0d8cc));
    border-radius: 10px;
    background: var(--cc-woo-form-bg, var(--cc-bg-primary, #fff));
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    color: var(--cc-text-heading);
}

.cc-dpick-card:hover {
    border-color: color-mix(in srgb, var(--cc-highlight-color, #bc7c22) 50%, var(--cc-woo-form-border, #e0d8cc));
    box-shadow: 0 1px 4px color-mix(in srgb, var(--cc-highlight-color, #bc7c22) 10%, transparent);
}

.cc-dpick-option.is-selected .cc-dpick-card,
.cc-dpick-option input:checked ~ .cc-dpick-card {
    border-color: var(--cc-highlight-color, #bc7c22);
    background: color-mix(in srgb, var(--cc-highlight-color, #bc7c22) 5%, var(--cc-woo-form-bg, #fff));
    box-shadow: 0 0 0 1px var(--cc-highlight-color, #bc7c22);
}

/* Card icon */
.cc-dpick-card-icon {
    flex-shrink: 0;
    color: var(--cc-highlight-color, #bc7c22);
    display: flex;
    align-items: center;
    margin-top: 0.1rem;
}

/* Card body */
.cc-dpick-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.cc-dpick-card-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--cc-text-heading);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.cc-dpick-card-desc {
    font-size: 0.82rem;
    color: var(--cc-text-secondary);
    line-height: 1.4;
}

.cc-dpick-card-meta {
    font-size: 0.78rem;
    color: var(--cc-text-secondary);
}

.cc-dpick-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.cc-dpick-card-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--cc-highlight-color, #bc7c22) 20%, var(--cc-border-color, #e0d8cc));
    background: color-mix(in srgb, var(--cc-highlight-color, #bc7c22) 8%, var(--cc-bg-primary, #fff));
    color: var(--cc-text-secondary);
    font-size: 0.72rem;
    line-height: 1.2;
}

/* Price badge */
.cc-dpick-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15em 0.6em;
    border-radius: 2rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
}

.cc-dpick-badge--free {
    background: var(--cc-highlight-color, #bc7c22);
    color: #fff;
}

.cc-dpick-badge--price {
    background: var(--cc-highlight-color, #bc7c22);
    color: #fff;
}

/* Radio circle */
.cc-dpick-card-radio {
    flex-shrink: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    align-self: center;
}

.cc-dpick-radio-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--cc-woo-form-border, #e0d8cc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    background: transparent;
}

.cc-dpick-option.is-selected .cc-dpick-radio-dot,
.cc-dpick-option input:checked ~ .cc-dpick-card .cc-dpick-radio-dot {
    background: var(--cc-highlight-color, #bc7c22);
    border-color: var(--cc-highlight-color, #bc7c22);
    color: #fff;
}

/* ── Local Delivery Included notice ──────────────────────────── */

.cc-dpicker-local-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    border-radius: 10px;
    background: color-mix(in srgb, var(--cc-highlight-color, #bc7c22) 8%, var(--cc-bg-secondary, #f2efe9) 92%);
    border: 1px solid color-mix(in srgb, var(--cc-highlight-color, #bc7c22) 25%, transparent);
}

.cc-dpicker-notice-icon {
    flex-shrink: 0;
    color: var(--cc-highlight-color, #bc7c22);
    display: flex;
    align-items: center;
    margin-top: 0.1rem;
}

.cc-dpicker-local-notice strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--cc-text-heading);
    margin: 0 0 0.2rem;
}

.cc-dpicker-local-notice p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--cc-highlight-color, #bc7c22);
}

/* ── Shipping Calculated summary card ────────────────────────── */

.cc-dpicker-calc-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.85rem;
    row-gap: 0.75rem;
    align-items: start;
    padding: 1rem 1.15rem;
    border-radius: 10px;
    border: 1px solid var(--cc-woo-form-border, #e0d8cc);
    background: var(--cc-bg-primary, #fff);
}

.cc-dpicker-calc-icon {
    flex-shrink: 0;
    color: var(--cc-highlight-color, #bc7c22);
    display: flex;
    align-items: flex-start;
    margin-top: 0.1rem;
    grid-row: 1 / span 2;
}

.cc-dpicker-calc-info {
    flex: 1;
    min-width: 0;
}

.cc-dpicker-calc-info strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--cc-text-heading);
    margin: 0 0 0.15rem;
}

.cc-dpicker-calc-info > p {
    font-size: 0.82rem;
    color: var(--cc-text-secondary);
    margin: 0 0 0.5rem;
}

.cc-dpicker-breakdown {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cc-dpicker-breakdown strong {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cc-text-heading);
    display: block;
    margin: 0 0 0.2rem;
}

.cc-dpicker-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--cc-text-secondary);
}

.cc-dpicker-breakdown-row > span:first-child {
    flex: 1;
    min-width: 0;
}

.cc-dpicker-breakdown-row > span:last-child {
    flex-shrink: 0;
    white-space: nowrap;
    text-align: right;
}

.cc-dpicker-calc-total {
    font-size: 1rem;
    font-weight: 800;
    color: var(--cc-highlight-color, #bc7c22);
    justify-self: end;
    align-self: start;
    white-space: nowrap;
}

/* ── Dark mode overrides ──────────────────────────────────────── */

[data-theme="dark"] .cc-dpick-card {
    background: var(--cc-woo-form-bg);
    border-color: var(--cc-woo-form-border);
    color: var(--cc-woo-form-text);
}

[data-theme="dark"] .cc-dpick-card-name {
    color: var(--cc-woo-form-text);
}

[data-theme="dark"] .cc-dpicker-calc-card {
    background: var(--cc-woo-form-bg);
    border-color: var(--cc-woo-form-border);
}

[data-theme="dark"] .cc-dpicker-local-notice {
    background: color-mix(in srgb, var(--cc-highlight-color, #bc7c22) 12%, var(--cc-bg-secondary) 88%);
}

/* ═══════════════════════════════════════════════════════════════════════════
   DELIVERY CARD — ETA & GROUP TAGS
   ═══════════════════════════════════════════════════════════════════════════ */

.cc-dpick-card-eta {
    font-size: 0.78rem;
    color: var(--cc-text-secondary);
    font-style: italic;
}

.cc-dpick-card-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.15rem;
}

.cc-dpick-group-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    padding: 0.15em 0.55em;
    border-radius: 4px;
    background: color-mix(in srgb, var(--cc-highlight-color, #bc7c22) 8%, var(--cc-bg-secondary, #f5f2ec));
    color: var(--cc-text-secondary);
    line-height: 1.3;
}

.cc-dpick-group-tag strong {
    font-weight: 700;
    color: var(--cc-text-heading);
}

.cc-dpick-group-eta {
    font-style: italic;
}

.cc-dpick-group-fee {
    font-weight: 600;
    color: var(--cc-highlight-color, #bc7c22);
}

/* ── Breakdown detail rows ───────────────────────────────────── */

.cc-dpicker-breakdown-detail {
    font-size: 0.78rem;
    padding-left: 0.75rem;
    color: var(--cc-text-muted, var(--cc-text-secondary));
}

.cc-dpicker-breakdown-detail small {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: var(--cc-text-secondary);
    font-style: italic;
}

/* ── Cart item bottom row (inline qty + route toggle) ─────── */

.cc-cart-item-bottom-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.cc-cart-item-bottom-row .cc-item-origin-flag {
    font-size: 0.95rem;
    flex-shrink: 0;
}

.cc-cart-item-bottom-row .cc-cart-item-qty {
    margin-left: auto;
}

.cc-cart-item-bottom-row .cc-cart-remove-link {
    flex-shrink: 0;
}

/* ── Cart item route toggle ─────────────────────────────────── */

.cc-cart-item-route-toggle {
    display: flex;
    gap: 0.4rem;
}

.cc-route-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    border: 1.5px solid var(--cc-border-light, #e0dcd4);
    background: var(--cc-bg-primary, #fff);
    color: var(--cc-text-secondary, #6b6b6b);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.3;
}

.cc-route-pill-btn:hover {
    border-color: var(--cc-highlight-color, #bc7c22);
    color: var(--cc-highlight-color, #bc7c22);
}

.cc-route-pill-btn.is-active {
    background: color-mix(in srgb, var(--cc-highlight-color, #bc7c22) 10%, var(--cc-bg-primary, #fff) 90%);
    border-color: var(--cc-highlight-color, #bc7c22);
    color: var(--cc-highlight-color, #bc7c22);
    font-weight: 600;
}

.cc-route-pill-icon {
    font-size: 0.85rem;
}

.cc-route-pill-eta {
    font-size: 0.72rem;
    opacity: 0.75;
}

.cc-item-route-pill--free {
    background: color-mix(in srgb, #22c55e 12%, var(--cc-bg-primary, #fff) 88%);
    color: #15803d;
    border: none;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
}

[data-theme="dark"] .cc-route-pill-btn {
    background: var(--cc-bg-secondary, #1a1a1a);
    border-color: var(--cc-border-light, #333);
    color: var(--cc-text-secondary, #aaa);
}

[data-theme="dark"] .cc-route-pill-btn:hover {
    border-color: var(--cc-highlight-color, #d4a04a);
    color: var(--cc-highlight-color, #d4a04a);
}

[data-theme="dark"] .cc-route-pill-btn.is-active {
    background: color-mix(in srgb, var(--cc-highlight-color, #d4a04a) 15%, var(--cc-bg-secondary, #1a1a1a) 85%);
    border-color: var(--cc-highlight-color, #d4a04a);
    color: var(--cc-highlight-color, #d4a04a);
}

[data-theme="dark"] .cc-item-route-pill--free {
    background: color-mix(in srgb, #22c55e 15%, var(--cc-bg-secondary) 85%);
    color: #4ade80;
}

/* ── Shipping Tips card ────────────────────────────────────── */

.cc-shipping-tips-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: color-mix(in srgb, var(--cc-highlight-color, #bc7c22) 6%, var(--cc-bg-secondary, #f5f2ec) 94%);
    margin-top: 0.5rem;
}

.cc-shipping-tips-icon {
    flex-shrink: 0;
    color: var(--cc-highlight-color, #bc7c22);
    display: flex;
    align-items: center;
    margin-top: 0.15rem;
}

.cc-shipping-tips-body {
    flex: 1;
    min-width: 0;
}

.cc-shipping-tips-body strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--cc-text-primary, #1a1a1a);
    margin: 0 0 0.35rem;
}

.cc-shipping-tips-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cc-shipping-tips-body li {
    font-size: 0.78rem;
    color: var(--cc-text-secondary, #6b6b6b);
    line-height: 1.6;
    padding-left: 1rem;
    position: relative;
}

.cc-shipping-tips-body li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--cc-highlight-color, #bc7c22);
}

[data-theme="dark"] .cc-shipping-tips-card {
    background: color-mix(in srgb, var(--cc-highlight-color, #d4a04a) 10%, var(--cc-bg-secondary) 90%);
}

[data-theme="dark"] .cc-shipping-tips-body strong {
    color: var(--cc-text-primary, #e8e8e8);
}

[data-theme="dark"] .cc-shipping-tips-body li {
    color: var(--cc-text-secondary, #aaa);
}

/* ── Product page: route radio cards ───────────────────────── */

.cc-pdp-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cc-pdp-origin-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0.55rem;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    background: color-mix(in srgb, var(--cc-highlight-color, #bc7c22) 12%, var(--cc-bg-secondary, #f5f2ec) 88%);
    color: var(--cc-highlight-color, #bc7c22);
    margin-left: auto;
    white-space: nowrap;
}

.cc-pdp-route-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1.5px solid var(--cc-border-light, #e0dcd4);
    background: var(--cc-bg-primary, #fff);
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    margin-bottom: 0.5rem;
}

.cc-pdp-route-card:last-of-type {
    margin-bottom: 0;
}

.cc-pdp-route-card[data-route] {
    cursor: pointer;
}

.cc-pdp-route-card[data-route]:hover:not(.cc-pdp-route-card--active) {
    border-color: color-mix(in srgb, var(--cc-highlight-color, #bc7c22) 50%, var(--cc-border-light, #e0dcd4) 50%);
    background: color-mix(in srgb, var(--cc-highlight-color, #bc7c22) 3%, var(--cc-bg-primary, #fff) 97%);
}

.cc-pdp-route-card--active {
    border-color: var(--cc-highlight-color, #bc7c22);
    background: color-mix(in srgb, var(--cc-highlight-color, #bc7c22) 5%, var(--cc-bg-primary, #fff) 95%);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--cc-highlight-color, #bc7c22) 18%, transparent 82%);
}

.cc-pdp-route-card-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: var(--cc-text-secondary, #6b6b6b);
    margin-top: 0.1rem;
}

.cc-pdp-route-card--active .cc-pdp-route-card-icon {
    color: var(--cc-highlight-color, #bc7c22);
}

.cc-pdp-route-card-body {
    flex: 1;
    min-width: 0;
}

.cc-pdp-route-card-body strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--cc-text-primary, #1a1a1a);
    margin-bottom: 0.15rem;
}

.cc-pdp-route-card-eta {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cc-highlight-color, #bc7c22);
    margin-bottom: 0.15rem;
}

.cc-pdp-route-card-note {
    display: block;
    font-size: 0.75rem;
    color: var(--cc-text-secondary, #6b6b6b);
}

.cc-pdp-route-card-badge {
    flex-shrink: 0;
    align-self: center;
}

.cc-pdp-route-card-badge.cc-pdp-badge--free {
    background: color-mix(in srgb, #22c55e 12%, var(--cc-bg-primary, #fff) 88%);
    color: #15803d;
    padding: 0.2rem 0.65rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.cc-pdp-disclaimer {
    font-size: 0.72rem;
    color: var(--cc-text-secondary, #6b6b6b);
    margin: 0.75rem 0 0;
    line-height: 1.5;
    padding: 0 0.25rem;
}

.cc-pdp-row--pickup {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--cc-border-light, #e0dcd4);
}

[data-theme="dark"] .cc-pdp-origin-badge {
    background: color-mix(in srgb, var(--cc-highlight-color, #d4a04a) 15%, var(--cc-bg-secondary) 85%);
    color: var(--cc-highlight-color, #d4a04a);
}

[data-theme="dark"] .cc-pdp-route-card {
    background: var(--cc-bg-secondary, #1a1a1a);
    border-color: var(--cc-border-light, #333);
}

[data-theme="dark"] .cc-pdp-route-card--active {
    border-color: var(--cc-highlight-color, #d4a04a);
    background: color-mix(in srgb, var(--cc-highlight-color, #d4a04a) 8%, var(--cc-bg-secondary, #1a1a1a) 92%);
}

[data-theme="dark"] .cc-pdp-route-card-body strong {
    color: var(--cc-text-primary, #e8e8e8);
}

[data-theme="dark"] .cc-pdp-route-card-eta {
    color: var(--cc-highlight-color, #d4a04a);
}

[data-theme="dark"] .cc-pdp-route-card-badge.cc-pdp-badge--free {
    background: color-mix(in srgb, #22c55e 15%, var(--cc-bg-secondary) 85%);
    color: #4ade80;
}

[data-theme="dark"] .cc-pdp-disclaimer {
    color: var(--cc-text-secondary, #aaa);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CART — CHECKOUT PROGRESS STEPS
   ═══════════════════════════════════════════════════════════════════════════ */

.cc-cart-steps {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0.9rem 0 1.4rem;
    margin-bottom: 0.5rem;
}

.cc-cart-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cc-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 800;
    border: 2px solid var(--cc-border-color, #e0d8cc);
    color: var(--cc-text-secondary);
    background: transparent;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    flex-shrink: 0;
}

.cc-step-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cc-text-secondary);
    white-space: nowrap;
    transition: color 0.2s;
}

.cc-cart-step.is-active .cc-step-num {
    background: var(--cc-highlight-color, #bc7c22);
    border-color: var(--cc-highlight-color, #bc7c22);
    color: #fff;
}

.cc-cart-step.is-active .cc-step-label {
    color: var(--cc-highlight-color, #bc7c22);
    font-weight: 700;
}

.cc-step-connector {
    flex: 1;
    height: 2px;
    min-width: 24px;
    max-width: 60px;
    background: var(--cc-border-color, #e0d8cc);
    margin: 0 0.5rem;
    border-radius: 1px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CART ITEM — ORIGIN FLAG + ROUTE PILL
   ═══════════════════════════════════════════════════════════════════════════ */

.cc-cart-item-origin-strip {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.3rem 0 0.1rem;
    flex-wrap: wrap;
}

.cc-item-origin-flag {
    font-size: 1rem;
    line-height: 1;
}

.cc-item-origin-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--cc-text-secondary);
}

.cc-item-route-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.1em 0.55em;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.cc-item-route-pill--air {
    background: #e0f2fe;
    color: #0369a1;
}

.cc-item-route-pill--sea {
    background: #ede9fe;
    color: #6d28d9;
}

[data-theme="dark"] .cc-item-route-pill--air {
    background: color-mix(in srgb, #0369a1 20%, var(--cc-bg-secondary));
    color: #7dd3fc;
}

[data-theme="dark"] .cc-item-route-pill--sea {
    background: color-mix(in srgb, #6d28d9 20%, var(--cc-bg-secondary));
    color: #c4b5fd;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CART TOTALS — TRUST STRIP
   ═══════════════════════════════════════════════════════════════════════════ */

.cc-cart-trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1rem;
    padding: 0.75rem 0.5rem;
    border-top: 1px solid var(--cc-border-color, #e0d8cc);
    margin-top: 0.75rem;
}

.cc-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cc-text-secondary);
    white-space: nowrap;
}

.cc-trust-item svg {
    flex-shrink: 0;
    color: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
}

/* ═══════════════════════════════════════════════════════════════════════════
   DELIVERY PICKER — ARRIVAL WINDOW + SPEED BAR
   ═══════════════════════════════════════════════════════════════════════════ */

.cc-dpick-arrival-window {
    display: block;
    font-size: 0.77rem;
    font-weight: 600;
    color: var(--cc-highlight-color, #bc7c22);
    margin-top: 0.05rem;
}

/* Speed comparison bar — narrower = faster */
.cc-dpick-speed-track {
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--cc-border-color, #e0d8cc);
    margin-top: 0.4rem;
    overflow: hidden;
}

.cc-dpick-speed-fill {
    display: block;
    height: 100%;
    border-radius: 2px;
    background: var(--cc-highlight-color, #bc7c22);
    transition: width 0.4s ease;
    min-width: 8px;
}

.cc-dpick-option.is-selected .cc-dpick-speed-fill,
.cc-dpick-option input:checked ~ .cc-dpick-card .cc-dpick-speed-fill {
    background: var(--cc-highlight-color, #bc7c22);
}

/* Fastest option (narrowest bar) tinted green */
.cc-dpick-option[data-speed-fastest="1"] .cc-dpick-speed-fill {
    background: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
}

[data-theme="dark"] .cc-dpick-speed-track {
    background: var(--cc-woo-form-border, #3a3530);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ORDER REVIEW — PER-ITEM DELIVERY BADGES
   ═══════════════════════════════════════════════════════════════════════════ */

.cc-order-summary-delivery-badge {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.3rem;
}

.cc-delivery-badge-origin {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--cc-text-secondary);
}

.cc-delivery-badge-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.1em 0.5em;
    border-radius: 3px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

.cc-delivery-badge--sameday {
    background: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
    color: #fff;
}

.cc-delivery-badge--pickup {
    background: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
    color: #fff;
}

.cc-delivery-badge--air {
    background: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
    color: #fff;
}

.cc-delivery-badge--sea {
    background: var(--cc-highlight-color, var(--cc-primary, #bc7c22));
    color: #fff;
}

.cc-delivery-badge-eta {
    font-size: 0.72rem;
    color: var(--cc-text-secondary);
    font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE PRODUCT — ENHANCED DELIVERY PANEL
   ═══════════════════════════════════════════════════════════════════════════ */

.cc-product-delivery-panel {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: var(--cc-radius-lg, 15px);
    background: color-mix(in srgb, var(--cc-bg-secondary, var(--cc-surface, #f2efe9)) 92%, var(--cc-highlight-color, #bc7c22) 8%);
}

.cc-pdp-header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.75rem;
}

.cc-pdp-icon {
    flex-shrink: 0;
    color: var(--cc-highlight-color, #bc7c22);
    display: flex;
    align-items: center;
}

.cc-pdp-header strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cc-text-heading);
}

.cc-pdp-body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cc-pdp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.cc-pdp-label {
    color: var(--cc-text-secondary);
    font-weight: 500;
}

.cc-pdp-value {
    color: var(--cc-text-heading);
    font-weight: 600;
    text-align: right;
}

.cc-pdp-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15em 0.6em;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
}

.cc-pdp-badge--sameday {
    background: var(--cc-highlight-color, #bc7c22);
    color: #fff;
}

.cc-pdp-badge--pickup {
    background: var(--cc-highlight-color, #bc7c22);
    color: #fff;
}

.cc-pdp-badge--air {
    background: var(--cc-highlight-color, #bc7c22);
    color: #fff;
}

.cc-pdp-badge--sea {
    background: var(--cc-highlight-color, #bc7c22);
    color: #fff;
}

.cc-pdp-badge--free {
    background: var(--cc-highlight-color, #bc7c22);
    color: #fff;
}

.cc-pdp-message {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    color: var(--cc-text-secondary);
}

.cc-pdp-notice {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    color: var(--cc-highlight-color, #bc7c22);
    font-style: italic;
}

/* ── Dark mode for new components ────────────────────────────── */

[data-theme="dark"] .cc-dpick-group-tag {
    background: color-mix(in srgb, var(--cc-highlight-color, #bc7c22) 12%, var(--cc-bg-secondary) 88%);
}

[data-theme="dark"] .cc-product-delivery-panel {
    background: color-mix(in srgb, var(--cc-highlight-color, #bc7c22) 8%, var(--cc-bg-secondary) 92%);
    border-color: var(--cc-woo-form-border);
}

/* ── Cart shipping ETA & description ─────────────────────────── */

.cc-ship-option-eta {
    font-size: 0.78rem;
    color: var(--cc-text-secondary);
    font-style: italic;
}

.cc-ship-option-desc {
    font-size: 0.75rem;
    color: var(--cc-text-muted, var(--cc-text-secondary));
    line-height: 1.35;
}

/* ── Product page compact refinements ────────────────────────── */

.woocommerce div.product .product_title {
    font-size: clamp(1.45rem, 1.12rem + 0.85vw, 2rem);
    line-height: 1.18;
    letter-spacing: 0;
}

.woocommerce div.product .woocommerce-tabs {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 1.5rem;
}

.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce div.product .woocommerce-tabs .panel p,
.woocommerce div.product .woocommerce-tabs .panel .woocommerce-Tabs-panel {
    max-width: none;
}

.woocommerce div.product .woocommerce-tabs .panel {
    font-size: 0.95rem;
    line-height: 1.68;
}

.cc-product-delivery-panel {
    margin-top: 0.8rem;
    padding: 0.85rem;
    border-radius: 8px;
}

.cc-pdp-header {
    margin-bottom: 0.55rem;
}

.cc-pdp-body {
    gap: 0.32rem;
}

.cc-pdp-route-card {
    gap: 0.55rem;
    padding: 0.62rem 0.7rem;
    border-radius: 8px;
    margin-bottom: 0.35rem;
}

.cc-pdp-route-card-body strong {
    font-size: 0.84rem;
    margin-bottom: 0.08rem;
}

.cc-pdp-route-card-eta,
.cc-pdp-route-card-note {
    font-size: 0.73rem;
}

.cc-pdp-disclaimer {
    margin-top: 0.55rem;
}

.woocommerce div.product .related.products .cc-product-card-title,
.woocommerce div.product .upsells.products .cc-product-card-title,
.woocommerce div.product .related.products .woocommerce-loop-product__title,
.woocommerce div.product .upsells.products .woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: normal;
    min-height: 2.55em;
}

.woocommerce div.product .related.products .cc-product-card-title a,
.woocommerce div.product .upsells.products .cc-product-card-title a {
    color: inherit;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .woocommerce div.product .related.products .products,
    .woocommerce div.product .upsells.products .products {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .woocommerce div.product .related.products .products .product,
    .woocommerce div.product .upsells.products .products .product {
        width: auto;
        margin: 0;
        float: none;
    }

    .woocommerce div.product .related.products .cc-product-card,
    .woocommerce div.product .upsells.products .cc-product-card {
        min-height: 100%;
    }

    .woocommerce div.product .related.products .cc-product-card-body,
    .woocommerce div.product .upsells.products .cc-product-card-body {
        padding: 10px 10px 8px;
        gap: 7px;
    }

    .woocommerce div.product .related.products .cc-product-card-title,
    .woocommerce div.product .upsells.products .cc-product-card-title,
    .woocommerce div.product .related.products .woocommerce-loop-product__title,
    .woocommerce div.product .upsells.products .woocommerce-loop-product__title {
        min-height: 2.6em;
        font-size: 15px;
        line-height: 1.22;
    }

    .woocommerce div.product .related.products .cc-product-card-specs,
    .woocommerce div.product .upsells.products .cc-product-card-specs,
    .woocommerce div.product .related.products .cc-product-card-delivery-summary,
    .woocommerce div.product .upsells.products .cc-product-card-delivery-summary {
        font-size: 12px;
        line-height: 1.35;
    }

    .woocommerce div.product .related.products .cc-product-card-price,
    .woocommerce div.product .upsells.products .cc-product-card-price {
        font-size: 17px;
    }

    .woocommerce div.product .related.products .cc-product-card-footer,
    .woocommerce div.product .upsells.products .cc-product-card-footer {
        padding: 0 10px 10px;
    }

    .woocommerce div.product .related.products .cc-add-to-cart,
    .woocommerce div.product .upsells.products .cc-add-to-cart {
        min-height: 40px;
        padding: 0 10px;
        font-size: 12px;
        line-height: 1.25;
    }
}

.woocommerce div.product .woocommerce-product-gallery.cc-gallery-slider {
    position: relative;
    overflow: hidden;
    padding-bottom: 2.75rem;
}

.woocommerce div.product .woocommerce-product-gallery.cc-gallery-slider .woocommerce-product-gallery__wrapper {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.woocommerce div.product .woocommerce-product-gallery.cc-gallery-slider .woocommerce-product-gallery__wrapper::-webkit-scrollbar {
    display: none;
}

.woocommerce div.product .woocommerce-product-gallery.cc-gallery-slider .woocommerce-product-gallery__image {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
}

.cc-gallery-slider-btn {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-radius: 50%;
    background: var(--cc-bg-primary, #fff);
    color: var(--cc-text-heading, #1a1a1a);
    font-size: 28px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.cc-gallery-slider-btn:disabled {
    opacity: 0.38;
    cursor: default;
}

.cc-gallery-slider-btn--prev {
    left: 10px;
}

.cc-gallery-slider-btn--next {
    right: 10px;
}

.cc-gallery-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 0.7rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    transform: translateX(-50%);
    padding: 0.32rem 0.55rem;
    border: 1px solid color-mix(in srgb, var(--cc-woo-form-border, var(--cc-border-color)) 88%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--cc-bg-primary, #fff) 88%, transparent);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.cc-gallery-slider-dot {
    width: 0.6rem;
    height: 0.6rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--cc-text-secondary, #7f7c74) 35%, transparent);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.cc-gallery-slider-dot.is-active {
    background: var(--cc-primary, #bc7c22);
    transform: scale(1.18);
}

.cc-gallery-slider-dot:hover,
.cc-gallery-slider-dot:focus-visible {
    background: color-mix(in srgb, var(--cc-primary, #bc7c22) 82%, white 18%);
}

@media (max-width: 767px) {
    .woocommerce div.product form.cart {
        align-items: stretch;
        gap: 0.75rem;
    }

    .woocommerce div.product form.cart .cc-quantity-pill,
    .woocommerce div.product form.cart .quantity {
        min-width: min(100%, 168px);
    }

    .woocommerce div.product form.cart .single_add_to_cart_button {
        flex: 1 1 100%;
        width: 100%;
        justify-content: center;
    }

    .cc-quantity-pill {
        min-width: min(100%, 168px);
    }

    .cc-qty-btn {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .cc-qty-input {
        height: 46px;
        width: 64px;
        min-width: 64px;
        font-size: 1rem;
    }

    .woocommerce div.product .woocommerce-product-gallery.cc-gallery-slider {
        padding-bottom: 3.2rem;
    }

    .cc-gallery-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .cc-gallery-slider-dots {
        bottom: 0.8rem;
        max-width: calc(100% - 1.5rem);
        overflow-x: auto;
        scrollbar-width: none;
    }

    .cc-gallery-slider-dots::-webkit-scrollbar {
        display: none;
    }
}

/* ── WooCommerce notice popup ───────────────────────────────── */

.cc-woo-toast-stack {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 99999;
    width: min(380px, calc(100vw - 28px));
    display: grid;
    gap: 10px;
    pointer-events: none;
}

.cc-woo-toast {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    align-items: start;
    padding: 0.9rem 0.95rem;
    border: 1px solid var(--cc-woo-form-border, var(--cc-border-color));
    border-left: 4px solid var(--cc-highlight-color, #bc7c22);
    border-radius: 8px;
    background: var(--cc-bg-primary, #fff);
    color: var(--cc-text-primary, #1a1a1a);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.16);
    opacity: 0;
    transform: translateX(18px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: auto;
}

.cc-woo-toast.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.cc-woo-toast.is-leaving {
    opacity: 0;
    transform: translateX(18px);
}

.cc-woo-toast--success {
    border-left-color: #22c55e;
}

.cc-woo-toast--error {
    border-left-color: #ef4444;
}

.cc-woo-toast-content,
.cc-woo-toast-content li {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
}

.cc-woo-toast-content ul,
.cc-woo-toast-content ol {
    margin: 0;
    padding-left: 1.1rem;
}

.cc-woo-toast-content .button,
.cc-woo-toast-content button {
    margin-top: 0.55rem;
}

.cc-woo-toast-close {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--cc-text-primary, #1a1a1a) 8%, transparent 92%);
    color: var(--cc-text-primary, #1a1a1a);
    font-size: 18px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
}

@media (max-width: 640px) {
    .cc-woo-toast-stack {
        top: 12px;
        right: 12px;
        left: 12px;
        width: auto;
    }
}
