/**
 * Pagicar Frontoffice - Custom Styles
 * Cartzilla Design Pattern Implementation
 */

:root {
    --primary: #667eea;
    --primary-dark: #764ba2;
    --secondary: #764ba2;
    --pagicar-light-surface: #e9ecef;
    --pagicar-light-surface-border: #d5d9de;
    --pagicar-button-primary-bg: #dc143c;
    --pagicar-button-primary-hover: #b01030;
    --pagicar-button-primary-text: #fff;
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.pagicar-navbar,
.pagicar-footer,
.pagicar-navbar-search {
    background-color: var(--pagicar-light-surface);
}

.pagicar-navbar {
    border-bottom: 1px solid var(--pagicar-light-surface-border);
}

.pagicar-action-strip {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 2.5rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--pagicar-light-surface-border);
}

.pagicar-action-strip__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    width: 100%;
}

.pagicar-action-strip__button {
    padding: 0.25rem 0;
    white-space: nowrap;
}

.pagicar-footer {
    border-top: 1px solid var(--pagicar-light-surface-border);
    overflow-x: hidden;
}

.pagicar-navbar .navbar-toggler,
.pagicar-navbar .navbar-brand,
.pagicar-navbar .nav-link,
.pagicar-navbar .btn,
.pagicar-navbar .theme-switcher,
.pagicar-footer,
.pagicar-footer .nav-link,
.pagicar-footer .accordion-button,
.pagicar-footer .text-body,
.pagicar-footer .text-body-secondary {
    color: #212529;
}

.pagicar-navbar .navbar-toggler-icon {
    filter: invert(1) grayscale(1);
}

.pagicar-navbar .theme-switcher,
.pagicar-navbar .theme-switcher + .dropdown-menu,
.pagicar-navbar .dropdown.d-none {
    display: none !important;
}

.pagicar-footer-contact,
.pagicar-footer-contact > [class*="col-"],
.pagicar-footer-company-card,
.pagicar-footer-company-item,
.pagicar-footer-company-item > div {
    min-width: 0;
}

.pagicar-footer-map {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 240px;
    overflow: hidden;
}

.pagicar-footer-map .gmap_canvas,
.pagicar-footer-map iframe {
    width: 100%;
    height: 100%;
}

.pagicar-footer-map iframe {
    display: block;
    max-width: 100%;
    border: 0;
}

.pagicar-footer-company-item > i {
    flex: 0 0 auto;
}

.pagicar-footer-company-item .nav-link,
.pagicar-footer-company-item span {
    overflow-wrap: anywhere;
    word-break: normal;
}

@media (max-width: 575.98px) {
    .pagicar-footer-contact {
        --cz-gutter-y: 1rem;
    }

    .pagicar-footer-map {
        min-height: 220px;
    }

    .pagicar-footer-company-card {
        margin-bottom: 1rem !important;
    }

    .pagicar-footer-company-item .ps-3 {
        padding-left: 0.875rem !important;
    }
}

/* Cards & Components */
.card {
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: var(--pagicar-button-primary-bg);
    border-color: var(--pagicar-button-primary-bg);
    color: var(--pagicar-button-primary-text);
}

.btn-primary:hover {
    background-color: var(--pagicar-button-primary-hover);
    border-color: var(--pagicar-button-primary-hover);
    color: var(--pagicar-button-primary-text);
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background-color: var(--pagicar-button-primary-hover) !important;
    border-color: var(--pagicar-button-primary-hover) !important;
    color: var(--pagicar-button-primary-text) !important;
}

/* Product Cards */
.product-image {
    overflow: hidden;
    border-radius: 0.5rem;
    height: 250px;
    background-color: #f8f9fa;
}

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

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Utilities */
.object-fit-cover {
    object-fit: cover;
}

.object-fit-contain {
    object-fit: contain;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

.result-page {
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, 0.08), transparent 34%),
        linear-gradient(180deg, #fffdf8 0%, #ffffff 55%, #f8fafc 100%);
}

.result-stage {
    --result-accent: #198754;
    --result-soft: rgba(25, 135, 84, 0.12);
    --result-panel: rgba(25, 135, 84, 0.08);
    position: relative;
    isolation: isolate;
    padding: 0;
}

.result-stage--danger {
    --result-accent: #dc3545;
    --result-soft: rgba(220, 53, 69, 0.12);
    --result-panel: rgba(220, 53, 69, 0.08);
}

.result-stage--warning {
    --result-accent: #f59f00;
    --result-soft: rgba(245, 159, 0, 0.14);
    --result-panel: rgba(245, 159, 0, 0.08);
}

.result-stage--info {
    --result-accent: #0d6efd;
    --result-soft: rgba(13, 110, 253, 0.12);
    --result-panel: rgba(13, 110, 253, 0.08);
}

.result-stage__glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.75;
    z-index: -1;
    animation: result-float 7s ease-in-out infinite;
}

.result-stage__glow--one {
    width: 180px;
    height: 180px;
    top: 0;
    left: -20px;
    background: var(--result-soft);
}

.result-stage__glow--two {
    width: 120px;
    height: 120px;
    right: 30px;
    top: 90px;
    background: rgba(255, 193, 7, 0.12);
    animation-delay: -2s;
}

.result-card,
.order-summary-card {
    border-radius: 28px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
}

.result-card {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-visual {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 2rem auto 1.5rem;
}

.result-ring,
.result-icon {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.result-ring--outer {
    border: 1px solid var(--result-panel);
    animation: result-pulse 3.4s ease-out infinite;
}

.result-ring--inner {
    inset: 16px;
    border: 1px dashed var(--result-soft);
    animation: result-spin 14s linear infinite;
}

.result-icon {
    inset: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--result-soft), #fff);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    overflow: hidden;
    padding: 0.6rem;
}

.result-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.result-title {
    margin-bottom: 0.85rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 0.98;
}

.result-copy {
    max-width: 42rem;
    margin-bottom: 1.5rem;
    color: #526075;
    font-size: 1.05rem;
}

.result-order-meta {
    display: inline-flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem 1.15rem;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.result-order-meta__label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.result-order-meta__value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.order-summary-card {
    overflow: hidden;
}

.order-summary-card__header,
.order-summary-card__body {
    padding: 1.5rem;
}

.order-summary-card__header {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 0.9));
}

.order-summary-card__eyebrow {
    margin-bottom: 0.35rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.order-summary-list {
    display: grid;
    gap: 0.95rem;
}

.order-summary-item {
    padding-bottom: 0.95rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.order-summary-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.order-summary-item__main {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.order-summary-item__image {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
}

.order-summary-item__image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.order-summary-item__content {
    flex: 1 1 auto;
    min-width: 0;
}

.order-summary-item__top,
.order-summary-item__meta,
.order-summary-totals__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.order-summary-item__top {
    align-items: flex-start;
}

.order-summary-item__top > strong {
    flex: 1 1 auto;
    min-width: 0;
}

.order-summary-item__top > span {
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: right;
}

.order-summary-item__meta {
    margin-top: 0.35rem;
    color: #64748b;
    font-size: 0.9rem;
}

.order-summary-totals {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.order-summary-totals__row {
    margin-bottom: 0.85rem;
    color: #334155;
}

.order-summary-totals__row--grand {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    color: #0f172a;
    font-size: 1.05rem;
}

@keyframes result-pulse {
    0% {
        transform: scale(0.92);
        opacity: 0.15;
    }
    50% {
        opacity: 0.65;
    }
    100% {
        transform: scale(1.08);
        opacity: 0;
    }
}

@keyframes result-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes result-float {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -12px, 0);
    }
}

@media (max-width: 991.98px) {
    .result-card {
        padding: 1.5rem;
    }

    .result-title {
        font-size: 2.2rem;
    }
}

/* Compact attribute filter layout for category/search sidebar */
#attributeFiltersSection {
    padding: 0.85rem !important;
}

#attributeFiltersContent {
    gap: 0.55rem !important;
}

#attributeFiltersContent .pg-attr-panel {
    padding: 0.45rem 0.55rem !important;
}

#attributeFiltersContent .pg-attr-toggle {
    border: 0;
    box-shadow: none !important;
}

#attributeFiltersContent .pg-attr-toggle-left {
    min-width: 0;
    flex: 1 1 auto;
}

#attributeFiltersContent .pg-attr-title {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.25;
}

#attributeFiltersContent .pg-attr-body {
    margin-top: 0.35rem !important;
}

#attributeFiltersContent .pg-attr-search {
    height: 28px;
    min-height: 28px;
    font-size: 0.76rem;
    padding: 0.1rem 0.45rem;
}

#attributeFiltersContent .pg-attr-value {
    margin: 0;
    padding: 0.08rem 0;
    padding-left: 0 !important;
    min-width: 0;
}

#attributeFiltersContent .pg-attr-value-input {
    min-width: 0;
    flex: 1 1 auto;
}

#attributeFiltersContent .pg-attr-value .form-check-input {
    float: none;
    margin-left: 0;
    margin-top: 0;
    position: static;
}

#attributeFiltersContent .pg-attr-value-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#attributeFiltersContent .pg-attr-count {
    flex-shrink: 0;
    margin-left: 0.35rem;
}

#attributeFiltersContent .badge {
    font-size: 0.64rem;
    line-height: 1.1;
}

/* Icon compatibility aliases for templates using non-existing class names. */
.ci-car:before,
.ci-car-garage:before,
.ci-car-icon:before {
    content: "\f11c" !important;
    font-family: cartzilla-icons !important;
}

/* Navbar jármű gyorsmenü ikon (feltöltött PNG). */
.vehicle-menu-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
}

.vehicle-menu-icon {
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
    display: block;
}

.vehicle-menu-icon-fallback {
    font-size: 1.15rem;
    line-height: 1;
}


/* Product collection slots */
.product-collection-block + .product-collection-block {
    border-top: 1px solid var(--cz-border-color);
    margin-top: 1rem;
    padding-top: 1rem;
}

.product-collection-swiper {
    overflow: hidden;
}

.product-collection-card {
    display: flex;
    flex-direction: column;
    min-height: 372px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}

.product-collection-card:hover {
    box-shadow: 0 .5rem 1.4rem rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.product-collection-image-wrap {
    position: relative;
}

.product-collection-media-frame {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-collection-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-collection-card-body {
    flex: 1 1 auto;
    min-height: 0;
}

.product-collection-title {
    min-height: 1.35rem;
    line-height: 1.25;
}

.product-collection-title a,
.product-collection-title .animate-target,
.product-collection-brand,
.product-collection-meta,
.product-collection-price,
.product-related-brand,
.product-related-title,
.product-related-meta,
.product-related-price {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-collection-meta {
    min-height: 1rem;
}

.product-collection-price-wrap {
    min-height: 2.1rem;
    min-width: 0;
}

.product-collection-brand {
    min-height: 1rem;
}

.product-collection-brand-placeholder,
.product-collection-meta-placeholder,
.product-related-brand-placeholder,
.product-related-meta-placeholder {
    visibility: hidden;
}

.product-collection-nav .btn[disabled] {
    opacity: .45;
}

.product-collection-nav .swiper-button-disabled {
    opacity: .45;
    pointer-events: none;
}

.product-collection-add-btn {
    flex: 0 0 auto;
}

.product-collection-slide {
    height: auto;
}

.product-collection-slide > .product-collection-card {
    height: 100%;
}

.product-related-track {
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.product-related-slide {
    width: 188px;
    scroll-snap-align: start;
}

.product-related-card {
    display: flex;
    flex-direction: column;
    min-height: 248px;
    overflow: hidden;
}

.product-related-media-frame {
    height: 112px;
    padding: .65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.product-related-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bundle-item-thumb-frame {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .5rem;
    background: var(--cz-tertiary-bg, #f8f9fa);
    overflow: hidden;
}

.bundle-item-thumb {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-related-card-body {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: .6rem .75rem .7rem;
}

.product-related-title {
    color: #0f172a;
    line-height: 1.25;
    min-height: 1.35rem;
}

.product-related-meta {
    min-height: 1rem;
}

.product-related-price {
    min-width: 0;
}

.product-related-purchase-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .55rem;
    margin-top: auto;
    min-width: 0;
}

.product-related-add-btn {
    width: 34px;
    height: 34px;
    min-height: 34px;
    margin-top: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
}

@media (max-width: 575.98px) {
    .product-collection-media-frame {
        height: 150px;
    }

    .product-collection-card {
        min-height: 334px;
    }

    .product-related-slide {
        width: 174px;
    }

    .product-related-card {
        min-height: 242px;
    }

    .product-related-media-frame {
        height: 106px;
    }

    .product-collection-title .text-truncate {
        display: block;
        white-space: nowrap;
    }

    .product-collection-nav {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Search sidebar manufacturer filters */
.search-brand-filter-list {
    max-height: min(42vh, 360px);
    overflow-y: auto;
    padding-right: .1rem;
}

.search-brand-filter-list .form-check {
    padding-left: 0;
}

.search-brand-filter-list .form-check-input {
    float: none;
    margin-left: 0;
    margin-top: 0;
    position: static;
}

/* Shared product-list design (category + search) */
.category-product-card-price-row {
    align-items: flex-end;
}

.category-product-card-actions {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-left: .25rem;
    flex-shrink: 0;
}

.category-product-card-qty {
    width: 88px;
    max-width: 88px;
    flex-shrink: 0;
}

.category-product-card-cart-btn {
    min-width: 34px;
    height: 34px;
    padding: .325rem .45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-product-row-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    border-radius: .5rem;
    background-color: var(--pagicar-button-primary-bg);
    border: 1px solid var(--pagicar-button-primary-bg);
    color: var(--pagicar-button-primary-text);
    font-weight: 700;
    white-space: nowrap;
}

.category-product-card-cart-btn:hover,
.category-product-card-cart-btn:focus,
.category-product-row-cart-btn:hover,
.category-product-row-cart-btn:focus {
    background-color: var(--pagicar-button-primary-hover);
    border-color: var(--pagicar-button-primary-hover);
    color: var(--pagicar-button-primary-text);
}

.category-product-row-actions .product-qty-input {
    padding-left: .22rem !important;
    padding-right: .22rem !important;
}

.category-product-card-price {
    text-align: right;
}

.category-product-row-price-block {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    margin-left: auto;
}

.category-product-row-price-value {
    width: auto;
    display: flex;
    justify-content: flex-end;
    text-align: right;
}

.category-product-card-price .category-price-stack,
.category-product-row-price-value .category-price-stack {
    width: auto;
    align-items: flex-end;
    text-align: right;
    margin-left: auto;
}

.category-product-card-price .category-price-original,
.category-product-card-price .category-price-final,
.category-product-card-price .category-price-saving,
.category-product-row-price-value .category-price-original,
.category-product-row-price-value .category-price-final,
.category-product-row-price-value .category-price-saving {
    display: block;
    text-align: right;
}

@media (min-width: 992px) {
    .category-product-row-price-value {
        text-align: right;
    }

    .category-product-row-price-value .category-price-stack {
        align-items: flex-end;
        text-align: right;
    }

    .category-product-row-price-value .category-price-original,
    .category-product-row-price-value .category-price-final,
    .category-product-row-price-value .category-price-saving {
        display: block;
        text-align: right;
    }
}

.product-qty-input {
    -moz-appearance: textfield;
    appearance: textfield;
}

.product-qty-input::-webkit-outer-spin-button,
.product-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.category-product-card-qty .product-qty-input,
.category-product-row-actions .product-qty-input {
    font-size: .96rem;
    font-weight: 600;
}

.category-product-article-number {
    display: flex;
    align-items: center;
    gap: .35rem;
    line-height: 1.15;
}

.category-product-article-label {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #64748b;
    flex-shrink: 0;
}

.category-product-article-value {
    font-size: .84rem;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
}

@media (max-width: 991.98px) {
    .category-product-card {
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
    }

    .category-product-card-media {
        padding: .65rem !important;
    }

    .category-product-card-image {
        height: 132px !important;
    }

    .category-product-card-body {
        padding: .45rem .55rem .55rem .55rem !important;
    }

    .category-product-card-price {
        font-size: 1rem;
    }

    .category-product-card-actions {
        gap: .35rem;
        margin-left: 0;
    }

    .category-product-card-qty {
        width: 82px;
        max-width: 82px;
    }

    .category-product-card-cart-btn {
        min-width: 32px;
        height: 32px;
        padding: .26rem .4rem;
    }

    .category-product-row-card {
        border-radius: 14px !important;
        padding: .7rem !important;
        box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
    }

    .category-product-row-card .row {
        --bs-gutter-x: .65rem;
        --bs-gutter-y: .55rem;
    }

    .category-product-row-media {
        min-height: 88px !important;
        padding: .4rem !important;
    }

    .category-product-row-side {
        width: 100%;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: end !important;
        column-gap: .5rem;
    }

    .category-product-row-actions {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        gap: .32rem;
        align-items: stretch;
        justify-content: flex-end;
        grid-column: 2 / 4;
        grid-row: 1;
        min-width: 0;
    }

    .category-product-row-actions .input-group {
        width: 82px !important;
        flex: 0 0 auto;
    }

    .category-product-row-details-btn {
        display: none !important;
    }

    .category-product-row-actions .category-product-row-cart-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        min-width: 92px;
        width: auto;
        padding: .38rem .62rem;
        font-weight: 700;
        border-radius: .5rem;
        background-color: var(--pagicar-button-primary-bg);
        border: 1px solid var(--pagicar-button-primary-bg);
        color: var(--pagicar-button-primary-text);
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .category-product-row-actions .category-product-row-cart-btn:hover,
    .category-product-row-actions .category-product-row-cart-btn:focus {
        background-color: var(--pagicar-button-primary-hover);
        border-color: var(--pagicar-button-primary-hover);
        color: var(--pagicar-button-primary-text);
    }

    .category-product-row-price-block {
        width: 100%;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
        align-items: flex-start;
        text-align: left;
        grid-column: 1;
        grid-row: 1;
    }

    .category-product-row-price-label {
        margin-bottom: .15rem !important;
        letter-spacing: .03em;
        font-size: .63rem !important;
    }

    .category-product-row-price-value .category-price-stack {
        gap: .12rem !important;
        align-items: flex-start !important;
        text-align: left !important;
        margin-left: 0 !important;
    }

    .category-product-row-price-value .category-price-original {
        font-size: .78rem !important;
        opacity: .72;
    }

    .category-product-row-price-value .category-price-final {
        font-size: 1.32rem;
        font-weight: 700 !important;
        line-height: 1.12;
        letter-spacing: 0;
        color: #be123c !important;
    }

    .category-product-row-price-value .category-price-saving {
        font-size: .79rem !important;
        font-weight: 600;
        color: #15803d !important;
    }

    .category-product-row-price-value {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .category-product-row-price-value .category-price-original,
    .category-product-row-price-value .category-price-final,
    .category-product-row-price-value .category-price-saving {
        text-align: left !important;
    }

    .category-product-card-price {
        text-align: left !important;
    }

    .category-product-card-price .category-price-stack {
        align-items: flex-start !important;
        text-align: left !important;
        margin-left: 0 !important;
    }

    .category-product-card-price .category-price-original,
    .category-product-card-price .category-price-final,
    .category-product-card-price .category-price-saving {
        text-align: left !important;
    }

    .category-product-article-number {
        margin-top: .2rem;
        margin-bottom: .45rem;
    }

    .category-product-article-label {
        font-size: .73rem;
        color: #475569;
    }

    .category-product-article-value {
        font-size: .88rem;
        font-weight: 700;
        color: #1f2937;
        background: #f1f5f9;
        border: 0;
        border-radius: 4px;
        padding: .06rem .28rem;
    }
}

@media (max-width: 575.98px) {
    .category-product-card-price-row {
        flex-direction: column;
        align-items: stretch !important;
        gap: .4rem;
    }

    .category-product-card-actions {
        width: 100%;
        justify-content: space-between;
    }

    .category-product-card-qty {
        width: 80px;
        max-width: 80px;
    }

    .category-product-card-cart-btn {
        min-width: 36px;
        height: 32px;
    }
}
/* HART Premium product marker */
.hart-premium-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .4rem .62rem;
    border: 2px solid #d4af37;
    border-radius: .42rem;
    background: linear-gradient(135deg, #0d0d0d 0%, #242424 52%, #0d0d0d 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 220, 105, .2), 0 2px 9px rgba(0, 0, 0, .28);
    color: #f4cf62;
    font-size: .7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .075em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .9);
    white-space: nowrap;
}

[data-bs-theme="dark"] .hart-premium-badge {
    border-color: #e0b83f;
    background: linear-gradient(135deg, #080808 0%, #202020 52%, #080808 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 220, 105, .25), 0 2px 10px rgba(0, 0, 0, .4);
}

/* Standard HART product marker (Premium products keep their dedicated badge). */
.hart-standard-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .4rem .62rem;
    border: 1px solid #d9d9d4;
    border-radius: .42rem;
    background: #f4f4f1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
    color: #cf142b;
    font-size: .7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .075em;
    white-space: nowrap;
}

[data-bs-theme="dark"] .hart-standard-badge {
    border-color: #c9c9c3;
    background: #ededeb;
    color: #c8102e;
}
