/**
 * Wine Template Styles
 */

/* Base Typography Inheritance */
.wine-template {
    line-height: inherit;
    color: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container:not(et_menu_container) {
    padding-top: 5px !important;
}

.wine-template h1,
.wine-template h2,
.wine-template h3,
.wine-template h4,
.wine-template h5,
.wine-template h6 {
    line-height: 1.2;
    margin: 0 0 1rem;
}

.wine-template .brand-name,
.wine-template .varietal-name {
    font-family: 'Playfair Display', serif;
    color: #722F37;
}

h1, h2, h3 {
    color: #aabca3 !important;
}
.wine-description ul {
    list-style-type: disc !important;
    list-style-position: inside!important;
    padding: 0 0 3px 0em !important;
    line-height: 1.5rem !important;
    margin-top: .5rem !important;
}
.woocommerce-breadcrumb {
    display: none !important;
}

.container {
    width: 90% !important;
}

/* Main Layout Structure */
.wine-template {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.wine-content {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) 2fr;
    gap: 0rem 3rem;
}

/* Left Column - Image and Downloads */
.wine-image-section {
    position: sticky;
    top: 10rem;
    align-self: start;
    max-width: 350px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    grid-column: 1;
}

.wine-main-image {
    width: 100%;
    height: auto;
    max-height: calc(97vh - 155px);
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* File Downloads */
.wine-files-section {
    margin-top: auto;
}

.file-downloads {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 100%;
}

/* Right Column Layout */
.wine-header {
    grid-column: 2;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    text-align: left;
    grid-row-start: 1;
}

.wine-details-section {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    grid-row: 2;
}
 @media (min-width: 768px){
    
.wine-image-section {
     grid-row: span 2;
 }
 }

.brand-logo-container {
    max-width: 150px !important;
}

/* Store Locator Button */
.store-locator-button,
.store-locator-button:link,
.store-locator-button:visited {
    display: block;
    max-width: 299px;
    padding: .75rem;
    font-family: 'Playfair Display';
    color: #666 !important;
    border: 3px solid !important;
    border-color: #EDC685 !important;
    text-align: center;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.store-locator-button:hover,
.store-locator-button:focus,
.store-locator-button:active {
    color: #000 !important;
    text-decoration: none !important;
    background-color: rgba(237, 198, 133, 0.1);
    transform: translateY(-2px);
}

.brand-name {
    font-size: 2.5rem;
    font-weight: 300;
    margin: 0 0 1rem;
    line-height: 1.2;
    font-style: italic;
}

.varietal-name {
    font-size: 3.5rem;
    margin: 0 0 1rem;
    line-height: 1.2;
    font-style: italic;
}

.wine-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.wine-varietal {
    font-size: 1.6rem;
    color: #9caf96;
}

.wine-origin {
    font-size: 1.3rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.wine-description {
    margin-top: 1rem;
    line-height: 1.6;
    color: #333;
}

/* Characteristics Panel */
.wine-characteristics-panel {
    background: #f8f8f8;
    padding: 1rem 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
}
@media (min-width:1280px){.wine-characteristics-panel {
    background: #f8f8f8;
    padding: 2rem 3rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
}}

/* Scale Styles */
.wine-scale {
    margin-bottom: 1.5rem;
    /* color: #fff; */
}

.wine-scale:last-child {
    margin-bottom: 0;
}

.wine-scale label {
    display: block;
    font-weight: 500;
    margin-bottom: 1rem;
}

.scale-container {
    padding: 0.7rem 0;
}

.scale-track {
    position: relative;
    height: 10px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.scale-fill {
    position: absolute;
    height: 100%;
    background: #aabca3;
    border-radius: 0px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.3);
    will-change: width;
}

.scale-marker {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 2px solid #aabca3;
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    display: none;
}

.scale-marker.endpoint {
    width: 12px;
    height: 12px;
    background: #fff;
    border-color: #999;
    display: none;
}

.scale-marker.active {
    background: #aabca3;
    border-color: #fff;
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    /* color: #fff; */
    padding: 0 8px;
    margin-top: 0.5rem;
}

.scale-labels .current-level {
    color: #aabca3;
    font-weight: 500;
    display: none;
}

/* Taste Profiles & Pairings */
.taste-profile-section,
.pairings-section {
    margin: 2rem 0;
    padding: 1rem 0;
}

.taste-profile-section h2,
.pairings-section h2 {
    font-size: 1.3rem;
    /* color: #fff !important; */
    margin-bottom: 1.5rem;
}

.taste-tags,
.pairing-tags {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.taste-tag,
.pairing-tag {
    /* color: #fff; */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    transition: all 0.3s ease;
}

.taste-tag img,
.pairing-icon img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
    filter: invert(77%) sepia(13%) saturate(458%) hue-rotate(67deg) brightness(92%) contrast(86%);
    -webkit-filter: invert(77%) sepia(13%) saturate(458%) hue-rotate(67deg) brightness(92%) contrast(86%);
}

.taste-tag:hover img,
.pairing-icon:hover img {
    transform: translateY(-2px);
}

/* File Items */
.file-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0rem 1rem;
    background: white;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.file-item:hover {
    background: #f8f8f8;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.file-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #333;
    transition: all 0.2s ease;
}

.file-action:hover {
    color: #722F37;
    transform: scale(1.1);
}

.file-label {
    font-size: .8rem;
    color: #666;
    margin-left: 0.5rem;
}

/* Cheese Section */
.cheese-section {
    margin: 2rem;
    /* padding: 1rem; */
    /* background-color: #FFFAF2; */
}

.cheese-section h2 {
    font-size: 1.3rem;
    color: #a9c19a !important;
}

.cheese-content {
    background: FFFAF2;
    /* padding: 1.5rem; */
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cheese-image-container {
    width: 150px;
    height: 150px;
    position: relative;
    overflow: hidden;
    border-radius: 100px;
    background: #fff;
    box-shadow: 10px 0px 0px rgb(170 188 163);
}

.cheese-image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.cheese-image-container:hover .cheese-image {
    transform: scale(1.2);
}

.cheese-info {
    text-align: center;
    max-width: 600px;
}

.cheese-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #722F37;
    margin-bottom: 1rem;
    font-weight: 500;
}

.cheese-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Wine Details */
.wine-details {
    background: #f8f8f8;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 1.2rem;
}

.detail-label {
    font-size: 0.9rem;
    /* color: #fff; */
}

.detail-value {
    font-weight: 500;
    color: #aabca3;
}

/* Video Section */
.wine-video-section {
    margin: 1rem 0;
}

.wine-video-section .custom-video-player {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
}

.wine-video-section .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.wine-video-section .video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.wine-video-section .video-player.active {
    display: block;
}

.wine-video-section .video-player video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wine-video-section .video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px 15px 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.wine-video-section .custom-video-player:hover .video-controls {
    opacity: 1;
}

.wine-video-section .control-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wine-video-section .control-group.left {
    flex: 0 0 auto;
}

.wine-video-section .control-group.right {
    flex: 0 0 auto;
}

.wine-video-section .video-controls button {
    background: none;
    border: none;
    padding: 5px;
    color: #fff;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    min-width: 24px;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wine-video-section .video-controls button:hover {
    opacity: 1;
}

.wine-video-section .progress-bar {
    flex: 1;
    margin: 0 15px;
}

.wine-video-section .progress-track {
    height: 4px;
       background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.wine-video-section .progress-fill {
    height: 100%;
    background: #aabca3;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.wine-video-section .time-display {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 12px;
    margin-top: 5px;
}

.wine-video-section .language-control {
    display: flex;
    gap: 5px;
    margin-right: 10px;
}

.wine-video-section .language-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wine-video-section .language-toggle.active {
    background: #aabca3;
    border-color: #aabca3;
}

.wine-video-section .volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.wine-video-section .volume-slider {
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
}

.wine-video-section .volume-control:hover .volume-slider {
    width: 60px;
}

.wine-video-section .volume-track {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
}

.wine-video-section .volume-fill {
    height: 100%;
    background: #fff;
    border-radius: 2px;
    width: 100%;
}

.wine-video-section .video-controls svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Play Button Overlay */
.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 2;
    cursor: pointer;
}
.video-playing .play-button-overlay {
    opacity: 0;
    pointer-events: none;
    display:none !important;
}
.video-player.playing .play-button-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    width: 80px;
    height: 80px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.play-button svg {
    width: 40px;
    height: 40px;
    color: #722F37;
    margin-left: 5px;
}

.play-button:hover {
    transform: scale(1.1);
    background: #fff;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-overflow-scrolling: touch;
}

.video-modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    z-index: 1000000;
}

.modal-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}

.modal-video-player {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-video-player.active {
    display: block;
}

.modal-video-player video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    z-index: 1;
}

.close-modal:hover {
    color: #aaa;
}

.unmute-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 4px;
    color: white;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

.unmute-button:hover {
    background: rgba(0, 0, 0, 0.9);
}

.unmute-button svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Isle Location */
.store-location-guide {
    max-width: 100%;
    margin-top: 1.5rem;
    background-color: #4A4A4A;
    /* border-radius: 8px; */
    padding: .8rem;
    border: 2px solid white;
    color: white;
}

.location-guide-content {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: calc(50% - 150px);
}

.wine-glass-icon {
    flex-shrink: 0;
}

.wine-glass-icon img {
    width: 50px;
    height: auto;
}

.location-text {
    font-size: 1.2rem;
    line-height: .3;
}

.location-text p {
    margin: 0;
}

.isle-location {
    color: #C48FB6;
    font-size: 1.4rem;
    font-weight: 500;
}

/* Responsive Layout */
@media (max-width: 933px) {
    .wine-template {
        padding: 1rem 0rem;
    }
.mobile-header {
    background-color: #FFFAF2;
    border: #FFFAF2 8px solid;
    width: 100%;
    height: 100%;
    display: flex;
    border-radius: 22px 22px 0 0;
}
    .wine-content {
        display: block;
    }

    /* Top section with image and header */
    .wine-content::before {
        content: '';
        display: table;
    }

    .wine-image-section {
        position: relative;
        top: 0;
        width: 30%;
        float: left;
        margin-right: 3%;
    }

    .wine-header {
        width: 67%;
        float: left;
        margin-bottom: 0rem;
    }

    /* Clear the float for content below */
    .wine-details-section {
        clear: both;
        /* padding-top: 2rem; */
    }

    .wine-main-image {
        margin-bottom: 0;
    }



    /* Full width sections */
    .wine-video-section,
    .wine-characteristics-panel,
    .wine-details {
        width: 100%;
        /* margin-top: 2rem; */
    }

    .store-locator-button {
        width: 100%;
    }

    .brand-name {
        font-size: 2rem;
    }

    .varietal-name {
        font-size: 2.5rem;
    }

    .wine-varietal,
    .wine-origin {
        font-size: 1.2rem;
    }

    .taste-tags,
    .pairing-tags {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .location-guide-content {
        margin-left: 0;
        justify-content: center;
    }

    .video-modal-content {
        width: 95%;
        margin: 0 10px;
    }

    .close-modal {
        top: -35px;
        right: 10px;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
    }
}

@media (max-width: 480px) {
    .wine-image-section {
        width: 30%;
        margin-right: 3%;
    }

    .wine-header {
        width: 67%;
    }

    .brand-name {
        font-size: 1.5rem;
    }

    .varietal-name {
        font-size: 1.8rem;
    }

    .taste-tag img,
    .pairing-tag img {
        width: 40px;
        height: 40px;
    }

    .cheese-image-container {
        width: 100px;
        height: 100px;
        border-radius: 50px;
    }

    .video-modal-content {
        margin: 0 5px;
    }

    .close-modal {
        top: -30px;
        right: 5px;
    }

    .unmute-button {
        bottom: 60px;
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* iOS Fixes */
@supports (-webkit-touch-callout: none) {
    .video-modal {
        height: -webkit-fill-available;
    }

    .video-container video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 100%;
        min-height: 100%;
    }
    
    .video-container {
        background: #000;
    }

    .wine-template {
        -webkit-overflow-scrolling: touch;
    }
}

/* Print Styles */
@media print {
    .wine-template {
        padding: 0;
    }

    .store-locator-button,
    .recommendations-section,
    .file-downloads,
    .wine-video-section {
        display: none;
    }

    .wine-characteristics-panel,
    .taste-tag,
    .pairing-tag,
    .wine-details,
    .cheese-content {
        background: none;
        border: 1px solid #000;
        box-shadow: none;
    }

    .scale-fill {
        background: #000;
    }

    .scale-marker {
        border-color: #000;
    }

    .taste-tag img,
    .pairing-icon img {
        filter: none;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .wine-content {
        display: block;
    }

    .wine-image-section {
        position: static;
        page-break-inside: avoid;
    }

    .wine-details-section {
        page-break-before: always;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .wine-template * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Focus States */
.store-locator-button:focus,
.video-controls button:focus,
.file-action:focus {
    outline: 2px solid #aabca3;
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (forced-colors: active) {
    .scale-fill,
    .play-button,
    .video-controls button {
        forced-color-adjust: none;
    }
}

/* Performance Optimizations */
.wine-template img,
.wine-video-section video {
    content-visibility: auto;
}

/* Hardware Acceleration */
.scale-fill,
.play-button,
.recommendation-link,
.file-item {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

/* Video States */
.pause-icon {
    display: none;
}

.video-player.playing .pause-icon {
    display: block;
}

.video-player.playing .play-icon {
    display: none;
}

/* Muted Indicator */
.muted-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 4px;
    padding: 8px;
    font-size: 14px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 5px;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.muted-indicator svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.video-player:hover .muted-indicator,
.modal-video-player:hover .muted-indicator {
    opacity: 0.3;
}

.video-player.unmuted .muted-indicator,
.modal-video-player.unmuted .muted-indicator {
    display: none;
}

/* Fullscreen */
.custom-video-player:fullscreen {
    width: 100vw;
    height: 100vh;
    background: #000;
}

.custom-video-player:fullscreen .video-container {
    height: 100vh;
    padding-bottom: 0;
}

.custom-video-player:fullscreen .video-player {
    position: static;
}

.custom-video-player:fullscreen video {
    height: 100vh;
    max-height: none;
}

/* Recommendations Section */
.recommendations-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
    width: 100%;
    clear: both;
}

.recommendations-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #aabca3 !important;
    font-size: 1.5rem;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    width: 100%;
}

.recommendation-item {
    text-align: center;
}

.recommendation-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.recommendation-link:hover {
    transform: translateY(-5px);
}

.recommendation-image {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.recommendation-image img,
.recommendation-image-full {
    height: 300px !important;
    width: auto !important;
    object-fit: contain !important;
    max-width: none !important;
}

.recommendation-details .wine-name {
    font-size: 1rem;
    margin: 0.5rem 0;
    color: #1a1a1a;
    font-weight: 500;
}

.recommendation-details .wine-varietal {
    font-size: 0.9rem;
    color: #666;
}

/* Add to existing media queries */
@media (max-width: 1024px) {
    .recommendations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 933px) {
    .recommendations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .recommendation-image {
        height: 250px;
    }

    .recommendation-image img,
    .recommendation-image-full {
        height: 250px !important;
    }
}

@media (max-width: 480px) {
    .recommendation-image {
        height: 300px;
    }

    .recommendation-image img,
    .recommendation-image-full {
        height: 300px !important;
    }
}
/* Add to existing .detail-item styles */
.detail-item.brand-detail {
    align-items: flex-start;
}

.detail-item .brand-logo-link {
    display: block;
    margin-top: 0.5rem;
}

.detail-item .brand-logo-link img {
    max-width: 200px;
    max-height:80px;
    height: auto;
}