/* =========================================================
   Webshop — Component Styles (scoped under body.webshop)
   Variables are in tokens.css; base/layout/forms handle universal dark theme.
   This file contains webshop-specific components only.
   ========================================================= */

/* Webshop body: subtle radial gradient background */
body.webshop {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 120, 179, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 170, 0.03) 0%, transparent 50%);
    line-height: 1.6;
}

/* Secondary text color — applied only to legacy/generic content, not component classes */
body.webshop #order_content > p,
body.webshop #order_content > div > p,
body.webshop #order_content li,
body.webshop #order_content td,
body.webshop #order_content th,
body.webshop #order_content label {
    color: var(--ws-text-secondary);
}

/* --- Header (glassmorphism) --- */
body.webshop #header_wrapper {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-image: none;
    border-bottom: 1px solid var(--ws-border);
    position: sticky;
    top: 0;
    z-index: 100;
    min-width: 0;
    height: auto;
}

/* Logo text */
.ws-logo-text {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.ws-logo-text span {
    background: var(--ws-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Layout --- */
body.webshop #content_wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: var(--ws-max-width);
    width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem;
    box-sizing: border-box;
    gap: 3rem;
    overflow: visible;
}

body.webshop #content_wrapper > #notifications {
    width: 100%;
    flex: 0 0 100%;
}

body.webshop #order_content {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    float: none;
    margin: 0;
    padding: 0;
    font-family: var(--m-font);
    overflow: visible;
}

body.webshop #order_side {
    flex: 0 0 40%;
    width: 40%;
    float: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: sticky;
    top: 100px;
    height: fit-content;
    align-self: flex-start;
}

/* --- Progress Section (full-width row) --- */
.ws-progress {
    background: var(--ws-card);
    border: 1px solid var(--ws-border);
    border-radius: var(--m-radius-lg);
    padding: 15px 2.5rem;
    margin: 0;
    position: relative;
    font-family: var(--m-font);
    overflow: hidden;
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
}

.ws-progress::after {
    content: none;
}

.ws-progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.ws-progress-steps::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--ws-border);
    z-index: 0;
}

.ws-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
    background: var(--ws-card);
    padding: 0 1.5rem;
}

.ws-step-circle {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.65rem;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--ws-border);
    background: var(--ws-elevated);
    color: var(--ws-text-muted);
}

.ws-step.active .ws-step-circle {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.65rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    background: linear-gradient(90deg, var(--m-primary), var(--m-success)) padding-box,
                linear-gradient(90deg, var(--m-primary), var(--m-success)) border-box;
    color: white;
    box-shadow: 0 0 12px rgba(0, 120, 179, 0.4);
}

.ws-step.completed .ws-step-circle {
    border: 2px solid transparent;
    background: linear-gradient(90deg, var(--m-primary), var(--m-success)) padding-box,
                linear-gradient(90deg, var(--m-primary), var(--m-success)) border-box;
    color: white;
}

.ws-step-label {
    font-size: 0.625rem;
    font-weight: 500;
    line-height: 1;
    color: var(--ws-text-muted);
    transition: all 0.3s;
    text-align: center;
    white-space: nowrap;
}

body.webshop .ws-step-label a {
    color: var(--ws-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

body.webshop .ws-step-label a:hover {
    color: var(--ws-text);
}

body.webshop .ws-step.active .ws-step-label,
body.webshop .ws-step.active .ws-step-label a {
    color: var(--ws-text);
    font-weight: 500;
}

body.webshop .ws-step.completed .ws-step-label,
body.webshop .ws-step.completed .ws-step-label a {
    color: var(--m-success);
}

/* --- Section Header --- */
.ws-section-header {
    margin-bottom: 2.5rem;
}

.ws-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--r-text);
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.ws-section-subtitle {
    color: var(--ws-text-secondary);
    font-size: 1.125rem;
    margin: 0;
}

/* --- Product Cards --- */
.ws-index {
    font-family: var(--m-font);
}

.ws-index h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ws-text);
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.ws-index-subtitle {
    color: var(--ws-text-secondary);
    font-size: 1.125rem;
    margin: 0 0 2.5rem;
}

.ws-index-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

body.webshop a.ws-product-card,
body.webshop a.ws-product-card:visited,
body.webshop div.ws-product-card {
    background: var(--ws-card);
    border: 1px solid var(--ws-border);
    border-radius: var(--m-radius-lg);
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

body.webshop div.ws-product-card {
    cursor: default;
}

.ws-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--m-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

body.webshop a.ws-product-card:hover {
    border-color: var(--ws-border-hover);
    background: var(--ws-elevated);
    transform: translateY(-4px);
    box-shadow: var(--ws-glow);
    color: inherit;
}

.ws-product-card:hover::before {
    opacity: 1;
}

.ws-product-card--subtle {
    border-style: dashed;
    background: var(--ws-elevated);
}

.ws-product-icon {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ws-elevated);
    border: 1px solid var(--ws-border);
    border-radius: var(--m-radius);
    color: var(--m-primary);
    transition: all 0.3s;
}

.ws-product-icon svg {
    width: 36px;
    height: 36px;
    transition: all 0.3s;
}

.ws-product-card:hover .ws-product-icon {
    background: rgba(0, 120, 179, 0.1);
    border-color: rgba(0, 120, 179, 0.3);
}

.ws-product-card:hover .ws-product-icon svg {
    color: var(--m-success);
    transform: scale(1.1);
}

.ws-product-info {
    flex: 1;
    min-width: 0;
}

.ws-product-info strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--r-text);
    margin: 0 0 0.75rem;
    text-decoration: none;
}

.ws-product-info > span {
    display: block;
    font-size: 0.95rem;
    color: var(--ws-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

/* Feature tags */
.ws-product-features {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ws-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 10px;
    color: var(--m-success);
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.ws-product-arrow {
    display: flex;
    align-items: center;
}

body.webshop .ws-product-arrow .ws-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--ws-gradient);
    color: #ffffff;
    border-radius: var(--m-radius);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 0 20px rgba(0, 120, 179, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.webshop .ws-product-arrow .ws-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 120, 179, 0.5);
    color: #ffffff;
}

.ws-product-arrow .ws-btn-primary svg {
    width: 18px;
    height: 18px;
}

.ws-index-actions {
    margin-top: 2rem;
}

/* Hide old product_select styling in webshop */
body.webshop .webshop_options,
body.webshop .intro_shop {
    display: none;
}


/* --- Shopping Cart (dark) --- */
.ws-cart {
    background: var(--ws-card);
    border: 1px solid var(--ws-border);
    border-radius: 24px;
    overflow: hidden;
    font-family: var(--m-font);
    position: relative;
}

.ws-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--ws-gradient);
    z-index: 1;
}

.ws-cart-header {
    background: var(--ws-elevated);
    color: var(--r-text);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: 1px solid var(--ws-border);
}

.ws-cart-header svg {
    width: 22px;
    height: 22px;
    color: var(--m-success);
    flex-shrink: 0;
}

.ws-cart-items {
    padding: 0;
}

.ws-cart-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--ws-border);
    gap: 10px;
    font-size: 0.9375rem;
}

.ws-cart-item:last-child {
    border-bottom: none;
}

.ws-cart-item-info {
    flex: 1;
    min-width: 0;
}

.ws-cart-item-title {
    font-weight: 600;
    color: var(--r-text);
    margin: 0 0 2px;
    font-size: 0.95rem;
}

.ws-cart-item-detail {
    color: var(--ws-text-secondary);
    font-size: 0.85rem;
    word-break: break-all;
}

.ws-cart-item-price {
    font-weight: 600;
    color: var(--r-text);
    white-space: nowrap;
}

.ws-cart-item-remove {
    color: var(--ws-text-muted);
    text-decoration: none;
    font-size: 1rem;
    margin-left: 8px;
    flex-shrink: 0;
    line-height: 1;
    transition: color 0.2s;
}

.ws-cart-item-remove:hover {
    color: var(--m-danger);
}

.ws-cart-empty {
    text-align: center;
    color: var(--ws-text-muted);
    padding: 3rem 2rem;
    font-style: italic;
    background: var(--ws-elevated);
    border-radius: var(--m-radius);
    border: 1px dashed var(--ws-border);
    margin: 2rem;
}

.ws-cart-totals {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--ws-border);
}

.ws-cart-totals-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.ws-cart-totals-row .ws-cart-label {
    color: var(--ws-text-secondary);
}

.ws-cart-totals-row .ws-cart-value {
    font-weight: 600;
    color: var(--r-text);
}

.ws-cart-totals-row.total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 2px solid var(--ws-border);
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.ws-cart-totals-row.total .ws-cart-label {
    font-weight: 700;
    color: var(--r-text);
    font-size: 1.125rem;
}

.ws-cart-totals-row.total .ws-cart-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--ws-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.ws-cart-actions {
    padding: 1rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.webshop .ws-cart-btn-primary,
body.webshop a.ws-cart-btn-primary,
body.webshop a.ws-cart-btn-primary:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--ws-gradient);
    color: #ffffff;
    border: none;
    border-radius: var(--m-radius);
    font-family: var(--m-font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    box-shadow: 0 0 20px rgba(0, 120, 179, 0.3);
    position: relative;
    overflow: hidden;
}

body.webshop .ws-cart-btn-primary:hover,
body.webshop a.ws-cart-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 120, 179, 0.5);
    color: #ffffff;
}

.ws-cart-btn-primary svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

body.webshop .ws-cart-btn-secondary,
body.webshop a.ws-cart-btn-secondary,
body.webshop a.ws-cart-btn-secondary:visited {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    background: transparent;
    color: var(--ws-text-secondary);
    border: 1px solid var(--ws-border);
    border-radius: var(--m-radius);
    font-family: var(--m-font);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

body.webshop .ws-cart-btn-secondary:hover,
body.webshop a.ws-cart-btn-secondary:hover {
    border-color: var(--ws-border-hover);
    color: var(--ws-text);
    background: var(--ws-elevated);
}

.ws-cart-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--ws-border);
}

.ws-cart-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--ws-text-secondary);
    font-family: var(--m-font);
}

.ws-cart-badge svg {
    width: 20px;
    height: 20px;
    color: var(--m-success);
}

/* --- Hide old order decorative elements --- */
body.webshop #bag,
body.webshop #order_icons {
    display: none !important;
}

body.webshop #progress_wrapper ol {
    display: none;
}

body.webshop #order_summary {
    display: none;
}

/* --- Hosting package cards (Bootstrap 5 cards) --- */
body.webshop .ws-pkg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

body.webshop .pricing_plan.card {
    background: var(--ws-card);
    border: 1px solid var(--ws-border);
    border-radius: var(--m-radius-lg);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
    display: grid;
    grid-row: span 10; /* header + 8 features + footer */
    grid-template-rows: subgrid;
}

body.webshop .pricing_plan .list-group {
    display: contents;
}

body.webshop .pricing_plan.card:hover {
    border-color: var(--ws-border-hover);
}

body.webshop .pricing_plan.card.selected {
    border-color: var(--m-primary-bright);
    box-shadow: 0 0 20px rgba(0, 120, 179, 0.15);
}

body.webshop .pricing_plan .card-header.price {
    background: var(--ws-elevated);
    border-bottom: 1px solid var(--ws-border);
    padding: 1.5rem;
    text-align: center;
}

body.webshop .pricing_plan .ws-pkg-name {
    font-family: var(--m-font);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ws-text);
    margin-bottom: 0.25rem;
}

body.webshop .pricing_plan .ws-pkg-price {
    font-family: var(--m-font);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--m-primary-bright);
    letter-spacing: -0.02em;
}

body.webshop .pricing_plan .ws-pkg-price span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ws-text-muted);
}

body.webshop .pricing_plan .list-group-item {
    background: var(--ws-card);
    border: none;
    border-bottom: 1px solid var(--ws-border);
    color: var(--ws-text-secondary);
    font-family: var(--m-font);
    font-size: 0.7rem !important;
    padding: 0.75rem 1.25rem;
    transition: background 0.2s;
}

body.webshop .pricing_plan .list-group-item:hover {
    background: var(--ws-elevated);
}

body.webshop .pricing_plan .list-group-item strong {
    color: var(--ws-text);
}

body.webshop .pricing_plan .list-group-item .fa-fw {
    color: var(--ws-text-muted);
    font-size: 0.8rem;
}

body.webshop .pricing_plan .list-group-item .text-success {
    color: var(--m-success) !important;
}

body.webshop .pricing_plan .list-group-item.highlight {
    background: var(--ws-elevated);
}

body.webshop .pricing_plan span.help {
    color: var(--ws-text-muted);
    cursor: help;
    margin-left: 0.25rem;
}

body.webshop .pricing_plan .card-footer {
    background: var(--ws-card);
    border-top: 1px solid var(--ws-border);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

body.webshop .pricing_plan .ws-btn-select,
body.webshop .pricing_plan a.ws-btn-select:visited,
body.webshop .pricing_plan a.ws-btn-select:link {
    display: inline-block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--ws-gradient);
    color: #ffffff !important;
    border: none;
    border-radius: var(--m-radius-sm);
    font-family: var(--m-font);
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

body.webshop .pricing_plan .ws-btn-select:hover,
body.webshop .pricing_plan a.ws-btn-select:focus {
    opacity: 0.9;
    transform: translateY(-1px);
    color: #ffffff !important;
}

body.webshop .pricing_plan .ws-btn-select.green {
    box-shadow: 0 0 16px rgba(0, 120, 179, 0.3);
}

body.webshop .pricing_plan .package_info_link {
    color: var(--ws-text-muted);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: color 0.2s;
}

body.webshop .pricing_plan .package_info_link:hover {
    color: var(--ws-text);
}

/* --- VPS package cards (fewer rows than hosting) --- */
body.webshop .ws-pkg-grid--vps .pricing_plan.card {
    grid-row: span 5; /* header + 3 specs + footer */
}

/* VPS extras section */
body.webshop .vps-extras {
    background: var(--ws-card);
    border: 1px solid var(--ws-border);
    border-radius: var(--m-radius);
    margin: 1.5rem 0 1.75rem;
    overflow: hidden;
}

body.webshop .vps-extras-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--ws-border);
    background: var(--ws-elevated);
}

body.webshop .vps-extras-header h3 {
    font-family: var(--m-font);
    font-size: 1.05em;
    font-weight: 600;
    color: var(--ws-text);
    margin: 0;
}

body.webshop .vps-extra-row {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--ws-border);
    transition: background 0.15s;
}

body.webshop .vps-extra-row:last-child {
    border-bottom: none;
}

body.webshop .vps-extra-row:hover {
    background: var(--ws-elevated);
}

body.webshop .vps-extra-row--highlight {
    background: rgba(0, 120, 179, 0.05);
}

body.webshop .vps-extra-row--highlight:hover {
    background: rgba(0, 120, 179, 0.1);
}

body.webshop .vps-extra-info {
    flex: 1;
    min-width: 0;
}

body.webshop .vps-extra-label {
    font-family: var(--m-font);
    font-weight: 600;
    color: var(--ws-text);
    font-size: 0.95em;
}

body.webshop .vps-extra-desc {
    font-size: 0.8em;
    color: var(--ws-text-muted);
    margin-top: 2px;
}

body.webshop .vps-extra-control {
    flex: 0 0 auto;
    margin: 0 1.25rem;
}

body.webshop .vps-extra-control select {
    font-family: var(--m-font);
    font-size: 0.9em;
    padding: 6px 28px 6px 10px;
    border: 1px solid var(--ws-border);
    border-radius: var(--m-radius-sm);
    background: var(--ws-elevated);
    color: var(--ws-text);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

body.webshop .vps-extra-control select:focus {
    outline: none;
    border-color: var(--m-primary);
    box-shadow: 0 0 0 3px rgba(0, 120, 179, 0.2);
}

body.webshop .vps-extra-control label {
    font-family: var(--m-font);
    font-size: 0.9em;
    color: var(--ws-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

body.webshop .vps-extra-price {
    flex: 0 0 auto;
    color: var(--ws-text-muted);
    font-size: 0.85em;
    white-space: nowrap;
    font-family: var(--m-font);
}

body.webshop .vps-submit-wrap {
    text-align: center;
    margin: 0.5rem 0 0;
}

body.webshop .vps-submit-btn {
    font-family: var(--m-font);
    font-size: 1em;
    font-weight: 600;
    padding: 0.75rem 2.25rem;
    background: var(--ws-gradient);
    color: #fff;
    border: none;
    border-radius: var(--m-radius);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(0, 120, 179, 0.3);
}

body.webshop .vps-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 120, 179, 0.5);
}

@media all and (max-width: 680px) {
    body.webshop .vps-extra-row {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    body.webshop .vps-extra-info {
        flex: 1 0 100%;
    }
    body.webshop .vps-extra-control {
        margin: 0;
    }
}

/* --- Domain check page (dark) --- */
body.webshop #onpage_domaincheck form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

body.webshop #onpage_domaincheck form input[type="hidden"] {
    display: none;
}

body.webshop #onpage_domaincheck_input {
    flex: 0 0 100%;
    box-sizing: border-box;
    background: var(--ws-elevated);
    border: 1px solid var(--ws-border);
    color: var(--ws-text);
    border-radius: var(--m-radius-sm);
    font-family: var(--m-font);
}

body.webshop #onpage_domaincheck_select {
    flex: 0 0 auto;
    width: auto;
    background: var(--ws-elevated);
    border: 1px solid var(--ws-border);
    color: var(--ws-text);
    border-radius: var(--m-radius-sm);
    font-family: var(--m-font);
}

body.webshop #onpage_domaincheck_input:focus,
body.webshop #onpage_domaincheck_select:focus {
    border-color: var(--m-primary);
    box-shadow: 0 0 0 3px rgba(0, 120, 179, 0.2);
    outline: none;
}

body.webshop #onpage_domaincheck_button {
    flex: 1 1 0;
    box-sizing: border-box;
}

body.webshop .ws-btn-check {
    background: var(--r-primary) !important;
    border: none !important;
    color: #fff !important;
}

body.webshop .ws-btn-check:hover {
    background: var(--r-primary-bright) !important;
}

body.webshop #onpage_domaincheck .ws-product-icon {
    color: #0078B3;
}

body.webshop #content_wrapper #onpage_domaincheck .ws-domaincheck-prices {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--r-primary-bright);
    text-align: center;
    text-decoration: underline;
}

body.webshop .ws-domaincheck-prices:hover {
    color: var(--m-primary);
}

body.webshop #domain_results_wrapper {
    background: var(--ws-card);
    border: 1px solid var(--ws-border);
    border-radius: var(--m-radius);
    box-shadow: none;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

body.webshop #domain_results_wrapper.free {
    background: var(--ws-card);
    border-color: var(--m-success);
}

body.webshop #domain_results_wrapper h2 {
    color: var(--ws-text);
    background-image: none;
    padding-left: 0;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

body.webshop #domain_results_wrapper.free h2 {
    color: var(--m-success);
    background-image: none;
}

body.webshop #domain_results_wrapper.free h2::before {
    content: '\2714';
    color: var(--m-success);
    margin-right: 0.4em;
}

/* Not-free / transfer state */
body.webshop #domain_result_notfree h2 {
    color: var(--r-warning);
}

body.webshop #domain_result_notfree h2::before {
    content: '\21C4 ';
    color: var(--r-warning);
}

body.webshop #domain_results_wrapper:not(.free) #domain_result_notfree ~ p.small {
    /* parent border hint for transfer */
}

/* Unavailable state */
body.webshop #domain_result_unavailable h2 {
    color: var(--r-danger);
}

body.webshop #domain_result_unavailable h2::before {
    content: '\2718 ';
    color: var(--r-danger);
}

/* Premium state */
body.webshop #domain_result_premium h2 {
    color: var(--r-warning);
}

body.webshop #domain_result_premium h2::before {
    content: '\2605 ';
    color: var(--r-warning);
}

body.webshop #domain_results_wrapper p {
    color: var(--ws-text-secondary);
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

body.webshop #domain_results_wrapper p.small {
    color: var(--ws-text-muted);
    font-size: 0.8rem;
    margin: 1rem 0 0 0;
}

body.webshop #domain_results_wrapper a:not(.button) {
    color: var(--m-primary);
}

/* Domain result card */
body.webshop .ws-domain-result {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--ws-elevated);
    border-radius: var(--m-radius-sm);
    padding: 0.875rem 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

body.webshop .ws-domain-result-tld {
    background: var(--r-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.25rem 0.6rem;
    border-radius: var(--m-radius-sm);
    white-space: nowrap;
}

body.webshop .ws-domain-result-name {
    flex: 1 1 0;
    min-width: 0;
    color: var(--ws-text);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.webshop .ws-domain-result-price {
    color: var(--ws-text-secondary);
    font-weight: 600;
    white-space: nowrap;
}

body.webshop .ws-domain-result-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

body.webshop #domain_config {
    margin-top: 2rem;
}

body.webshop #domain_head span {
    color: var(--m-primary);
}

/* Info toggle (replaces hover tooltips) */
body.webshop .info-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ws-elevated);
    border: 1px solid var(--ws-border);
    color: var(--ws-text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    font-style: normal;
    cursor: pointer;
    vertical-align: middle;
    margin-left: 0.25rem;
    transition: background 0.15s ease, color 0.15s ease;
    line-height: 1;
}

body.webshop .info-toggle:hover {
    background: var(--ws-border);
    color: var(--ws-text);
}

body.webshop .info-text {
    display: none;
    margin-top: 0.5rem;
    padding: 0.625rem 0.875rem;
    background: var(--ws-elevated);
    border: 1px solid var(--ws-border);
    border-radius: var(--m-radius-sm);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--ws-text-secondary);
}

body.webshop .info-text.visible {
    display: block;
}

/* Config selects (domain usage options) */
body.webshop .config_select {
    background: var(--ws-card);
    border: 1px solid var(--ws-border);
    border-radius: var(--m-radius);
    display: block;
    width: auto;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

body.webshop .config_select:hover {
    background: var(--ws-elevated);
    border-color: var(--ws-border-hover);
}

body.webshop .config_select.selected {
    background: var(--ws-elevated);
    border-color: var(--m-primary);
}

body.webshop .config_select > label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    margin: 0;
    line-height: 1.5;
}

body.webshop .config_select > label > input[type="radio"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--m-primary);
    width: 16px;
    height: 16px;
}

body.webshop .config_select > label > span {
    display: block;
    margin-top: 0.25rem;
}

body.webshop .config_select strong {
    color: var(--ws-text);
    text-decoration: none;
}

body.webshop .config_select span {
    color: var(--ws-text-secondary);
    font-size: 0.875rem;
}

body.webshop .config_select fieldset {
    background: var(--ws-elevated);
    border-color: var(--ws-border);
    margin-top: 1rem;
    margin-left: 1.75rem;
    padding: 1rem;
    border-radius: var(--m-radius-sm);
}

body.webshop .config_select fieldset label {
    float: none;
    display: block;
    width: auto;
    padding: 0 0 0.375rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ws-text-secondary);
    text-align: left;
}

body.webshop .config_select fieldset select {
    width: 100%;
    background: var(--ws-elevated);
    color: var(--ws-text);
    border: 1px solid var(--ws-border);
    border-radius: var(--m-radius-sm);
    padding: 0.55rem 0.75rem;
    font-family: var(--m-font);
    font-size: 0.9rem;
}

body.webshop .config_select fieldset select:focus {
    outline: none;
    border-color: var(--m-primary);
    box-shadow: 0 0 0 3px rgba(0, 120, 179, 0.2);
}

body.webshop .config_select #domain_new_wrapper,
body.webshop .config_select #domain_external_wrapper,
body.webshop .config_select .info-text {
    margin-top: 1rem;
    margin-left: 1.75rem;
}

body.webshop .config_select #domain_external_wrapper label,
body.webshop .config_select #domain_new_wrapper label {
    display: inline;
    float: none;
    width: auto;
    padding: 0;
    border: none;
}

body.webshop .config_select #domain_new_wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

body.webshop .config_select #domain_new_wrapper input.round,
body.webshop .config_select #domain_new_wrapper select.round,
body.webshop .config_select #domain_new_wrapper .button {
    height: 38px;
    padding: 0 0.75rem;
    font-size: 0.9rem;
    box-sizing: border-box;
    line-height: 38px;
}

body.webshop .config_select #domain_new_wrapper #result,
body.webshop .config_select #domain_new_wrapper .domain-order-btn {
    width: 100%;
}

body.webshop .config_select #domain_new_wrapper .domain-order-btn {
    text-align: center;
    height: auto;
    line-height: 1;
    padding: 0.7em 1.2em;
}

body.webshop .config_select #domain_external_wrapper input.round {
    height: 38px;
    padding: 0 0.75rem;
    font-size: 0.9rem;
    box-sizing: border-box;
    background: var(--ws-elevated);
    border: 1px solid var(--ws-border);
    border-radius: var(--m-radius-sm);
    color: var(--ws-text);
    font-family: var(--m-font);
}

body.webshop .config_select #domain_external_wrapper input.round:focus {
    outline: none;
    border-color: var(--m-primary);
    box-shadow: 0 0 0 3px rgba(0, 120, 179, 0.2);
}

body.webshop .config_select #domain_new_wrapper input.round {
    background: var(--ws-elevated);
    border: 1px solid var(--ws-border);
    border-radius: var(--m-radius-sm);
    color: var(--ws-text);
    font-family: var(--m-font);
}

body.webshop .config_select #domain_new_wrapper input.round:focus {
    outline: none;
    border-color: var(--m-primary);
    box-shadow: 0 0 0 3px rgba(0, 120, 179, 0.2);
}

body.webshop .config_select #domain_external_input_message,
body.webshop .config_select #domain_account_message,
body.webshop .config_select #domain_new_message,
body.webshop .config_select #result {
    margin: 0.5rem 0 0;
    text-align: left;
    box-shadow: none;
    width: 100%;
}

body.webshop .config_select .message_js {
    position: relative;
    top: 0;
    left: 0;
    right: auto;
    transform: none;
    z-index: auto;
    max-width: none;
    padding: 10px 14px;
}

body.webshop .config_select .message_js p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

body.webshop .submit_wrapper {
    border-top: none;
    padding-top: 1.5rem;
}

body.webshop .submit_wrapper p {
    color: var(--ws-text-secondary);
}

/* Domain advanced config */
body.webshop #domain_config_advanced {
    color: var(--ws-text-secondary);
}

body.webshop #domain_config_advanced h3 {
    color: var(--ws-text);
}

body.webshop #domain_config_advanced fieldset {
    background: var(--ws-card);
    border-color: var(--ws-border);
}

body.webshop .ns-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

body.webshop .ns-fields label {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--ws-text-secondary);
    float: none;
    width: auto;
    padding: 0;
    text-align: left;
}

body.webshop .ns-fields input {
    padding: 0.55rem 0.75rem;
    background: var(--ws-elevated);
    border: 1px solid var(--ws-border);
    border-radius: var(--m-radius-sm);
    color: var(--ws-text);
    font-family: var(--m-font);
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
}

body.webshop .ns-fields input:focus {
    outline: none;
    border-color: var(--m-primary);
    box-shadow: 0 0 0 3px rgba(0, 120, 179, 0.2);
}

@media all and (max-width: 480px) {
    body.webshop .ns-fields {
        grid-template-columns: 1fr;
    }
}

body.webshop #domain_config_advanced .config_options label {
    color: var(--ws-text-secondary);
}

/* --- Colorbox popup (dark) --- */
body.webshop #cboxContent {
    background: var(--ws-card) !important;
}

body.webshop #cboxLoadedContent {
    background: var(--ws-card) !important;
    color: var(--ws-text);
}

body.webshop #cboxLoadedContent h2,
body.webshop #cboxLoadedContent h2.cufon_head {
    color: var(--ws-text);
}

body.webshop #cboxLoadedContent p,
body.webshop #cboxLoadedContent span {
    color: var(--ws-text-secondary);
}

body.webshop #cboxLoadedContent strong {
    color: var(--ws-text);
}

body.webshop #cboxLoadedContent label {
    color: var(--ws-text-secondary);
}

body.webshop #cboxLoadedContent input.txt,
body.webshop #cboxLoadedContent input[type="text"],
body.webshop #cboxLoadedContent input[type="password"],
body.webshop #cboxLoadedContent input[type="email"] {
    background: var(--ws-elevated) !important;
    border: 1px solid var(--ws-border) !important;
    color: var(--ws-text) !important;
    border-radius: var(--m-radius-sm);
}

body.webshop #cboxLoadedContent input.txt:focus,
body.webshop #cboxLoadedContent input[type="text"]:focus,
body.webshop #cboxLoadedContent input[type="password"]:focus,
body.webshop #cboxLoadedContent input[type="email"]:focus {
    border-color: var(--m-primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 120, 179, 0.2);
    outline: none;
}

body.webshop #cboxLoadedContent a:not(.button) {
    color: var(--m-primary);
}

/* Fieldset inside colorbox (forgot password form) */
body.webshop #cboxLoadedContent fieldset {
    background: transparent !important;
    border: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.webshop #cboxLoadedContent fieldset label {
    color: var(--ws-text-secondary) !important;
    font-family: var(--m-font) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    text-shadow: none !important;
    float: none !important;
    text-align: left !important;
    display: block !important;
    width: auto !important;
    padding: 0 0 0.375rem 0 !important;
    line-height: normal !important;
}

/* Position forgot password dialog lower in webshop (matches other dialogs) */
body.webshop #password_forgot_dialog {
    margin-top: 15vh;
}

body.webshop #cboxClose {
    color: var(--ws-text-secondary);
}

body.webshop #cboxClose:hover {
    color: var(--ws-text);
}

body.webshop #cboxTitle {
    color: var(--ws-text-muted);
}

/* Shop login dialog */
#shop_login_dialog {
    position: relative;
    background: var(--r-card);
    color: var(--r-text);
    border: 1px solid var(--r-border);
    border-radius: var(--r-radius);
    padding: 1.5rem;
    width: min(420px, calc(100% - 2rem));
    max-width: 100%;
    box-sizing: border-box;
    font-family: var(--r-font);
    box-shadow: var(--r-shadow-xl);
    overflow: visible;
    margin-top: 15vh;
}

#shop_login_dialog::backdrop {
    background: rgba(0, 0, 0, 0.6);
}

#shop_login_dialog .dialog-title {
    color: var(--r-text);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 5px 0 1rem 0;
    background-image: none;
    padding-left: 0;
}

#shop_login_dialog .dialog-close {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: none;
    color: var(--r-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 9px 0 0;
    margin: 0;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    outline: none;
    transition: color var(--r-transition);
}

#shop_login_dialog .dialog-close:hover {
    color: var(--r-text);
}

#shop_login_dialog .login-field {
    margin-bottom: 0.75rem;
}

#shop_login_dialog .login-field label {
    display: block;
    color: var(--r-text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

#shop_login_dialog .login-field input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: var(--r-elevated);
    border: 1px solid var(--r-border);
    border-radius: var(--r-radius-sm);
    color: var(--r-text);
    font-family: var(--r-font);
    font-size: 0.9rem;
    box-sizing: border-box;
}

#shop_login_dialog .login-field input:focus {
    outline: none;
    border-color: var(--r-primary);
    box-shadow: 0 0 0 3px rgba(0, 120, 179, 0.2);
}

#shop_login_dialog .login-submit {
    width: 100%;
    padding: 0.7rem;
    margin-top: 0.25rem;
    background: var(--r-gradient);
    border: none;
    border-radius: var(--r-radius-sm);
    color: #ffffff;
    font-family: var(--r-font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity var(--r-transition), box-shadow var(--r-transition);
}

#shop_login_dialog .login-submit:hover {
    opacity: 0.9;
    box-shadow: var(--r-glow-strong);
}

#shop_login_dialog .login-forgot {
    text-align: center;
    margin-top: 1rem;
}

#shop_login_dialog .login-forgot a {
    color: var(--r-text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: color var(--r-transition);
}

#shop_login_dialog .login-forgot a:hover {
    color: var(--r-text);
}

/* Customer check dialog */
#customer_check_dialog {
    position: relative;
    background: var(--r-card);
    color: var(--r-text);
    border: 1px solid var(--r-border);
    border-radius: var(--r-radius);
    padding: 1.5rem;
    width: min(420px, calc(100% - 2rem));
    max-width: 100%;
    box-sizing: border-box;
    font-family: var(--r-font);
    box-shadow: var(--r-shadow-xl);
    overflow: visible;
    margin-top: 15vh;
}

#customer_check_dialog::backdrop {
    background: rgba(0, 0, 0, 0.6);
}

#customer_check_dialog .dialog-title {
    color: var(--r-text);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 5px 0 0.75rem 0;
    background-image: none;
    padding-left: 0;
}

#customer_check_dialog .dialog-text {
    color: var(--r-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

#customer_check_dialog .dialog-close {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: none;
    color: var(--r-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 9px 0 0;
    margin: 0;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    outline: none;
    transition: color var(--r-transition);
}

#customer_check_dialog .dialog-close:hover {
    color: var(--r-text);
}

#customer_check_dialog .dialog-btn {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

#customer_check_dialog .dialog-btn + .dialog-btn {
    margin-top: 0.5rem;
    background: var(--r-elevated) !important;
    box-shadow: none;
    color: var(--r-text-secondary);
}

#customer_check_dialog .dialog-btn + .dialog-btn:hover {
    color: var(--r-text);
}

/* Colorbox border images → solid dark */
body.webshop #cboxTopLeft,
body.webshop #cboxTopCenter,
body.webshop #cboxTopRight,
body.webshop #cboxBottomLeft,
body.webshop #cboxBottomCenter,
body.webshop #cboxBottomRight,
body.webshop #cboxMiddleLeft,
body.webshop #cboxMiddleRight {
    background-image: none !important;
    background-color: var(--ws-card) !important;
}

body.webshop #cboxOverlay {
    background: rgba(0, 0, 0, 0.8) !important;
}

body.webshop #cboxLoadingOverlay {
    background-color: var(--ws-card) !important;
}

/* --- Generic old buttons (dark) — !important to beat global.css --- */
body.webshop .button.black,
body.webshop .button.blue,
body.webshop .button.green {
    background: var(--ws-gradient) !important;
    border: none !important;
    color: #ffffff !important;
    text-shadow: none !important;
    border-radius: var(--m-radius-sm);
    font-family: var(--m-font);
}

body.webshop .button.black:hover,
body.webshop .button.blue:hover,
body.webshop .button.green:hover {
    background: var(--ws-gradient) !important;
    opacity: 0.9;
    color: #ffffff !important;
    text-shadow: none !important;
}

body.webshop .button.black:active,
body.webshop .button.blue:active,
body.webshop .button.green:active {
    background: var(--ws-gradient) !important;
    color: #ffffff !important;
    text-shadow: none !important;
}

/* --- Help Section --- */
.ws-help {
    display: none;
}

body.webshop .ws-help {
    display: block;
    background: var(--ws-card);
    padding: 4rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--ws-border);
    position: relative;
}

body.webshop .ws-help::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--m-success), transparent);
    opacity: 0.3;
}

.ws-help-container {
    max-width: var(--ws-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.ws-help-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--r-text);
}

.ws-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

body.webshop a.ws-help-card,
body.webshop a.ws-help-card:visited {
    background: var(--ws-elevated);
    padding: 1.75rem;
    border-radius: var(--m-radius-lg);
    border: 1px solid var(--ws-border);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: block;
}

.ws-help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--ws-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.ws-help-card:hover {
    border-color: var(--ws-border-hover);
    background: var(--ws-hover);
    transform: translateX(4px);
}

.ws-help-card:hover::before {
    opacity: 1;
}

.ws-help-card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--r-text);
    font-size: 1.125rem;
}

.ws-help-card-desc {
    font-size: 0.9375rem;
    color: var(--ws-text-secondary);
    line-height: 1.6;
}

/* --- Footer (dark) --- */
.ws-footer {
    display: block;
    background: var(--r-card);
    color: var(--r-text-secondary);
    padding: 5rem 0 2.5rem;
    border-top: 1px solid var(--r-border);
    position: relative;
}

.ws-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--r-primary), var(--r-success), transparent);
    opacity: 0.5;
}

#footer_wrapper {
    display: none;
}

.ws-footer-container {
    max-width: var(--r-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.ws-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.ws-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ws-footer-logo {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ws-footer-logo span {
    background: var(--r-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ws-footer-desc {
    line-height: 1.7;
    max-width: 320px;
    color: var(--r-text-secondary);
}

.ws-footer-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ws-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding: 0;
    margin: 0;
}

.ws-footer-links a {
    color: var(--r-text-secondary);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.9375rem;
    display: inline-block;
}

.ws-footer-links a:hover {
    color: var(--r-primary);
    transform: translateX(4px);
}

.ws-footer-bottom {
    border-top: 1px solid var(--r-border);
    padding-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.ws-footer-copyright {
    font-size: 0.875rem;
    color: var(--r-text-muted);
}

.ws-footer-payment {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ws-payment-icon {
    background: var(--r-elevated);
    border: 1px solid var(--r-border);
    padding: 0.625rem 1.25rem;
    border-radius: var(--r-radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.2s;
}

.ws-payment-icon:hover {
    border-color: var(--r-border-hover);
    background: var(--r-hover);
}

.ws-vat-notice {
    background: var(--r-elevated);
    border: 1px solid var(--r-border);
    padding: 0.875rem 1.25rem;
    border-radius: var(--r-radius);
    font-size: 0.875rem;
    color: var(--r-text-secondary);
}

.ws-vat-notice strong {
    color: var(--r-danger);
}

/* --- Notification / success message (dark theme override) --- */
body.webshop div.message,
body.webshop div.message_js {
    position: fixed;
    top: 80px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    margin-left: 0;
    z-index: 1100;
    background: var(--ws-card);
    border: 1px solid var(--ws-border);
    color: var(--ws-text);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    border-radius: var(--m-radius);
    width: 420px;
    max-width: calc(100vw - 2rem);
    padding: 1.25rem 1.5rem;
    font-family: var(--m-font);
}

body.webshop div.notification_success,
body.webshop div.notification-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--m-success);
}

body.webshop div.notification_error {
    background: rgba(239, 68, 68, 0.45);
    border-color: var(--r-danger);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.webshop div.message h4,
body.webshop div.message_js h4 {
    background: none;
    padding-left: 0;
    color: var(--ws-text);
    font-family: var(--m-font);
    font-size: 1rem;
}

body.webshop div.notification_success h4,
body.webshop div.notification-success h4 {
    color: var(--m-success);
}

body.webshop div.notification_error h4 {
    color: #ffffff;
}

body.webshop div.message p,
body.webshop div.message li,
body.webshop div.message_js p,
body.webshop div.message_js li {
    color: var(--ws-text-secondary);
    margin-left: 0;
}

body.webshop div.notification_error p,
body.webshop div.notification_error li {
    color: rgba(255, 255, 255, 0.8);
}

/* --- Customer page --- */
body.webshop h2.cufon_head {
    font-size: 2rem;
    font-weight: 800;
    color: var(--r-text);
    font-family: var(--m-font);
    margin-bottom: 0.5rem;
}

body.webshop p.intro_shop {
    color: var(--ws-text-secondary) !important;
}

body.webshop #welcome_existing_client,
body.webshop #welcome_existing_client * {
    font-family: var(--m-font);
}

/* Welcome existing client summary box */
body.webshop #welcome_existing_client .special {
    background: var(--ws-card);
    border: 1px solid var(--ws-border);
    border-radius: var(--m-radius);
    text-shadow: none !important;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.25rem;
}

body.webshop #welcome_existing_client_account,
body.webshop #welcome_existing_client_invoice {
    flex: 1 1 250px;
}

body.webshop #welcome_existing_client .special > div.clearfix:not([id]) {
    display: none;
}

body.webshop #welcome_existing_client #open_customer_form {
    flex-basis: 100%;
}

body.webshop #welcome_existing_client .special h3 {
    color: var(--r-text);
    font-family: var(--m-font);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

body.webshop #welcome_existing_client .special td,
body.webshop #welcome_existing_client .special tr td {
    color: var(--ws-text-secondary);
    border: none;
    padding: 0.2rem 0;
}

body.webshop #welcome_existing_client td.label,
body.webshop #welcome_existing_client .special td.label {
    color: var(--ws-text-muted);
    padding-right: 0.75rem;
    white-space: nowrap;
}

body.webshop #welcome_existing_client .submit_wrapper {
    overflow: hidden;
    margin-bottom: 2rem;
}

/* Customer form (profile) — kill legacy text-shadow and fix sizes */
body.webshop #order_profile_wrapper,
body.webshop #order_profile_wrapper *,
body.webshop #client_type_element,
body.webshop #client_type_element *,
body.webshop #welcome_existing_client,
body.webshop #welcome_existing_client * {
    font-family: var(--m-font) !important;
    text-shadow: none !important;
    -webkit-font-smoothing: antialiased;
}

body.webshop #order_profile_wrapper fieldset > ol > li,
body.webshop #client_type_element fieldset > ol > li {
    font-size: 0.875rem !important;
}

body.webshop #order_profile_wrapper fieldset label,
body.webshop #order_profile_wrapper fieldset span.label,
body.webshop #client_type_element fieldset label {
    font-size: 0.875rem !important;
}

body.webshop #order_profile_wrapper fieldset {
    background: var(--ws-card);
    border: 1px solid var(--ws-border);
    border-radius: var(--m-radius);
    width: 100%;
    box-sizing: border-box;
}

body.webshop #order_profile_wrapper legend,
body.webshop #order_profile_wrapper legend.cufon_fieldset_head {
    float: left;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 15px !important;
    margin: 0 !important;
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    border-bottom: 1px solid var(--ws-border) !important;
    border-radius: 0 !important;
    color: var(--ws-text) !important;
    font-family: var(--m-font) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

body.webshop #order_profile_wrapper fieldset ol {
    clear: both;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.webshop #order_profile_wrapper fieldset > ol > li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    background: transparent !important;
    background-image: none !important;
    border-top: 1px solid var(--ws-border);
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 10px 15px !important;
    line-height: 1.5;
}

body.webshop #order_profile_wrapper fieldset label:not(.radio):not(.check),
body.webshop #order_profile_wrapper fieldset span.label {
    flex: 0 0 160px;
    width: 160px !important;
    float: none !important;
    text-align: right !important;
    padding: 2px 0 0 !important;
    color: var(--ws-text-secondary);
}

/* Second label inline (e.g. Toevoeging next to Huisnummer) */
body.webshop #order_profile_wrapper fieldset label.second {
    flex: 0 0 auto !important;
    width: auto !important;
    text-align: left !important;
    padding: 2px 0 0 16px !important;
}

/* Small inputs (Huisnummer, Toevoeging) don't grow */
body.webshop #order_profile_wrapper fieldset input.txt.small {
    flex: 0 0 80px !important;
    width: 80px !important;
    min-width: 0;
    margin: 0 !important;
}

body.webshop #order_profile_wrapper fieldset input.txt,
body.webshop #order_profile_wrapper fieldset textarea.txt {
    flex: 1 1 200px;
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
}

body.webshop #order_profile_wrapper fieldset label,
body.webshop #order_profile_wrapper fieldset span.label {
    color: var(--ws-text-secondary);
}

body.webshop #order_profile_wrapper fieldset label.radio {
    color: var(--ws-text-secondary);
}

body.webshop #order_profile_wrapper fieldset h4 {
    color: var(--r-text);
    font-family: var(--m-font);
}

body.webshop #order_profile_wrapper input.txt,
body.webshop #order_profile_wrapper input[type="text"],
body.webshop #order_profile_wrapper input[type="email"],
body.webshop #order_profile_wrapper input[type="password"] {
    background: var(--ws-elevated) !important;
    border: 1px solid var(--ws-border) !important;
    color: var(--ws-text) !important;
    border-radius: var(--m-radius-sm);
    font-family: var(--m-font);
    font-size: 0.875rem !important;
}

body.webshop #order_profile_wrapper input.txt:focus,
body.webshop #order_profile_wrapper input[type="text"]:focus,
body.webshop #order_profile_wrapper input[type="email"]:focus,
body.webshop #order_profile_wrapper input[type="password"]:focus {
    border-color: var(--m-primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 120, 179, 0.2);
    outline: none;
}

body.webshop #order_profile_wrapper select.select,
body.webshop #order_profile_wrapper select {
    background: var(--ws-elevated);
    border: 1px solid var(--ws-border);
    color: var(--ws-text);
    border-radius: var(--m-radius-sm);
    font-family: var(--m-font) !important;
    font-size: 0.875rem !important;
}

body.webshop #order_profile_wrapper span.error {
    color: var(--m-danger);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--m-radius-sm);
}

/* Password strength row: no border, compact, attaches visually to password row */
body.webshop #order_profile_wrapper fieldset > ol > li:has(#password_strength) {
    border-top: none !important;
    padding-top: 4px !important;
    padding-bottom: 8px !important;
    /* indent content to align with input column (label 160px + gap 12px + li padding 15px) */
    padding-left: calc(15px + 160px + 12px) !important;
}

body.webshop #order_profile_wrapper fieldset > ol > li:has(#password_strength) > label {
    display: none;
}

/* Password strength meter */
body.webshop #password_strength {
    flex: 1 1 auto;
    min-width: 0;
}

body.webshop #password_strength ul {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

body.webshop #password_strength li,
body.webshop #weak,
body.webshop #medium,
body.webshop #strong {
    background: var(--ws-elevated);
    border-color: var(--ws-border);
    color: var(--ws-text-muted);
    border-radius: 2px;
}

body.webshop #password_strength.strong #weak,
body.webshop #password_strength.strong #medium,
body.webshop #password_strength.strong #strong {
    background: rgba(16, 185, 129, 0.2);
    color: var(--m-success);
}

body.webshop #password_strength.medium #weak,
body.webshop #password_strength.medium #medium {
    background: rgba(245, 158, 11, 0.2);
    color: var(--m-warning);
}

body.webshop #password_strength.weak #weak {
    background: rgba(239, 68, 68, 0.2);
    color: var(--m-danger);
}

/* Client type section heading */
body.webshop #client_type_element,
body.webshop #client_type_element * {
    font-family: var(--m-font);
}

body.webshop #client_type_element fieldset {
    background: var(--ws-card);
    border: 1px solid var(--ws-border);
    border-radius: var(--m-radius);
    width: 100%;
    box-sizing: border-box;
}

body.webshop #client_type_element fieldset legend {
    float: left;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 15px !important;
    margin: 0 !important;
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    border-bottom: 1px solid var(--ws-border) !important;
    border-radius: 0 !important;
    color: var(--ws-text) !important;
    font-family: var(--m-font) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

body.webshop #client_type_element fieldset ol {
    clear: both;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.webshop #client_type_element fieldset > ol > li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    background: transparent !important;
    background-image: none !important;
    border-top: 1px solid var(--ws-border);
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 10px 15px !important;
    line-height: 1.5;
}

body.webshop #client_type_element fieldset label:not(.radio):not(.check) {
    flex: 0 0 160px;
    width: 160px !important;
    float: none !important;
    text-align: right !important;
    padding: 2px 0 0 !important;
}

body.webshop #client_type_element fieldset input.txt {
    flex: 1 1 200px;
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
}

body.webshop #client_type_element fieldset select {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

body.webshop #client_type_element fieldset label {
    color: var(--ws-text-secondary);
}

body.webshop #client_type_element input.txt,
body.webshop #client_type_element input[type="text"],
body.webshop #client_type_element input[type="email"] {
    background: var(--ws-elevated) !important;
    border: 1px solid var(--ws-border) !important;
    color: var(--ws-text) !important;
    border-radius: var(--m-radius-sm);
    font-family: var(--m-font);
    font-size: 0.875rem !important;
}

body.webshop #client_type_element select {
    background: var(--ws-elevated);
    border: 1px solid var(--ws-border);
    color: var(--ws-text);
    border-radius: var(--m-radius-sm);
    font-family: var(--m-font) !important;
    font-size: 0.875rem !important;
}

/* --- Customer page: "Let op" notice paragraphs --- */
body.webshop #order_profile_wrapper fieldset li p,
body.webshop #client_type_element fieldset li p {
    color: var(--ws-text-secondary) !important;
    font-size: 0.875rem !important;
    font-family: var(--m-font) !important;
    font-weight: normal !important;
    margin: 0;
}

body.webshop #order_profile_wrapper fieldset li p strong,
body.webshop #client_type_element fieldset li p strong {
    color: var(--ws-text) !important;
}

/* --- Password show checkbox --- */
body.webshop #password_show_wrapper {
    margin-top: 6px;
}

body.webshop #password_show_wrapper label {
    font-family: var(--m-font) !important;
    font-size: 0.875rem !important;
    color: var(--ws-text-secondary) !important;
    text-shadow: none !important;
    display: flex !important;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* --- Confirmation page --- */
body.webshop p.intro_shop {
    color: var(--ws-text-secondary);
    font-family: var(--m-font);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

body.webshop p.intro_shop a {
    color: var(--m-primary);
}

body.webshop #order_overview_wrapper {
    background: var(--ws-card) !important;
    border: 1px solid var(--ws-border);
    border-radius: var(--m-radius);
    padding: 0 !important;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

body.webshop #order_overview_wrapper > ul {
    color: var(--ws-text) !important;
    list-style: none !important;
    margin: 0;
    padding: 0;
    font-size: 0.875rem !important;
}

/* Kill all legacy text-shadow and border-radius on rows */
body.webshop #order_overview_wrapper li {
    text-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    font-family: var(--m-font);
    font-size: 0.875rem;
}

/* Package header row */
body.webshop #order_overview_wrapper li.package > span {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    background: var(--ws-elevated) !important;
    background-image: none !important;
    border-bottom: 1px solid var(--ws-border);
    padding: 12px 16px !important;
    margin: 0 !important;
    color: var(--ws-text) !important;
    text-shadow: none !important;
}

body.webshop #order_overview_wrapper li.package > span > span.details {
    color: var(--ws-text-secondary) !important;
    font-style: normal !important;
    font-size: 0.8rem;
    text-shadow: none !important;
}

/* Domain / extra sub-rows */
body.webshop #order_overview_wrapper li.package ul.domains,
body.webshop #order_overview_wrapper li.package ul.vps_extras,
body.webshop #order_overview_wrapper li.single_domain ul.domains {
    list-style: none !important;
    padding: 0 !important;
    margin: 0;
}

body.webshop #order_overview_wrapper li.package ul.domains li,
body.webshop #order_overview_wrapper li.package ul.vps_extras li,
body.webshop #order_overview_wrapper li.single_domain ul.domains li {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px 10px 28px !important;
    border-top: 1px solid var(--ws-border);
    background: var(--ws-card) !important;
    color: var(--ws-text-secondary) !important;
}

/* Remove legacy tree icon images */
body.webshop #order_overview_wrapper li.package ul.domains li:before,
body.webshop #order_overview_wrapper li.package ul.vps_extras li:before {
    content: none !important;
    display: none !important;
}

body.webshop #order_overview_wrapper span.details {
    color: var(--ws-text-secondary) !important;
    font-style: normal !important;
    text-shadow: none !important;
}

/* Price badge */
body.webshop #order_overview_wrapper span.price {
    background: var(--m-primary) !important;
    color: #fff !important;
    border-radius: var(--m-radius-sm) !important;
    padding: 3px 10px !important;
    float: none !important;
    flex-shrink: 0;
    margin: 0 !important;
    text-shadow: none !important;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    width: auto !important;
}

body.webshop #order_overview_wrapper span.price span {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.9em;
}

/* Totals section */
body.webshop #order_overview_total_price {
    background: var(--ws-elevated) !important;
    border-top: 1px solid var(--ws-border) !important;
    border-radius: 0 0 var(--m-radius) var(--m-radius);
    color: var(--ws-text) !important;
    text-shadow: none !important;
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    box-sizing: border-box;
}

body.webshop #order_overview_total_price h3 {
    color: var(--ws-text);
    font-family: var(--m-font);
    font-size: 0.875rem !important;
    font-weight: 600;
    margin-bottom: 6px;
    text-shadow: none !important;
}

body.webshop #order_overview_total_price p {
    color: var(--ws-text-secondary);
    font-family: var(--m-font);
    font-size: 0.875rem !important;
    padding-top: 0 !important;
    line-height: 1.8;
    text-shadow: none !important;
}

body.webshop #order_overview_total_price p span {
    color: var(--ws-text-muted) !important;
}

body.webshop #order_overview_total_price strong {
    background: var(--m-primary) !important;
    border-radius: var(--m-radius-sm) !important;
    color: #fff !important;
    display: inline-block !important;
    font-size: 0.875rem !important;
    margin: 8px 0 0 !important;
    padding: 6px 14px !important;
    text-shadow: none !important;
    white-space: nowrap;
}

body.webshop #order_overview_total_price .left {
    text-align: left;
    width: auto !important;
}

body.webshop #order_overview_total_price .right {
    text-align: right;
}

/* Notes field label */
body.webshop label.ws-field-label {
    display: block;
    color: var(--ws-text-secondary);
    font-family: var(--m-font);
    font-size: 0.875rem;
    font-weight: 600;
    margin: 1.5rem 0 0.4rem;
}

/* Customer notes textarea */
body.webshop #UserKlantOpmerking {
    background: var(--ws-elevated) !important;
    border: 1px solid var(--ws-border) !important;
    color: var(--ws-text) !important;
    border-radius: var(--m-radius-sm);
    font-family: var(--m-font);
    font-size: 0.875rem !important;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    padding: 10px 12px;
    margin-bottom: 1rem;
}

body.webshop #UserKlantOpmerking:focus {
    border-color: var(--m-primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 120, 179, 0.2);
    outline: none;
}

/* Terms agreement checkboxes */
body.webshop #agree-conditions {
    margin: 1.5rem 0;
    padding: 0 !important;
}

body.webshop #agree-conditions p {
    color: var(--ws-text-secondary);
    font-family: var(--m-font);
    font-size: 0.875rem;
    margin: 0 0 0.75rem 0 !important;
    padding: 0 !important;
}

body.webshop #agree-conditions label {
    color: var(--ws-text-secondary);
    font-family: var(--m-font);
    font-size: 0.875rem;
    display: block;
    position: relative;
    padding-left: 24px;
    margin: 0 !important;
    cursor: pointer;
    line-height: 1.6;
}

body.webshop #agree-conditions input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 4px;
    accent-color: var(--m-primary);
    width: 15px;
    height: 15px;
    margin: 0;
}

body.webshop #agree-conditions a {
    color: var(--r-primary);
}

body.webshop #agree-conditions a:hover {
    color: #93c5fd;
}

body.webshop #agree-conditions small {
    color: var(--ws-text-muted);
    font-family: var(--m-font);
    display: block;
    margin-top: 4px;
    padding-left: 22px;
}

/* --- Buttons (generic dark) --- */
body.webshop .button,
body.webshop input[type="submit"],
body.webshop button {
    font-family: var(--m-font);
}

body.webshop .round2.button.blue,
body.webshop .round2.button.green,
body.webshop .round.button.blue,
body.webshop .round.button.green {
    background: var(--ws-gradient);
    border: none;
    color: #fff;
    border-radius: var(--m-radius-sm);
}

body.webshop #open_customer_form {
    background: var(--ws-gradient) !important;
    border: none !important;
    border-radius: var(--m-radius-sm) !important;
    color: #ffffff !important;
    font-family: var(--m-font) !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    box-shadow: 0 0 20px rgba(0, 120, 179, 0.3) !important;
    text-shadow: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.webshop #open_customer_form:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 0 30px rgba(0, 120, 179, 0.5) !important;
    color: #ffffff !important;
}

/* --- Responsive: form fields stack below labels on narrow screens --- */
@media all and (max-width: 620px) {
    body.webshop #order_profile_wrapper fieldset label:not(.radio):not(.check),
    body.webshop #order_profile_wrapper fieldset span.label,
    body.webshop #client_type_element fieldset label:not(.radio):not(.check) {
        flex: 0 0 100% !important;
        width: 100% !important;
        text-align: left !important;
        padding: 0 !important;
    }

    body.webshop #order_profile_wrapper fieldset input.txt,
    body.webshop #order_profile_wrapper fieldset textarea.txt,
    body.webshop #client_type_element fieldset input.txt {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    body.webshop #order_profile_wrapper fieldset select,
    body.webshop #client_type_element fieldset select {
        width: 100% !important;
    }

    body.webshop #order_profile_wrapper fieldset > ol > li:has(#password_strength) {
        padding-left: 15px !important;
    }
}

/* --- Confirmation page responsive --- */
@media all and (max-width: 600px) {
    body.webshop #order_overview_total_price {
        flex-direction: column !important;
        gap: 1rem;
    }
    body.webshop #order_overview_total_price .left,
    body.webshop #order_overview_total_price .right {
        width: 100% !important;
        text-align: left !important;
    }
}

/* --- Responsive --- */
@media all and (max-width: 1024px) {
    body.webshop #content_wrapper {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }
    body.webshop #order_side {
        flex: 0 0 auto;
        width: 100%;
        position: static;
        padding: 0;
    }
    .ws-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media all and (max-width: 640px) {
    .ws-progress {
        padding: 1.5rem 1rem;
    }
    .ws-progress-steps::before {
        display: none;
    }
    .ws-step {
        flex-direction: row;
        padding: 0;
        background: transparent;
        gap: 0.75rem;
    }
    .ws-step-circle {
        width: 23px;
        height: 23px;
        font-size: 0.65rem;
    }
    .ws-index h2,
    .ws-section-title {
        font-size: 1.875rem;
    }
    .ws-product-card {
        flex-direction: column;
        padding: 1.75rem;
    }
    .ws-product-icon {
        width: 56px;
        height: 56px;
        flex: 0 0 56px;
    }
    .ws-product-icon svg {
        width: 28px;
        height: 28px;
    }
    .ws-product-info strong {
        font-size: 1.25rem;
    }
    .ws-product-arrow {
        width: 100%;
    }
    .ws-product-arrow .ws-btn-primary {
        width: 100%;
        justify-content: center;
    }
    .ws-help-grid {
        grid-template-columns: 1fr;
    }
    .ws-footer {
        padding: 2.5rem 0 1.5rem;
    }
    .ws-footer-container {
        padding: 0 1rem;
    }
    .ws-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    .ws-footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 1.5rem;
    }
    .ws-footer-payment {
        flex-wrap: wrap;
        justify-content: center;
    }
    .ws-vat-notice {
        box-sizing: border-box;
        width: 100%;
        text-align: center;
    }
    body.webshop #content_wrapper {
        padding: 1.5rem 1rem;
    }
}

/* --- Small phone: compact product cards, hide progress --- */
@media all and (max-width: 480px) {
    .ws-progress {
        display: none;
    }

    .ws-section-header {
        display: none;
    }

    /* Block layout with floated icon: header next to icon, description full width */
    .ws-product-card {
        display: block !important;
        padding: 1.25rem !important;
    }

    /* Small floated icon beside header */
    .ws-product-icon {
        float: left;
        width: 28px !important;
        height: 28px !important;
        flex: none !important;
        border: none;
        background: transparent;
        margin: 0.15rem 0.6rem 0.25rem 0;
    }

    .ws-product-icon svg {
        width: 20px !important;
        height: 20px !important;
    }

    .ws-product-info strong {
        font-size: 1.1rem !important;
    }

    .ws-product-info > span {
        font-size: 0.85rem;
    }

    .ws-product-features {
        gap: 0.35rem;
    }

    .ws-feature-tag {
        font-size: 0.5rem !important;
        padding: 0.15rem 0.5rem !important;
    }

    /* CTA button clears float, full width */
    .ws-product-arrow {
        clear: both;
        margin-top: 0.75rem;
    }

    .ws-product-arrow .ws-btn-primary {
        width: 100%;
        justify-content: center;
    }

    /* Tighter content wrapper */
    body.webshop #content_wrapper {
        padding: 1rem 0.75rem !important;
        margin-top: 10px;
        gap: 1.5rem !important;
    }

    .ws-index-grid {
        gap: 1rem;
    }

    /* Cart full width, reduced radius */
    body.webshop #order_side,
    body.webshop #content_wrapper > .column.grid_4 {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    .ws-cart {
        border-radius: 16px;
    }

    .ws-cart-header {
        padding: 1.25rem;
        font-size: 1.1rem;
    }

    .ws-cart-item {
        padding: 1rem 1.25rem;
    }

    .ws-cart-totals {
        padding: 1rem 1.25rem;
    }

    .ws-cart-actions {
        padding: 1rem 1.25rem 1.25rem;
    }

    .ws-footer {
        padding-top: 40px;
    }

    .ws-footer-desc {
        margin-top: 0;
    }

    .ws-footer-title {
        margin-top: 0;
    }
}

/* --- Payment page (/order/payment) --- */
body.webshop #select-payment {
    margin-bottom: 1rem;
}

body.webshop #select-payment p {
    margin: 0;
}

body.webshop #select-payment fieldset.metal {
    background: var(--ws-card) !important;
    border: 1px solid var(--ws-border) !important;
    border-radius: var(--m-radius) !important;
    padding: 0 !important;
    overflow: hidden;
    box-shadow: none !important;
}

body.webshop #select-payment fieldset ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.webshop #select-payment fieldset li {
    border-bottom: 1px solid var(--ws-border) !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.webshop #select-payment fieldset li:last-child {
    border-bottom: none !important;
}

body.webshop #select-payment fieldset label.radio {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.875rem 1.25rem !important;
    color: var(--ws-text-secondary) !important;
    font-family: var(--m-font) !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    text-shadow: none !important;
    text-align: left !important;
    float: none !important;
    line-height: normal !important;
    width: auto !important;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    margin: 0 !important;
}

body.webshop #select-payment fieldset label.radio:hover {
    background: var(--ws-elevated) !important;
    color: var(--ws-text) !important;
}

body.webshop .payment_method_wrapper {
    background: var(--ws-card) !important;
    border: 1px solid var(--ws-border) !important;
    border-radius: var(--m-radius) !important;
    padding: 1.5rem !important;
    margin-top: 1rem !important;
}

body.webshop .payment_method_wrapper h3 {
    color: var(--ws-text) !important;
    font-family: var(--m-font) !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
}

body.webshop .payment_method_wrapper p {
    color: var(--ws-text-secondary) !important;
    font-family: var(--m-font) !important;
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
}

body.webshop .payment_method_wrapper a {
    color: #60a5fa !important;
}

body.webshop .ideal_info,
body.webshop .manual_transfer_info {
    background-image: none !important;
    padding-left: 0 !important;
    height: auto !important;
    padding-top: 0 !important;
}

body.webshop #balance-expired-notice {
    background: rgba(245, 158, 11, 0.08) !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    border-radius: var(--m-radius) !important;
    padding: 1.25rem 1.5rem !important;
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
}

body.webshop #balance-expired-notice h1 {
    color: var(--m-warning) !important;
    font-family: var(--m-font) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
}

body.webshop #balance-expired-notice h2 {
    color: var(--ws-text) !important;
    font-family: var(--m-font) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.25rem !important;
}

body.webshop #balance-expired-notice h2.warning {
    color: var(--m-warning) !important;
}

body.webshop #balance-expired-notice p,
body.webshop #balance-expired-notice td {
    color: var(--ws-text-secondary) !important;
    font-family: var(--m-font) !important;
    font-size: 0.875rem !important;
}

body.webshop #balance-expired-notice .notice {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 0.75rem;
}

/* --- Confirmation pages: mollie_notices + transfer (grid_8/grid_4 layout) --- */

/* Column layout: grid_8 = main content, grid_4 = promo sidebar */
body.webshop #content_wrapper > .column.grid_8 {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    float: none !important;
    font-family: var(--m-font);
}

body.webshop #content_wrapper > .column.grid_4 {
    flex: 0 0 280px !important;
    width: 280px !important;
    float: none !important;
}

@media all and (max-width: 480px) {
    body.webshop #content_wrapper > .column.grid_4 {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
}

/* Generic content text inside these columns */
body.webshop #content_wrapper > .column.grid_8 p,
body.webshop #content_wrapper > .column.grid_8 li {
    color: var(--ws-text-secondary);
    font-family: var(--m-font);
    font-size: 0.9375rem;
    line-height: 1.7;
}

body.webshop #content_wrapper > .column.grid_8 h3 {
    color: var(--ws-text);
    font-family: var(--m-font);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

body.webshop #content_wrapper > .column.grid_8 a:not(.ws-cart-btn-primary):not(.button) {
    color: var(--r-primary);
}

/* Inline notification_success banner (not the fixed toast version) */
body.webshop #content_wrapper .column.grid_8 div.message.notification_success {
    position: static !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    max-width: none !important;
    margin-bottom: 1.5rem !important;
    background: rgba(0, 212, 170, 0.08) !important;
    border-color: var(--m-success) !important;
}

/* Inline yellow warning/tip boxes — override inline background-color:#ffffcc */
body.webshop #content_wrapper > .column.grid_8 div[style*="ffffcc"] {
    background: rgba(245, 158, 11, 0.08) !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    border-radius: var(--m-radius) !important;
    padding: 1rem 1.25rem !important;
}

body.webshop #content_wrapper > .column.grid_8 div[style*="ffffcc"] h3 {
    color: var(--m-warning) !important;
    font-family: var(--m-font) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
}

body.webshop #content_wrapper > .column.grid_8 div[style*="ffffcc"] p {
    color: var(--ws-text-secondary) !important;
    margin-bottom: 0 !important;
}

/* Box promo links (sidebar cards) */
body.webshop .column.grid_4 a.box_promo {
    display: block !important;
    background: var(--ws-card) !important;
    background-image: none !important;
    border: 1px solid var(--ws-border) !important;
    border-radius: var(--m-radius) !important;
    color: var(--ws-text-secondary) !important;
    font-family: var(--m-font) !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    padding: 1rem 1.25rem !important;
    text-decoration: none !important;
    text-shadow: none !important;
    margin-bottom: 0.75rem !important;
    transition: border-color 0.15s, background 0.15s;
}

body.webshop .column.grid_4 a.box_promo strong {
    color: var(--ws-text) !important;
    display: block !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.25rem !important;
}

body.webshop .column.grid_4 a.box_promo:hover {
    background: var(--ws-elevated) !important;
    border-color: var(--ws-border-hover) !important;
    color: var(--ws-text-secondary) !important;
}

/* Remove legacy background sprite images from box_promo icons */
body.webshop .column.grid_4 a.box_promo#link_home,
body.webshop .column.grid_4 a.box_promo#link_mijnrimote,
body.webshop .column.grid_4 a.box_promo#link_support,
body.webshop .column.grid_4 a.box_promo#link_shop {
    background-image: none !important;
    padding-left: 1.25rem !important;
}
