/**
 * Wallcoustic Configurator Styles
 *
 * Compatible with Kadence theme + Elementor Pro.
 * Inherits site typography, isolated from Elementor containers.
 */

/* === Google Font === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* === Variables (matched to Kadence theme palette) === */
:root {
    --wc-primary: #222222;
    --wc-primary-hover: #f15d50;
    --wc-accent: #c8a078;
    --wc-accent-light: #e8d5c0;
    --wc-text: #27241d;
    --wc-text-light: #625d52;
    --wc-text-muted: #a09a91;
    --wc-bg: #ffffff;
    --wc-bg-light: #faf9f7;
    --wc-bg-dark: #f0ece6;
    --wc-border: #e8e6e1;
    --wc-success: #2e7d32;
    --wc-error: #d32f2f;
    --wc-radius: 14px;
    --wc-radius-sm: 10px;
    --wc-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
    --wc-shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.08);
    --wc-transition: 0.2s ease;
}

/* === Elementor / Kadence isolation === */
.wc-configurator,
.wc-page {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--wc-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.wc-configurator *,
.wc-page * {
    box-sizing: border-box;
}

.wc-configurator img {
    max-width: 100%;
    height: auto;
}

/* === Configurator Base === */
.wc-configurator {
    max-width: 960px;
    margin: 0 auto;
    padding: 0;
}

.wc-configurator h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--wc-text);
    letter-spacing: -0.02em;
}

.wc-step-subtitle {
    color: var(--wc-text-muted);
    font-size: 14px;
    margin: 0 0 24px;
}

/* === Progress Bar === */
.wc-progress {
    margin-bottom: 44px;
}

.wc-progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.wc-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    min-width: 80px;
}

.wc-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--wc-bg);
    border: 1.5px solid var(--wc-border);
    color: var(--wc-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    transition: var(--wc-transition);
    line-height: 1;
}

.wc-step-label {
    font-size: 11px;
    color: var(--wc-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: var(--wc-transition);
}

.wc-progress-step.active .wc-step-number {
    background: var(--wc-primary);
    border-color: var(--wc-primary);
    color: #fff;
}

.wc-progress-step.active .wc-step-label {
    color: var(--wc-text);
    font-weight: 600;
}

.wc-progress-step.completed .wc-step-number {
    background: var(--wc-primary);
    border-color: var(--wc-primary);
    color: #fff;
}

.wc-progress-step.completed .wc-step-number::after {
    content: '\2713';
}

.wc-progress-line {
    flex: 1;
    height: 1.5px;
    background: var(--wc-border);
    min-width: 32px;
    margin: 0 6px;
    margin-bottom: 24px;
    transition: background var(--wc-transition);
}

.wc-progress-step.completed + .wc-progress-line {
    background: var(--wc-primary);
}

/* === Steps === */
.wc-step {
    display: none;
    animation: wcFadeIn 0.35s ease;
}

.wc-step.active {
    display: block;
}

@keyframes wcFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Collection Tabs === */
.wc-collection-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.wc-tab {
    padding: 7px 18px;
    border: 1px solid var(--wc-border);
    border-radius: 100px;
    background: var(--wc-bg);
    color: var(--wc-text-light);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--wc-transition);
    line-height: 1.4;
}

.wc-tab:hover {
    border-color: var(--wc-text-muted);
    color: var(--wc-text);
}

.wc-tab:focus-visible {
    outline: 2px solid var(--wc-primary);
    outline-offset: 2px;
}

.wc-tab.active {
    background: var(--wc-primary);
    color: #fff;
    border-color: var(--wc-primary);
}

/* === Search === */
.wc-search {
    margin-bottom: 24px;
}

.wc-search-input {
    width: 100%;
    max-width: 400px;
    padding: 10px 16px;
    border: 1px solid var(--wc-border);
    border-radius: var(--wc-radius-sm);
    font-size: 15px;
    background: var(--wc-bg);
    transition: var(--wc-transition);
    color: var(--wc-text);
    font-family: inherit;
}

.wc-search-input:focus {
    outline: none;
    border-color: var(--wc-primary);
    box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.08);
}

/* === Design Grid === */
.wc-design-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.wc-design-card {
    border: 1px solid var(--wc-border);
    border-radius: var(--wc-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--wc-transition);
    background: var(--wc-bg);
}

.wc-design-card:hover {
    border-color: transparent;
    box-shadow: var(--wc-shadow), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.wc-design-card:active {
    transform: translateY(0);
}

.wc-design-card.selected {
    border-color: var(--wc-primary);
    box-shadow: 0 0 0 1.5px var(--wc-primary);
}

.wc-design-card:focus-visible {
    outline: 2px solid var(--wc-primary);
    outline-offset: 2px;
}

.wc-design-card.wc-featured {
    border-color: var(--wc-accent-light);
}

.wc-design-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--wc-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.wc-design-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.wc-design-card:hover .wc-design-thumb img {
    transform: scale(1.05);
}

.wc-design-thumb svg {
    color: var(--wc-text-muted);
}

.wc-design-thumb span {
    font-size: 13px;
    color: var(--wc-text-light);
    font-weight: 500;
}

.wc-design-info {
    padding: 10px 14px;
}

.wc-design-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--wc-text);
}

/* Upload card */
.wc-upload-card {
    border-style: dashed;
    border-color: var(--wc-accent-light);
}

.wc-upload-card:hover {
    border-color: var(--wc-accent);
    background: var(--wc-bg-light);
}

/* === Product Type Grid === */
.wc-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.wc-product-card {
    border: 1px solid var(--wc-border);
    border-radius: var(--wc-radius);
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--wc-transition);
    background: var(--wc-bg);
}

.wc-product-card:hover {
    border-color: transparent;
    box-shadow: var(--wc-shadow), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.wc-product-card:active {
    transform: translateY(0);
}

.wc-product-card:focus-visible {
    outline: 2px solid var(--wc-primary);
    outline-offset: 2px;
}

.wc-product-card.selected {
    border-color: var(--wc-primary);
    background: var(--wc-bg-light);
    box-shadow: 0 0 0 1.5px var(--wc-primary);
}

.wc-product-icon {
    margin-bottom: 14px;
    color: var(--wc-accent);
}

.wc-product-card h3 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 600;
    color: var(--wc-text);
}

.wc-product-desc {
    color: var(--wc-text-light);
    font-size: 13px;
    margin: 0 0 14px;
    line-height: 1.5;
}

.wc-product-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--wc-text-muted);
}

/* === Format Grid === */
.wc-format-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wc-format-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--wc-border);
    border-radius: 100px;
    padding: 10px 20px;
    cursor: pointer;
    transition: var(--wc-transition);
    background: var(--wc-bg);
    white-space: nowrap;
}

.wc-format-card:hover {
    border-color: var(--wc-text-light);
    background: var(--wc-bg-light);
}

.wc-format-card:active {
    transform: scale(0.97);
}

.wc-format-card:focus-visible {
    outline: 2px solid var(--wc-primary);
    outline-offset: 2px;
}

.wc-format-card.selected {
    border-color: var(--wc-primary);
    background: var(--wc-primary);
    color: #fff;
}

.wc-format-card.selected .wc-format-label {
    color: #fff;
}

.wc-format-card.selected .wc-format-shape {
    color: rgba(255, 255, 255, 0.7);
}

.wc-format-shape {
    color: var(--wc-accent);
    display: flex;
    align-items: center;
    line-height: 0;
}

.wc-format-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--wc-text);
    transition: color var(--wc-transition);
}

/* === Behang Dimensions === */
.wc-behang-dimensions {
    max-width: 480px;
    margin: 0 auto;
}

.wc-dimension-inputs {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    justify-content: center;
    margin-bottom: 20px;
}

.wc-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--wc-text-light);
    margin-bottom: 6px;
}

.wc-input-group input {
    width: 120px;
    padding: 10px 14px;
    border: 1px solid var(--wc-border);
    border-radius: var(--wc-radius-sm);
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    color: var(--wc-text);
    font-family: inherit;
}

.wc-input-group input:focus {
    outline: none;
    border-color: var(--wc-primary);
    box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.08);
}

.wc-dimension-x {
    font-size: 22px;
    color: var(--wc-text-muted);
    padding-bottom: 8px;
}

.wc-behang-calc {
    text-align: center;
    padding: 20px;
    background: var(--wc-bg-light);
    border-radius: var(--wc-radius);
}

.wc-behang-m2 {
    display: block;
    font-size: 14px;
    color: var(--wc-text-light);
    margin-bottom: 6px;
}

.wc-behang-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--wc-text);
}

/* === Summary === */
.wc-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
    align-items: start;
}

.wc-summary-preview {
    display: flex;
    justify-content: center;
}

.wc-summary-image {
    max-width: 300px;
    max-height: 300px;
    object-fit: cover;
    box-shadow: var(--wc-shadow-lg);
    transition: border-radius var(--wc-transition);
}

.wc-summary-details {
    padding: 16px 0;
}

.wc-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--wc-border);
}

.wc-summary-label {
    color: var(--wc-text-light);
    font-size: 15px;
}

.wc-summary-value {
    font-weight: 600;
    font-size: 15px;
    color: var(--wc-text);
}

.wc-summary-total {
    border-bottom: none;
    padding-top: 16px;
}

.wc-summary-price {
    font-size: 22px;
    color: var(--wc-text);
}

.wc-summary-btw {
    color: var(--wc-text-muted);
    font-size: 13px;
    margin-top: 4px;
}

.wc-summary-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* === Buttons === */
.wc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--wc-transition);
    text-decoration: none;
    font-family: inherit;
    line-height: 1.4;
}

.wc-btn-primary {
    background: var(--wc-primary);
    color: #fff;
}

.wc-btn-primary:hover {
    background: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wc-btn-primary.wc-btn-success {
    background: var(--wc-success);
    animation: wcPulse 0.4s ease;
}

@keyframes wcPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.wc-btn-secondary {
    background: var(--wc-bg);
    color: var(--wc-text);
    border: 1px solid var(--wc-border);
}

.wc-btn-secondary:hover {
    background: var(--wc-bg-light);
    border-color: var(--wc-text-muted);
}

.wc-btn-back {
    background: transparent;
    color: var(--wc-text-light);
    padding: 12px 16px;
}

.wc-btn-back:hover {
    color: var(--wc-text);
}

.wc-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

/* === Navigation === */
.wc-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 36px;
    padding-top: 0;
}

/* === Toast Notifications === */
.wc-toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--wc-radius-sm);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    animation: wcSlideDown 0.3s ease;
    background: var(--wc-bg-light);
    border: 1px solid var(--wc-border);
    color: var(--wc-text);
}

.wc-toast-success {
    background: #f0faf0;
    border-color: #c8e6c9;
    color: #2e7d32;
}

.wc-toast-error {
    background: #fef2f2;
    border-color: #ffcdd2;
    color: #c62828;
}

.wc-toast-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    padding: 0 2px;
    line-height: 1;
    transition: opacity 0.2s;
}

.wc-toast-close:hover {
    opacity: 1;
}

.wc-toast-out {
    animation: wcSlideUp 0.3s ease forwards;
}

@keyframes wcSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes wcSlideUp {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-8px); }
}

/* === Empty State === */
.wc-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 48px 24px;
    color: var(--wc-text-muted);
    text-align: center;
}

.wc-empty-state svg {
    opacity: 0.5;
}

.wc-empty-state p {
    margin: 0;
    font-size: 15px;
}

/* === Thumbnail Placeholder === */
.wc-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--wc-bg-dark);
    color: var(--wc-text-muted);
}

/* === Loading === */
.wc-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    color: var(--wc-text-muted);
}

.wc-spinner {
    width: 22px;
    height: 22px;
    border: 2px solid var(--wc-border);
    border-top-color: var(--wc-primary);
    border-radius: 50%;
    animation: wcSpin 0.7s linear infinite;
}

@keyframes wcSpin {
    to { transform: rotate(360deg); }
}

/* === Editor Modal === */
.wc-editor-modal,
.wc-upload-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: wcModalFadeIn 0.25s ease;
}

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

.wc-editor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.wc-editor-container,
.wc-upload-container {
    position: relative;
    background: var(--wc-bg);
    border-radius: 16px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--wc-shadow-lg);
    display: flex;
    flex-direction: column;
    animation: wcModalSlideUp 0.3s ease;
}

@keyframes wcModalSlideUp {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.wc-editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--wc-border);
}

.wc-editor-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
}

.wc-editor-dimensions {
    font-size: 14px;
    color: var(--wc-text-light);
}

.wc-editor-close,
.wc-upload-close {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--wc-bg-light);
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wc-text-light);
    transition: var(--wc-transition);
    line-height: 1;
}

.wc-editor-close:hover,
.wc-upload-close:hover {
    background: var(--wc-bg-dark);
    color: var(--wc-text);
}

.wc-editor-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--wc-bg-light);
    overflow: auto;
}

.wc-editor-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-top: 1px solid var(--wc-border);
    background: var(--wc-bg);
}

.wc-editor-zoom {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wc-editor-zoom input[type="range"] {
    width: 140px;
    accent-color: var(--wc-primary);
}

.wc-zoom-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--wc-text-light);
    min-width: 36px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.wc-zoom-out,
.wc-zoom-in {
    width: 30px;
    height: 30px;
    border: 1px solid var(--wc-border);
    border-radius: 50%;
    background: var(--wc-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wc-text-light);
    transition: var(--wc-transition);
}

.wc-zoom-out:hover,
.wc-zoom-in:hover {
    border-color: var(--wc-primary);
    color: var(--wc-primary);
}

.wc-editor-actions {
    display: flex;
    gap: 8px;
}

.wc-editor-reset,
.wc-editor-flip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--wc-border);
    border-radius: var(--wc-radius-sm);
    background: var(--wc-bg);
    font-size: 13px;
    cursor: pointer;
    color: var(--wc-text-light);
    transition: var(--wc-transition);
    font-family: inherit;
}

.wc-editor-reset:hover,
.wc-editor-flip:hover {
    border-color: var(--wc-primary);
    color: var(--wc-primary);
}

.wc-editor-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid var(--wc-border);
}

/* === Upload Modal === */
.wc-upload-body {
    padding: 32px;
}

.wc-upload-zone {
    border: 2px dashed var(--wc-border);
    border-radius: var(--wc-radius);
    padding: 48px 32px;
    text-align: center;
    cursor: pointer;
    transition: var(--wc-transition);
    background: var(--wc-bg-light);
}

.wc-upload-zone:hover,
.wc-upload-zone.wc-dragover {
    border-color: var(--wc-accent);
    background: rgba(200, 160, 120, 0.04);
}

.wc-upload-zone svg {
    color: var(--wc-accent);
    margin-bottom: 12px;
}

.wc-upload-zone p {
    font-size: 15px;
    color: var(--wc-text);
    margin: 0 0 8px;
}

.wc-upload-zone span {
    font-size: 13px;
    color: var(--wc-text-muted);
}

.wc-upload-hint {
    font-size: 12px !important;
    color: var(--wc-text-muted) !important;
    margin-top: 16px !important;
}

.wc-upload-progress {
    text-align: center;
    padding: 32px;
}

.wc-progress-bar {
    width: 100%;
    height: 4px;
    background: var(--wc-bg-dark);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 12px;
}

.wc-progress-fill {
    height: 100%;
    background: var(--wc-primary);
    border-radius: 2px;
    transition: width 0.3s;
}

.wc-upload-status {
    font-size: 14px;
    color: var(--wc-text-light);
}

.wc-upload-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.wc-upload-preview-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: var(--wc-radius);
    object-fit: cover;
}

/* === SEO Pages === */
.wc-page {
    padding: 0;
}

.wc-page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.wc-breadcrumbs {
    font-size: 13px;
    color: var(--wc-text-muted);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.wc-breadcrumbs a {
    color: var(--wc-text-light);
    text-decoration: none;
    transition: var(--wc-transition);
}

.wc-breadcrumbs a:hover {
    color: var(--wc-text);
}

.wc-breadcrumbs span {
    color: var(--wc-text-muted);
}

.wc-page-header {
    margin-bottom: 36px;
}

.wc-page-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--wc-text);
}

.wc-page-header p {
    font-size: 16px;
    color: var(--wc-text-light);
    margin: 0 0 8px;
    max-width: 640px;
    line-height: 1.6;
}

.wc-page-price {
    font-size: 17px;
    color: var(--wc-text);
}

.wc-page-price strong {
    font-weight: 700;
}

/* === Design Detail Page === */
.wc-design-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
    align-items: start;
}

.wc-design-detail-image img {
    width: 100%;
    border-radius: var(--wc-radius);
    box-shadow: var(--wc-shadow);
}

/* Shape clipping — circle for muurcirkel */
.wc-design-detail-image.wc-shape-circle {
    max-width: 480px;
}

.wc-design-detail-image.wc-shape-circle img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
}

/* Shape clipping on grid thumbnails */
.wc-design-thumb.wc-shape-circle {
    border-radius: 50%;
}

.wc-design-thumb.wc-shape-circle img {
    border-radius: 50%;
}

.wc-design-detail-info h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--wc-text);
}

.wc-design-description {
    color: var(--wc-text-light);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px;
}

.wc-design-price-range {
    margin-bottom: 24px;
    font-size: 15px;
}

.wc-price-from {
    color: var(--wc-text-light);
}

.wc-price-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--wc-text);
}

.wc-price-to {
    color: var(--wc-text-light);
    font-size: 15px;
}

.wc-design-formats {
    margin-bottom: 24px;
}

.wc-design-formats h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--wc-text);
}

.wc-format-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.wc-format-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--wc-border);
    font-size: 14px;
}

.wc-format-item-label {
    color: var(--wc-text-light);
}

.wc-format-item-price {
    font-weight: 600;
    color: var(--wc-text);
}

/* Full-width ATC buttons on design/product pages */
.wc-design-page .wc-summary-actions {
    flex-direction: column;
}

.wc-design-page .wc-add-to-cart {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 700;
}

.wc-design-page .wc-configure-another {
    width: 100%;
    justify-content: center;
}

.wc-design-cta {
    margin-bottom: 24px;
}

.wc-also-available {
    margin-top: 8px;
}

.wc-also-available h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--wc-text);
}

.wc-also-link {
    display: inline-block;
    margin-right: 16px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--wc-text-light);
    text-decoration: none;
    transition: var(--wc-transition);
}

.wc-also-link:hover {
    color: var(--wc-primary-hover);
}

/* === Trust Badges === */
.wc-trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--wc-bg-light);
    border-radius: var(--wc-radius);
}

.wc-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--wc-text-light);
}

.wc-trust-badge svg {
    color: var(--wc-accent);
    flex-shrink: 0;
}

/* === Product About === */
.wc-product-about {
    margin-top: 56px;
    padding: 40px 0;
    border-top: 1px solid var(--wc-border);
}

.wc-about-content {
    max-width: 680px;
}

.wc-about-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--wc-text);
    letter-spacing: -0.02em;
}

.wc-about-content p {
    font-size: 15px;
    color: var(--wc-text-light);
    line-height: 1.7;
    margin: 0;
}

/* === Specifications Grid === */
.wc-product-specs {
    padding: 40px 0;
    border-top: 1px solid var(--wc-border);
}

.wc-product-specs h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 24px;
    color: var(--wc-text);
    letter-spacing: -0.02em;
}

.wc-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.wc-spec-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--wc-bg-light);
    border-radius: var(--wc-radius);
}

.wc-spec-icon {
    color: var(--wc-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.wc-spec-text strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--wc-text);
    margin-bottom: 4px;
}

.wc-spec-text span {
    font-size: 13px;
    color: var(--wc-text-light);
    line-height: 1.5;
}

/* === FAQ Accordion === */
.wc-product-faq {
    padding: 40px 0;
    border-top: 1px solid var(--wc-border);
}

.wc-product-faq h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--wc-text);
    letter-spacing: -0.02em;
}

.wc-faq-list {
    max-width: 720px;
}

.wc-faq-item {
    border-bottom: 1px solid var(--wc-border);
}

.wc-faq-question {
    padding: 16px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--wc-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--wc-transition);
}

.wc-faq-question::-webkit-details-marker {
    display: none;
}

.wc-faq-question::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: var(--wc-text-muted);
    transition: transform var(--wc-transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.wc-faq-item[open] .wc-faq-question::after {
    content: '\2212';
}

.wc-faq-question:hover {
    color: var(--wc-primary-hover);
}

.wc-faq-answer {
    padding: 0 0 16px;
}

.wc-faq-answer p {
    margin: 0;
    font-size: 14px;
    color: var(--wc-text-light);
    line-height: 1.7;
}

/* === SEO Grid (Type + Collection pages) === */
.wc-seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.wc-seo-grid .wc-design-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.wc-seo-grid .wc-design-info h3 {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    color: var(--wc-text);
}

.wc-design-from-price {
    font-size: 13px;
    color: var(--wc-text-light);
    display: block;
    margin-top: 4px;
}

/* === USPs / Type page === */
.wc-type-info {
    margin-top: 56px;
}

.wc-type-info h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 24px;
    color: var(--wc-text);
}

.wc-usps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.wc-usp strong {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--wc-text);
}

.wc-usp p {
    font-size: 14px;
    color: var(--wc-text-light);
    margin: 0;
    line-height: 1.5;
}

/* === Cross links === */
.wc-cross-links {
    margin-top: 48px;
}

.wc-cross-links h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--wc-text);
}

.wc-cross-link-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.wc-cross-link {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--wc-border);
    border-radius: var(--wc-radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--wc-text);
    text-decoration: none;
    transition: var(--wc-transition);
}

.wc-cross-link:hover {
    border-color: var(--wc-primary);
    color: var(--wc-primary);
}

/* === Shop Page === */
.wc-shop-page .wc-shop-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.wc-shop-page .wc-shop-grid .wc-design-thumb {
    aspect-ratio: 4 / 3;
    height: auto;
}

.wc-shop-page .wc-shop-grid .wc-design-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc-shop-type-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}

.wc-shop-type-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--wc-border);
    border-radius: var(--wc-radius);
    text-decoration: none;
    color: var(--wc-text);
    transition: var(--wc-transition);
    background: var(--wc-bg);
}

.wc-shop-type-link:hover {
    border-color: transparent;
    box-shadow: var(--wc-shadow), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.wc-shop-type-icon {
    color: var(--wc-accent);
    flex-shrink: 0;
    display: flex;
}

.wc-shop-type-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wc-shop-type-text strong {
    font-size: 15px;
    font-weight: 600;
}

.wc-shop-type-text span {
    font-size: 13px;
    color: var(--wc-text-muted);
}

.wc-shop-about {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--wc-border);
}

.wc-shop-about h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 24px;
    color: var(--wc-text);
    letter-spacing: -0.02em;
}

.wc-design-type-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.wc-type-badge {
    font-size: 11px;
    font-weight: 500;
    color: var(--wc-text-muted);
    background: var(--wc-bg-light);
    padding: 2px 8px;
    border-radius: 100px;
    line-height: 1.5;
}

/* === Mockup Wall Scenes === */
.wc-mockup-section {
    margin-top: 56px;
    padding: 40px 0;
    border-top: 1px solid var(--wc-border);
}

.wc-mockup-section h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 24px;
    color: var(--wc-text);
    letter-spacing: -0.02em;
}

.wc-mockup-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.wc-mockup-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wc-mockup-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--wc-text-muted);
    text-align: center;
}

/* Scene container */
.wc-mockup-scene {
    border-radius: var(--wc-radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: flex;
    flex-direction: column;
    box-shadow: var(--wc-shadow);
}

/* Wall area — 72% of scene */
.wc-mockup-wall-area {
    flex: 72;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10%;
}

/* Behang: wall-area has no padding so wallpaper fills edge-to-edge */
.wc-mockup-behang .wc-mockup-wall-area {
    padding: 0;
    overflow: hidden;
}

/* Floor area — 28% of scene */
.wc-mockup-floor-area {
    flex: 28;
    position: relative;
}

/* Wall themes */
.wc-wall-light .wc-mockup-wall-area {
    background: #f5f3f0;
}
.wc-wall-light .wc-mockup-floor-area {
    background: linear-gradient(180deg, #e0dbd4 0%, #d5cfc7 50%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.wc-wall-warm .wc-mockup-wall-area {
    background: #ede7df;
}
.wc-wall-warm .wc-mockup-floor-area {
    background: linear-gradient(180deg, #c8b89c 0%, #bfaf92 50%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.wc-wall-dark .wc-mockup-wall-area {
    background: #3a3a3a;
}
.wc-wall-dark .wc-mockup-floor-area {
    background: linear-gradient(180deg, #2a2a2a 0%, #252525 50%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Product on wall */
.wc-mockup-product {
    position: relative;
    z-index: 2;
    max-width: 52%;
    max-height: 82%;
}

.wc-mockup-product img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Circle (muurcirkel) */
.wc-mockup-product.wc-mockup-circle {
    max-width: 46%;
}

.wc-mockup-product.wc-mockup-circle img {
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.06),
        0 8px 24px rgba(0, 0, 0, 0.10),
        0 0 0 1px rgba(0, 0, 0, 0.03);
}

.wc-wall-dark .wc-mockup-product.wc-mockup-circle img {
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Rectangle (paneel) */
.wc-mockup-product.wc-mockup-rect img {
    aspect-ratio: 3 / 2;
    border-radius: 3px;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.06),
        0 8px 24px rgba(0, 0, 0, 0.10),
        0 0 0 1px rgba(0, 0, 0, 0.03);
}

.wc-wall-dark .wc-mockup-product.wc-mockup-rect img {
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Wallpaper (behang) — covers the entire wall, floor stays visible */
.wc-mockup-product.wc-mockup-wallpaper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    max-height: none;
    width: 100%;
    height: 100%;
}

.wc-mockup-product.wc-mockup-wallpaper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
}

.wc-wall-dark .wc-mockup-product.wc-mockup-wallpaper img {
    box-shadow: none;
}


/* === Related designs === */
.wc-related {
    margin-top: 56px;
}

.wc-related h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--wc-text);
}

/* === Mobile Responsive === */
@media (max-width: 768px) {
    .wc-page-container {
        padding: 24px 16px 40px;
    }

    .wc-page-header h1 {
        font-size: 24px;
    }

    .wc-configurator h2 {
        font-size: 18px;
    }

    .wc-progress-step {
        min-width: 48px;
    }

    .wc-format-grid {
        gap: 8px;
    }

    .wc-format-card {
        padding: 8px 16px;
        font-size: 13px;
    }

    .wc-step-label {
        display: none;
    }

    .wc-design-grid,
    .wc-seo-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .wc-product-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .wc-product-card {
        padding: 20px 16px;
    }

    .wc-design-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .wc-design-detail-info h1 {
        font-size: 22px;
    }

    .wc-trust-badges {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .wc-specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .wc-product-about,
    .wc-product-specs,
    .wc-product-faq {
        padding: 28px 0;
    }

    .wc-summary {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .wc-summary-image {
        max-width: 220px;
    }

    .wc-summary-actions {
        flex-direction: column;
    }

    .wc-btn {
        width: 100%;
        justify-content: center;
    }

    .wc-dimension-inputs {
        flex-direction: column;
        align-items: center;
    }

    .wc-editor-container {
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
    }

    .wc-editor-controls {
        flex-direction: column;
        gap: 10px;
    }

    .wc-collection-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .wc-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .wc-usps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wc-mockup-carousel {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 400px;
        margin: 0 auto;
    }

    .wc-mockup-section {
        padding: 28px 0;
    }

    .wc-shop-type-nav {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .wc-shop-page .wc-shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .wc-design-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wc-step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .wc-progress-line {
        min-width: 20px;
    }
}

/* ========================================
   Side Cart (slide-in panel)
   ======================================== */
.wc-side-cart {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    pointer-events: none;
    visibility: hidden;
}

.wc-side-cart.open {
    pointer-events: auto;
    visibility: visible;
}

/* Overlay */
.wc-side-cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.wc-side-cart.open .wc-side-cart-overlay {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
}

/* Panel */
.wc-side-cart-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 400px;
    max-width: 90vw;
    background: var(--wc-bg, #ffffff);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.wc-side-cart.open .wc-side-cart-panel {
    transform: translateX(0);
}

/* Header */
.wc-side-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--wc-border, #e8e6e1);
    flex-shrink: 0;
}

.wc-side-cart-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--wc-text, #27241d);
    letter-spacing: -0.02em;
}

.wc-side-cart-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--wc-bg-light, #faf9f7);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wc-text-light, #625d52);
    transition: background 0.2s ease, color 0.2s ease;
}

.wc-side-cart-close:hover {
    background: var(--wc-bg-dark, #f0ece6);
    color: var(--wc-text, #27241d);
}

/* Items list */
.wc-side-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    -webkit-overflow-scrolling: touch;
}

/* Empty state */
.wc-side-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 20px;
    color: var(--wc-text-muted, #a09a91);
    text-align: center;
}

.wc-side-cart-empty svg {
    opacity: 0.4;
}

.wc-side-cart-empty p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
}

/* Cart item */
.wc-side-cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--wc-border, #e8e6e1);
    animation: wcFadeIn 0.3s ease;
}

/* Thumbnail */
.wc-side-cart-thumb {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: var(--wc-bg-light, #faf9f7);
}

.wc-side-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wc-side-cart-thumb.wc-side-cart-img-circle {
    border-radius: 50%;
}

/* Info */
.wc-side-cart-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wc-side-cart-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--wc-text, #27241d);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wc-side-cart-meta {
    font-size: 12px;
    color: var(--wc-text-muted, #a09a91);
    font-weight: 500;
}

.wc-side-cart-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--wc-text, #27241d);
}

/* Bottom row: quantity + price */
.wc-side-cart-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
}

/* Quantity controls */
.wc-side-cart-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--wc-border, #e8e6e1);
    border-radius: 100px;
    overflow: hidden;
}

.wc-qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wc-text-light, #625d52);
    transition: background 0.15s ease, color 0.15s ease;
    padding: 0;
}

.wc-qty-btn:hover {
    background: var(--wc-bg-light, #faf9f7);
    color: var(--wc-text, #27241d);
}

.wc-qty-btn:active {
    background: var(--wc-bg-dark, #f0ece6);
}

.wc-qty-value {
    min-width: 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--wc-text, #27241d);
    line-height: 1;
    user-select: none;
}

/* Remove button */
.wc-side-cart-remove {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wc-text-muted, #a09a91);
    transition: background 0.2s ease, color 0.2s ease;
}

.wc-side-cart-remove:hover {
    background: #fef2f2;
    color: #c62828;
}

/* Footer */
.wc-side-cart-footer {
    border-top: 1px solid var(--wc-border, #e8e6e1);
    padding: 18px 20px;
    flex-shrink: 0;
    background: var(--wc-bg, #ffffff);
}

.wc-side-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--wc-text-light, #625d52);
}

.wc-side-cart-total strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--wc-text, #27241d);
}

.wc-side-cart-btn {
    display: block;
    width: 100%;
    padding: 13px 20px;
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    line-height: 1.4;
}

.wc-side-cart-btn + .wc-side-cart-btn {
    margin-top: 8px;
}

.wc-side-cart-btn-primary {
    background: var(--wc-primary, #222222);
    color: #fff;
}

.wc-side-cart-btn-primary:hover {
    background: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.wc-side-cart-btn-outline {
    background: transparent;
    color: var(--wc-text, #27241d);
    border: 1px solid var(--wc-border, #e8e6e1);
}

.wc-side-cart-btn-outline:hover {
    border-color: var(--wc-text-muted, #a09a91);
    background: var(--wc-bg-light, #faf9f7);
    color: var(--wc-text, #27241d);
}

/* Loading state on remove */
.wc-side-cart-item.removing {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* === Cart Indicator (shortcode [wallcoustic_cart]) === */
.wc-cart-indicator {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--wc-text, #27241d);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 4px;
}

.wc-cart-indicator:hover {
    color: var(--wc-primary-hover, #f15d50);
}

.wc-cart-count {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    border-radius: 100px;
    background: var(--wc-primary, #222222);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.wc-cart-count-hidden {
    transform: scale(0);
    opacity: 0;
}

/* Body scroll lock when side-cart is open */
body.wc-side-cart-open {
    overflow: hidden;
}

/* Side-cart mobile */
@media (max-width: 480px) {
    .wc-side-cart-panel {
        width: 100vw;
        max-width: 100vw;
    }

    .wc-side-cart-thumb {
        width: 56px;
        height: 56px;
    }
}

/* ==============================================
   WooCommerce Checkout & Cart — CheckoutWC-style
   Clean, focused, modern checkout experience
   ============================================== */

/* --- Checkout page: simplified layout --- */
.woocommerce-checkout .entry-hero,
.woocommerce-checkout .entry-hero-container-inner {
    display: none !important;
}

/* Soft background on checkout body */
body.woocommerce-checkout {
    background: var(--wc-bg-light, #faf9f7);
}

body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main {
    padding-top: 20px;
}

/* --- Global checkout/cart font --- */
.wc-block-checkout,
.wc-block-cart,
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-cart {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Checkout main form area --- */
.wc-block-checkout__main {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.03);
    padding: 32px 36px !important;
}

/* --- Checkout sidebar (order summary) --- */
.wc-block-checkout__sidebar {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.03);
    padding: 28px !important;
    position: sticky;
    top: 100px;
}

/* --- Step headings --- */
.wc-block-components-checkout-step__heading {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--wc-text, #27241d) !important;
    letter-spacing: -0.01em !important;
}

.wc-block-components-checkout-step__heading-content .wc-block-components-checkout-step__description {
    font-size: 13px !important;
    color: var(--wc-text-muted, #a09a91) !important;
}

/* Step dividers */
.wc-block-components-checkout-step {
    border: none !important;
    padding-bottom: 24px !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid var(--wc-border, #e8e6e1) !important;
}

.wc-block-components-checkout-step:last-of-type {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Step numbers (circle indicators) */
.wc-block-components-checkout-step__container::before {
    display: none !important;
}

/* --- Text inputs (CheckoutWC floating label style) --- */
.wc-block-components-text-input input,
.wc-block-components-textarea textarea,
.wc-block-components-combobox .components-combobox-control input,
.wc-block-components-select .wc-block-components-select__select {
    border: 1.5px solid var(--wc-border, #e8e6e1) !important;
    border-radius: 10px !important;
    background: #fff !important;
    font-family: inherit !important;
    font-size: 14px !important;
    color: var(--wc-text, #27241d) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-textarea textarea:focus,
.wc-block-components-combobox .components-combobox-control input:focus,
.wc-block-components-select .wc-block-components-select__select:focus {
    border-color: var(--wc-accent, #c8a078) !important;
    box-shadow: 0 0 0 3px rgba(200, 160, 120, 0.12) !important;
    outline: none !important;
}

/* Floating labels */
.wc-block-components-text-input label {
    font-family: inherit !important;
    font-size: 14px !important;
    color: var(--wc-text-muted, #a09a91) !important;
}

/* Validation error on inputs */
.wc-block-components-text-input.has-error input {
    border-color: var(--wc-error, #d32f2f) !important;
}

.wc-block-components-validation-error {
    color: var(--wc-error, #d32f2f) !important;
    font-size: 12px !important;
}

/* --- Order summary items --- */
.wc-block-components-order-summary .wc-block-components-order-summary-item {
    padding: 16px 0 !important;
    border-bottom: 1px solid var(--wc-border, #e8e6e1);
}

.wc-block-components-order-summary .wc-block-components-order-summary-item:last-child {
    border-bottom: none;
}

/* Product image in order summary */
.wc-block-components-order-summary-item__image {
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Product name */
.wc-block-components-order-summary-item__description .wc-block-components-product-name {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: var(--wc-text, #27241d) !important;
    line-height: 1.4 !important;
}

/* Hide product description/metadata in summary */
.wc-block-components-order-summary-item__description .wc-block-components-product-metadata,
.wc-block-components-order-summary-item__description .wc-block-components-product-metadata__description {
    display: none !important;
}

/* Item variation info (like Formaat) */
.wc-block-components-order-summary-item__description .wc-block-components-product-metadata__description--list {
    display: block !important;
    font-size: 12px !important;
    color: var(--wc-text-light, #625d52) !important;
}

/* Quantity badge */
.wc-block-components-order-summary-item__quantity {
    background: var(--wc-primary, #222222) !important;
    color: #fff !important;
    border-radius: 100px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    min-width: 20px !important;
    height: 20px !important;
}

/* Item price */
.wc-block-components-order-summary-item__total-price {
    font-weight: 600 !important;
    color: var(--wc-text, #27241d) !important;
}

/* --- Totals section --- */
.wc-block-components-totals-wrapper {
    border-color: var(--wc-border, #e8e6e1) !important;
}

.wc-block-components-totals-item {
    font-family: inherit !important;
}

.wc-block-components-totals-item__label {
    font-size: 14px !important;
    color: var(--wc-text-light, #625d52) !important;
}

.wc-block-components-totals-item__value {
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Grand total */
.wc-block-components-totals-footer-item {
    border-top: 2px solid var(--wc-text, #27241d) !important;
    padding-top: 16px !important;
    margin-top: 8px !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--wc-text, #27241d) !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--wc-text, #27241d) !important;
}

/* Tax line */
.wc-block-components-totals-taxes {
    font-size: 13px !important;
    color: var(--wc-text-muted, #a09a91) !important;
}

/* --- Place order button --- */
.wc-block-components-checkout-place-order-button {
    background: var(--wc-primary, #222222) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 16px 32px !important;
    width: 100% !important;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    cursor: pointer !important;
}

.wc-block-components-checkout-place-order-button:hover {
    background: #333 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-1px) !important;
}

.wc-block-components-checkout-place-order-button:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

/* --- Cart page submit button --- */
.wc-block-cart__submit-button .wc-block-components-button,
.wc-block-cart__submit-button a.wc-block-components-button {
    background: var(--wc-primary, #222222) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 16px 32px !important;
    width: 100% !important;
    transition: background 0.2s ease, box-shadow 0.2s ease !important;
    text-transform: none !important;
    text-align: center !important;
}

.wc-block-cart__submit-button .wc-block-components-button:hover {
    background: #333 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* --- "Terug naar winkel" link --- */
.wc-block-components-checkout-return-to-cart-button {
    color: var(--wc-text-light, #625d52) !important;
    font-family: inherit !important;
    font-size: 13px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 12px !important;
    transition: color 0.2s ease !important;
}

.wc-block-components-checkout-return-to-cart-button:hover {
    color: var(--wc-text, #27241d) !important;
}

/* --- Radio controls (payment methods, shipping) --- */
.wc-block-components-radio-control__option {
    border: 1.5px solid var(--wc-border, #e8e6e1) !important;
    border-radius: 10px !important;
    margin-bottom: 8px !important;
    padding: 14px 16px !important;
    transition: all 0.15s ease !important;
    background: #fff !important;
}

.wc-block-components-radio-control__option:hover {
    border-color: var(--wc-accent-light, #e8d5c0) !important;
    background: var(--wc-bg-light, #faf9f7) !important;
}

.wc-block-components-radio-control__option--checked,
.wc-block-components-radio-control__option--checked:hover {
    border-color: var(--wc-accent, #c8a078) !important;
    background: rgba(200, 160, 120, 0.04) !important;
    box-shadow: 0 0 0 1px var(--wc-accent, #c8a078) !important;
}

/* Radio dot */
.wc-block-components-radio-control__input {
    border-color: var(--wc-border, #e8e6e1) !important;
}

.wc-block-components-radio-control__input:checked {
    border-color: var(--wc-accent, #c8a078) !important;
    background: var(--wc-accent, #c8a078) !important;
}

.wc-block-components-radio-control__label {
    font-weight: 500 !important;
    font-size: 14px !important;
}

.wc-block-components-radio-control__description {
    font-size: 13px !important;
    color: var(--wc-text-muted, #a09a91) !important;
}

/* Payment method icons/images */
.wc-block-components-radio-control__option img {
    max-height: 24px !important;
}

/* --- Checkbox styling --- */
.wc-block-components-checkbox .wc-block-components-checkbox__input {
    border-radius: 5px !important;
    border-color: var(--wc-border, #e8e6e1) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input:checked {
    background: var(--wc-accent, #c8a078) !important;
    border-color: var(--wc-accent, #c8a078) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__label {
    font-size: 13px !important;
    color: var(--wc-text-light, #625d52) !important;
}

/* --- Coupon code --- */
.wc-block-components-totals-coupon__button {
    border-radius: 10px !important;
    background: var(--wc-primary, #222222) !important;
    color: #fff !important;
    border: none !important;
    font-family: inherit !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 10px 18px !important;
    transition: background 0.2s ease !important;
}

.wc-block-components-totals-coupon__button:hover {
    background: #333 !important;
}

/* --- Notice/error banners --- */
.wc-block-components-notice-banner {
    border-radius: 10px !important;
    font-family: inherit !important;
    font-size: 13px !important;
}

.wc-block-components-notice-banner.is-error {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #991b1b !important;
}

.wc-block-components-notice-banner.is-success {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
    color: #166534 !important;
}

/* --- Cart page specific --- */
.wc-block-cart .wc-block-cart__main {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.03);
    padding: 28px !important;
}

.wc-block-cart .wc-block-cart__sidebar {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.03);
    padding: 28px !important;
    position: sticky;
    top: 100px;
}

body.woocommerce-cart {
    background: var(--wc-bg-light, #faf9f7);
}

/* Cart product image */
.wc-block-cart-item__image img {
    border-radius: 10px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Cart quantity selector */
.wc-block-components-quantity-selector {
    border: 1.5px solid var(--wc-border, #e8e6e1) !important;
    border-radius: 100px !important;
    overflow: hidden !important;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
    background: transparent !important;
    color: var(--wc-text-light, #625d52) !important;
    border: none !important;
    transition: background 0.15s ease !important;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover {
    background: var(--wc-bg-dark, #f0ece6) !important;
    color: var(--wc-text, #27241d) !important;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__input {
    font-weight: 600 !important;
    font-size: 14px !important;
}

/* Cart item name */
.wc-block-cart-item__product .wc-block-components-product-name {
    font-weight: 600 !important;
    font-size: 15px !important;
    color: var(--wc-text, #27241d) !important;
    text-decoration: none !important;
}

/* Cart item remove link */
.wc-block-cart-item__remove-link {
    color: var(--wc-text-muted, #a09a91) !important;
    font-size: 12px !important;
}

.wc-block-cart-item__remove-link:hover {
    color: var(--wc-error, #d32f2f) !important;
}

/* Hide product metadata/description in cart too */
.wc-block-cart-item__product .wc-block-components-product-metadata,
.wc-block-cart-item__product .wc-block-components-product-metadata__description {
    display: none !important;
}

/* --- Express payment separator --- */
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container {
    font-family: inherit !important;
    font-size: 13px !important;
    color: var(--wc-text-muted, #a09a91) !important;
}

/* --- Trust indicators (add after order button via pseudo-element) --- */
.wc-block-checkout__actions::after {
    content: "🔒 Veilig betalen via Mollie  ·  SSL beveiligde verbinding";
    display: block;
    text-align: center;
    font-size: 12px;
    color: var(--wc-text-muted, #a09a91);
    margin-top: 16px;
    font-family: 'Montserrat', sans-serif;
}

/* --- Shipping method options --- */
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__option {
    padding: 12px 14px !important;
}

/* --- Mobile responsive --- */
@media (max-width: 782px) {
    .wc-block-checkout__main {
        padding: 20px 18px !important;
        border-radius: 12px;
    }

    .wc-block-checkout__sidebar {
        padding: 20px 18px !important;
        border-radius: 12px;
        position: static;
    }

    .wc-block-cart .wc-block-cart__main,
    .wc-block-cart .wc-block-cart__sidebar {
        padding: 20px 18px !important;
        border-radius: 12px;
    }

    .wc-block-components-checkout-step__heading {
        font-size: 15px !important;
    }

    .wc-block-components-checkout-place-order-button {
        padding: 14px 24px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .wc-block-checkout__main,
    .wc-block-checkout__sidebar,
    .wc-block-cart .wc-block-cart__main,
    .wc-block-cart .wc-block-cart__sidebar {
        padding: 16px 14px !important;
        border-radius: 10px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    }
}
