: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);
    --review-star-color: #fbd833;
    --review-separator-color: #e9ecef;
}

* {
    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;
    width: 100%;
}

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

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

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);
}

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

.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%;
    border-radius: 0;
    box-shadow: none;
}

.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: 25px;
    text-align: center;
}

.winery-intro {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
    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;
}

.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 .winery-logo {
    flex: 0 0 150px;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.winery-intro-mobile {
    display: none;
}

.product-gallery {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border-light);
    padding-right: 30px;
    min-height: 575px;
}

.vertical-awards {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.vertical-awards .award-link {
    display: block;
    position: relative;
    z-index: 10000;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vertical-awards .award-link:hover {
    transform: translateY(-2px);
}

.award-badge {
    background: #d4ccbe;
    color: #000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.award-badge:not(.style-label) {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    line-height: 1.1;
}

.award-badge span {
    font-weight: 800;
    font-size: 14px;
}

.award-badge small {
    font-size: 10px;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.5px;
    margin-top: 1px;
}

.award-badge.style-label {
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #fff 0%, #f4f4f4 100%);
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 15px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.badge-bio, 
.badge-vegan {
    background: #a73851; 
    color: #fff;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    margin: 0;
    padding: 0;
}

.product-discount-badges {
    position: absolute;
    bottom: 10px;
    left: 15px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.badge-discount {
    background: #d9534f;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.4);
    font-size: 13px;
}

.badge-promo {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 4px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.4);
    font-size: 13px;
}

.product-awards-left {
    position: absolute !important;
    left: 15px !important;
    top: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    z-index: 30 !important;
}

.award-icon-normal {
    width: 65px !important;
    height: auto !important;
    object-fit: contain !important;
}

.award-circle-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #af9570;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 8px;
    overflow: hidden;
    border: 2px solid #fff;
}

.award-type-luca-maroni { background-color: #a73851; border-color: #fbd833; }
.award-type-luca-maroni img { filter: brightness(0) invert(1); }
.award-type-bibenda { background-color: #1e456d; }
.award-type-gambero-rosso { background-color: #d9534f; }

.award-circle-link:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

.award-icon-img {
    max-width: 28px;
    max-height: 28px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.award-circle-link i {
    color: #fff !important;
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
}

.product-image-wrapper {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    margin-top: -65px;
    z-index: 5;
}

.product-image-wrapper::before {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.product-gallery .product-image-wrapper::before { width: 280px; height: 280px; }
.product-card .product-image-wrapper::before { width: 180px; height: 180px; }

.circle-rose::before { background-color: #ffe0e0; }
.circle-yellow::before { background-color: #f0f4c3; }
.circle-red::before { background-color: #f5cccc; }
.circle-green::before { background-color: #e6f4ea; }
.circle-blue::before { background-color: #dfefff; }
.circle-gray::before { background-color: #e9ecef; }
.circle-beige::before { background-color: #f5f1e9; }

.image-zoom-container {
    overflow: hidden;
    border-radius: var(--border-radius);
    display: inline-block;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.1));
    position: relative;
}

.image-zoom-container img {
    max-width: 100%;
    height: 575px;
    display: block;
    transition: transform 0.4s ease-in-out;
    object-fit: contain;
}

.image-zoom-container:hover img {
    transform: scale(1.05);
}

.product-details {
    padding-left: 35px;
}

.product-details .producer-name {
    font-size: 16px;
    font-weight: 700;
    color: #a73851;
    margin-bottom: 8px;
}

.product-details .producer-name a {
    color: #a73851;
}

.product-details h1 {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #212529;
}

.product-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.product-details .art-nr {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-rating span {
    color: #6c757d;
    font-size: 14px;
    text-decoration: none;
}

.product-description {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 25px;
}

.purchase-info-box {
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
}

.price-line {
    margin-bottom: 10px;
}

.product-price {
    font-size: 38px;
    font-weight: 800;
    color: #a73851;
    line-height: 1;
}

.legal-and-stock-info p, 
.legal-and-stock-info span, 
.legal-and-stock-info a,
.legal-and-stock-info div {
    font-size: 12px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.legal-and-stock-info strong {
    font-size: 12px !important;
    font-weight: 800 !important;
}

.tax-shipping-info a {
    text-decoration: underline;
    color: inherit;
}

.delivery-info span {
    font-weight: 800 !important;
}

.status-available {
    color: #00b85c;
}

.status-unavailable {
    color: #d9534f;
}

.add-to-cart-form {
    display: flex;
    gap: 15px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    gap: 2px;
}

.quantity-selector button {
    background-color: #f4f5f7;
    border: none;
    width: 48px;
    height: 48px;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-selector .quantity {
    width: 50px;
    height: 48px;
    border: none;
    background-color: #f4f5f7;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin: 0 2px;
}

.quantity-selector button:hover {
    background-color: #e2e6ea;
}

.quantity-selector .quantity:focus {
    outline: none;
}

input[type=number].quantity {
    -moz-appearance: textfield;
}

input[type=number].quantity::-webkit-outer-spin-button, 
input[type=number].quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-cart-btn {
    background: #a73851;
    border: none;
    border-radius: 8px;
    height: 48px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    flex-grow: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.add-to-cart-btn:hover {
    background: #8c3a50;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    align-items: start;
}

.info-grid > .data-sheet { grid-column: 4 / 5; }
.info-grid > .tabs { grid-column: 1 / 4; grid-row: 1; }
.info-grid > .card { margin-bottom: 0; }
.info-grid + section { padding-top: 10px !important; }

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

.tabs .tab-nav::-webkit-scrollbar {
    display: none;
}

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

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

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

.tabs .tab-button.active:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.tabs .tab-content { display: none; }
.tabs .tab-content.active { display: block; animation: fadeIn 0.5s ease; }

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

.detail-section-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-color);
    margin-top: 25px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    background-image: linear-gradient(to right, rgba(167, 68, 99, 0.1), var(--border-light));
    padding: 12px 18px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.detail-section-title:first-of-type { margin-top: 0; }
.detail-section-title i { color: var(--primary-color); font-size: 18px; }

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

#details > .detail-item:last-child, 
#details > .detail-row:last-child {
    margin-bottom: 0;
}

.detail-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.detail-row .detail-col-separator {
    border-left: 1px solid var(--border-light);
    padding-left: 20px;
}

.detail-row .detail-item {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}

.detail-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(167, 68, 99, 0.2);
}

.detail-text h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    margin: 0 0 4px 0;
    color: var(--text-color);
}

.detail-text p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.5;
    font-size: 14px;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: center;
}

.award-item {
    background-color: var(--background-color);
    padding: 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.award-item h4 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 6px;
}

.award-item p {
    color: var(--text-light);
    font-size: 13px;
    margin: 0;
}

.data-sheet h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.data-sheet h3 + p {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 14px;
}

.data-sheet ul { list-style: none; }
.data-sheet li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.data-sheet li:last-child { border-bottom: none; }

.data-sheet .label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    padding-top: 2px;
    font-size: 14px;
}

.data-sheet .label i {
    font-size: 16px;
    width: 18px;
    text-align: center;
    color: var(--primary-color);
}

.data-sheet .value {
    font-weight: 400;
    text-align: right;
    word-break: break-word;
    font-size: 14px;
}

.data-sheet .value small {
    display: block;
    font-weight: 400;
    color: var(--text-light);
}

.data-sheet-qr .label { flex: 1; line-height: 1.4; }
.data-sheet-qr .qr-code-link { line-height: 1; flex-shrink: 0; }
.data-sheet-qr img { border-radius: 6px; width: 90px; height: 90px; }

.review-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-item {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    padding: 20px;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--review-separator-color);
    transition: box-shadow 0.3s;
}

.review-item:hover {
    box-shadow: 0 4px 15px rgba(167, 68, 99, 0.1);
}

.review-item h4 {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.review-item p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.review-item small {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.review-ratings p {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text-color);
    padding: 4px 0;
    border-bottom: 1px dotted var(--review-separator-color);
}

.review-ratings p:last-child { border-bottom: none; }

.review-ratings .rating-value {
    font-weight: 700;
    color: var(--primary-color-dark);
}

.review-stars i {
    color: var(--review-star-color);
    font-size: 15px;
    margin-right: 2px;
}

.review-form .form-group {
    margin-bottom: 12px;
}

.review-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 13px;
}

.review-form .form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--background-color);
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.review-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(167, 68, 99, 0.1);
    outline: none;
    background-color: white;
}

.review-form .btn-primary {
    width: auto;
    padding: 8px 18px;
    font-size: 14px;
    background-image: linear-gradient(45deg, var(--primary-color), var(--primary-color-dark));
    box-shadow: 0 4px 15px rgba(167, 68, 99, 0.3);
}

.winery-map {
    margin-top: 15px;
    border-top: 1px solid var(--border-light);
    padding-top: 15px;
}

.winery-map img {
    border-radius: var(--border-radius);
    max-width: 100%;
}

.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;
}

.winery-awards-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.winery-award-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.winery-award-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.winery-award-item .year {
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    background-color: var(--border-light);
    padding: 6px 10px;
    border-radius: 8px;
    line-height: 1.2;
}

.winery-award-item .details h5 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

.winery-award-item .details h5 a {
    color: var(--text-color);
    text-decoration: none;
}

.winery-award-item .details h5 a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.winery-award-item .details p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.desktop-only { display: flex; }
.mobile-only { display: none; }

@media (max-width: 1200px) {
    .info-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .info-grid > .data-sheet, 
    .info-grid > .tabs {
        grid-column: auto !important;
        grid-row: auto !important;
        width: 100% !important;
    }
    #product-info-tabs, #winery-info-tabs { order: 1; }
    #product-info-tabs + .data-sheet, .data-sheet + #product-info-tabs, .data-sheet + #winery-info-tabs { order: 2; }
    
    .info-grid > .tabs { order: 1; }
    .info-grid > .data-sheet { order: 2; }

    .review-item { grid-template-columns: 1fr; gap: 12px; }
    .review-ratings p { border-bottom: none; }
}

@media (max-width: 991px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }

    .container { 
        padding: 0 10px !important; 
        max-width: 100% !important;
        overflow-x: hidden;
    }

    .winery-intro-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 15px;
        background-color: var(--card-background);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        margin: 0 5px 25px 5px;
        text-align: center;
    }
    
    .winery-intro-mobile h3 { 
        font-size: 20px; 
        margin-bottom: 15px; 
        font-family: var(--font-heading);
        font-weight: 700; 
    }
    
    .winery-intro-mobile .winery-intro-links { 
        display: flex; 
        gap: 15px; 
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .winery-intro-mobile .winery-intro-links a { 
        font-size: 13px; 
        text-decoration: underline; 
        font-weight: 600; 
        color: var(--text-color);
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .product-main { 
        display: block !important;
        padding: 15px !important; 
        box-shadow: var(--shadow); 
        background-color: var(--card-background); 
        border-radius: var(--border-radius);
        width: calc(100% - 10px) !important;
        margin-left: 5px !important;
        margin-right: 5px !important;
        overflow: hidden;
    }

    .product-gallery { 
        border-right: none; 
        padding-right: 0; 
        padding-bottom: 15px; 
        margin-bottom: 15px; 
        border-bottom: 1px solid var(--border-light); 
        min-height: 0; 
        width: 100%;
    }

    /* FIX: Mobile Image Wrapper & Centering */
    .product-image-wrapper { 
        margin-top: 0; 
        width: 100%;
        height: 420px !important; /* Adjusted container height to match scaled down image */
        display: flex;
        align-items: center !important; /* Forces vertical centering relative to wrapper */
        justify-content: center;
        padding-top: 0 !important; /* Remove top padding for strict centering */
    }

    .image-zoom-container {
        align-items: center !important; /* Overrides the inline flex-start to vertically center inside its flex container */
    }

    .image-zoom-container img {
        height: auto !important;
        max-height: 380px !important; /* Max height to fit within the 420px container beautifully */
        width: auto !important;
    }

    .product-details { 
        padding-left: 0 !important; 
        width: 100%;
    }

    .product-details h1 { 
        font-size: 24px !important; 
        word-break: break-word;
    }

    .purchase-info-box {
        padding: 15px !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .add-to-cart-form {
        flex-wrap: wrap;
        gap: 10px;
    }

    .quantity-selector {
        flex: 0 0 auto !important;
        width: auto !important;
    }

    .add-to-cart-btn {
        flex: 1 1 auto !important;
        font-size: 14px !important;
        padding: 0 10px !important;
    }
    
    main.container { 
        padding-top: 5px !important; 
        padding-bottom: 20px !important; 
    }
    
    .product-badges { left: 10px; top: 10px; }
    .product-discount-badges { right: 10px; top: 10px; }
}

@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 .winery-logo { display: none; }
}

@media (max-width: 768px) {
    .card { padding: 20px; }
    .detail-row { flex-direction: column; gap: 0; }
    .detail-row .detail-col-separator { border-left: none; padding-left: 0; margin-top: 20px; }
    .detail-row .detail-item { margin-bottom: 20px; }
    .detail-row .detail-item:last-child { margin-bottom: 0; }
    .awards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .add-to-cart-form {
        flex-direction: row;
        align-items: stretch;
    }
    .quantity-selector { flex: 0 0 auto; }
    .add-to-cart-btn { flex: 1; min-width: 0; }

    .product-badges, .product-discount-badges {
        flex-direction: row;
        gap: 6px;
    }
    .badge-bio, .badge-vegan, .badge-discount, .badge-promo {
        width: 40px;
        height: 40px;
        font-size: 8px;
    }
    .badge-discount, .badge-promo { font-size: 11px; }
}

@media (max-width: 400px) {
    .product-price {
        font-size: 2rem !important;
    }
    .add-to-cart-form {
        gap: 5px;
    }
    .quantity-selector button {
        width: 38px;
        height: 38px;
    }
    .quantity-selector .quantity {
        width: 35px;
        height: 38px;
    }
    .add-to-cart-btn {
        height: 38px !important;
        font-size: 13px !important;
    }
}