:root {
    --primary-color: #A74463;
    --primary-color-dark: #8c3a50;
    --text-color: #212529;
    --text-light: #5a6268;
    --background-color: #f7f8fc;
    --card-background: #ffffff;
    --border-color: #dee2e6;
    --border-light: #f1f3f5;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --border-radius: 12px;
    --shadow: 0 8px 24px rgba(21, 22, 26, 0.04);
    --shadow-hover: 0 12px 32px rgba(21, 22, 26, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
    background-image: url('https://www.transparenttextures.com/patterns/light-wood-fibers.png');
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color-dark);
}

.promo-badge-5plus1 {
    background-color: #A74463;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    white-space: nowrap;
}

.promo-badge-mini {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #A74463;
    color: white;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 10;
}

.badge-container-mobile {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.promo-badge-mobile {
    background: #A74463;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

.action-cell-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
}

main.container {
    padding-top: 10px !important;
    padding-bottom: 30px !important;
}

.card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
    margin-bottom: 40px;
}

.awards-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    justify-content: center;
    min-width: 95px;
}

.award-icon-small {
    width: 28px;
    height: auto;
    display: block;
    object-fit: contain;
}

.title-card {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    background: none;
    text-align: left;
    width: 100%;
}

.section-title {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
}

.winery-intro {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    background-color: var(--card-background);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.winery-intro-image {
    flex: 0 0 320px;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    background: #f8f9fa;
}

.winery-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mask-image: linear-gradient(to right, black 70%, transparent 100%);
}

.winery-intro-content {
    flex: 1;
    min-width: 0;
}

.winery-intro-content h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.winery-intro-content p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    white-space: pre-line;
}

.winery-intro-links {
    display: flex;
    gap: 25px;
}

.winery-intro-links a {
    color: var(--text-color);
    font-weight: 500;
    text-decoration: underline;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.winery-intro-links a:hover {
    color: var(--primary-color);
}

.winery-intro-links i {
    font-size: 18px;
}

.winery-intro-logo {
    flex: 0 0 150px;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.winery-intro-logo img {
    max-width: 100%;
    max-height: 80px;
    height: auto;
    object-fit: contain;
}

.filtering-active { 
    opacity: 0.6; 
    pointer-events: none; 
    transition: opacity 0.2s; 
}

#filter-form {
    margin-bottom: 0 !important;
}

.filter-bar-desktop {
    background-color: #fff;
    border-radius: 8px;
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid #eaeaea;
    margin-bottom: 10px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.filter-bar-icon {
    font-size: 18px;
    color: #a73851;
    margin-top: 0;
    display: flex;
    align-items: center;
}

.filter-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-grow: 1;
}

.filter-item {
    position: relative;
}

.filter-button {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    color: #666 !important; 
    font-weight: 500 !important;
    font-size: 14px;
    padding: 8px 14px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    box-shadow: none !important;
    transition: all 0.2s;
    cursor: pointer;
}

.filter-button:hover {
    border-color: #a73851 !important;
    color: #a73851 !important;
}

.filter-button i {
    color: #aaa;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.filter-item.active .filter-button {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-color: #ccc !important;
    border-bottom-color: transparent !important;
    background-color: #fbfbfb !important;
    color: #333 !important;
}

.filter-item.active .filter-button i {
    transform: rotate(180deg);
}

.filter-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    width: 320px;
    background: #fff;
    border: 1px solid #ccc !important;
    border-top: none !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08) !important;
    border-radius: 0 4px 4px 4px !important;
    margin-top: -1px; 
    padding: 0 !important;
    transform-origin: top left;
}

.filter-item.active .filter-dropdown {
    display: flex;
    flex-direction: column;
    animation: dropdownSlideIn 0.2s ease-out;
}

@keyframes dropdownSlideIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.filter-search-container {
    padding: 10px;
    border-bottom: 1px solid #eee;
    background-color: #fcfcfc;
}

.filter-search-input {
    width: 100%;
    border: 1px solid #a73851;
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 13px;
    outline: none;
    transition: box-shadow 0.2s;
}

.filter-search-input:focus {
    box-shadow: 0 0 0 2px rgba(167, 56, 81, 0.1);
}

.filter-dropdown-body {
    max-height: 250px;
    overflow-y: auto;
    padding: 5px 0 !important;
    scrollbar-width: thin;
    scrollbar-color: #bbb #f1f1f1;
}

.filter-dropdown-body::-webkit-scrollbar { width: 8px; }
.filter-dropdown-body::-webkit-scrollbar-track { background: #f1f1f1; }
.filter-dropdown-body::-webkit-scrollbar-thumb { background: #bbb; border-radius: 10px; border: 2px solid #f1f1f1; }
.filter-dropdown-body::-webkit-scrollbar-thumb:hover { background: #888; }

.filter-dropdown-body label {
    display: flex;
    align-items: flex-start;
    padding: 8px 15px;
    margin: 0;
    cursor: pointer;
    color: #444;
    font-size: 0.9rem;
    transition: background-color 0.1s;
    user-select: none;
}

.filter-dropdown-body label:hover {
    background-color: #f8f8f8;
    outline: 1px dotted #999;
    outline-offset: -1px;
    color: #a73851;
}

.filter-dropdown-body label input[type="checkbox"] {
    margin: 3px 10px 0 0;
    cursor: pointer;
    width: 15px; 
    height: 15px;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.filter-label-text {
    line-height: 1.3;
}

.filter-count { 
    color: #888; 
    margin-left: 4px; 
    font-size: 0.85em; 
}

.color-dot { 
    display: inline-block; 
    width: 12px; 
    height: 12px; 
    border-radius: 50%; 
    margin-right: 6px; 
    margin-top: 3px;
    border: 1px solid #ddd; 
    flex-shrink: 0;
}

.filter-dropdown-footer { 
    display: flex;
    justify-content: center; 
    border-top: 1px solid #eee;
    padding: 8px;
    background: #fdfdfd;
}

.btn-clear {
    background: transparent; 
    border: 1px solid transparent;
    color: #4a5568; 
    font-size: 0.85rem; 
    font-weight: 600; 
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-clear:hover { 
    color: #a73851; 
    background-color: rgba(167,56,81,0.05);
}

.active-filters-row {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
    align-items: center;
}

.active-filter-tag {
    background-color: #e5ded8;
    color: #1a1a1a;
    border: none;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.active-filter-tag:hover {
    background-color: #d1c8c0;
}

.active-filter-tag i {
    font-size: 11px;
    font-weight: bold;
}

.clear-all-filters-btn {
    background-color: #a6917e;
    color: #fff;
    border: none;
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 13.5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.clear-all-filters-btn:hover {
    background-color: #8c7664;
}

.mobile-filter-trigger {
    display: none;
}

.filter-container {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(2px);
}

.product-scroller-section {
    display: none !important;
}

.product-scroller-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.product-scroller {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    padding-bottom: 0;
}

.product-scroll-item {
    flex: 1 1 0;
    min-width: 0;
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--text-color);
}

.product-scroll-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-scroll-item-image {
    height: 220px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 5px;
    background-color: var(--card-background);
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    position: relative;
}

.product-scroll-item-image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08));
}

.product-scroll-item-content {
    padding: 10px 15px;
    text-align: center;
    border-top: 1px solid var(--border-light);
    transition: border-top-color 0.3s ease, background-color 0.3s ease;
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-scroll-item:hover .product-scroll-item-content {
    background-color: var(--primary-color);
    border-top-color: var(--primary-color);
}

.product-scroll-item-content h3 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-scroll-item:hover h3 {
    color: #ffffff;
}

.product-list-mobile {
    display: none;
}

.product-list-container {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin-bottom: 0;
    margin-top: 0 !important;
}

.table-scroll-wrapper {
    width: 100%;
    padding: 0 5px;
}

.product-list-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 14px;
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.product-list-table th {
    padding: 12px 10px;
    font-weight: 700;
    font-size: 11px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background-color: var(--border-light);
    border-bottom: none;
    white-space: nowrap;
    text-align: center;
}

.product-list-table th a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-list-table th a:hover {
    color: var(--primary-color);
}

.product-list-table th i {
    margin-left: 5px;
    font-size: 12px;
    color: var(--border-color);
    transition: color 0.3s ease;
    opacity: 0.6;
}

.product-list-table th a:hover i {
    color: var(--primary-color);
    opacity: 1;
}

.product-list-table tbody tr {
    background-color: transparent;
    transition: background-color 0.2s ease;
}

.product-list-table tbody tr:hover {
    background-color: #f8fafc;
}

.product-list-table td {
    padding: 6px 10px;
    vertical-align: middle;
    border: none;
    border-top: 1px dashed var(--border-color);
    text-align: center;
}

.product-list-table tbody tr:first-child td {
    border-top: none;
}

.product-list-table th:nth-child(2),
.product-list-table td[data-label="Art-Nr."] {
    width: 95px;
}

.product-list-table td[data-label="Kellerei"] {
    white-space: nowrap;
}

.product-list-table td[data-label="Bezeichnung"] {
    text-align: left;
}

.product-name-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.product-table-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.product-table-link:hover {
    color: var(--primary-color-dark);
}

.product-list-table td[data-label="Typ"] {
    width: 45px;
}

.product-list-table td[data-label="Awards"] { 
    vertical-align: middle; 
    padding: 6px 5px; 
}

.awards-list .award-icon-small {
    height: 28px;
    width: auto;
    max-width: 35px;
    pointer-events: auto;
    object-fit: contain;
}

.award-badge, .promo-badge {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50px;
    padding: 3px 8px;
    white-space: nowrap;
}

.award-badge { background-color: #6c757d; }
.promo-badge { background-color: #dc3545; }

.wine-type-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.price-container-inline {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    line-height: 1.2;
}

.price-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-main {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-color);
}

.price-old-block .price-old,
.price-old-block .liter-price {
    color: #999;
    text-decoration: line-through;
}

.price-old {
    font-size: 14px;
    color: var(--text-light);
}

.liter-price {
    font-size: 11px;
    color: #888;
    font-weight: 300;
    margin-top: 2px;
}

.product-rating-inline {
    display: inline-flex;
    color: #fbd833;
    font-size: 13px;
    gap: 2px;
}

.order-controls {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px 0 0 8px;
    font-size: 15px;
}

.cart-btn {
    width: 42px;
    height: 40px;
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    color: #fff;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.1s ease-out;
}

.cart-btn:hover { background-color: var(--primary-color-dark); }
.cart-btn:active { transform: scale(0.95); }

.wishlist-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background-color: #fff;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 8px;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.wishlist-btn:hover, .wishlist-btn.active {
    background-color: var(--border-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.order-controls button:disabled,
.order-controls input:disabled,
td[data-label="Merken"] button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 40px;
    color: #666;
}

.empty-state-icon {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state-btn {
    margin-top: 15px;
    display: inline-block;
}

#brand-details-section, #category-info-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eaeaea;
}

.info-sidebar-grid {
    display: grid;
    grid-template-columns: 1fr 307px;
    gap: 30px;
    align-items: start;
}

.main-info-content {
    min-width: 0;
}

.tabs-header {
    display: flex;
    background-color: #f4f5f7;
    border-radius: 8px;
    padding: 6px;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}
.tabs-header::-webkit-scrollbar { display: none; }

.tab-button {
    flex: 1;
    text-align: center;
    background: transparent;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: #6c757d;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-button:hover {
    color: #343a40;
}

.tab-button.active {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(167, 68, 99, 0.2);
}

.info-content-card {
    background: #ffffff;
    border: 1px solid #eef0f5;
    border-radius: 12px;
    padding: 35px 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.8;
}

.tab-content#heute, .tab-content#historie {
    white-space: pre-line;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.winery-gallery-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.winery-gallery-slider .swiper-slide img {
    display: block;
    width: 100%;
    height: 575px;
    object-fit: cover;
}

.winery-gallery-slider .swiper-button-next, 
.winery-gallery-slider .swiper-button-prev {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease;
}

.winery-gallery-slider .swiper-button-next:hover, 
.winery-gallery-slider .swiper-button-prev:hover {
    background-color: #ffffff;
}

.winery-gallery-slider .swiper-button-next::after, 
.winery-gallery-slider .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.winery-gallery-slider .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    opacity: 1;
}

.fact-sheet-card {
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 20px;
    overflow: hidden;
}

.fact-sheet-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #212529;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: left;
}

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

.fact-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f4f5f7;
}
.fact-item:last-child {
    border-bottom: none;
}

.fact-icon {
    color: var(--primary-color);
    font-size: 15px;
    width: 24px;
    text-align: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.fact-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
    flex: 0 0 auto;
    margin-right: auto;
}

.fact-value {
    color: #212529;
    text-align: right;
    font-weight: 400;
    font-size: 0.95rem;
}

.map-placeholder {
    margin: 30px -30px -35px -30px;
    background: #fdfdfd;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-placeholder img {
    width: 75%;
    height: auto;
    display: block;
}

.award-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.award-item {
    display: flex;
    align-items: center;
    background: #f8fafc;
    padding: 16px 20px;
    border-radius: 12px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.award-item:hover {
    transform: translateX(4px);
    background: #f1f5f9;
}

.award-item i.fa-trophy {
    color: #d69e2e;
    font-size: 1.4rem;
    margin-right: 16px;
}

.award-item-content {
    display: flex;
    flex-direction: column;
}

.award-item strong {
    color: #2d3748;
    font-size: 1.05rem;
    line-height: 1.3;
}

.award-item span {
    color: #718096;
    font-size: 0.9rem;
    margin-top: 2px;
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin: 20px auto 10px !important;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
}

nav[role="navigation"] {
    width: 100%;
}

nav[role="navigation"] > div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.pagination {
    display: inline-flex;
    padding-left: 0;
    list-style: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    background-color: var(--card-background);
}

.page-item {
    margin: 0;
}

.page-item .page-link,
.page-item span.page-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    margin-left: -1px;
    color: var(--primary-color);
    background-color: var(--card-background);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease-in-out;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.page-item:first-child .page-link,
.page-item:first-child span.page-link {
    margin-left: 0;
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}

.page-item:last-child .page-link,
.page-item:last-child span.page-link {
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.page-item.active .page-link,
.page-item.active span.page-link {
    z-index: 3;
    color: #fff !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.page-item.disabled .page-link,
.page-item.disabled span.page-link {
    color: var(--text-light);
    pointer-events: none;
    background-color: var(--background-color);
    border-color: var(--border-light);
}

.page-item:not(.active):not(.disabled) .page-link:hover,
.page-item:not(.active):not(.disabled) span.page-link:hover {
    z-index: 2;
    color: var(--primary-color-dark);
    background-color: #f1f3f5;
    border-color: var(--border-color);
}

nav[role="navigation"] > div > p {
    display: none;
}

@media (max-width: 1200px) {
    .table-scroll-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .container {
        padding: 0 15px;
    }
    .winery-intro {
        gap: 20px;
        padding: 15px;
    }
    .winery-intro-image {
        flex: 0 0 260px;
        height: 150px;
    }
    .winery-intro-logo {
        flex: 0 0 120px;
    }
    .winery-intro-content h3 {
        font-size: 24px;
    }
    .filter-bar-desktop {
        padding: 10px 15px;
    }
    .filter-controls {
        gap: 10px;
    }
    .filter-button {
        padding: 6px 10px !important;
        font-size: 13px;
    }
    .product-list-table {
        font-size: 13px;
    }
    .product-list-table th, .product-list-table td {
        padding: 8px 6px;
    }
    .quantity-input {
        width: 40px;
        height: 35px;
        font-size: 14px;
    }
    .cart-btn, .wishlist-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    .award-icon-small {
        width: 24px;
    }
}

@media (max-width: 1100px) {
    .info-sidebar-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .main-info-content, .fact-sheet-sidebar {
        grid-column: auto;
    }
    .fact-sheet-card {
        position: static;
    }
}

@media (max-width: 1199px) {
    .product-scroller-section {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .container { padding: 0 15px; }
    main.container { padding-bottom: 20px !important; }
    
    .filter-bar-desktop { display: none; }
    
    .mobile-filter-trigger {
        display: flex;
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
        font-weight: 700;
        color: var(--primary-color);
        background-color: var(--card-background);
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        margin-bottom: 15px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        gap: 10px;
        box-shadow: var(--shadow);
    }
    
    .filter-container.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .filter-mobile-panel {
        position: absolute;
        top: 0;
        right: 0;
        width: 90%;
        max-width: 400px;
        height: 100%;
        background-color: var(--card-background);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    
    .filter-container.active .filter-mobile-panel {
        transform: translateX(0);
    }
    
    .filter-mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-light);
        flex-shrink: 0;
    }
    
    .filter-mobile-header h3 { font-size: 20px; }
    .filter-close-btn { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-light); }
    
    .filter-mobile-panel .filter-controls {
        flex-direction: column;
        gap: 0;
        flex-wrap: nowrap;
        overflow-y: auto;
        padding: 10px 0;
        flex-grow: 1;
    }
    
    .filter-mobile-panel .filter-item { width: 100%; }
    
    .filter-mobile-panel .filter-button {
        width: 100%;
        background: none;
        border: none;
        border-radius: 0;
        justify-content: space-between;
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .filter-mobile-panel .filter-button:hover { background-color: var(--border-light); }
    
    .filter-mobile-panel .filter-dropdown {
        position: static;
        width: 100%;
        border: none;
        box-shadow: none;
        border-radius: 0;
        border-top: 1px solid var(--border-light);
        border-bottom: 1px solid var(--border-light);
    }
    
    .filter-mobile-footer {
        display: flex;
        gap: 15px;
        padding: 15px 20px;
        border-top: 1px solid var(--border-light);
        flex-shrink: 0;
    }
    
    .filter-mobile-footer button,
    .filter-mobile-footer .filter-reset-btn {
        flex: 1;
        padding: 12px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        border: 1px solid var(--border-color);
        transition: all 0.3s ease;
        text-align: center;
    }
    
    .filter-mobile-footer .filter-reset-btn { background-color: var(--card-background); color: var(--text-color); }
    .filter-mobile-footer .filter-apply-mobile-btn { background-color: var(--primary-color); border-color: var(--primary-color); color: #fff; }

    .winery-gallery-slider .swiper-slide img {
        height: 250px;
    }

    .product-list-container {
        display: none !important;
    }

    .product-list-mobile {
        display: block !important;
        margin-bottom: 20px;
    }

    .product-list-mobile .product-card {
        background-color: var(--card-background, #fff);
        border-radius: var(--border-radius, 12px);
        padding: 15px;
        display: flex;
        flex-direction: column;
        box-shadow: var(--shadow, 0 4px 12px rgba(0,0,0,0.05));
        border: 1px solid var(--border-color, #dee2e6);
        height: 100%;
    }

    .product-list-mobile .product-card-visuals {
        position: relative;
        text-align: center;
        margin-bottom: 0;
        padding-top: 10px;
        flex-shrink: 0;
    }

    .product-list-mobile .product-awards-left {
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        gap: 5px;
        z-index: 10;
    }

    .product-list-mobile .award-badge-circle {
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        font-size: 11px;
        font-weight: bold;
    }

    .product-list-mobile .award-badge-circle img {
        max-width: 24px;
        max-height: 24px;
        object-fit: contain;
    }

    .product-list-mobile .product-badges-right {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 5px;
        z-index: 10;
    }

    .product-list-mobile .badge-vegan, 
    .product-list-mobile .badge-bio, 
    .product-list-mobile .badge-soldout, 
    .product-list-mobile .badge-sale, 
    .product-list-mobile .badge-promo {
        padding: 3px 6px;
        border-radius: 4px;
        font-size: 10px;
        font-weight: bold;
        color: white;
        line-height: 1;
        text-transform: uppercase;
    }
    
    .product-list-mobile .badge-vegan { background-color: #28a745; }
    .product-list-mobile .badge-bio { background-color: #82c91e; }
    .product-list-mobile .badge-soldout { background-color: #6c757d; }
    .product-list-mobile .badge-sale { background-color: #dc3545; }
    .product-list-mobile .badge-promo { background-color: var(--primary-color, #A74463); }

    .product-list-mobile .product-image-link {
        display: block;
        text-decoration: none;
    }

    .product-list-mobile .image-container-inner {
        position: relative;
        height: 280px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-list-mobile .bg-circle {
        position: absolute;
        width: 180px !important;
        height: 180px !important;
        border-radius: 50%;
        background-color: var(--bg-color);
        z-index: 1;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .product-list-mobile .image-container-inner img {
        max-height: 100% !important;
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        position: relative;
        z-index: 2;
    }

    .product-list-mobile .product-info {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        text-align: left;
        padding: 41px 0 0 0;
    }

    .product-list-mobile .product-winery {
        margin-bottom: 4px;
        line-height: 1.2;
        text-transform: uppercase;
        font-size: 0.7rem;
        color: #888;
        flex-shrink: 0;
    }

    .product-list-mobile .product-title-link {
        text-decoration: none;
        display: block;
        margin-bottom: 8px;
        line-height: 1.4;
        flex-shrink: 0;
    }

    .product-list-mobile .product-title {
        font-size: 0.95rem;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: var(--text-color, #212529);
        font-weight: 700;
        display: block;
    }

    .product-list-mobile .product-price-container {
        margin-top: auto;
        line-height: 1.2;
        margin-bottom: 6px;
        flex-shrink: 0;
    }

    .product-list-mobile .product-price {
        margin-bottom: 0;
        display: flex;
        align-items: baseline;
        gap: 6px;
        flex-wrap: nowrap;
    }

    .product-list-mobile .sale-price, 
    .product-list-mobile .main-price {
        font-weight: 800;
        font-size: 1.2rem;
    }
    
    .product-list-mobile .sale-price { color: var(--primary-color, #a73851); }
    .product-list-mobile .main-price { color: var(--text-color, #212529); }

    .product-list-mobile .original-price {
        text-decoration: line-through;
        color: #999;
        font-size: 0.9rem;
        margin-left: 0;
    }

    .product-list-mobile .product-base-price {
        color: #000;
        font-size: 0.65rem;
        font-weight: 500;
        margin-top: 3px;
        line-height: 1.2;
    }

    .product-list-mobile .product-availability {
        font-size: 0.65rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 5px 0 12px 0;
        flex-shrink: 0;
    }

    .product-list-mobile .status-available { color: #28a745; font-weight: 700; }
    .product-list-mobile .status-unavailable { color: #d9534f; font-weight: 700; }

    .product-list-mobile .add-to-cart-wrapper {
        display: flex;
        gap: 8px;
        align-items: center;
        width: 100%;
        margin-top: auto;
    }

    .product-list-mobile .quantity-selector-card {
        display: flex;
        align-items: center;
        gap: 0;
        background: #f4f5f7;
        border-radius: 4px;
        height: 35px;
        overflow: hidden;
    }

    .product-list-mobile .qty-btn-card {
        width: 30px;
        height: 35px;
        background: transparent;
        border: none;
        font-size: 16px;
        color: #555;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-list-mobile .quantity-input-card {
        width: 30px;
        height: 35px;
        font-size: 14px;
        text-align: center;
        border: none;
        background: transparent;
        font-weight: 600;
        padding: 0;
    }

    .product-list-mobile .add-to-cart-btn {
        flex-grow: 1;
        height: 35px;
        font-size: 13px;
        font-weight: 700;
        background-color: var(--primary-color, #A74463);
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        transition: background-color 0.2s;
        padding: 0 10px;
    }

    .product-list-mobile .add-to-cart-btn:hover {
        background-color: var(--primary-color-dark, #8c3a50);
    }

    .product-list-mobile .add-to-cart-btn:disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }
}

@media (max-width: 900px) {
    .winery-intro {
        flex-direction: column;
        text-align: center;
    }
    .winery-intro-image {
        width: 100%;
        flex-basis: auto;
        height: 200px;
    }
    .winery-intro-links { justify-content: center; }
    .winery-intro-logo { display: none; }
}

@media (max-width: 768px) {
    .card { padding: 20px; }
    .info-content-card, .fact-sheet-card { padding: 20px; }
    .fact-sheet-title { font-size: 1.4rem; }
    .map-placeholder { margin: 20px -20px -20px -20px; }
    
    .fact-item {
        flex-wrap: wrap;
    }
    .fact-label, .fact-value { flex-basis: auto; }
    .fact-label { flex-grow: 1; margin-right: 0;}
    .fact-value {
        flex-basis: 100%;
        text-align: left;
        padding-left: 36px;
        margin-top: 4px;
    }

    nav[role="navigation"] > div > p {
        display: block;
        font-size: 14px;
        color: var(--text-light);
    }
}

.info-sidebar-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    gap: 2rem;
    align-items: start;
}

.fact-sheet-card {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 991px) {
    .info-sidebar-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 1199px) {
    .product-list-container {
        display: none !important;
    }
    .product-list-mobile {
        display: block !important;
    }
}

@media (min-width: 1200px) {
    .product-scroller-section {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        margin-bottom: 30px !important;
    }
    .product-scroller-wrapper {
        overflow: hidden !important;
        width: 100% !important;
        padding: 0 !important;
    }
    .product-scroller {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .product-scroll-item {
        display: flex !important;
        flex: 1 1 0% !important;
        min-width: 0 !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        box-shadow: var(--shadow) !important;
    }
    .product-scroll-item-image {
        height: 250px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 15px !important;
        background-color: var(--card-background) !important;
    }
    .product-scroll-item-image img {
        max-height: 100% !important;
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }
    .product-scroll-item-content {
        padding: 8px 4px !important;
        min-height: 50px !important;
    }
    .product-scroll-item-content h3 {
        font-size: 12px !important;
        line-height: 1.3 !important;
        -webkit-line-clamp: 2 !important;
    }
}

@media (min-width: 769px) {
    .product-card-visuals {
        height: 300px !important;
        position: relative !important;
        margin-bottom: 1.5rem !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .image-container-inner {
        height: 100% !important;
        width: 100% !important;
        position: relative !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .image-container-inner img,
    .product-card-visuals img {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        max-height: 280px !important;
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
    }
    .product-info {
        margin-top: 1rem !important;
    }
}

@media (min-width: 1025px) and (max-width: 1199px) {
    .mobile-products-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 1.5rem !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .mobile-products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1.25rem !important;
    }
}

@media (max-width: 767px) {
    .mobile-products-grid {
        display: grid !important;
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
        gap: 1rem !important;
    }
    
    .product-list-mobile .image-container-inner {
        height: 380px !important;
    }
    
    .product-list-mobile .bg-circle {
        width: 250px !important;
        height: 250px !important;
    }
}