/* Vianke Catalog — Frontend © Vianke Ltd */

/* Döda temats ::after pilar på ALLA vcp-element */
.vcp-catalog-wrap a::after,
.vcp-catalog-wrap button::after,
.vcp-catalog-wrap a::before,
.vcp-catalog-wrap button::before,
.vcp-gallery-scroll-btn::after,
.vcp-gallery-scroll-btn::before {
    content: none !important;
    display: none !important;
}

/* Dölj PrintFriendly + WP Socializer på katalogsidor */
.vcp-catalog-wrap ~ .printfriendly,
.vcp-catalog-wrap ~ .pf-content,
.vcp-catalog-wrap ~ div[class*="printfriendly"],
.vcp-catalog-wrap ~ .wp-socializer,
.vcp-catalog-wrap ~ div[class*="wpsr"],
.vcp-catalog-wrap ~ div[class*="sr-sharebar"] { display: none !important; }

.vcp-catalog-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 15px 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Breadcrumbs */
.vcp-breadcrumbs {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}
.vcp-breadcrumbs a { color: #0073aa; text-decoration: none; }
.vcp-breadcrumbs a:hover { text-decoration: underline; }
.vcp-breadcrumb-sep { margin: 0 5px; color: #999; }
.vcp-breadcrumb-current { color: #333; }

/* Header */
.vcp-catalog-header { margin-bottom: 30px; }
.vcp-catalog-title { font-size: 28px; margin: 0 0 15px; }
.vcp-section-title { font-size: 20px; margin: 30px 0 15px; color: #333; }

/* Sök */
.vcp-search-input {
    width: 100%;
    max-width: 400px;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
}
.vcp-search-input:focus { border-color: #0073aa; outline: none; }

/* Kategori-grid */
.vcp-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.vcp-category-card {
    display: block;
    text-decoration: none;
    color: #333;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.vcp-category-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.vcp-category-image { aspect-ratio: 1; overflow: hidden; background: #fff; }
.vcp-category-image img { width: 100%; height: 100%; object-fit: cover; }
.vcp-category-info { padding: 12px 15px; }
.vcp-category-info h3 { font-size: 16px; margin: 0 0 4px; }
.vcp-category-count { font-size: 13px; color: #999; }

/* Produkt-grid */
.vcp-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.vcp-product-card {
    display: block;
    text-decoration: none;
    color: #333;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.vcp-product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.vcp-product-image { aspect-ratio: 1; overflow: hidden; background: #fff; }
.vcp-product-image img { width: 100%; height: 100%; object-fit: cover; }
.vcp-product-info { padding: 10px 12px; }
.vcp-product-itemno { font-size: 11px; color: #999; text-transform: uppercase; }
.vcp-product-info h3 { font-size: 14px; margin: 4px 0; }
.vcp-product-subtitle { font-size: 12px; color: #666; margin: 0; }
.vcp-product-from-price { font-size: 13px; font-weight: 600; color: #2e7d32; }
.vcp-product-quote-label { font-size: 13px; color: #0073aa; font-weight: 600; }

/* Produktsida layout */
.vcp-product-layout {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 30px;
    margin-bottom: 30px;
    max-width: 1000px;
}

/* Galleri */
.vcp-gallery-main { margin-bottom: 10px; }
.vcp-gallery-main img { width: 100%; border-radius: 4px; cursor: zoom-in; }
.vcp-gallery-thumbs-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}
.vcp-gallery-scroll-btn {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}
.vcp-gallery-scroll-btn:hover { background: #0073aa; color: #fff; border-color: #0073aa; }
.vcp-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow: hidden;
    scroll-behavior: smooth;
    flex: 1;
    min-width: 0;
}
.vcp-gallery-thumbs-nowrap {
    flex-wrap: wrap;
    overflow: visible;
}
.vcp-gallery-thumb { display: block; flex-shrink: 0; width: 70px; height: 70px; overflow: hidden; border: 2px solid transparent; border-radius: 4px; cursor: pointer; }
.vcp-gallery-thumb.active { border-color: #0073aa; }
.vcp-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Produktinfo */
.vcp-product-title { font-size: 26px; margin: 5px 0 10px; }
.vcp-product-subtitle { font-size: 16px; color: #666; }
.vcp-product-sizes { font-size: 14px; color: #444; }

/* Modeller & Varianter */
.vcp-models-section { margin: 15px 0; }
.vcp-model-group { margin-bottom: 15px; }
.vcp-model-name {
    font-size: 16px;
    margin: 0 0 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e5e5e5;
    color: #333;
}

/* Kompakt modell-grid (många modeller med korta namn) */
.vcp-models-compact {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}
.vcp-models-compact .vcp-model-group {
    margin-bottom: 0;
    padding: 6px 10px;
    border: 1px solid #f0f0f0;
}
.vcp-models-compact .vcp-model-name {
    font-size: 13px;
    margin: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.vcp-models-compact .vcp-variant-info strong { font-size: 12px; }
.vcp-models-compact .vcp-article-line { font-size: 11px; }
@media (max-width: 768px) {
    .vcp-models-compact { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .vcp-models-compact { grid-template-columns: repeat(2, 1fr); }
}
.vcp-variants-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.vcp-variant-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    min-width: 140px;
}
.vcp-variant-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
}
.vcp-variant-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.vcp-variant-info strong {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}
.vcp-variant-articles {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.vcp-article-line {
    font-size: 12px;
    color: #555;
}
.vcp-article-label { color: #999; }
.vcp-article-no { font-weight: 600; color: #333; }

/* R-PET Badge */
.vcp-rpet-badge {
    display: inline-block;
    margin-top: 10px;
}
.vcp-rpet-badge img {
    max-height: 80px;
    width: auto;
}

/* Delningsknappar */
.vcp-share-buttons { display: flex; gap: 8px; margin-top: 15px; }
.vcp-share-btn {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 12px;
    color: #555;
    text-decoration: none;
    cursor: pointer;
    background: #fff;
}
.vcp-share-btn:hover { background: #fff; }
.vcp-share-pdf {
    background: #0073aa !important;
    color: #fff !important;
    border-color: #0073aa !important;
}
.vcp-share-pdf:hover { background: #005a87 !important; }

/* Tabbar */
.vcp-tabs { margin-top: 30px; }
.vcp-tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 2px solid #e5e5e5;
}
.vcp-tab-btn {
    padding: 10px 20px;
    border: none;
    background: none;
    font-size: 14px;
    cursor: pointer;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s;
}
.vcp-tab-btn:hover { color: #333; }
.vcp-tab-btn.active { color: #0073aa; border-bottom-color: #0073aa; font-weight: 600; }
.vcp-tab-content { display: none; padding: 20px 0; }
.vcp-tab-content.active { display: block; }

/* Pristabell */
.vcp-price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}
.vcp-price-table th, .vcp-price-table td {
    padding: 10px 15px;
    text-align: center;
    border: 1px solid #e5e5e5;
}
.vcp-price-table thead { background: #e8f0f8; }
.vcp-price-table thead th { font-weight: 600; }
.vcp-surcharge-info { font-size: 14px; color: #666; font-style: italic; }
.vcp-surcharge-info span { margin-right: 15px; }
.vcp-price-note { font-size: 12px; color: #999; font-style: italic; }

/* Material */
.vcp-fabric-item {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.vcp-fabric-image { flex-shrink: 0; }
.vcp-fabric-image img { border-radius: 6px; max-width: 250px; }
.vcp-fabric-info h4 { margin: 0 0 8px; }
.vcp-fabric-info p { margin: 4px 0; font-size: 14px; color: #555; }

/* Storleksguide */
.vcp-size-guide-img { max-width: 100%; width: 100%; }

/* Miljödata */
.vcp-eco-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}
.vcp-eco-item {
    background: #e8f5e9;
    padding: 15px 20px;
    border-radius: 6px;
    text-align: center;
    min-width: 100px;
}
.vcp-eco-value { display: block; font-size: 22px; font-weight: 700; color: #2e7d32; }
.vcp-eco-label { display: block; font-size: 12px; color: #555; margin-top: 4px; }
.vcp-eco-certs { font-size: 14px; }

/* FAQ */
.vcp-faq-item { margin-bottom: 12px; }
.vcp-faq-question {
    cursor: pointer;
    padding: 10px 15px;
    background: #fff;
    margin: 0;
    border-radius: 4px;
}
.vcp-faq-answer { padding: 10px 15px; font-size: 14px; color: #555; }

/* Action buttons */
.vcp-action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e5e5e5;
}
.vcp-action-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}
.vcp-btn-contact {
    background: #333;
    color: #fff !important;
}
.vcp-btn-contact:hover { background: #555; }
.vcp-btn-quote {
    background: #0073aa;
    color: #fff;
}
.vcp-btn-quote:hover { background: #005a87; }
.vcp-btn-pdf {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}
.vcp-btn-pdf:hover { background: #fff; }

/* Offert modal */
.vcp-quote-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99998;
}
.vcp-quote-dialog {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    max-width: 440px;
    width: 90%;
    z-index: 99999;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.vcp-quote-dialog-wide {
    max-width: 820px;
    max-height: 90vh;
    overflow-y: auto;
}
.vcp-quote-columns {
    display: flex;
    gap: 24px;
}
.vcp-quote-col {
    flex: 1;
    min-width: 0;
}
.vcp-quote-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #0073aa;
    margin: 0 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e8f0f8;
}
.vcp-quote-product-section {
    border-top: 1px solid #eee;
    padding-top: 14px;
    margin-top: 14px;
}
@media (max-width: 700px) {
    .vcp-quote-columns { flex-direction: column; gap: 10px; }
}
.vcp-quote-close {
    position: absolute;
    top: 10px; right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}
.vcp-quote-dialog h2 { font-size: 20px; margin-bottom: 4px; }
.vcp-quote-subtitle { color: #666; margin-bottom: 15px; }
.vcp-quote-field { margin-bottom: 12px; }
.vcp-quote-field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.vcp-quote-field input,
.vcp-quote-field select {
    width: 100% !important;
    padding: 8px 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    height: auto !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
}
#vcp-quote-status {
    display: block;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 600;
}

.vcp-no-results { text-align: center; color: #999; padding: 40px; }

/* Responsive */
@media (max-width: 1024px) {
    .vcp-category-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .vcp-product-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 768px) {
    .vcp-product-layout { grid-template-columns: 1fr !important; }
    .vcp-category-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .vcp-product-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .vcp-catalog-title { font-size: 22px; }
    .vcp-price-table th, .vcp-price-table td { padding: 6px 8px; font-size: 12px; }
}
@media (max-width: 480px) {
    .vcp-category-grid { grid-template-columns: 1fr !important; }
    .vcp-product-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* =============================================
   FRONTEND EDIT MODE
   ============================================= */

/* Editor Toolbar */
.vcp-editor-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1d2327;
    color: #fff;
    padding: 8px 20px;
    font-size: 13px;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.vcp-toolbar-left, .vcp-toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.vcp-toolbar-label {
    font-weight: 600;
    font-size: 14px;
    margin-right: 8px;
}
.vcp-toolbar-btn {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 5px 14px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.15s;
    text-decoration: none;
    line-height: 1.4;
}
.vcp-toolbar-btn:hover { background: rgba(255,255,255,0.2); color: #fff; }
.vcp-toggle-edit {
    background: #0073aa;
    border-color: #0073aa;
}
.vcp-toggle-edit:hover { background: #005a87; border-color: #005a87; }
.vcp-toolbar-btn.active {
    background: #0073aa;
    border-color: #0073aa;
}
.vcp-toolbar-link { font-size: 12px; padding: 4px 10px; }
.vcp-edit-icon { margin-right: 3px; }

/* Card wrappers (for edit overlay) */
.vcp-category-card-wrap,
.vcp-product-card-wrap {
    position: relative;
}

/* Hidden category styling */
.vcp-hidden-cat { opacity: 0.4; }
.vcp-hidden-cat .vcp-category-card { pointer-events: none; }
.vcp-edit-active .vcp-hidden-cat .vcp-category-card { pointer-events: auto; }

/* Edit overlay on each card */
.vcp-edit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
    padding: 10px 8px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
    border-radius: 6px 6px 0 0;
}
.vcp-edit-btn {
    border: none !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #333 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    cursor: pointer !important;
    padding: 6px 12px !important;
    line-height: 1.3 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25) !important;
    transition: transform 0.15s, background 0.15s !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: center !important;
}
.vcp-edit-btn:hover {
    background: #0073aa !important;
    color: #fff !important;
    transform: scale(1.12) !important;
}
.vcp-edit-delete { color: #a00 !important; }
.vcp-edit-delete:hover {
    background: #c00 !important;
    color: #fff !important;
}
/* Döda temats ::after pilar på edit-knappar */
.vcp-edit-btn::after,
.vcp-edit-btn::before,
.vcp-toolbar-btn::after,
.vcp-toolbar-btn::before,
.vcp-modal-btn::after,
.vcp-modal-btn::before {
    content: none !important;
    display: none !important;
}
/* Product overlay — more buttons, wrap */
.vcp-product-overlay {
    flex-wrap: wrap !important;
    padding: 8px 6px !important;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 80%, transparent 100%) !important;
}
.vcp-product-overlay .vcp-edit-btn {
    font-size: 11px !important;
    padding: 5px 8px !important;
}
.vcp-prod-admin-link {
    background: #0073aa !important;
    color: #fff !important;
    text-decoration: none !important;
    display: inline-block !important;
}
.vcp-prod-admin-link:hover {
    background: #005a87 !important;
    color: #fff !important;
}

/* Drag & drop */
.vcp-sortable-ghost {
    opacity: 0.3 !important;
}
.vcp-sortable-chosen {
    box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
    transform: scale(1.02) !important;
}
.vcp-edit-active .vcp-category-card-wrap,
.vcp-edit-active .vcp-product-card-wrap {
    cursor: grab !important;
}
.vcp-edit-active .vcp-category-card-wrap:active,
.vcp-edit-active .vcp-product-card-wrap:active {
    cursor: grabbing !important;
}

/* Edit mode active — subtle border on cards */
.vcp-edit-active .vcp-category-card-wrap .vcp-category-card,
.vcp-edit-active .vcp-product-card-wrap .vcp-product-card {
    border: 2px dashed #0073aa;
}

/* Modal */
.vcp-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99998;
}
.vcp-modal-dialog {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 8px;
    padding: 25px 30px;
    max-width: 420px;
    width: 90%;
    z-index: 99999;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.vcp-modal-close {
    position: absolute;
    top: 8px; right: 12px;
    background: none; border: none;
    font-size: 24px; cursor: pointer; color: #999;
}
.vcp-modal-dialog h2 { font-size: 18px; margin: 0 0 15px; }
.vcp-modal-field { margin-bottom: 15px; }
.vcp-modal-field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 5px; }
.vcp-modal-field input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.vcp-modal-actions { display: flex; gap: 8px; justify-content: flex-end; }
.vcp-modal-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    background: #fff;
}
.vcp-modal-btn:hover { background: #eee; }
.vcp-modal-btn-primary {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}
.vcp-modal-btn-primary:hover { background: #005a87; }

/* WP admin bar offset */
.admin-bar .vcp-editor-toolbar { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .vcp-editor-toolbar { top: 46px; }
}

/* Lightbox */
#vcp-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 100000;
}
.vcp-lb-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.9);
}
.vcp-lb-wrap {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    max-height: 85vh;
}
.vcp-lb-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}
.vcp-lb-close {
    position: absolute;
    top: 15px; right: 20px;
    background: none; border: none;
    color: #fff; font-size: 36px;
    cursor: pointer; z-index: 2;
    line-height: 1;
}
.vcp-lb-close:hover { color: #ccc; }
.vcp-lb-prev, .vcp-lb-next {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none; color: #fff;
    font-size: 40px; line-height: 1;
    width: 50px; height: 70px;
    cursor: pointer; z-index: 2;
    border-radius: 4px;
    transition: background 0.2s;
}
.vcp-lb-prev:hover, .vcp-lb-next:hover { background: rgba(255,255,255,0.3); }
.vcp-lb-prev { left: 15px; }
.vcp-lb-next { right: 15px; }
.vcp-lb-counter {
    position: absolute;
    bottom: 20px; left: 50%;
    transform: translateX(-50%);
    color: #ccc; font-size: 14px;
    z-index: 2;
}

/* =============================================
   KATALOG LOGIN-SIDA
   ============================================= */
.vcp-login-page {
    display: flex;
    justify-content: center;
    padding: 40px 0 80px;
}
.vcp-login-box {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 35px 30px 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.vcp-login-header { text-align: center; margin-bottom: 25px; }
.vcp-login-header h1 { font-size: 24px; margin: 0 0 6px; color: #1a1a1a; }
.vcp-login-header p { font-size: 14px; color: #666; margin: 0; }
.vcp-login-field { margin-bottom: 16px; }
.vcp-login-field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 5px; color: #333; }
.vcp-login-field input {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 15px !important;
    height: auto !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s;
}
.vcp-login-field input:focus { border-color: #0073aa !important; outline: none !important; }
.vcp-login-btn {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.vcp-login-btn:hover { background: #005a87; }
.vcp-login-btn:disabled { background: #999; cursor: wait; }
.vcp-login-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 13px;
}
.vcp-login-footer a { color: #0073aa; text-decoration: none; }
.vcp-login-footer a:hover { text-decoration: underline; }
.vcp-login-sep { color: #ddd; margin: 0 8px; }

/* =============================================
   OFFERT — LOGGA-SEKTION I MODAL
   ============================================= */
.vcp-quote-logo-section {
    background: #f9f9f9;
    border-radius: 4px;
    padding: 10px 12px !important;
    margin-top: 8px;
}
.vcp-quote-logo-section label {
    margin-bottom: 6px !important;
}
#vcp-af-logo-change::after,
#vcp-af-logo-change::before {
    content: none !important;
    display: none !important;
}

/* =============================================
   ÅF PROFIL-SIDA [vianke_af_profile]
   ============================================= */
.vcp-af-profile h2 {
    font-size: 24px;
    margin-bottom: 8px;
}
.vcp-af-company {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}
.vcp-af-logo-section {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 20px 25px;
    max-width: 500px;
}
.vcp-af-logo-section h3 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #333;
}
.vcp-af-logo-preview-wrap {
    margin-bottom: 4px;
}
#vcp-af-logo-upload::after,
#vcp-af-logo-upload::before,
#vcp-af-logo-remove::after,
#vcp-af-logo-remove::before {
    content: none !important;
    display: none !important;
}

/* =========================================
   Tillägg (Add-ons) Page
   ========================================= */
.vcp-tillagg-heading {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: #222;
}

.vcp-tillagg-hero {
    margin-bottom: 30px;
}
.vcp-tillagg-hero img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.vcp-tillagg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.vcp-tillagg-card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e8e8e8;
}

.vcp-tillagg-card-header {
    margin-bottom: 10px;
}

.vcp-tillagg-card-title {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #222;
    margin: 0;
}

.vcp-tillagg-card-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 15px;
}

.vcp-tillagg-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.vcp-tillagg-variant-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px 14px;
}

.vcp-tillagg-variant-badge img.vcp-tillagg-variant-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 3px;
}

.vcp-tillagg-variant-badge strong {
    font-size: 14px;
    color: #333;
}

.vcp-tillagg-variant-badge small {
    font-size: 12px;
    color: #777;
}

.vcp-tillagg-card-image {
    margin: 15px 0;
    border-radius: 6px;
    overflow: hidden;
}

.vcp-tillagg-card-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Pristabell */
.vcp-tillagg-prices {
    margin-top: 15px;
    overflow-x: auto;
}

.vcp-tillagg-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.vcp-tillagg-price-table th,
.vcp-tillagg-price-table td {
    padding: 6px 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.vcp-tillagg-price-table thead th {
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #ddd;
    white-space: nowrap;
}

.vcp-tillagg-price-table tbody td {
    color: #444;
    font-weight: 600;
}

.vcp-tillagg-price-table td.vcp-price-label {
    text-align: left;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.vcp-tillagg-price-note {
    font-size: 12px;
    color: #888;
    margin: 6px 0 0;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .vcp-tillagg-grid {
        grid-template-columns: 1fr;
    }
    .vcp-tillagg-card {
        padding: 18px;
    }
}
