html body #block-vistadent-views-block-novye-tovary-na-glavnoy-block-1,
html body #block-vistadent-views-block-kategorii-na-glavnoy-block-1 {
    margin-top: 2rem;
}

html body .breadcrumb nav[role="navigation"] ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 1rem;
}

html body .breadcrumb {
    background-color: #f2f3f5;
}

html body .breadcrumb nav[role="navigation"] li {
    display: flex;
    align-items: center;
}

html body .breadcrumb nav[role="navigation"] li:not(:last-child)::after {
    content: '›';
    color: #8c8c8c;
    margin: 0 0.5em;
    font-size: 1.2rem;
    line-height: 1;
}

html body .breadcrumb nav[role="navigation"] a {
    color: #3c1baa;
    text-decoration: none;
    padding: 0.5em 0;
    transition: color 0.2s ease-in-out;
}

html body .breadcrumb nav[role="navigation"] a:hover,
html body .breadcrumb nav[role="navigation"] a:focus {
    color: #2f1489;
    text-decoration: underline;
}

html body .breadcrumb nav[role="navigation"] li:last-child {
    color: #2f1489;
    font-weight: 600;
    padding: 0.5em 0;
}

html body .views-exposed-form {
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

html body .product__info-basket-text>div>div:first-child {
    display: none;
}

/* Product quantity controls */
.product__cart-controls {
    display: flex;
    align-items: center;
}

.product__quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.product__quantity-decrease,
.product__quantity-increase {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    transition: background-color 0.2s ease;
}

.product__quantity-decrease:hover,
.product__quantity-increase:hover {
    background-color: #e0e0e0;
}

.product__quantity-value {
    padding: 0 12px;
    min-width: 24px;
    text-align: center;
    font-weight: bold;
}

html body .base-card__footer {
    grid-template-columns: auto 100px;
}

html body .cart-controls-container {
    justify-content: end;
}

/* Стили для стандартных системных уведомлений Drupal */
.messages__wrapper {
    margin: 1rem 0;
    padding: 0;
    max-width: 100%;
}

.messages {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    align-items: center;
}

.messages--status {
    background-color: #f0f8f0;
    border-left: 4px solid #4caf50;
    color: #2e7d32;
}

.messages--warning {
    background-color: #fff8e1;
    border-left: 4px solid #ffb300;
    color: #ff8f00;
}

.messages--error {
    background-color: #fef2f2;
    border-left: 4px solid #f44336;
    color: #c62828;
}

.messages__icon {
    margin-right: 15px;
    flex-shrink: 0;
}

.messages__content {
    flex-grow: 1;
}

.messages__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.messages__item {
    margin-bottom: 5px;
}

.messages__item:last-child {
    margin-bottom: 0;
}

.messages__button {
    flex-shrink: 0;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.messages__button:hover {
    opacity: 1;
}

html body span.wishlist-icon {
    display: inline-block;
}

/* Drupal system messages */
[data-drupal-messages] {
    margin: 16px 0;
}

[data-drupal-messages]>[role="contentinfo"] {
    padding: 14px 16px;
    margin: 0 0 12px 0;
    border-radius: 6px;
    border-left: 4px solid #3c1baa;
    /* default accent */
    background: #f5f6ff;
    /* light default */
    color: #1e1e2d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

[data-drupal-messages]>[role="contentinfo"] .visually-hidden {
    /* h2 */
    position: absolute !important;
}

[data-drupal-messages] ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}

[data-drupal-messages] li {
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

[data-drupal-messages] a {
    color: inherit;
    text-decoration: underline;
}

/* Variants by aria-label (ru) */
[data-drupal-messages]>[role="contentinfo"][aria-label="Статус"] {
    background: #f0f8f0;
    border-left-color: #2e7d32;
    color: #1b5e20;
}

[data-drupal-messages]>[role="contentinfo"][aria-label="Предупреждение"] {
    background: #fff8e1;
    border-left-color: #ff8f00;
    color: #e65100;
}

[data-drupal-messages]>[role="contentinfo"][aria-label="Ошибка"] {
    background: #fef2f2;
    border-left-color: #f44336;
    color: #b71c1c;
}

/* Variations tag source in DOM (hidden, used for tooltip content) */
.variations_tag_style {
    display: none !important;
}

.variations_tag_style__item {
    display: inline-flex;
    align-items: center;
    padding: 3px 7px;
    font-size: 10px;
    line-height: 1;
    border-radius: 999px;
    background: #f2f3f5;
    color: #30323a;
    border: 1px solid #e5e7eb;
    user-select: none;
}

/* Floating tooltip that follows cursor */
.vd-variations-tooltip {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    max-width: 360px;
    display: none;
    /* controlled by JS via .is-visible */
    padding: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    border-radius: 12px;
    pointer-events: none;
    /* avoid flicker and capture */
}

.vd-variations-tooltip.is-visible {
    display: block;
}

/* Quick search: hide unmatched cards */
.base-card.vd-hidden {
    display: none !important;
}

/* Quick search: highlight */
.vd-hl {
    background: #fff3bf;
    /* soft yellow */
    padding: 0 .1em;
    border-radius: 3px;
}

.category-quick-search input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #212b36;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #212b36;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin: 15px 0;
}
html body .product__navigation-list-item a{
    margin: -15px;
    padding: 15px;
}
html body .base-table__auth-buttons-list{
    padding: 15px 0;
    display: flex;
    gap: 15px;
}
html body .base-table__auth-buttons-list button,html body .base-table__auth-buttons-list a{
    margin: 0;
    display: block;
}

    