/*
 * Components - Buttons, Cards, Forms, Tables
 * @package Soeteck
 */

/* Soeteck Design Primitives */
.soeteck-container {
    width: min(var(--soeteck-container), calc(100% - (var(--soeteck-gutter) * 2)));
    margin-inline: auto;
}

.soeteck-container-wide {
    width: min(var(--soeteck-container-wide), calc(100% - (var(--soeteck-gutter) * 2)));
    margin-inline: auto;
}

.soeteck-content {
    width: min(var(--soeteck-content), calc(100% - (var(--soeteck-gutter) * 2)));
    margin-inline: auto;
}

.soeteck-section {
    padding-block: var(--soeteck-section-y);
}

.soeteck-section-sm {
    padding-block: var(--soeteck-section-y-sm);
}

.soeteck-section-light {
    background: var(--soeteck-surface);
}

.soeteck-section-dark {
    background: var(--soeteck-dark);
    color: var(--soeteck-white);
}

.soeteck-breadcrumbs {
    margin: 15px 0 18px;
    color: var(--soeteck-muted);
    font-size: 14px;
    font-weight: var(--soeteck-weight-medium);
    line-height: 1.4;
}

@media (min-width: 481px) {
    .soeteck-breadcrumbs {
        margin-top: 20px;
    }
}

.soeteck-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.soeteck-breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

.soeteck-breadcrumbs li + li::before {
    content: '|';
    margin: 0 4px;
    color: currentColor;
}

@media (max-width: 480px) {
    .soeteck-breadcrumbs ol {
        display: block;
    }

    .soeteck-breadcrumbs li {
        display: inline;
    }

    .soeteck-breadcrumbs a,
    .soeteck-breadcrumbs span {
        overflow-wrap: anywhere;
    }
}

.soeteck-breadcrumbs a,
.soeteck-breadcrumbs span {
    color: inherit;
    text-decoration: none;
}

.soeteck-breadcrumbs a:hover {
    color: var(--soeteck-primary);
}

.soeteck-breadcrumbs--hero {
    margin-bottom: 30px;
    color: var(--soeteck-white);
    font-weight: var(--soeteck-weight-semibold);
}

.soeteck-breadcrumbs--hero a:hover {
    color: rgba(255, 255, 255, 0.78);
}

.soeteck-eyebrow {
    margin: 0 0 12px;
    font-family: var(--soeteck-font-ui);
    color: var(--soeteck-primary);
    font-size: var(--soeteck-text-sm);
    font-weight: var(--soeteck-weight-bold);
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.soeteck-page-title,
.soeteck-section-title,
.soeteck-subsection-title {
    margin: 0;
    font-family: var(--soeteck-font-heading);
    color: var(--soeteck-text);
    font-weight: var(--soeteck-weight-bold);
}

.soeteck-page-title {
    font-size: var(--soeteck-heading-lg);
    line-height: 1.08;
    margin-bottom: clamp(14px, 2vw, 24px);
}

.soeteck-section-title {
    font-size: var(--soeteck-heading-md);
    line-height: 1.12;
    margin-bottom: clamp(12px, 1.8vw, 20px);
}

.soeteck-subsection-title {
    font-size: var(--soeteck-heading-sm);
    line-height: 1.18;
    margin-bottom: clamp(10px, 1.5vw, 16px);
}

.soeteck-minor-title {
    font-size: var(--soeteck-heading-xs, clamp(1.2rem, 1.5vw, 1.375rem));
    line-height: 1.22;
    margin-bottom: clamp(8px, 1.2vw, 12px);
}

.soeteck-title-bordered {
    padding-left: 14px;
    border-left: 5px solid var(--soeteck-primary);
}

.soeteck-section-dark .soeteck-page-title,
.soeteck-section-dark .soeteck-section-title,
.soeteck-section-dark .soeteck-subsection-title,
.soeteck-section-dark .soeteck-section-lead {
    color: var(--soeteck-white);
}

.soeteck-section-dark .soeteck-title-bordered {
    border-left-color: var(--soeteck-primary-light);
}

.soeteck-section-lead {
    max-width: 760px;
    font-family: var(--soeteck-font-body);
    margin: 18px 0 0;
    color: var(--soeteck-muted);
    font-size: var(--soeteck-text-lg);
    line-height: 1.6;
}

.soeteck-grid {
    display: grid;
    grid-template-columns: repeat(var(--soeteck-grid-columns, 3), minmax(0, 1fr));
    gap: var(--soeteck-card-gap);
}

.soeteck-card {
    background: var(--soeteck-white);
    border: 1px solid var(--soeteck-border-soft);
    border-radius: var(--soeteck-radius);
    box-shadow: var(--soeteck-shadow);
    overflow: hidden;
    transition: transform var(--soeteck-transition-fast), box-shadow var(--soeteck-transition-fast), border-color var(--soeteck-transition-fast);
}

.soeteck-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--soeteck-shadow-card);
    border-color: rgba(26, 133, 229, 0.28);
}

.soeteck-card-media {
    aspect-ratio: var(--soeteck-card-media-ratio, 4 / 3);
    overflow: hidden;
    background: var(--soeteck-media-bg);
}

.soeteck-media,
.soeteck-media-cover,
.soeteck-card-media img {
    display: block;
    width: 100%;
    height: 100%;
}

.soeteck-media {
    height: auto;
}

.soeteck-media-cover,
.soeteck-card-media img {
    object-fit: cover;
}

.soeteck-card-body {
    padding: clamp(18px, 2vw, 28px);
}

.soeteck-card-title {
    margin: 0 0 8px;
    font-family: var(--soeteck-font-heading);
    color: var(--soeteck-text);
    font-size: var(--soeteck-text-xl);
    font-weight: var(--soeteck-weight-bold);
    line-height: 1.25;
}

.soeteck-card-title a {
    color: inherit;
    text-decoration: none;
}

.soeteck-card-title a:hover {
    color: var(--soeteck-primary);
}

.soeteck-card-text {
    margin: 10px 0 0;
    font-family: var(--soeteck-font-body);
    color: var(--soeteck-muted);
    font-size: var(--soeteck-text-md);
    line-height: 1.55;
}

.soeteck-button,
.soeteck-button-primary,
.soeteck-button-outline {
    display: inline-flex;
    font-family: var(--soeteck-font-ui);
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: var(--soeteck-radius-sm);
    font-size: var(--soeteck-text-md);
    font-weight: var(--soeteck-weight-semibold);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color var(--soeteck-transition-fast), color var(--soeteck-transition-fast), border-color var(--soeteck-transition-fast), transform var(--soeteck-transition-fast);
}

.soeteck-button:hover,
.soeteck-button-primary:hover,
.soeteck-button-outline:hover {
    transform: translateY(-1px);
}

.soeteck-button-primary {
    background: var(--soeteck-primary);
    color: var(--soeteck-white);
    border-color: var(--soeteck-primary);
}

.soeteck-button-primary:hover {
    background: var(--soeteck-primary-dark);
    color: var(--soeteck-white);
    border-color: var(--soeteck-primary-dark);
}

.soeteck-button-outline {
    background: transparent;
    color: var(--soeteck-primary);
    border-color: var(--soeteck-primary);
}

.soeteck-button-outline:hover {
    background: var(--soeteck-primary);
    color: var(--soeteck-white);
}

.soeteck-hero {
    position: relative;
    min-height: clamp(480px, 62vw, 760px);
    overflow: hidden;
}

.soeteck-hero-media {
    position: absolute;
    inset: 0;
    background: var(--soeteck-media-bg);
}

.soeteck-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.soeteck-hero-content {
    position: relative;
    z-index: 1;
}

.soeteck-cta-band {
    padding: clamp(40px, 5vw, 72px);
    background: var(--soeteck-dark);
    color: var(--soeteck-white);
}

.soeteck-cta-band .soeteck-section-title,
.soeteck-cta-band .soeteck-section-lead {
    color: inherit;
}

.soeteck-lightbox-open {
    scrollbar-gutter: stable;
}

.soeteck-lightbox-open body {
    position: fixed;
    inset: var(--soeteck-lightbox-scroll-y, 0) 0 auto 0;
    width: 100%;
    overflow-y: scroll;
}

.soeteck-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: clamp(72px, 9vw, 96px) clamp(18px, 4vw, 48px) clamp(18px, 4vw, 48px);
    background: rgba(3, 12, 28, 0.88);
    touch-action: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.soeteck-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.soeteck-lightbox__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.soeteck-lightbox__dialog {
    position: relative;
    z-index: 2;
    display: grid;
    max-width: min(1120px, 100%);
    max-height: min(82vh, 860px);
    gap: 14px;
    overflow: visible;
    overscroll-behavior: contain;
}

.soeteck-lightbox__image {
    --soeteck-lightbox-scale: 1;
    --soeteck-lightbox-pan-x: 0px;
    --soeteck-lightbox-pan-y: 0px;
    display: block;
    max-width: min(1120px, 100%);
    max-height: min(76vh, 800px);
    width: auto;
    height: auto;
    border-radius: 10px;
    background: var(--soeteck-white);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
    cursor: default;
    object-fit: contain;
    transform: translate3d(var(--soeteck-lightbox-pan-x), var(--soeteck-lightbox-pan-y), 0) scale(var(--soeteck-lightbox-scale));
    transition: transform 180ms ease;
    user-select: none;
    -webkit-user-drag: none;
}

.soeteck-lightbox.is-zoomed .soeteck-lightbox__image {
    cursor: move;
}

.soeteck-lightbox.is-zoomed.is-panning .soeteck-lightbox__image {
    cursor: grabbing;
    transition: none;
}

.soeteck-lightbox__image.is-switching-next {
    animation: soeteck-lightbox-next 240ms ease both;
}

.soeteck-lightbox__image.is-switching-prev {
    animation: soeteck-lightbox-prev 240ms ease both;
}

@keyframes soeteck-lightbox-next {
    0% {
        opacity: 0;
        transform: translate3d(calc(var(--soeteck-lightbox-pan-x) + 28px), var(--soeteck-lightbox-pan-y), 0) scale(calc(var(--soeteck-lightbox-scale) * 0.985));
    }

    100% {
        opacity: 1;
        transform: translate3d(var(--soeteck-lightbox-pan-x), var(--soeteck-lightbox-pan-y), 0) scale(var(--soeteck-lightbox-scale));
    }
}

@keyframes soeteck-lightbox-prev {
    0% {
        opacity: 0;
        transform: translate3d(calc(var(--soeteck-lightbox-pan-x) - 28px), var(--soeteck-lightbox-pan-y), 0) scale(calc(var(--soeteck-lightbox-scale) * 0.985));
    }

    100% {
        opacity: 1;
        transform: translate3d(var(--soeteck-lightbox-pan-x), var(--soeteck-lightbox-pan-y), 0) scale(var(--soeteck-lightbox-scale));
    }
}

@media (prefers-reduced-motion: reduce) {
    .soeteck-lightbox__image.is-switching-next,
    .soeteck-lightbox__image.is-switching-prev {
        animation: none;
    }
}

.soeteck-lightbox__caption {
    position: fixed;
    top: clamp(14px, 2vw, 28px);
    left: 50%;
    z-index: 7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: min(680px, calc(100vw - 132px));
    min-height: 44px;
    margin: 0;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(3, 12, 28, 0.88);
    color: var(--soeteck-white);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    font-size: var(--soeteck-text-sm);
    line-height: 1.35;
    text-align: center;
    transform: translateX(-50%);
}

.soeteck-lightbox__close,
.soeteck-lightbox__nav {
    position: absolute;
    z-index: 5;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(3, 12, 28, 0.86);
    color: var(--soeteck-white);
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: background 160ms ease, transform 160ms ease;
}

.soeteck-lightbox__close:hover,
.soeteck-lightbox__nav:hover {
    background: rgba(10, 28, 54, 0.94);
    transform: translateY(-1px);
}

.soeteck-lightbox__close {
    top: clamp(14px, 2vw, 28px);
    right: clamp(14px, 2vw, 28px);
    width: 44px;
    height: 44px;
    font-size: 28px;
    line-height: 1;
}

.soeteck-lightbox__nav {
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
}

.soeteck-lightbox__nav::before {
    content: "";
    width: 13px;
    height: 13px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
}

.soeteck-lightbox__nav--prev::before {
    transform: translateX(2px) rotate(-45deg);
}

.soeteck-lightbox__nav--next::before {
    transform: translateX(-2px) rotate(135deg);
}

.soeteck-lightbox__nav:hover {
    transform: translateY(calc(-50% - 1px));
}

.soeteck-lightbox__nav--prev {
    left: clamp(14px, 2vw, 30px);
}

.soeteck-lightbox__nav--next {
    right: clamp(14px, 2vw, 30px);
}

.soeteck-lightbox__nav[hidden] {
    display: none;
}

.soeteck-lightbox__zoom-controls {
    position: absolute;
    bottom: clamp(16px, 3vw, 30px);
    left: 50%;
    z-index: 5;
    display: inline-flex;
    gap: 10px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(3, 12, 28, 0.48);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
    transform: translateX(-50%);
}

.soeteck-lightbox__zoom-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(3, 12, 28, 0.86);
    color: var(--soeteck-white);
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.08);
    font-size: 24px;
    line-height: 1;
    transition: background 160ms ease, transform 160ms ease, opacity 160ms ease;
    -webkit-tap-highlight-color: transparent;
}

.soeteck-lightbox__zoom-button:hover:not(:disabled),
.soeteck-lightbox__zoom-button:focus:not(:disabled),
.soeteck-lightbox__zoom-button:focus-visible:not(:disabled),
.soeteck-lightbox__zoom-button:active:not(:disabled) {
    background: rgba(3, 12, 28, 0.94);
    color: var(--soeteck-white);
    transform: translateY(-1px);
}

.soeteck-lightbox__zoom-button:focus,
.soeteck-lightbox__zoom-button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}


.soeteck-lightbox__zoom-button:disabled {
    cursor: not-allowed;
    opacity: 0.42;
}

[data-soeteck-lightbox],
.wp-block-gallery a[href$=".jpg"],
.wp-block-gallery a[href$=".jpeg"],
.wp-block-gallery a[href$=".png"],
.wp-block-gallery a[href$=".webp"],
.gallery a[href$=".jpg"],
.gallery a[href$=".jpeg"],
.gallery a[href$=".png"],
.gallery a[href$=".webp"] {
    cursor: pointer;
}

@media (max-width: 991px) {
    .soeteck-grid {
        grid-template-columns: repeat(var(--soeteck-grid-columns-tablet, 2), minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .soeteck-grid {
        grid-template-columns: 1fr;
    }

    .soeteck-hero {
        min-height: clamp(420px, 110vw, 620px);
    }

    .soeteck-lightbox {
        padding: 72px 14px 14px;
    }

    .soeteck-lightbox__dialog {
        max-height: 70vh;
        padding-bottom: 72px;
    }

    .soeteck-lightbox__caption {
        max-width: calc(100vw - 124px);
        min-height: 42px;
        padding: 7px 14px;
        font-size: 0.78rem;
    }

    .soeteck-lightbox__image {
        max-height: 58vh;
    }

    .soeteck-lightbox__nav {
        top: auto;
        bottom: 18px;
        width: 42px;
        height: 42px;
        transform: none;
    }

    .soeteck-lightbox__nav:hover {
        transform: translateY(-1px);
    }

    .soeteck-lightbox__nav--prev {
        left: calc(50% - 108px);
    }

    .soeteck-lightbox__nav--next {
        right: calc(50% - 108px);
    }

    .soeteck-lightbox__zoom-controls {
        bottom: 18px;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .soeteck-lightbox__zoom-button {
        width: 42px;
        height: 42px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.4;
}

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

.btn-primary:hover {
    background-color: var(--soeteck-primary-dark);
    border-color: var(--soeteck-primary-dark);
    color: #fff;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--soeteck-primary);
    border-color: var(--soeteck-primary);
}

.btn-outline:hover {
    background-color: var(--soeteck-primary);
    color: #fff;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Cards */
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid var(--soeteck-border);
}

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 20px;
    border-top: 1px solid var(--soeteck-border);
    background-color: #f8f9fa;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5em;
}

.card-text {
    color: #666;
    margin-bottom: 1em;
}

/* Product Card */
.product-card {
    position: relative;
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background-color: #f8f9fa;
}

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

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

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

.product-card .product-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-card .product-title a {
    color: #1a1a1a;
}

.product-card .product-title a:hover {
    color: var(--soeteck-primary);
}

.product-card .product-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--soeteck-primary);
}

.product-card .product-price del {
    color: #999;
    font-weight: 400;
    margin-right: 8px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-control {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--soeteck-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

/* Checkbox and Radio */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: var(--soeteck-primary);
}

.form-check-label {
    cursor: pointer;
    color: #333;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
}

.table th,
.table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--soeteck-border);
}

.table th {
    font-weight: 600;
    color: #1a1a1a;
    background-color: #f8f9fa;
}

.table tr:hover td {
    background-color: #f8f9fa;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid var(--soeteck-border);
}

.table-striped tbody tr:nth-child(odd) td {
    background-color: #f8f9fa;
}

/* Variations Table */
.variations-table {
    margin: 24px 0;
    overflow-x: auto;
}

.variations-table table {
    width: 100%;
    min-width: 600px;
}

.variations-table th {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    background-color: #f1f3f5;
    border-bottom: 2px solid #dee2e6;
}

.variations-table td {
    padding: 12px 16px;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--soeteck-border);
}

.variations-table tr:hover td {
    background-color: #f8f9fa;
}

.toggle-variations-wrap {
    margin-top: 16px;
}

.toggle-variations {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 0.9375rem;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-variations:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
}

/* Alerts */
.alert {
    padding: 16px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    border-left: 4px solid transparent;
}

.alert-success {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.alert-error,
.alert-danger {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background-color: var(--soeteck-primary);
    color: #fff;
}

.badge-success {
    background-color: #28a745;
    color: #fff;
}

.badge-warning {
    background-color: #ffc107;
    color: #333;
}

.badge-danger {
    background-color: #dc3545;
    color: #fff;
}

.search-form {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

.search-form label {
    flex: 1;
}

.search-field,
.search-form input[type="search"],
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--soeteck-border);
    border-radius: 6px;
    color: var(--soeteck-text);
    background: #fff;
}

.search-field:focus,
.search-form input[type="search"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: var(--soeteck-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}

.search-submit,
button,
input[type="submit"] {
    border-radius: 6px;
}

@media (max-width: 768px) {
    .btn,
    .search-submit,
    input[type="submit"] {
        width: 100%;
    }

    .search-form {
        flex-direction: column;
    }

    .variations-table {
        margin-left: -16px;
        margin-right: -16px;
        padding: 0 16px;
    }
}
