/* ==========================================================================
   WooCommerce Overrides — The Cast Iron Radiator Company
   ========================================================================== */

/* ---------- Utility ---------- */
.cir-hidden { display: none !important; }

/* ---------- Product Grid (woocommerce-loop) ---------- */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
}

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

/* ---------- Archive / Category Page ---------- */
.product-section {
    padding: 40px var(--cir-pad-desktop) 80px;
}

.count-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.count-bar .count {
    font-family: var(--cir-font-body);
    font-size: 14px;
    color: var(--cir-text-muted);
}

.count-bar .sort {
    font-family: var(--cir-font-body);
    font-size: 14px;
    color: #5A5549;
}

.count-bar .sort .woocommerce-ordering {
    display: inline;
}

.count-bar .sort select {
    font-family: var(--cir-font-body);
    font-size: 14px;
    color: #5A5549;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

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

.product-card {
    display: block;
    border: 1px solid #E8E3DC;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.product-card .card-image {
    aspect-ratio: 537 / 300;
    background: #E8E3DC;
    overflow: hidden;
}

.product-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .card-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-card .card-name {
    font-family: var(--cir-font-heading);
    font-size: 20px;
    font-weight: 400;
    color: var(--cir-text-dark);
    text-decoration: none;
    display: block;
}

.product-card .heights-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.product-card .heights-label {
    font-family: var(--cir-font-body);
    font-size: 12px;
    color: var(--cir-text-muted);
}

.product-card .height-pill {
    font-family: var(--cir-font-body);
    font-size: 12px;
    color: #5A5549;
    background: #F5F0EA;
    padding: 4px 10px;
    border-radius: 3px;
}

a.height-pill--link {
    text-decoration: none;
    color: #5A5549;
    transition: background 0.15s, color 0.15s;
    position: relative;
    z-index: 2;
}

.product-card a.height-pill--link:hover {
    background: #C5A467;
    color: #fff;
}

.product-card a.height-pill--link:visited {
    color: #5A5549;
}

.product-card a.height-pill--link:visited:hover {
    color: #fff;
}

.product-card a.height-pill--link.height-pill--tapped {
    background: #C5A467 !important;
    color: #fff !important;
    -webkit-tap-highlight-color: transparent;
}

.product-card .depth-text {
    font-family: var(--cir-font-body);
    font-size: 12px;
    color: var(--cir-text-muted);
}

.product-card .finishes-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.product-card .finishes-label {
    font-family: var(--cir-font-body);
    font-size: 12px;
    color: var(--cir-text-muted);
}

.product-card .finish-pill {
    font-family: var(--cir-font-body);
    font-size: 11px;
    color: #5A5549;
    background: #F5F0EA;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-card .finish-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.product-card .card-divider {
    height: 1px;
    background: #E8E3DC;
    width: 100%;
}

.product-card .card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-card .card-price {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #832E31;
}

.product-card .card-link {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #C5A467;
    text-decoration: none;
    transition: color 0.2s;
}

.product-card .card-link:hover {
    color: #b08e4e;
}

/* ---------- Single Product ---------- */
.product-main {
    display: flex;
    padding: 16px 200px 40px;
    gap: 48px;
}

/* Gallery */
.gallery {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: row-reverse;
    gap: 12px;
}

.gallery-main {
    flex: 1;
    min-width: 0;
    aspect-ratio: 1;
    max-height: none;
    align-self: flex-start;
    background: #FFFFFF;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--cir-font-body);
    font-size: 16px;
    color: var(--cir-text-muted);
    overflow: hidden;
}

.gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Product image zoom */
.gallery-main {
    position: relative;
}

.gallery-zoom-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 5;
    backdrop-filter: blur(4px);
    padding: 0;
}

.gallery-zoom-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

.gallery-zoom-btn.active {
    background: rgba(200, 169, 110, 0.85);
    border-color: #c8a96e;
}

.gallery-zoom-btn svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}

.gallery-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    border-radius: 4px;
    cursor: crosshair;
    transition: opacity 0.2s;
}

.gallery-zoom-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Disable zoom on touch devices */
@media (hover: none) {
    .gallery-zoom-btn,
    .gallery-zoom-overlay {
        display: none;
    }
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 80px;
    flex-shrink: 0;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    background: #FFFFFF;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--cir-font-body);
    font-size: 11px;
    color: var(--cir-text-muted);
    cursor: pointer;
    border: 2px solid transparent;
    overflow: hidden;
    transition: border-color 0.2s;
}

.gallery-thumb.active {
    border-color: var(--cir-burgundy);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product details */
.product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stars-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 2px;
}

.stars-row span {
    font-family: var(--cir-font-body);
    font-size: 13px;
    color: var(--cir-text-muted);
}

.product-name {
    font-family: var(--cir-font-heading);
    font-size: 32px;
    font-weight: 400;
    color: var(--cir-text-dark);
}

.pills-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pill {
    font-family: var(--cir-font-body);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 3px;
    border: none;
    background: #F5F0EA;
    color: #5A5549;
}

.pill--highlight {
    background: rgba(131, 46, 49, 0.08);
    color: var(--cir-burgundy);
    white-space: nowrap;
}

.pill-unit-short {
    display: none;
}

.pill-unit-long {
    display: inline;
}

@media (max-width: 768px) {
    .pill-unit-short {
        display: inline;
    }

    .pill-unit-long {
        display: none;
    }
}

.divider {
    height: 1px;
    background: var(--cir-border);
}

.description {
    font-family: var(--cir-font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--cir-text-body);
    line-height: 1.8;
}

.description p {
    margin-bottom: 12px;
}

.description p:last-child {
    margin-bottom: 0;
}

/* ── Configure Your Radiator ─────────────────────────────────── */
.cir-configure-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cir-configure-label {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #C5A467;
}

.cir-configure-dropdowns {
    display: flex;
    gap: 12px;
}

.cir-dropdown-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cir-dropdown-group.cir-dropdown-full {
    flex: 1;
}

.cir-dropdown-group label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #8A8278;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cir-dropdown-group select {
    display: none;
}

.cir-dropdown-group select:focus {
    outline: none;
    border-color: #C5A467;
}

/* ── Custom sections dropdown ────────────────────────────────── */
.cir-custom-select {
    position: relative;
    width: 100%;
}

.cir-custom-select-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: #FDFAF7;
    border: 1px solid #E8E3DC;
    border-radius: 3px;
    cursor: pointer;
    transition: border-color 0.15s ease;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: #1A1A1A;
}

.cir-custom-select-trigger:hover {
    border-color: #C5A467;
}

.cir-custom-select.cir-select-open .cir-custom-select-trigger {
    border-color: #C5A467;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.cir-custom-select-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cir-custom-select-btu {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #8A8278;
    white-space: nowrap;
    flex-shrink: 0;
}

.cir-custom-select-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: #8A8278;
    transition: transform 0.2s ease;
}

.cir-custom-select-arrow svg {
    width: 16px;
    height: 16px;
}

.cir-custom-select.cir-select-open .cir-custom-select-arrow {
    transform: rotate(180deg);
}

.cir-custom-select-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    background: #FFFFFF;
    border: 1px solid #C5A467;
    border-top: none;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cir-custom-select.cir-select-open .cir-custom-select-options {
    display: block;
}

.cir-custom-select-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.1s ease;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: #1A1A1A;
}

.cir-custom-select-option:hover {
    background: #F5F0EA;
}

.cir-custom-select-option.cir-option-active {
    background: #F5F0EA;
    font-weight: 500;
}

.cir-custom-option-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cir-custom-option-btu {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #8A8278;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 12px;
}

/* Stock availability dots in sections dropdown */
.cir-dropdown-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 10px;
}

.cir-dropdown-dot--stock {
    background: #2E7D32;
}

.cir-dropdown-dot--mto {
    background: #E8A825;
}

/* Configure label (legacy) */
.configure-label {
    font-family: var(--cir-font-ui);
    font-size: 11px;
    font-weight: 700;
    color: var(--cir-gold);
    letter-spacing: 3px;
}

/* Price row */
.price-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.price-top {
    display: flex;
    align-items: center;
}

.price-rrp-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #F5F0EA;
    border-radius: 3px;
    padding: 3px 9px;
    font-family: var(--cir-font-ui);
    font-size: 12px;
    color: var(--cir-text-muted);
}

.price-rrp-label {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 11px;
}

.price-bottom {
    display: flex;
    align-items: baseline;
    gap: 8px;
    width: 100%;
}

.price-current {
    font-family: var(--cir-font-ui);
    font-size: 32px;
    font-weight: 700;
    color: var(--cir-text-dark);
}

.price-vat {
    font-family: var(--cir-font-ui);
    font-size: 13px;
    color: var(--cir-text-muted);
}

.price-save {
    font-family: var(--cir-font-ui);
    font-size: 12px;
    font-weight: 600;
    color: var(--cir-burgundy);
    background: rgba(131, 46, 49, 0.08);
    padding: 3px 9px;
    border-radius: 3px;
    margin-left: auto;
    white-space: nowrap;
}

/* CTA Row: qty | Choose Options | wishlist */
.cir-cta-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: 4px;
}

.cir-cta-row #cir-choose-options {
    flex: 1;
}

/* CTA Row / Add to Cart (WC form — qty/wishlist moved out by JS) */
.product-details .cart {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
}

/* Quantity: fixed width */
.product-details .cart .quantity {
    flex-shrink: 0;
}

/* CIR options wrapper: takes remaining space */
.product-details .cart #cir-options-wrapper {
    flex: 1;
    margin: 0;
}

/* Summary grid is moved out by JS; hide if still inside wrapper */
.product-details .cart #cir-options-wrapper #cir-summary-grid {
    display: none;
}

/* Hidden inputs container — no layout impact */
.product-details .cart #cir-hidden-inputs {
    display: none;
}

/* Wishlist heart button */
.cir-wishlist-btn {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E8E3DC;
    border-radius: 0;
    background: none;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.15s ease;
}

.cir-wishlist-btn:hover {
    border-color: #C5A467;
}

.cir-wishlist-btn svg {
    width: 20px;
    height: 20px;
    color: #8A8278;
}

/* Quantity selector styling */
.product-details .quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--cir-border);
    border-radius: 0;
    height: 52px;
    overflow: hidden;
}

.product-details .quantity .qty-btn {
    width: 36px;
    height: 100%;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--cir-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.product-details .quantity .qty-btn:hover {
    color: var(--cir-text-dark);
}

.product-details .quantity input.qty {
    width: 40px;
    text-align: center;
    font-family: var(--cir-font-ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--cir-text-dark);
    border: none;
    outline: none;
    -moz-appearance: textfield;
}

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

/* Add to cart button */
.product-details .single_add_to_cart_button,
.btn-cta {
    flex: 1;
    height: 52px;
    background: var(--cir-burgundy);
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    font-family: var(--cir-font-ui);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
    text-transform: uppercase;
}

.product-details .single_add_to_cart_button:hover,
.btn-cta:hover {
    background: var(--cir-burgundy-hover);
}

/* Trust line */
.trust-line {
    font-family: var(--cir-font-body);
    font-size: 11px;
    color: var(--cir-text-muted);
    text-align: center;
}

/* ---------- Technical Specifications ---------- */
.specs-section {
    background: var(--cir-bg-white);
    padding: 40px var(--cir-pad-desktop);
    text-align: center;
}

.specs-section .gold-line {
    margin: 0 auto 32px;
    display: block;
}

.specs-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 80px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--cir-border);
    gap: 40px;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-family: var(--cir-font-body);
    font-size: 14px;
    color: var(--cir-text-muted);
}

.spec-value {
    font-family: var(--cir-font-ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--cir-text-dark);
}

.spec-value--highlight {
    color: var(--cir-burgundy);
}

/* ---------- USP Strip ---------- */
.usp-strip {
    background: var(--cir-bg-warm);
    padding: 24px var(--cir-pad-desktop);
    display: flex;
    justify-content: space-between;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.usp-icon {
    color: var(--cir-gold);
    flex-shrink: 0;
}

.usp-icon i {
    width: 22px;
    height: 22px;
}

.usp-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.usp-title {
    font-family: var(--cir-font-ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--cir-burgundy);
}

.usp-subtitle {
    font-family: var(--cir-font-body);
    font-size: 11px;
    color: var(--cir-text-body);
}

/* ---------- Description Section ---------- */
.desc-section {
    background: var(--cir-bg-white);
    padding: 64px var(--cir-pad-desktop);
    display: flex;
    gap: 64px;
}

.desc-left {
    flex: 1;
}

.desc-left .gold-line {
    margin: 0 0 24px;
    display: block;
}

.desc-left p,
.desc-content p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #5A5549;
    line-height: 1.8;
    margin-bottom: 20px;
}

.desc-content p:first-child {
    font-family: 'Lora', serif;
    font-style: italic;
    font-weight: 400;
    color: #5A5549;
}

.check-highlights {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1A1A1A;
}

.check-item i,
.check-item svg {
    color: #832E31;
    stroke: #832E31;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.desc-right {
    width: 440px;
    flex-shrink: 0;
}

.desc-image {
    width: 100%;
    height: 480px;
    background: var(--cir-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--cir-font-body);
    font-size: 14px;
    color: var(--cir-text-muted);
    overflow: hidden;
}

.desc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Process Section ---------- */
.process-section {
    background: var(--cir-bg-warm);
    padding: 80px var(--cir-pad-desktop);
    display: flex;
    gap: 64px;
}

.process-image {
    width: 520px;
    height: 620px;
    background: var(--cir-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--cir-font-body);
    font-size: 14px;
    color: var(--cir-text-muted);
    flex-shrink: 0;
    overflow: hidden;
}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-right {
    flex: 1;
}

.process-right .gold-line {
    margin: 0 0 24px;
    display: block;
}

.process-step {
    padding: 24px 0;
    border-bottom: 1px solid var(--cir-border);
}

.process-step:last-child {
    border-bottom: none;
}

.process-step-num {
    font-family: var(--cir-font-ui);
    font-size: 11px;
    font-weight: 600;
    color: var(--cir-gold);
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.process-step-title {
    font-family: var(--cir-font-heading);
    font-size: 16px;
    color: var(--cir-text-dark);
    margin-bottom: 6px;
}

.process-step-desc {
    font-family: var(--cir-font-body);
    font-size: 13px;
    font-weight: 300;
    color: var(--cir-text-body);
    line-height: 1.7;
}

/* ---------- Reviews Section (Product Page) ---------- */
.reviews-section {
    background: #F5F0EA;
    padding: 80px var(--cir-pad-desktop);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.reviews-section .reviews-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.reviews-section .reviews-header .section-gold-label {
    margin-bottom: 12px;
}

.reviews-section .reviews-header .section-title {
    margin-bottom: 12px;
}

.reviews-stars-row {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 8px;
}

.reviews-summary {
    font-family: var(--cir-font-body);
    font-size: 14px;
    font-weight: 400;
    color: #8A8278;
    margin-bottom: 16px;
}

.reviews-section .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
}

.reviews-section .review-card {
    background: #FFFFFF;
    padding: 28px;
    border-radius: 4px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-text {
    font-family: var(--cir-font-body);
    font-size: 14px;
    font-weight: 300;
    color: #5A5549;
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

.review-divider {
    height: 1px;
    background: #E8E3DC;
}

.reviews-section .review-author {
    font-family: var(--cir-font-ui);
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.reviews-section .review-author-name {
    font-weight: 600;
    color: #2C2824;
}

.reviews-section .review-author-verified {
    color: #C5A467;
    font-weight: 500;
}

.reviews-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-family: var(--cir-font-ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--cir-text);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}
.reviews-view-all:hover {
    color: #C5A467;
}

/* ---------- Lifestyle Banner ---------- */
.lifestyle-banner {
    height: 480px;
    background: linear-gradient(to right, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.5) 60%, rgba(26,26,26,0.3) 100%), #3a3a3a;
    display: flex;
    align-items: center;
    padding: 0 var(--cir-pad-desktop);
    position: relative;
}

.lifestyle-content {
    max-width: 560px;
}

.lifestyle-quote-mark {
    font-family: var(--cir-font-heading);
    font-size: 72px;
    color: var(--cir-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.lifestyle-quote {
    font-family: var(--cir-font-heading);
    font-size: 22px;
    color: #FFFFFF;
    line-height: 1.6;
    margin-bottom: 24px;
}

.lifestyle-brand {
    font-family: var(--cir-font-ui);
    font-size: 11px;
    font-weight: 600;
    color: var(--cir-gold);
    letter-spacing: 3px;
    margin-top: 24px;
}

/* ---------- Related Products ---------- */
.related-section {
    background: var(--cir-bg-white);
    padding: 80px var(--cir-pad-desktop);
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.related-header-left .section-gold-label {
    margin-bottom: 8px;
    text-align: left;
}

.related-header-left .section-title {
    margin-bottom: 0;
}

.related-section .product-card {
    border: 1px solid var(--cir-border);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.related-section .product-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: none;
}

.product-card-image {
    height: 260px;
    background: var(--cir-bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--cir-font-body);
    font-size: 13px;
    color: var(--cir-text-muted);
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-info {
    padding: 16px;
}

.product-card-name {
    font-family: var(--cir-font-heading);
    font-size: 16px;
    color: var(--cir-text-dark);
    margin-bottom: 6px;
}

.product-card-price {
    font-family: var(--cir-font-ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--cir-burgundy);
}

/* ==========================================================================
   PRODUCT DELIVERY SECTION — dynamic per-category block on single-product
   ========================================================================== */

.cir-delivery {
    background: var(--cir-bg-cream);
    padding: 56px var(--cir-pad-desktop);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cir-delivery__header {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.cir-delivery__eyebrow {
    font-family: var(--cir-font-ui);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cir-gold);
}

.cir-delivery__title {
    font-family: var(--cir-font-heading);
    font-size: 36px;
    font-weight: 600;
    color: var(--cir-text-dark);
    line-height: 1.15;
    margin: 0;
}

.cir-delivery__divider {
    width: 60px;
    height: 2px;
    background: var(--cir-gold);
}

.cir-delivery__subtitle {
    font-family: var(--cir-font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--cir-text-body);
    line-height: 1.5;
    margin: 0;
}

.cir-delivery__card {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    background: var(--cir-bg-white);
    border: 1px solid var(--cir-border);
    border-radius: 6px;
    display: flex;
    align-items: stretch;
    margin-top: 10px;
}

.cir-delivery__card-left {
    width: 280px;
    flex-shrink: 0;
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border-right: 1px solid var(--cir-border);
}

.cir-delivery__card-label {
    font-family: var(--cir-font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cir-text-muted);
}

.cir-delivery__price {
    font-family: var(--cir-font-heading);
    font-size: 56px;
    font-weight: 600;
    color: var(--cir-text-dark);
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: lining-nums tabular-nums;
}

.cir-delivery__price-suffix {
    font-family: var(--cir-font-body);
    font-size: 13px;
    color: var(--cir-text-muted);
    white-space: nowrap;
}

.cir-delivery__price-divider {
    width: 40px;
    height: 2px;
    background: var(--cir-gold);
    margin-top: 6px;
}

.cir-delivery__free {
    font-family: var(--cir-font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--cir-text-dark);
    line-height: 1.5;
}

.cir-delivery__card-right {
    flex: 1 1 auto;
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    min-width: 0;
}

.cir-delivery__right-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.cir-delivery__right-label {
    font-family: var(--cir-font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cir-text-muted);
}

.cir-delivery__policy-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--cir-font-ui);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cir-text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.cir-delivery__policy-link:hover {
    color: var(--cir-burgundy);
}

.cir-delivery__policy-arrow {
    color: var(--cir-burgundy);
    flex-shrink: 0;
}

.cir-delivery__lead-table {
    display: flex;
    flex-direction: column;
}

.cir-delivery__lead-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--cir-border);
}

.cir-delivery__lead-row:last-child {
    border-bottom: none;
}

.cir-delivery__lead-label {
    font-family: var(--cir-font-body);
    font-size: 14px;
    color: var(--cir-text-dark);
    flex: 1 1 auto;
    min-width: 0;
}

.cir-delivery__lead-days {
    font-family: var(--cir-font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--cir-burgundy);
    white-space: nowrap;
    flex-shrink: 0;
}

.cir-delivery__simple {
    font-family: var(--cir-font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--cir-burgundy);
    padding: 6px 0;
}

/* Dynamic delivery banner (column radiators — before selection) */
.cir-delivery__dynamic-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #FDFAF7 0%, #F5F0EA 100%);
    border: 1px solid var(--cir-border);
    border-radius: 6px;
}

.cir-delivery__dynamic-icon {
    width: 40px;
    height: 40px;
    background: rgba(197, 164, 103, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cir-delivery__dynamic-title {
    display: block;
    font-family: var(--cir-font-heading);
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 4px;
}

.cir-delivery__dynamic-desc {
    display: block;
    font-family: var(--cir-font-body);
    font-size: 13px;
    color: var(--cir-muted);
}

/* Resolved delivery state (column radiators — after selection) */
.cir-delivery__resolved {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(131, 46, 49, 0.04);
    border: 1px solid rgba(131, 46, 49, 0.12);
    border-radius: 6px;
}

.cir-delivery__resolved-icon {
    width: 32px;
    height: 32px;
    background: var(--cir-burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cir-delivery__resolved-finish {
    display: block;
    font-family: var(--cir-font-body);
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
}

.cir-delivery__resolved-time {
    display: block;
    font-family: var(--cir-font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--cir-burgundy);
}

/* Pills layout (valves & accessories) */
.cir-delivery__pills {
    display: flex;
    flex-direction: row;
    gap: 28px;
    align-items: flex-start;
    padding-top: 4px;
}

.cir-delivery__pill {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.cir-delivery__pill-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cir-bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cir-gold);
}

.cir-delivery__pill-icon i,
.cir-delivery__pill-icon svg {
    width: 20px;
    height: 20px;
}

.cir-delivery__pill-title {
    font-family: var(--cir-font-ui);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--cir-text-dark);
}

.cir-delivery__pill-desc {
    font-family: var(--cir-font-body);
    font-size: 13px;
    color: var(--cir-text-body);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   PRODUCT PAGE STOCK STATUS PILL
   ========================================================================== */

/* Stock status pill — sits in the .pills-row, right-aligned */
.pill--delivery {
    margin-left: auto;
    display: none;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

/* Mobile delivery bar — hidden by default, shown at <=768px */
.cir-delivery-mobile {
    display: none;
}

.cir-delivery-mobile .pill--delivery {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 3px;
    font-size: 12px;
}

.cir-delivery-mobile {
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    /* Hide delivery pill from pills row on mobile */
    .pills-row .pill--delivery {
        display: none !important;
    }

    /* Show mobile delivery bar below add to cart */
    .cir-delivery-mobile {
        display: block;
        margin-top: 8px;
    }

    .cir-delivery-mobile .cir-stock-status-mobile {
        display: inline-flex;
    }
}

/* Between 1025-1300px the right column is tight in row layout —
   move the delivery pill under add-to-cart, same as mobile */
@media (min-width: 1025px) and (max-width: 1300px) {
    .pills-row .pill--delivery {
        display: none !important;
    }

    .cir-delivery-mobile {
        display: block;
        margin-top: 8px;
    }

    .cir-delivery-mobile .cir-stock-status-mobile {
        display: inline-flex;
    }
}

.pill--delivery svg {
    flex-shrink: 0;
}

.pill--delivery.cir-stock-status--stock {
    background: #E8F5E9;
    color: #2E7D32;
}

.pill--delivery.cir-stock-status--mto {
    background: #FFF3E0;
    color: #92400E;
}

.pill--delivery.cir-stock-status--leadtime {
    background: var(--cir-bg-warm);
    color: var(--cir-text-dark);
}

/* ---------- Cart Page ---------- */
.woocommerce-cart .woocommerce {
    padding: 0;
    max-width: 1905px;
    margin-left: auto;
    margin-right: auto;
}

.woocommerce table.shop_table {
    border: 1px solid var(--cir-border);
    border-collapse: collapse;
    width: 100%;
}

.woocommerce table.shop_table th {
    font-family: var(--cir-font-ui);
    font-size: 12px;
    font-weight: 600;
    color: var(--cir-text-dark);
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 16px 20px;
    border-bottom: 1px solid var(--cir-border);
    background: var(--cir-bg-warm);
}

.woocommerce table.shop_table td {
    font-family: var(--cir-font-body);
    font-size: 14px;
    color: var(--cir-text-dark);
    padding: 20px;
    border-bottom: 1px solid var(--cir-border);
    vertical-align: middle;
}

.woocommerce table.shop_table img {
    width: 80px;
    height: auto;
}

.woocommerce .cart_totals h2 {
    font-family: var(--cir-font-heading);
    font-size: 24px;
    color: var(--cir-text-dark);
    margin-bottom: 16px;
}

.woocommerce .wc-proceed-to-checkout .checkout-button {
    background: var(--cir-burgundy);
    color: #FFFFFF;
    font-family: var(--cir-font-ui);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 16px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    display: block;
    text-align: center;
    text-transform: uppercase;
}

.woocommerce .wc-proceed-to-checkout .checkout-button:hover {
    background: var(--cir-burgundy-hover);
}

/* ---------- Checkout Page ---------- */
/* Hide page wrapper on checkout */
.woocommerce-checkout .page-hero,
.woocommerce-checkout .woocommerce-notices-wrapper:empty {
    display: none !important;
}

.woocommerce-checkout .product-section {
    padding: 0;
    max-width: 1905px;
    margin-left: auto;
    margin-right: auto;
}

.woocommerce-checkout .woocommerce {
    max-width: 1905px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

/* -- Progress Steps -- */
.cir-checkout-progress {
    padding: 20px 60px;
    border-bottom: 1px solid var(--cir-border);
    margin-bottom: 32px;
}

.cir-checkout-progress__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.cir-checkout-progress__step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--cir-font-body);
    font-size: 13px;
    color: var(--cir-text-muted);
    text-decoration: none;
}

.cir-checkout-progress__step--active {
    color: var(--cir-text-dark);
    font-weight: 500;
}

.cir-checkout-progress__step--complete {
    color: var(--cir-gold);
}

.cir-checkout-progress__icon svg {
    width: 16px;
    height: 16px;
}

.cir-checkout-progress__number {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--cir-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.cir-checkout-progress__step--active .cir-checkout-progress__number {
    background: var(--cir-burgundy);
    color: #fff;
}

.cir-checkout-progress__separator {
    width: 40px;
    height: 1px;
    background: var(--cir-border);
}

/* -- Checkout Layout -- */
.cir-checkout__columns {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 0;
    padding: 0 60px 80px;
}

/* -- Left Column (Form) -- */
.cir-checkout__left {
    max-width: 680px;
}

.cir-checkout__section {
    margin-bottom: 32px;
}

.cir-checkout__section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
}

.cir-checkout__heading {
    font-family: var(--cir-font-heading);
    font-size: 22px;
    font-weight: 400;
    color: var(--cir-text-dark);
    margin: 0 0 16px;
}

.cir-checkout__section-header .cir-checkout__heading {
    margin: 0;
}

.cir-checkout__login-prompt {
    font-family: var(--cir-font-body);
    font-size: 13px;
    color: var(--cir-text-muted);
}

.cir-checkout__login-link {
    color: var(--cir-gold);
    text-decoration: none;
}

.cir-checkout__login-link:hover {
    text-decoration: underline;
}

/* Bottom navigation */
.cir-checkout__navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 24px;
}

.cir-checkout__return-link {
    font-family: var(--cir-font-body);
    font-size: 14px;
    color: var(--cir-text-muted);
    text-decoration: none;
}

.cir-checkout__return-link:hover {
    color: var(--cir-text-dark);
}

/* -- Right Column -- */
.cir-checkout__right {
    position: relative;
}

/* Form fields */
.woocommerce-checkout .form-row {
    margin-bottom: 16px;
}

.woocommerce-checkout .form-row label {
    font-family: var(--cir-font-ui);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--cir-text-muted);
    margin-bottom: 6px;
    display: block;
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea,
.cir-checkout__input {
    font-family: var(--cir-font-body);
    font-size: 14px;
    padding: 12px 16px;
    border: 1px solid var(--cir-border);
    border-radius: 3px;
    width: 100%;
    color: var(--cir-text-dark);
    background: #fff;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: var(--cir-burgundy);
    outline: none;
}

.woocommerce-checkout .form-row .required {
    color: var(--cir-burgundy);
}

/* Two-column name fields */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-shipping-fields__field-wrapper .form-row-wide {
    grid-column: 1 / -1;
}

.woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-shipping-fields__field-wrapper .form-row-first {
    grid-column: 1;
}

.woocommerce-billing-fields__field-wrapper .form-row-last,
.woocommerce-shipping-fields__field-wrapper .form-row-last {
    grid-column: 2;
}

/* Checkout bottom row */
.cir-checkout-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 24px;
}

.cir-checkout-return {
    font-family: var(--cir-font-body);
    font-size: 14px;
    color: var(--cir-text-muted);
    text-decoration: none;
}

.cir-checkout-return:hover {
    color: var(--cir-text-dark);
}

/* Place order button */
.woocommerce-checkout #place_order {
    background: var(--cir-burgundy);
    color: #fff;
    font-family: var(--cir-font-ui);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 16px 40px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
    text-transform: uppercase;
    width: 100%;
}

.woocommerce-checkout #place_order:hover {
    background: #6b2528;
}

/* -- Right Column (Order Summary) -- */
.cir-checkout-summary {
    background: var(--cir-bg-warm);
    border: 1px solid var(--cir-border);
    padding: 28px;
    position: sticky;
    top: 100px;
}

.cir-checkout-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}

.cir-checkout-summary-header h3 {
    font-family: var(--cir-font-heading);
    font-size: 20px;
    font-weight: 500;
    color: var(--cir-text-dark);
    margin: 0;
}

.cir-checkout-edit-cart {
    font-family: var(--cir-font-body);
    font-size: 13px;
    color: var(--cir-gold);
    text-decoration: none;
}

.cir-checkout-edit-cart:hover {
    text-decoration: underline;
}

/* Order review items */
.cir-review-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--cir-border);
}

.cir-review-item:last-child {
    border-bottom: none;
}

.cir-review-item-image {
    width: 64px;
    flex-shrink: 0;
}

.cir-review-item-image img {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.cir-review-item-details {
    flex: 1;
    min-width: 0;
}

.cir-review-item-name {
    font-family: var(--cir-font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--cir-text-dark);
    margin-bottom: 4px;
}

.cir-review-item-options {
    font-family: var(--cir-font-body);
    font-size: 11px;
    color: var(--cir-text-muted);
    line-height: 1.5;
}

.cir-review-item-price {
    font-family: var(--cir-font-ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--cir-text-dark);
    flex-shrink: 0;
    align-self: flex-start;
}

/* Coupon / promo */
.cir-checkout-coupon {
    display: flex;
    gap: 8px;
    margin: 16px 0;
    padding: 16px 0;
    border-top: 1px solid var(--cir-border);
    border-bottom: 1px solid var(--cir-border);
}

.cir-checkout-coupon input {
    flex: 1;
    font-family: var(--cir-font-body);
    font-size: 13px;
    padding: 10px 14px;
    border: 1px solid var(--cir-border);
    border-radius: 3px;
    color: var(--cir-text-dark);
}

.cir-checkout-coupon input::placeholder {
    color: var(--cir-text-muted);
}

.cir-checkout-coupon button {
    font-family: var(--cir-font-ui);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    background: var(--cir-text-dark);
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.15s;
}

.cir-checkout-coupon button:hover {
    background: #333;
}

/* Totals */
.cir-checkout-totals {
    margin-top: 12px;
}

.cir-checkout-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    font-family: var(--cir-font-body);
    font-size: 14px;
    color: var(--cir-text-body);
}

.cir-checkout-total-row-value {
    font-weight: 500;
    color: var(--cir-text-dark);
}

.cir-checkout-free {
    color: var(--cir-gold);
    font-weight: 500;
}

.cir-checkout-total-final {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0 4px;
    border-top: 1px solid var(--cir-border);
    margin-top: 8px;
}

.cir-checkout-total-final-label {
    font-family: var(--cir-font-ui);
    font-size: 16px;
    font-weight: 600;
    color: var(--cir-text-dark);
}

.cir-checkout-total-final-value {
    font-family: var(--cir-font-ui);
    font-size: 22px;
    font-weight: 700;
    color: var(--cir-text-dark);
}

.cir-checkout-total-inc-vat {
    font-family: var(--cir-font-body);
    font-size: 11px;
    color: var(--cir-text-muted);
    text-align: right;
}

/* Payment methods */
.woocommerce-checkout #payment {
    background: transparent;
    border: none;
    padding: 0;
    margin-top: 16px;
}

.woocommerce-checkout #payment ul.payment_methods {
    padding: 0;
    border: none;
    margin: 0;
    list-style: none;
}

.woocommerce-checkout #payment ul.payment_methods li {
    padding: 12px 0;
    border-bottom: 1px solid var(--cir-border);
}

.woocommerce-checkout #payment .payment_box {
    background: transparent;
    padding: 8px 0;
    font-family: var(--cir-font-body);
    font-size: 13px;
    color: var(--cir-text-muted);
}

/* WC default login toggle */
.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle {
    margin-bottom: 16px;
}

/* Hide default WC coupon toggle (we have our own) */
.woocommerce-checkout .woocommerce-form-coupon-toggle {
    display: none;
}

.woocommerce-checkout .checkout_coupon.woocommerce-form-coupon {
    display: none;
}

/* Review order table reset */
.cir-review-table,
.cir-review-table thead,
.cir-review-table tbody,
.cir-review-table tfoot,
.cir-review-table tr,
.cir-review-table th,
.cir-review-table td {
    display: block;
    width: 100%;
    border: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.cir-review-table thead {
    display: none;
}

.cir-review-table .cir-review-item td {
    display: inline;
}

/* Hide default WC order review heading (we have our own in the summary) */
.woocommerce-checkout #order_review_heading {
    display: none;
}

/* Style WC billing email field that's rendered separately */
.cir-checkout__email-field {
    margin-bottom: 0;
}

/* Hide billing email from the main billing fields (it's shown above) */
.woocommerce-billing-fields #billing_email_field {
    display: none;
}

/* Hide WC default "Billing details" heading (we have our own) */
.woocommerce-billing-fields > h3,
.woocommerce-additional-fields > h3 {
    display: none;
}

/* Hide WC default "Ship to a different address?" if showing in wrong place */
.woocommerce-shipping-fields > h3#ship-to-different-address {
    font-family: var(--cir-font-heading);
    font-size: 16px;
    font-weight: 400;
    color: var(--cir-text-dark);
}


/* ---------- WooCommerce Notices ---------- */
.woocommerce-message,
.woocommerce-info {
    border-top-color: var(--cir-burgundy);
    background: var(--cir-bg-warm);
    color: var(--cir-text-dark);
    font-family: var(--cir-font-body);
    font-size: 14px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--cir-burgundy);
}

.woocommerce-error {
    border-top-color: #c0392b;
    background: #fdf0ef;
    color: var(--cir-text-dark);
    font-family: var(--cir-font-body);
    font-size: 14px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.woocommerce-message a.button,
.woocommerce-info a.button {
    background: var(--cir-burgundy);
    color: #FFFFFF;
    font-family: var(--cir-font-ui);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 8px 20px;
    border-radius: 4px;
    transition: background 0.2s;
}

.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover {
    background: var(--cir-burgundy-hover);
}

/* ---------- Variable Product Dropdowns ---------- */
.product-details .variations {
    width: 100%;
    border: none;
}

.product-details .variations td {
    padding: 8px 0;
    border: none;
}

.product-details .variations .label label {
    font-family: var(--cir-font-ui);
    font-size: 12px;
    font-weight: 600;
    color: var(--cir-text-dark);
    letter-spacing: 1px;
}

.product-details .variations select {
    width: 100%;
    font-family: var(--cir-font-body);
    font-size: 12px;
    padding: 10px 36px 10px 14px;
    border: 1px solid var(--cir-border);
    border-radius: 4px;
    color: var(--cir-text-dark);
    background-color: var(--cir-bg-white);
    cursor: pointer;
}

/* WooCommerce price display override */
.product-details .price {
    font-family: var(--cir-font-ui);
    font-size: 28px;
    font-weight: 700;
    color: var(--cir-text-dark);
}

.product-details .price del {
    font-size: 16px;
    color: var(--cir-text-muted);
}

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

/* ---------- Cart Drawer (Slide-Out) ---------- */
.cir-cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cir-cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cir-cart-drawer {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 506px;
    max-width: 100vw;
    z-index: 9999;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.cir-cart-drawer.active {
    transform: translateX(0);
}

body.cir-drawer-open {
    overflow: hidden !important;
}

.cir-cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--cir-border);
    flex-shrink: 0;
}

.cir-cart-drawer-header h3 {
    font-family: var(--cir-font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--cir-text-dark);
    margin: 0;
}

.cir-cart-drawer-count {
    font-weight: 400;
    font-size: 14px;
    color: var(--cir-text-muted);
}

.cir-cart-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--cir-text-dark);
}

.cir-cart-drawer-close svg {
    width: 20px;
    height: 20px;
}

.cir-cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    position: relative;
}

.cir-cart-overlay-loading {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    z-index: 10;
    font-family: var(--cir-font-heading, 'Playfair Display', serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--cir-text-dark, #2C2520);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cir-cart-overlay-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #E8E3DC;
    border-top-color: var(--cir-gold, #C5A467);
    border-radius: 50%;
    animation: cir-spin 0.8s linear infinite;
}

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

/* -- Mini Cart Items -- */
.cir-mini-cart-items {
    padding: 0;
    margin: 0;
}

.cir-mini-cart-item {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--cir-border);
}

.cir-mini-cart-item-image {
    width: 120px;
    flex-shrink: 0;
}

.cir-mini-cart-item-image a {
    display: block;
}

.cir-mini-cart-item-image img {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.cir-mini-cart-item-details {
    flex: 1;
    min-width: 0;
}

.cir-mini-cart-item-name {
    font-family: var(--cir-font-heading);
    font-size: 16px;
    font-weight: 500;
    color: var(--cir-text-dark);
}

.cir-mini-cart-item-name a {
    color: inherit;
    text-decoration: none;
}

/* Size pills */
.cir-mini-cart-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 8px 0 12px;
}

.cir-mini-cart-pill {
    font-family: var(--cir-font-body);
    font-size: 12px;
    color: #5A5549;
    background: #F5F0EA;
    padding: 4px 10px;
    border-radius: 3px;
}

/* Options grid — gold uppercase labels, stacked values */
.cir-mini-cart-item-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
    margin-bottom: 12px;
    overflow: hidden;
    max-width: 100%;
}

.cir-mini-cart-option {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
}

.cir-mini-cart-option-label {
    font-family: var(--cir-font-ui);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--cir-gold);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cir-mini-cart-option-name {
    display: block;
    font-family: var(--cir-font-body);
    font-size: 11px;
    color: var(--cir-text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cir-mini-cart-option-price {
    display: block;
    font-family: var(--cir-font-body);
    font-size: 12px;
    color: #8A8278;
}



.cir-mini-cart-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--cir-border);
    border-radius: 3px;
    overflow: hidden;
}

.cir-mini-cart-qty .qty-btn {
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--cir-text-body);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cir-mini-cart-qty .qty-btn:hover {
    background: var(--cir-bg-warm);
}

.cir-mini-cart-qty input.qty {
    width: 32px;
    height: 28px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--cir-border);
    border-right: 1px solid var(--cir-border);
    font-family: var(--cir-font-body);
    font-size: 16px;
    -moz-appearance: textfield;
}

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

.cir-mini-cart-item-price {
    font-family: var(--cir-font-ui);
    font-size: 15px;
    font-weight: 600;
    color: var(--cir-text-dark);
}

.cir-mini-cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 4px;
}

.cir-mini-cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.cir-mini-cart-item-total {
    font-family: var(--cir-font-ui);
    font-size: 15px;
    font-weight: 600;
    color: var(--cir-text-dark);
}

.cir-mini-cart-option {
    font-family: var(--cir-font-body);
    font-size: 11px;
    color: var(--cir-text-muted);
}

.cir-mini-cart-option-label {
    font-weight: 500;
}

.cir-mini-cart-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cir-mini-cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    color: var(--cir-text-muted);
    flex-shrink: 0;
    line-height: 1;
    transition: color 0.15s;
}

.cir-mini-cart-item-remove:hover {
    color: var(--cir-burgundy);
}

.cir-mini-cart-item-remove svg {
    width: 18px;
    height: 18px;
}

.cir-mini-cart-item-remove:hover {
    color: var(--cir-burgundy);
}

/* -- Mini Cart Footer -- */
.cir-mini-cart-footer {
    border-top: 1px solid var(--cir-border);
    padding: 20px 24px;
    flex-shrink: 0;
}

.cir-mini-cart-delivery {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FAF7F2;
    padding: 10px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-family: var(--cir-font-body);
    font-size: 13px;
    color: var(--cir-text-body);
}

.cir-mini-cart-delivery svg {
    width: 16px;
    height: 16px;
    color: var(--cir-gold);
}

.cir-mini-cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
    font-family: var(--cir-font-ui);
}

.cir-mini-cart-subtotal-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--cir-text-dark);
}

.cir-mini-cart-subtotal-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--cir-text-dark);
}

.cir-mini-cart-vat-note {
    font-family: var(--cir-font-body);
    font-size: 12px;
    color: var(--cir-text-muted);
    margin-bottom: 16px;
}

.cir-mini-cart-checkout {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--cir-burgundy);
    color: #fff;
    text-align: center;
    font-family: var(--cir-font-ui);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 12px;
}

.cir-mini-cart-checkout:hover {
    background: #6b2528;
    color: #fff;
}

.cir-mini-cart-view-basket {
    display: block;
    text-align: center;
    font-family: var(--cir-font-body);
    font-size: 13px;
    color: var(--cir-text-body);
    text-decoration: underline;
}

.cir-mini-cart-view-basket:hover {
    color: var(--cir-text-dark);
}

.cir-mini-cart-empty {
    padding: 60px 24px;
    text-align: center;
}

.cir-mini-cart-empty p {
    font-family: var(--cir-font-body);
    font-size: 14px;
    color: var(--cir-text-muted);
    margin-bottom: 20px;
}

.cir-mini-cart-empty a {
    font-family: var(--cir-font-ui);
    font-size: 13px;
    font-weight: 500;
    color: var(--cir-gold);
    text-decoration: underline;
}

/* ---------- Cart Page ---------- */
.woocommerce-cart .page-hero,
.woocommerce-cart .entry-title,
.woocommerce-cart .page-title,
.woocommerce-cart .woocommerce-notices-wrapper {
    display: none !important;
}

.woocommerce-cart .product-section {
    padding: 0;
    max-width: 1905px;
    margin-left: auto;
    margin-right: auto;
}

.cir-cart-hero {
    padding: 8px 120px 0;
    text-align: left;
}

.cir-cart-hero .breadcrumbs {
    margin-bottom: 8px;
}

.cir-cart-hero h1 {
    font-family: var(--cir-font-heading);
    font-size: 28px;
    font-weight: 400;
    color: var(--cir-text-dark);
    margin: 0;
}

.cir-cart-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.cir-cart-count-label {
    font-family: var(--cir-font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--cir-text-muted);
}

.cir-cart-page {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding: 24px 120px 80px;
}

.cir-cart-items {
    border-top: 1px solid var(--cir-border);
}

.cir-cart-item {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--cir-border);
    transition: opacity 0.3s;
}

.cir-cart-item-image {
    width: 140px;
    flex-shrink: 0;
}

.cir-cart-item-image a {
    display: block;
}

.cir-cart-item-image img {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.cir-cart-item-details {
    flex: 1;
    min-width: 0;
}

.cir-cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 4px;
}

.cir-cart-item-name {
    font-family: var(--cir-font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--cir-text-dark);
    margin: 0;
}

.cir-cart-item-edit {
    font-family: var(--cir-font-body);
    font-size: 13px;
    color: var(--cir-gold);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.cir-cart-item-edit:hover {
    text-decoration: underline;
}

/* Colour sample cart items */
.cir-cart-sample-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cir-cart-sample-label {
    font-family: var(--cir-font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cir-gold);
}

.cir-cart-sample-range {
    font-family: var(--cir-font-body);
    font-size: 12px;
    color: var(--cir-text-muted);
    margin-bottom: 2px;
}

.cir-cart-sample-info .cir-cart-item-name {
    font-size: 16px;
}

.cir-cart-sample-bottom {
    display: none !important;
}

/* Size pills */
.cir-cart-item-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.cir-cart-pill {
    font-family: var(--cir-font-body);
    font-size: 12px;
    color: #5A5549;
    background: #F5F0EA;
    padding: 4px 10px;
    border-radius: 3px;
}

/* Options grid — gold uppercase labels, stacked values */
.cir-cart-item-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
    margin-bottom: 16px;
}

.cir-cart-item-option {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cir-cart-item-option-label {
    font-family: var(--cir-font-ui);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--cir-gold);
}

.cir-cart-item-option-value {
    font-family: var(--cir-font-body);
    font-size: 13px;
    color: var(--cir-text-dark);
}

/* Bottom row: qty + save + price */
.cir-cart-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.cir-cart-item-bottom-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Room reference & notes (admin only) */
.cir-cart-item-ref {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0 0;
    margin-top: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    flex-wrap: wrap;
}

.cir-ref-icon { width: 13px; height: 13px; color: var(--cir-gold); flex-shrink: 0; }
.cir-note-icon { width: 13px; height: 13px; color: #999; flex-shrink: 0; }
.cir-ref-text { color: var(--cir-gold); font-weight: 500; }
.cir-note-text { color: #999; font-style: italic; }
.cir-ref-dot { color: #ccc; }
.cir-ref-edit { color: var(--cir-burgundy); font-weight: 500; text-decoration: underline; font-size: 11px; }
.cir-ref-add { color: var(--cir-burgundy); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 3px; }
.cir-ref-add:hover, .cir-ref-edit:hover { opacity: 0.8; }

.cir-ref-form { display: flex; gap: 8px; align-items: center; padding: 6px 0 0; width: 100%; }
.cir-ref-form input {
    height: 32px; padding: 0 10px; border: 1px solid var(--cir-border);
    border-radius: 3px; font-family: 'Inter', sans-serif; font-size: 12px;
    flex: 1; max-width: 200px; min-width: 0;
}

.cir-mini-cart-item .cir-ref-form {
    flex-wrap: wrap;
    margin-left: -76px; /* align with image start */
    width: calc(100% + 76px);
}
.cir-mini-cart-item .cir-ref-form input { max-width: none; font-size: 11px; height: 28px; }
.cir-ref-form button {
    height: 32px; padding: 0 12px; background: var(--cir-burgundy); color: #fff;
    border: none; border-radius: 3px; font-size: 11px; font-weight: 600; cursor: pointer;
}
.cir-ref-form .cir-ref-cancel {
    background: none; color: #999; padding: 0 6px;
}

.cir-cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--cir-text-muted);
    padding: 4px;
    flex-shrink: 0;
    align-self: flex-start;
    transition: color 0.15s;
}

.cir-cart-item-remove:hover {
    color: var(--cir-burgundy);
}

.cir-cart-item-remove svg {
    width: 18px;
    height: 18px;
}

.cir-cart-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--cir-border);
    border-radius: 3px;
    overflow: hidden;
}

.cir-cart-qty .qty-btn {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--cir-text-body);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cir-cart-qty .qty-btn:hover {
    background: var(--cir-bg-warm);
}

.cir-cart-qty input.qty {
    width: 40px;
    height: 32px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--cir-border);
    border-right: 1px solid var(--cir-border);
    font-family: var(--cir-font-body);
    font-size: 16px;
    -moz-appearance: textfield;
}

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

.cir-cart-item-save {
    font-family: var(--cir-font-ui);
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: var(--cir-burgundy);
    padding: 4px 10px;
    border-radius: 3px;
    white-space: nowrap;
}

.cir-cart-item-price-wrap {
    text-align: right;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.cir-cart-item-rrp {
    font-family: var(--cir-font-ui);
    font-size: 14px;
    color: var(--cir-text-muted);
    text-decoration: line-through;
}

.cir-cart-item-price {
    font-family: var(--cir-font-ui);
    font-size: 20px;
    font-weight: 600;
    color: var(--cir-text-dark);
}

.cir-cart-item-vat {
    font-family: var(--cir-font-body);
    font-size: 12px;
    color: var(--cir-text-muted);
}

.cir-cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--cir-font-body);
    font-size: 12px;
    color: var(--cir-text-muted);
    text-decoration: underline;
    padding: 0;
}

.cir-cart-item-remove:hover {
    color: var(--cir-burgundy);
}

/* -- Order Summary Sidebar -- */
.cir-cart-summary-card {
    background: var(--cir-bg-warm);
    padding: 32px;
    border: 1px solid var(--cir-border);
    position: sticky;
    top: 100px;
}

.cir-cart-summary-card h2 {
    font-family: var(--cir-font-heading);
    font-size: 20px;
    font-weight: 500;
    color: var(--cir-text-dark);
    margin: 0 0 20px;
}

.cir-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    font-family: var(--cir-font-body);
    font-size: 14px;
    color: var(--cir-text-body);
}

.cir-summary-row-value {
    font-weight: 500;
    color: var(--cir-text-dark);
}

.cir-summary-divider {
    height: 1px;
    background: var(--cir-border);
    margin: 12px 0;
}

.cir-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0 20px;
}

.cir-summary-total-label {
    font-family: var(--cir-font-ui);
    font-size: 16px;
    font-weight: 600;
    color: var(--cir-text-dark);
}

.cir-summary-total-value {
    font-family: var(--cir-font-ui);
    font-size: 22px;
    font-weight: 700;
    color: var(--cir-text-dark);
}

.cir-checkout-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--cir-burgundy);
    color: #fff;
    text-align: center;
    font-family: var(--cir-font-ui);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 16px;
}

.cir-checkout-btn:hover {
    background: #6b2528;
    color: #fff;
}

.cir-cart-continue {
    display: block;
    text-align: center;
    font-family: var(--cir-font-body);
    font-size: 14px;
    color: var(--cir-text-body);
    text-decoration: none;
    padding: 12px;
    border: 1px solid var(--cir-border);
    border-radius: 3px;
    margin-bottom: 20px;
    transition: border-color 0.15s;
}

.cir-cart-continue:hover {
    border-color: var(--cir-text-muted);
}

.cir-summary-free {
    color: var(--cir-gold);
    font-weight: 500;
}

.cir-cart-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--cir-border);
    margin-top: 16px;
}

.cir-cart-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.cir-cart-trust-item svg {
    width: 20px;
    height: 20px;
    color: var(--cir-gold);
}

.cir-cart-trust-item span {
    font-family: var(--cir-font-body);
    font-size: 11px;
    color: var(--cir-text-muted);
}

/* -- Empty Cart -- */
.cir-cart-empty {
    text-align: center;
    padding: 80px var(--cir-pad-desktop);
}

.cir-cart-empty h1 {
    font-family: var(--cir-font-heading);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 16px;
}

.cir-cart-empty p {
    font-family: var(--cir-font-body);
    font-size: 15px;
    color: var(--cir-text-muted);
    margin-bottom: 24px;
}

.cir-cart-empty a {
    display: inline-block;
    padding: 12px 32px;
    background: var(--cir-burgundy);
    color: #fff;
    text-decoration: none;
    font-family: var(--cir-font-ui);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 3px;
    transition: background 0.2s;
}

.cir-cart-empty a:hover {
    background: #6b2528;
}

/* ---------- WooCommerce Responsive ---------- */
@media (max-width: 1280px) {
    .product-card .card-image {
        height: auto;
    }
}

/* Below 1630px: thumbs move under main image, padding shrinks instead of content */
@media (max-width: 1630px) {
    .product-main {
        padding-left: clamp(40px, calc((100vw - 1230px) / 2), 200px);
        padding-right: clamp(40px, calc((100vw - 1230px) / 2), 200px);
    }

    .gallery {
        flex-direction: column;
        align-self: flex-start;
    }

    .gallery-main {
        flex: 0 0 auto;
        width: 100%;
    }

    .gallery-thumbs-wrap {
        position: relative;
        width: 100%;
    }

    .gallery-thumbs {
        flex-direction: row;
        width: 100%;
        gap: 8px;
        overflow-x: auto;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .gallery-thumbs::-webkit-scrollbar {
        display: none;
    }

    .gallery-thumb {
        flex: 0 0 80px;
        width: 80px;
        height: 80px;
    }

    .gallery-thumbs-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #FFFFFF;
        border: 1px solid var(--cir-border, #E8E3DC);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--cir-text, #1A1A1A);
        z-index: 2;
        transition: background-color 0.15s, color 0.15s;
        padding: 0;
    }

    .gallery-thumbs-arrow[hidden] {
        display: none;
    }

    .gallery-thumbs-arrow:hover {
        background: var(--cir-burgundy, #7A1F22);
        color: #FFFFFF;
        border-color: var(--cir-burgundy, #7A1F22);
    }

    .gallery-thumbs-arrow--prev {
        left: -8px;
    }

    .gallery-thumbs-arrow--next {
        right: -8px;
    }
}

@media (max-width: 1024px) {
    .product-section {
        padding: 40px 40px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-main {
        padding: 16px var(--cir-pad-tablet) 60px;
        flex-direction: column;
        gap: 40px;
    }

    .gallery {
        width: 100%;
    }

    .gallery-main {
        aspect-ratio: 1;
        align-self: flex-start;
    }

    .specs-section {
        padding: 48px var(--cir-pad-tablet);
    }

    .usp-strip {
        padding: 24px var(--cir-pad-tablet);
        flex-wrap: wrap;
        gap: 24px;
    }

    .usp-item {
        flex: 1 1 40%;
    }

    .desc-section {
        padding: 60px var(--cir-pad-tablet);
        flex-direction: column;
    }

    .desc-right {
        width: 100%;
    }

    .desc-image {
        width: 100%;
        height: 360px;
    }

    .process-section {
        padding: 60px var(--cir-pad-tablet);
        flex-direction: column;
    }

    .process-image {
        width: 100%;
        height: 400px;
    }

    .reviews-section {
        padding: 60px var(--cir-pad-tablet);
    }

    .cir-cart-page {
        grid-template-columns: 1fr;
        padding: 24px var(--cir-pad-tablet) 60px;
    }

    .cir-checkout-summary {
        position: static;
    }

    .cir-cart-summary-card {
        position: static;
    }

    .cir-cart-hero {
        padding: 24px var(--cir-pad-tablet) 0;
    }

    .reviews-section .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cir-delivery {
        padding: 48px var(--cir-pad-tablet);
    }

    .cir-delivery__card {
        flex-direction: column;
    }

    .cir-delivery__card-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--cir-border);
        align-items: center;
        text-align: center;
    }

    .cir-delivery__card-right {
        width: 100%;
    }

    .cir-delivery__pills {
        flex-direction: column;
        gap: 20px;
    }

    .lifestyle-banner {
        padding: 0 var(--cir-pad-tablet);
    }

    .related-section {
        padding: 60px var(--cir-pad-tablet);
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    .woocommerce-cart .woocommerce,
    .woocommerce-checkout .woocommerce {
        padding: 40px var(--cir-pad-tablet) 60px;
    }
}

@media (max-width: 768px) {
    .product-section {
        padding: 0 20px 32px;
    }

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

    .product-main {
        padding: 16px var(--cir-pad-mobile) 16px;
    }

    .gallery-main {
        aspect-ratio: 1;
        align-self: flex-start;
    }

    .gallery {
        flex-direction: column;
    }

    .gallery-thumbs {
        flex-direction: row;
        width: 100%;
        gap: 6px;
        overflow-x: hidden;
    }

    .gallery-thumb {
        flex: 1 1 0;
        min-width: 0;
        max-width: 60px;
        aspect-ratio: 1;
        height: auto;
    }

    .product-name {
        font-size: 26px;
    }

    .cir-configure-dropdowns {
        flex-direction: column;
    }

    .pills-row {
        gap: 6px;
        flex-wrap: wrap;
    }

    .pills-row .pill {
        flex-grow: 1;
        flex-shrink: 1;
        min-width: 0;
        white-space: nowrap;
        justify-content: center;
        text-align: center;
        padding: 4px 6px;
        font-size: 12px;
    }

    /* Delivery pill moves to its own line below the spec pills */
    .pill--delivery {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        flex: none;
    }

    .price-current {
        font-size: 26px;
    }

    .price-row {
        gap: 6px;
    }

    .product-details .quantity {
        height: 44px;
    }

    .product-details .quantity .qty-btn {
        width: 24px;
        font-size: 16px;
    }

    .product-details .quantity input.qty {
        width: 24px;
        font-size: 16px;
    }

    .cir-mini-cart-qty input.qty,
    .cir-cart-qty input.qty {
        font-size: 16px !important;
    }

    .cir-wishlist-btn {
        width: 44px;
        height: 44px;
    }

    #cir-choose-options {
        padding: 14px 0;
        height: 44px;
        box-sizing: border-box;
    }

    .product-details .single_add_to_cart_button {
        height: 44px;
        padding: 0 16px;
    }

    .product-details .cart {
        gap: 6px;
    }

    .product-details .single_add_to_cart_button,
    .btn-cta {
        height: 52px;
        font-size: 11px;
    }

    .count-bar {
        background: #FFFFFF;
        padding: 12px var(--cir-pad-mobile);
        margin: 0 calc(-1 * var(--cir-pad-mobile));
        margin-bottom: 20px;
        border-top: 1px solid #E8E3DC;
        border-bottom: 1px solid #E8E3DC;
    }

    .count-bar .count {
        font-size: 12px;
    }

    .count-bar .sort select {
        border: 1px solid #E8E3DC;
        border-radius: 4px;
        padding: 6px 10px;
        font-size: 12px;
        background: #FDFAF7;
        -webkit-appearance: none;
        appearance: none;
    }

    .product-details .description,
    .product-details .description + .divider {
        display: none;
    }

    .specs-section {
        padding: 40px var(--cir-pad-mobile);
    }

    .specs-table {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 16px;
    }

    .usp-strip {
        display: none;
    }

    .desc-section {
        display: none !important;
    }

    .desc-left .section-title {
        font-size: 24px;
    }

    .check-highlights {
        flex-direction: column;
        gap: 12px;
    }

    .process-section {
        padding: 48px var(--cir-pad-mobile);
        gap: 32px;
    }

    .process-image {
        height: 300px;
    }

    .reviews-section {
        padding: 48px var(--cir-pad-mobile);
    }

    .reviews-section .reviews-grid {
        grid-template-columns: 1fr;
    }

    .cir-delivery {
        padding: 40px var(--cir-pad-mobile);
    }

    .cir-delivery__title {
        font-size: 28px;
    }

    .cir-delivery__card-left,
    .cir-delivery__card-right {
        padding: 24px 20px;
    }

    .cir-delivery__price {
        font-size: 48px;
    }

    .cir-delivery__right-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .lifestyle-banner {
        height: auto;
        padding: 48px var(--cir-pad-mobile);
    }

    .lifestyle-quote {
        font-size: 18px;
    }

    .related-section {
        padding: 48px var(--cir-pad-mobile);
    }

    .related-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .mobile-accordion-header,
    .mobile-accordion-divider {
        display: none;
    }

    .mobile-product-accordions .usp-strip {
        display: none;
    }

    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .cir-cart-drawer {
        width: 100vw;
    }

    .cir-cart-page {
        grid-template-columns: 1fr;
        padding: 16px var(--cir-pad-mobile) 48px;
    }

    .cir-checkout__columns {
        grid-template-columns: 1fr;
        padding: 0 16px;
        gap: 32px;
    }

    .cir-checkout__left,
    .cir-checkout__right {
        padding: 0;
    }

    .woocommerce-checkout .form-row input,
    .woocommerce-checkout .form-row select,
    .woocommerce-checkout .form-row textarea,
    .cir-checkout__input,
    .cir-checkout__postcode-input,
    .cir-checkout-coupon input {
        font-size: 16px !important;
    }

    .cir-checkout__postcode-input {
        padding: 12px 16px !important;
        border: 1px solid var(--cir-border) !important;
        border-radius: 3px !important;
        box-sizing: border-box;
    }

    .woocommerce-checkout,
    body.woocommerce-checkout {
        background: #FAF7F2 !important;
    }

    .cir-checkout__title {
        padding: 0 16px;
    }

    .cir-checkout-progress {
        padding: 16px var(--cir-pad-mobile);
    }

    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
    }

    .woocommerce-billing-fields__field-wrapper .form-row-first,
    .woocommerce-billing-fields__field-wrapper .form-row-last,
    .woocommerce-shipping-fields__field-wrapper .form-row-first,
    .woocommerce-shipping-fields__field-wrapper .form-row-last {
        grid-column: 1;
    }

    .cir-cart-hero {
        padding: 16px var(--cir-pad-mobile) 0;
    }

    .cir-cart-item {
        flex-wrap: wrap;
        gap: 12px;
    }

    .cir-cart-item-image {
        width: 80px;
    }

    .cir-cart-item-details {
        min-width: 0;
        overflow: hidden;
    }

    .cir-cart-item-options {
        grid-template-columns: 1fr 1fr;
        gap: 4px 10px;
    }

    .cir-cart-item-option {
        min-width: 0;
    }

    .cir-cart-item-option-label {
        font-size: 9px;
        letter-spacing: 0.8px;
    }

    .cir-cart-item-option-value {
        font-size: 11px;
    }

    .cir-cart-item-bottom {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .cir-cart-item-bottom-left {
        width: 100%;
        flex-wrap: wrap;
        gap: 8px;
    }

    .cir-cart-item-save {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }

    .cir-cart-item-price-wrap {
        width: 100%;
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .cir-cart-item-price-wrap .cir-cart-item-price {
        font-size: 20px;
    }

    .cir-cart-item-actions {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* Cart page: full-width cream background */
    body.woocommerce-cart {
        background: #FAF7F2 !important;
    }

    body.woocommerce-cart .site-content,
    body.woocommerce-cart .entry-content,
    body.woocommerce-cart .woocommerce,
    body.woocommerce-cart main {
        background: #FAF7F2 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }

    .woocommerce-cart .woocommerce {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .cir-cart-page {
        padding: 16px 16px 48px !important;
    }

    .cir-summary-card {
        max-width: 100%;
        overflow: hidden;
    }

    .cir-summary-total-value {
        font-size: 22px;
    }
}


/* ==========================================================================
   My Account Page — The Cast Iron Radiator Company
   ========================================================================== */

/* ---------- Hero / Header ---------- */
.cir-myaccount-hero {
    background: var(--cir-bg-cream);
    padding: 40px var(--cir-pad-desktop) 48px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cir-myaccount-label {
    font-family: var(--cir-font-ui);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cir-gold);
}

.cir-myaccount-hero h1 {
    font-family: var(--cir-font-display);
    font-size: 40px;
    font-weight: 400;
    color: var(--cir-text-dark);
    line-height: 1.1;
    margin: 0;
}

.cir-myaccount-gold-line {
    width: 60px;
    height: 3px;
    background: var(--cir-gold);
    border-radius: 2px;
    margin-top: 4px;
}

/* ---------- Layout Wrapper ---------- */
.cir-myaccount-wrapper {
    padding: 40px var(--cir-pad-desktop) 80px;
}

.cir-myaccount-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* ---------- Sidebar Navigation ---------- */
.cir-myaccount-nav {
    width: 280px;
    flex-shrink: 0;
}

.cir-myaccount-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cir-myaccount-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--cir-font-ui);
    font-size: 14px;
    font-weight: 500;
    color: var(--cir-text-body);
    transition: background 0.2s, color 0.2s;
}

.cir-myaccount-nav li a i,
.cir-myaccount-nav li a svg {
    width: 18px;
    height: 18px;
    color: var(--cir-text-muted);
    flex-shrink: 0;
    transition: color 0.2s;
}

.cir-myaccount-nav li a:hover {
    background: var(--cir-bg-warm);
    color: var(--cir-text-dark);
}

.cir-myaccount-nav li a:hover i,
.cir-myaccount-nav li a:hover svg {
    color: var(--cir-text-body);
}

/* Active nav item */
.cir-myaccount-nav li.is-active a,
.cir-myaccount-nav li.woocommerce-MyAccount-navigation-link--dashboard.is-active a {
    background: var(--cir-burgundy);
    color: #FFFFFF;
}

.cir-myaccount-nav li.is-active a i,
.cir-myaccount-nav li.is-active a svg {
    color: #FFFFFF;
}

/* ---------- Content Area ---------- */
.cir-myaccount-content {
    flex: 1;
    min-width: 0;
}

/* Dashboard greeting */
.cir-myaccount-content p:first-child {
    font-family: var(--cir-font-body);
    font-size: 15px;
    color: var(--cir-text-body);
    line-height: 1.7;
    margin-bottom: 24px;
}

.cir-myaccount-content p a {
    color: var(--cir-burgundy);
    text-decoration: none;
    font-weight: 500;
}

.cir-myaccount-content p a:hover {
    text-decoration: underline;
}

/* ---------- Login Form (logged out) ---------- */
.cir-myaccount-login {
    max-width: 480px;
}

.cir-myaccount-login .woocommerce h2 {
    font-family: var(--cir-font-heading);
    font-size: 26px;
    font-weight: 600;
    color: var(--cir-text-dark);
    margin: 0 0 24px;
}

.cir-myaccount-login .woocommerce-form-login {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cir-myaccount-login .form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cir-myaccount-login .form-row label {
    font-family: var(--cir-font-ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--cir-text-dark);
    letter-spacing: 0.3px;
}

.cir-myaccount-login .form-row label .required {
    color: var(--cir-burgundy);
}

.cir-myaccount-login .form-row .input-text {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--cir-font-body);
    font-size: 15px;
    color: var(--cir-text-dark);
    background: #FFFFFF;
    border: 1px solid var(--cir-border);
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cir-myaccount-login .form-row .input-text:focus {
    border-color: var(--cir-gold);
    box-shadow: 0 0 0 3px rgba(197, 164, 103, 0.15);
}

.cir-myaccount-login .form-row .input-text::placeholder {
    color: var(--cir-text-muted);
}

.cir-myaccount-login .woocommerce-form-login__rememberme {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--cir-font-body);
    font-size: 14px;
    color: var(--cir-text-body);
    cursor: pointer;
}

.cir-myaccount-login .woocommerce-form__input-checkbox {
    accent-color: var(--cir-burgundy);
    width: 16px;
    height: 16px;
}

.cir-myaccount-login .woocommerce-form-login__submit,
.cir-myaccount-login .woocommerce-Button {
    display: block;
    width: 100%;
    padding: 16px 32px;
    font-family: var(--cir-font-ui);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #FFFFFF;
    background: var(--cir-burgundy);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 4px;
}

.cir-myaccount-login .woocommerce-form-login__submit:hover,
.cir-myaccount-login .woocommerce-Button:hover {
    background: var(--cir-burgundy-hover);
}

.cir-myaccount-login .lost_password {
    margin-top: 4px;
}

.cir-myaccount-login .lost_password a {
    font-family: var(--cir-font-body);
    font-size: 14px;
    color: var(--cir-text-body);
    text-decoration: none;
    transition: color 0.2s;
}

.cir-myaccount-login .lost_password a:hover {
    color: var(--cir-burgundy);
}

.cir-myaccount-login .woocommerce-notices-wrapper {
    display: none;
}

/* ---------- Orders Table ---------- */
.woocommerce-MyAccount-content .woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-family: var(--cir-font-body);
    font-size: 14px;
}

.woocommerce-orders-table thead th {
    background: var(--cir-bg-dark);
    color: var(--cir-gold);
    font-family: var(--cir-font-ui);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 14px 16px;
    text-align: left;
    border: none;
}

.woocommerce-orders-table thead th:first-child {
    border-radius: 6px 0 0 0;
}

.woocommerce-orders-table thead th:last-child {
    border-radius: 0 6px 0 0;
}

.woocommerce-orders-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--cir-border);
    color: var(--cir-text-body);
    vertical-align: middle;
}

.woocommerce-orders-table tbody tr:nth-child(even) td {
    background: var(--cir-bg-cream);
}

.woocommerce-orders-table tbody tr:nth-child(odd) td {
    background: #FFFFFF;
}

/* Order number link */
.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number a {
    color: var(--cir-burgundy);
    font-weight: 600;
    text-decoration: none;
}

.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number a:hover {
    text-decoration: underline;
}

/* Order status badges */
.woocommerce-orders-table td.woocommerce-orders-table__cell-order-status {
    font-weight: 500;
}

/* View order button */
.woocommerce-orders-table .woocommerce-button.button.view {
    font-family: var(--cir-font-ui);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: var(--cir-burgundy);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-block;
}

.woocommerce-orders-table .woocommerce-button.button.view:hover {
    background: var(--cir-burgundy-hover);
}

/* ---------- Address Cards ---------- */
.woocommerce-MyAccount-content .woocommerce-Addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.woocommerce-MyAccount-content .woocommerce-Address {
    background: var(--cir-bg-cream);
    border: 1px solid var(--cir-border);
    border-radius: 8px;
    padding: 24px;
}

.woocommerce-MyAccount-content .woocommerce-Address header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--cir-border);
}

.woocommerce-MyAccount-content .woocommerce-Address header h3,
.woocommerce-MyAccount-content .woocommerce-Address header h2 {
    font-family: var(--cir-font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--cir-text-dark);
    margin: 0;
}

.woocommerce-MyAccount-content .woocommerce-Address header a {
    font-family: var(--cir-font-ui);
    font-size: 12px;
    font-weight: 600;
    color: var(--cir-gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-MyAccount-content .woocommerce-Address header a:hover {
    text-decoration: underline;
}

.woocommerce-MyAccount-content .woocommerce-Address address {
    font-family: var(--cir-font-body);
    font-size: 14px;
    color: var(--cir-text-body);
    line-height: 1.7;
    font-style: normal;
}

/* ---------- Account Details Form ---------- */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm {
    background: var(--cir-bg-cream);
    border: 1px solid var(--cir-border);
    border-radius: 8px;
    padding: 24px;
}

.woocommerce-EditAccountForm fieldset {
    border: 1px solid var(--cir-border);
    border-radius: 6px;
    padding: 20px;
    margin: 24px 0 0;
}

.woocommerce-EditAccountForm fieldset legend {
    font-family: var(--cir-font-heading);
    font-size: 16px;
    font-weight: 500;
    color: var(--cir-text-dark);
    padding: 0 8px;
}

.woocommerce-EditAccountForm .woocommerce-form-row {
    margin-bottom: 16px;
}

.woocommerce-EditAccountForm label {
    font-family: var(--cir-font-ui);
    font-size: 13px;
    font-weight: 500;
    color: var(--cir-text-dark);
    margin-bottom: 6px;
    display: block;
}

.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--cir-font-body);
    font-size: 14px;
    color: var(--cir-text-dark);
    background: #FFFFFF;
    border: 1px solid var(--cir-border);
    border-radius: 4px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.woocommerce-EditAccountForm input[type="text"]:focus,
.woocommerce-EditAccountForm input[type="email"]:focus,
.woocommerce-EditAccountForm input[type="password"]:focus {
    border-color: var(--cir-gold);
    outline: none;
}

.woocommerce-EditAccountForm .woocommerce-Button {
    font-family: var(--cir-font-ui);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--cir-burgundy);
    color: #FFFFFF;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.woocommerce-EditAccountForm .woocommerce-Button:hover {
    background: var(--cir-burgundy-hover);
}

/* ---------- General WooCommerce Account Overrides ---------- */

/* Hide the default WooCommerce My Account wrapper nav */
.woocommerce-account .woocommerce-MyAccount-navigation:not(.cir-myaccount-nav) {
    display: none;
}

/* WooCommerce notices inside account */
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-error {
    font-family: var(--cir-font-body);
    font-size: 14px;
    border-radius: 6px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content .woocommerce-message {
    background: #f0f9f0;
    border-left: 4px solid #4A8C5C;
    color: #2d5a35;
}

.woocommerce-MyAccount-content .woocommerce-info {
    background: #fdf8ef;
    border-left: 4px solid var(--cir-gold);
    color: var(--cir-text-body);
}

.woocommerce-MyAccount-content .woocommerce-error {
    background: #fdf0f0;
    border-left: 4px solid var(--cir-burgundy);
    color: #6B2225;
}

/* No orders message */
.woocommerce-MyAccount-content .woocommerce-info.woocommerce-message--info {
    text-align: center;
    padding: 32px 24px;
}

/* Buttons inside account content */
.woocommerce-MyAccount-content .woocommerce-Button,
.woocommerce-MyAccount-content .button {
    font-family: var(--cir-font-ui);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: var(--cir-burgundy);
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-block;
}

.woocommerce-MyAccount-content .woocommerce-Button:hover,
.woocommerce-MyAccount-content .button:hover {
    background: var(--cir-burgundy-hover);
    color: #FFFFFF;
}

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 900px) {
    .cir-myaccount-hero {
        padding: 32px var(--cir-pad-tablet) 40px;
    }

    .cir-myaccount-wrapper {
        padding: 32px var(--cir-pad-tablet) 60px;
    }

    .cir-myaccount-layout {
        flex-direction: column;
        gap: 24px;
    }

    .cir-myaccount-nav {
        width: 100%;
    }

    .cir-myaccount-nav ul {
        flex-direction: row;
        overflow-x: auto;
        gap: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .cir-myaccount-nav ul::-webkit-scrollbar {
        display: none;
    }

    .cir-myaccount-nav li a {
        white-space: nowrap;
        padding: 10px 14px;
        border-radius: 4px;
        font-size: 13px;
    }

    .woocommerce-MyAccount-content .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }
}

/* ---------- Responsive: Mobile ---------- */
@media (max-width: 600px) {
    .cir-myaccount-hero {
        padding: 24px var(--cir-pad-mobile) 32px;
    }

    .cir-myaccount-hero h1 {
        font-size: 28px;
    }

    .cir-myaccount-wrapper {
        padding: 24px var(--cir-pad-mobile) 48px;
    }

    .cir-myaccount-nav li a {
        padding: 8px 12px;
        font-size: 12px;
        gap: 6px;
    }

    .cir-myaccount-nav li a i,
    .cir-myaccount-nav li a svg {
        width: 16px;
        height: 16px;
    }

    .woocommerce-orders-table {
        font-size: 12px;
    }

    .woocommerce-orders-table thead th,
    .woocommerce-orders-table tbody td {
        padding: 10px 8px;
    }

    .woocommerce-MyAccount-content .woocommerce-Address {
        padding: 16px;
    }

    .woocommerce-EditAccountForm {
        padding: 16px;
    }
}

/* ═══════════════ Reviews Drawer (Slide-Out) ═══════════════ */

.cir-reviews-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cir-reviews-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cir-reviews-drawer {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 520px;
    max-width: 100vw;
    z-index: 9999;
    background: #FAF7F2;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

.cir-reviews-drawer.active {
    transform: translateX(0);
}

/* -- Drawer Header -- */
.cir-reviews-drawer__header {
    background: linear-gradient(180deg, #1A1A1A, #222222);
    padding: 20px 32px 18px 32px;
    flex-shrink: 0;
}

.cir-reviews-drawer__header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cir-reviews-drawer__eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #C5A467;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.cir-reviews-drawer__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    line-height: 0;
}

.cir-reviews-drawer__gold-line {
    width: 40px;
    height: 2px;
    background: #C5A467;
    border-radius: 1px;
    margin-bottom: 8px;
}

.cir-reviews-drawer__title {
    font-family: 'Lora', serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.cir-reviews-drawer__stars-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.cir-reviews-drawer__stars-left {
    display: flex;
    align-items: center;
    gap: 3px;
}

.cir-reviews-drawer__stars-left svg {
    flex-shrink: 0;
}

.cir-reviews-drawer__rating-text {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(197, 164, 103, 0.6);
    margin-left: 6px;
}

.cir-reviews-drawer__count-text {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(197, 164, 103, 0.6);
}

/* -- Filter Pills -- */
.cir-reviews-drawer__filters {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 32px;
    border-bottom: 1px solid #E8E3DC;
    flex-shrink: 0;
    overflow: hidden;
}

.cir-reviews-drawer__pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #E8E3DC;
    border-radius: 20px;
    padding: 5px 10px;
    background: transparent;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #5A5549;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    line-height: 1;
}

.cir-reviews-drawer__pill svg {
    flex-shrink: 0;
    vertical-align: middle;
    margin-top: -1px;
}

.cir-reviews-drawer__pill-star {
    font-weight: 600;
    line-height: 1;
}

.cir-reviews-drawer__pill-count {
    color: #B0A89E;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 1;
    position: relative;
    top: -1px;
}

.cir-reviews-drawer__pill-count-num {
    position: relative;
    top: 1px;
    font-family: 'Inter', sans-serif;
}

.cir-reviews-drawer__pill--active {
    background: #2C2824;
    color: #fff;
    border-color: #2C2824;
}

.cir-reviews-drawer__pill--active .cir-reviews-drawer__pill-count {
    color: rgba(255, 255, 255, 0.6);
}

/* -- Sort Bar -- */
.cir-reviews-drawer__sort {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 32px;
    border-bottom: 1px solid #E8E3DC;
    flex-shrink: 0;
}

.cir-reviews-drawer__sort-count {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #8A8278;
}

.cir-reviews-drawer__sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #2C2824;
}

/* -- Scroll Area -- */
.cir-reviews-drawer__scroll {
    flex: 1;
    overflow-y: auto;
    position: relative;
}

.cir-reviews-drawer__cards {
    padding: 0 32px;
}

.cir-reviews-drawer__fade {
    display: none;
}

/* -- Review Card -- */
.cir-reviews-drawer__card {
    padding: 24px 0;
    border-bottom: 1px solid rgba(232, 227, 220, 0.25);
}

.cir-reviews-drawer__card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cir-reviews-drawer__card-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.cir-reviews-drawer__card-product {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #C5A467;
    text-decoration: none;
    white-space: nowrap;
}

.cir-reviews-drawer__card-product:hover {
    text-decoration: underline;
}

.cir-reviews-drawer__card-quote {
    margin-bottom: 8px;
    line-height: 0;
}

.cir-reviews-drawer__card-text {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: #5A5549;
    line-height: 1.75;
    margin: 0 0 12px 0;
}

.cir-reviews-drawer__card-author {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.cir-reviews-drawer__card-name {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #2C2824;
    letter-spacing: 0.3px;
}

.cir-reviews-drawer__card-verified {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #C5A467;
}

.cir-reviews-drawer__card-date {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #B0A89E;
}

/* -- Load More -- */
.cir-reviews-drawer__loadmore {
    padding: 20px 0 0 0;
}

.cir-reviews-drawer__loadmore-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    background: #1A1A1A;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #C5A467;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: background 0.2s;
}

.cir-reviews-drawer__loadmore-btn:hover {
    background: #2C2824;
}

.cir-reviews-drawer__loadmore--hidden {
    display: none;
}

/* -- Reviews Drawer Mobile -- */
@media (max-width: 768px) {
    .cir-reviews-drawer {
        width: 100vw;
    }

    .cir-reviews-drawer__header {
        padding: 16px 20px 14px 20px;
    }

    .cir-reviews-drawer__filters {
        padding: 10px 20px;
    }

    .cir-reviews-drawer__sort {
        padding: 12px 20px;
    }

    .cir-reviews-drawer__cards {
        padding: 0 20px;
    }

    .cir-reviews-drawer__loadmore {
        padding: 16px 20px;
    }
}

/* Pay Later messaging on product page */
.cir-pay-later-msg {
  margin: -16px 0 -24px;
  line-height: 1;
}

.cir-pay-later-msg * {
  margin: 0 !important;
  padding: 0 !important;
}

.cir-pay-later-msg div,
.cir-pay-later-msg p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

@media (max-width: 768px) {
  .cir-pay-later-msg {
    text-align: center;
  }
  .cir-pay-later-msg * {
    text-align: center !important;
  }
}

/* Hide PayPal / Apple Pay / Google Pay buttons on product pages
   (SDK still loads for Pay Later messaging) */
.single-product .product-details .angelleye_ppcp-button-container,
.single-product .product-details #angelleye_ppcp_product,
.single-product .product-details .ppcp-button-container,
.single-product .product-details div[id*="zoid-paypal-button"],
.single-product .product-details .apple-pay-button,
.single-product .product-details .gpay-button {
  display: none !important;
}
