/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-light: #f5f5f5;
    --color-gray-medium: #e0e0e0;
    --color-gray-dark: #333333;
    --color-danger: #df2020;
    --color-success: #28a745;
    --color-warning: #ffc107;
    --color-info: #f5f5f5;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --font-family: 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 1rem;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;
    --line-height: 1.6;
    --max-width: 1400px;
    --max-width-small: 900px;
    --content-max-width: 1200px;
    --border-medium: 1px solid var(--color-gray-dark);
    --border-medium-white: 1px solid var(--color-white);
    --border-fat: 3px solid var(--color-black);
    --border-fat-white: 3px solid var(--color-white);
}

.dark{ background-color: var(--color-black); color: var(--color-white); }
.light{ background-color: var(--color-white); color: var(--color-black); }


body {
    font-family: var(--font-family);
    font-size: 18px;
    line-height: var(--line-height);
    color: var(--color-black);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p{ margin-bottom: var(--spacing-sm);}

a{ text-decoration: none; color: inherit;}
a:hover{ text-decoration: underline;}
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.inner{ padding: 0; margin: 0; }

img{ max-width: 100%; height: auto; object-fit: cover; }
/* Header */
header {
    background-color: var(--color-white);
    border-bottom: 3px solid var(--color-black);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.navbar .logo {
    justify-self: start;
}

.navbar .nav-menu {
    justify-self: center;
}

.navbar .header-right {
    justify-self: end;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-black);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--spacing-xs) 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-black);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.cart-icon:hover {
    opacity: 0.7;
}

.cart-icon svg {
    width: 24px;
    height: 24px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 400;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0 4px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 24px;
    height: 1px;
    background-color: var(--color-black);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.hero-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.hero-title {
    font-size: var(--font-size-xxl);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    display: inline-block;
    border-bottom: 3px solid var(--color-black);
}

.hero-subtitle {
    font-size: var(--font-size-base);
    letter-spacing: 0.2em;
    color: var(--color-gray-dark);
}

/* Page Header */
.page-header {
    padding: var(--spacing-lg) 0;
    border-bottom: var(--border-medium);
}

.page-title {
    font-size: var(--font-size-xxl);
    text-align: center;
}

/* Content Sections */
.content-section {
    padding: var(--spacing-sm) 0;
}

.text-block {
    max-width: 1200px;
    margin: 0 auto var(--spacing-xl) auto;
}

.text-block.full-width {
    /* max-width: var(--content-max-width); */
    margin: 0 auto var(--spacing-xl) auto;
}

.section-title {
    font-size: var(--font-size-xl);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    /* border-bottom: var(--border-medium); */
}

.text-content {
    /* max-width: var(--content-max-width); */
}

.text-content p {
    margin-bottom: var(--spacing-md);
    text-align: justify;
}

.text-content p:last-child {
    margin-bottom: 0;
}


.row hgroup{ margin-bottom: var(--spacing-lg); padding-bottom:0; width: fit-content; border-top: var(--border-fat);}
.row.txt-centered hgroup{ margin: 0 auto var(--spacing-lg) auto; }
.row.dark hgroup{ border-top: var(--border-fat-white);}

.row h2{ font-size: var(--font-size-xxl);}
.row h3{ font-size: var(--font-size-xl);}

.row-simple{ padding: var(--spacing-lg) 0; margin-bottom: var(--spacing-lg);}

.row.txt-centered{ text-align: center; }
.row-simple .medias-row{ margin: var(--spacing-lg) 0 ; }
.row.txt-centered .medias-row{ margin: var(--spacing-md) var(--spacing-lg); }


.row-header-pagina{ padding: var(--spacing-lg) 0; margin-bottom: var(--spacing-md);}
.row-header-pagina h1{margin: var(--spacing-sm) 0; font-weight:900; line-height:.9; letter-spacing:-.015em; font-size:clamp(48px, 10vw, 140px); text-wrap:balance}
.row-header-pagina h3{margin: var(--spacing-sm) 0; font-weight:900; line-height:.9; letter-spacing:-.015em; font-size:clamp(26px, 10vw, 100px);  text-wrap:balance}

.row-intro-txt{ padding: var(--spacing-lg) 0; margin-bottom: var(--spacing-lg); font-size: var(--font-size-xl);}
.row-intro-txt .inner{ max-width: var(--max-width-small); padding: 0 var(--spacing-lg); }

.row-testi-img-col{ padding: var(--spacing-lg) 0; margin-bottom: var(--spacing-lg); font-size: var(--font-size-xl);}
.row-testi-img-col .testi-img-col__content{ display: grid; grid-template-columns: 40% 1fr; gap: var(--spacing-lg); align-items: center; }
.row-testi-img-col .testi-img-col__image{ width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.row-testi-img-col .testi-img-col__image img{ width: 100%; height: 100%; object-fit: cover; }
.row-testi-img-col .testi-img-col__text{ width: 100%; }

.row-testi-img-col.reverse .testi-img-col__content{ grid-template-columns: 1fr 40%; }
.row-testi-img-col.reverse .testi-img-col__image{ order: 2; }
.row-testi-img-col.reverse .testi-img-col__text{ order: 1; }


.row-fullpage{ padding: 0 0; margin-bottom: var(--spacing-lg);}
.row-fullpage__image{ width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.row-fullpage__image figure{ width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.row-fullpage__image figure img{ width: 100%; height: 100%; object-fit: cover; }
.row-fullpage__text{ width: 100%; padding: var(--spacing-lg) 0; }

.row.text-xl p{
    font-size: var(--font-size-xl) !important;
}

.img_strip{width: 100%; margin-bottom: 0;}
.img_strip__content{ display: flex; gap: var(--spacing-lg); }
.img_strip__item{ width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.img_strip__item figure{ width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.img_strip__item figure img{ width: 100%; height: 100%; object-fit: cover; }

/* Wines Grid */
.wines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.wine-card {
    border: var(--border-medium);
    background-color: var(--color-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wine-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.wine-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wine-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--color-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: var(--border-medium);
}

.wine-icon {
    font-size: 3rem;
    opacity: 0.3;
}

.wine-thumb, .wine-thumb figure {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.wine-thumb figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wine-info {
    padding: var(--spacing-md);
}

.wine-name {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xs);
}

.wine-details {
    font-size: var(--font-size-sm);
    color: var(--color-gray-dark);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.05em;
}

.wine-description {
    font-size: var(--font-size-sm);
    line-height: var(--line-height);
    color: var(--color-gray-dark);
}

/* Wine Detail Page */
.wine-detail-section {
    padding: var(--spacing-xl) 0;
}

.wine-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.wine-image-container {
    position: sticky;
    top: 100px;
}

.shop_product_image {
    width: 100%;
    height: 600px;
    background-color: var(--color-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--border-medium);
}
.shop_product_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wine-detail-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.wine-header {
    padding-bottom: var(--spacing-md);
    border-bottom: var(--border-medium);
}

.wine-title {
    font-size: var(--font-size-xxl);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
}

.wine-subtitle {
    font-size: var(--font-size-base);
    color: var(--color-gray-dark);
    letter-spacing: 0.05em;
}

.wine-price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: var(--border-medium);
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.price-label {
    font-size: var(--font-size-sm);
    color: var(--color-gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-amount {
    font-size: var(--font-size-xl);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.availability {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--spacing-xs) var(--spacing-sm);
    border: var(--border-medium);
}

.availability.available {
    color: var(--color-black);
}

.availability.unavailable {
    color: var(--color-gray-dark);
    border-color: var(--color-gray-medium);
}

.wine-description {
    padding: var(--spacing-md) 0;
    border-bottom: var(--border-medium);
}

.wine-description p {
    margin-bottom: var(--spacing-md);
    text-align: justify;
}

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

.wine-specs {
    padding: var(--spacing-md) 0;
    border-bottom: var(--border-medium);
}

.specs-title {
    font-size: var(--font-size-lg);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.spec-label {
    font-size: var(--font-size-sm);
    color: var(--color-gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-value {
    font-size: var(--font-size-base);
    letter-spacing: 0.05em;
}

.wine-purchase {
    padding: var(--spacing-md) 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.quantity-selector {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.quantity-selector label {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-dark);
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: var(--border-medium);
    width: fit-content;
}

.qty-btn {
    background-color: var(--color-white);
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: var(--font-size-lg);
    color: var(--color-black);
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background-color: var(--color-gray-light);
}

.qty-btn:active {
    background-color: var(--color-gray-medium);
}

.qty-input {
    width: 60px;
    height: 40px;
    border: none;
    border-left: var(--border-medium);
    border-right: var(--border-medium);
    text-align: center;
    font-size: var(--font-size-base);
    color: var(--color-black);
    -moz-appearance: textfield;
}

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

.btn-add-cart {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--color-white);
    border: 1px solid var(--color-black);
    color: var(--color-black);
    font-size: var(--font-size-base);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-add-cart:active {
    transform: scale(0.98);
}

.wine-notes {
    padding: var(--spacing-md) 0;
}

.notes-text {
    font-size: var(--font-size-sm);
    color: var(--color-gray-dark);
    line-height: var(--line-height);
    padding: var(--spacing-sm);
    background-color: var(--color-gray-light);
    border-left: 2px solid var(--color-black);
}

.related-section {
    padding: var(--spacing-md) 0;
    border-top: var(--border-medium);
}

/* Cart Page */
.cart-section {
    padding: var(--spacing-md) 0;
}

.cart-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--spacing-xl);
    align-items: start;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: var(--spacing-md);
    align-items: center;
    padding: var(--spacing-md);
    border: var(--border-medium);
    position: relative;
}



.cart-item-price {
    font-size: var(--font-size-sm);
    color: var(--color-gray-dark);
    margin: 0;
}

.cart-item-quantity .quantity-controls {
    border: var(--border-medium);
}

.cart-item-total {
    font-size: var(--font-size-lg);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--color-black);
    cursor: pointer;
    padding: var(--spacing-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.cart-item-remove:hover {
    opacity: 0.7;
}

.cart-summary {
    border: var(--border-medium);
    padding: var(--spacing-md);
    position: sticky;
    top: 100px;
}

.summary-header {
    padding-bottom: var(--spacing-md);
    border-bottom: var(--border-medium);
    margin-bottom: var(--spacing-md);
}

.summary-title {
    font-size: var(--font-size-lg);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-sm);
    letter-spacing: 0.05em;
}

.summary-row.total {
    font-size: var(--font-size-base);
    font-weight: 400;
    padding-top: var(--spacing-sm);
    border-top: var(--border-medium);
    margin-top: var(--spacing-xs);
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}


.form-row{
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
}
.form-field{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-xs) / 2);
}
.form-field label{
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-dark);
    padding-top: var(--spacing-xs);
}
.form-field input{
    padding: var(--spacing-xs);
    border: var(--border-medium);
    background-color: var(--color-white);
    color: var(--color-black);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
}
.form-field input:focus{
    outline: none;
    border-color: var(--color-black);
}
.form-field input:focus-visible{
    outline: none;
    border-color: var(--color-black);
}
.form-field input:focus-within{
    outline: none;
    border-color: var(--color-black);
}

button, a.button{
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--color-gray-light);
    border: 1px solid var(--color-black);
    color: var(--color-black);
    font-size: var(--font-size-base);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    line-height: 1.3;
}
.btn-inline, a.btn-inline, button.btn-inline{
    display: inline-block;
    width: fit-content;
}

button:hover, a.button:hover{
    background-color: var(--color-black);
    color: var(--color-white);
}

button.btn-min, a.button.btn-min, button.btn-xs, a.button.btn-xs{
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
}


button.btn-link, a.btn-link, button.btn-link, a.btn-link{
    padding: var(--spacing-xs) var(--spacing-xs);
    background-color: transparent;
    border: none;
    color: var(--color-black);
    text-decoration: underline;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
}

.form-field-2-3{
    width: 66.66666666666666%;
    /* grid-column: span 2; */
}
.form-field-1-3{
    width: 33.33333333333333%;
}

.lcusers-login-form-cnt{
    width: 100%;
    max-width: 600px;
    margin: 0 auto var(--spacing-xl) 0;
    padding: var(--spacing-md);
    border: var(--border-medium);
}

.form-field_sign_up_btn{ 
    display: flex;
    flex-direction: row;
    gap: var(--spacing-xs);
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.cta-cnt{
    display: flex;
    flex-direction: row;
    gap: var(--spacing-xs);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: var(--spacing-sm);
}

.cta-cnt .cta, .cta-cnt a.cta{
    width: fit-content;
    background-color: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-base);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-align: center;
}

.cta-cnt .cta:hover, .cta-cnt a.cta:hover{
    background-color: var(--color-white);
    color: var(--color-black);
}

.cta-cnt .cta:active, .cta-cnt a.cta:active{
    transform: scale(0.98);
}

.btn-checkout {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--color-black);
    border: 1px solid var(--color-black);
    color: var(--color-white);
    font-size: var(--font-size-base);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
}

.btn-checkout:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn-continue {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--color-white);
    border: 1px solid var(--color-black);
    color: var(--color-black);
    font-size: var(--font-size-base);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: block;
}

.btn-continue:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* Checkout Page */
.checkout-section {
    padding: var(--spacing-xl) 0;
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--spacing-xl);
    align-items: start;
}

.checkout-form-container {
    max-width: 100%;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-section {
    padding-bottom: var(--spacing-lg);
    border-bottom: var(--border-medium);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    font-size: var(--font-size-lg);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

.form-row{
    display: flex;
    flex-direction: row;
    gap: var(--spacing-md);
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}
/* .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
} */

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-black);
}

.form-group input,
.form-group textarea {
    padding: var(--spacing-sm);
    border: var(--border-medium);
    background-color: var(--color-white);
    color: var(--color-black);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-black);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.payment-method {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    padding: var(--spacing-sm);
    border: var(--border-medium);
    transition: border-color 0.3s ease;
}

.payment-method:hover {
    border-color: var(--color-black);
}

.payment-method input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.payment-method input[type="radio"]:checked + span {
    font-weight: 400;
}

.payment-details {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: var(--border-medium);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-label .link {
    color: var(--color-black);
    text-decoration: underline;
}

.checkbox-label .link:hover {
    opacity: 0.7;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.btn-submit {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--color-black);
    border: 1px solid var(--color-black);
    color: var(--color-white);
    font-size: var(--font-size-base);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn-back {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--color-white);
    border: 1px solid var(--color-black);
    color: var(--color-black);
    font-size: var(--font-size-base);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: block;
}

.btn-back:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.checkout-summary {
    border: var(--border-medium);
    padding: var(--spacing-md);
    position: sticky;
    top: 100px;
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: var(--border-medium);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
}

.summary-item-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.item-name {
    letter-spacing: 0.05em;
}

.item-qty {
    color: var(--color-gray-dark);
    font-size: var(--font-size-sm);
}

.item-price {
    letter-spacing: 0.05em;
}


.alert{
    padding: var(--spacing-sm);
    background-color: var(--color-white);
    color: var(--color-black);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: var(--spacing-sm);
}
.alert.alert-danger{
    background-color: var(--color-danger);
    color: var(--color-white);
}

/* Footer */
footer {
    background-color: var(--color-black);
    border-top: 1px solid var(--color-gray-dark);
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-xl);
    color: var(--color-white);
}
footer a {
    color: var(--color-white); text-decoration: none;
}

.footer__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    text-align: center;
}

.footer__logo-text {    
    font-size: var(--font-size-lg);
    font-weight: 300;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
}

.footer__content{
    display: flex;
    flex-direction: row;
    gap: var(--spacing-sm);
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
    font-size: var(--font-size-sm);
    padding: var(--spacing-md) 0 var(--spacing-sm) 0;
}

.footer_social_cnt{
    display: flex;
    flex-direction: row;
    gap: var(--spacing-sm);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.footer_social_cnt a{
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-nav ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li{
    margin-bottom: calc(var(--spacing-xs) / 2);
}

.footer-nav ul li a{
    color: var(--color-white);
    text-decoration: none;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav ul li a:hover{
    color: var(--color-gray-light);
    text-decoration: underline;
}

.piva{
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-light);
}

.footer__banner{ 
    padding: var(--spacing-md) 0 var(--spacing-sm) 0; 
    display: flex; flex-direction: column; gap: var(--spacing-sm); align-items: center; text-align: center; 
    font-size: var(--font-size-sm);
}


.footer__banner{
    width: 100%;
    max-width: 100%;
    margin: var(--spacing-md) auto;
    text-align: center;
}
.footer__banner-img{
    width: 100%;
    max-width: 100%;
}
.footer__banner-img img{
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
}




/* Responsive Design */
@media (max-width: 960px) {
    .cart-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}
@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
        --font-size-xxl: 1.75rem;
        --font-size-xl: 1.25rem;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
    }

    .navbar .logo,
    .navbar .nav-menu,
    .navbar .header-right {
        justify-self: unset;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        height: calc(100vh - 70px);
        flex-direction: column;
        background-color: var(--color-white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: var(--spacing-md) 0;
        gap: var(--spacing-sm);
        z-index: 99;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: var(--spacing-sm);
        display: block;
    }

    .hero {
        padding: var(--spacing-lg) 0;
    }

    .hero-title {
        font-size: var(--font-size-xl);
    }

    .page-title {
        font-size: var(--font-size-xl);
    }

    .wines-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .wine-placeholder {
        height: 250px;
    }

    .text-content p {
        text-align: left;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .row-testi-img-col .testi-img-col__content{ display: flex; flex-direction: column; }
    .row-testi-img-col .testi-img-col__image{ width: 100%; aspect-ratio: 1/1; object-fit: cover; }
    .row-testi-img-col .testi-img-col__image img{ width: 100%; height: 100%; object-fit: cover; }
    .row-testi-img-col .testi-img-col__text{ width: 100%; }

    .wine-detail-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .wine-image-container {
        position: relative;
        top: 0;
    }

    .wine-image-placeholder {
        height: 400px;
    }

    .wine-price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

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

    .cart-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .cart-item {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto auto;
        gap: var(--spacing-sm);
    }
    .cart-item-info { grid-column: 1 / 2 ; grid-row: 1; }

    .cart-item-quantity {
        grid-column: 2;
        grid-row: 2;
    }

    .cart-item-total {
        grid-column: 1;
    }

    .cart-item-remove {
        position: absolute;
        top: var(--spacing-sm);
        right: var(--spacing-sm);
    }

    .cart-summary {
        position: relative;
        top: 0;
    }

    .checkout-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .checkout-summary {
        position: relative;
        top: 0;
        order: -1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .img_strip__content{ display: flex; gap: var(--spacing-sm); }


    footer{ height: auto; padding-bottom: var(--spacing-xl); font-size: var(--font-size-xs); }
    .footer__logo{ margin: var(--spacing-md) auto; font-size: var(--font-size-xs); }
    .footer__logo img{
        width: 100%;
        max-width: 70%;
    }
    .footer__banner-text{ padding: var(--spacing-sm) 0; }

    .footer__content{ display: flex; flex-direction: column; gap: var(--spacing-sm); align-items: center; text-align: center; }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --font-size-xxl: 1.5rem;
        --font-size-xl: 1.125rem;
    }

    .logo img {
        height: 32px;
        max-width: 150px;
    }

  

    .hero-title {
        font-size: var(--font-size-lg);
    }

    .page-title {
        font-size: var(--font-size-lg);
    }

    .section-title {
        font-size: var(--font-size-lg);
    }

    .wine-image-placeholder {
        height: 300px;
    }

    .wine-title {
        font-size: var(--font-size-xl);
    }

    .price-amount {
        font-size: var(--font-size-lg);
    }


    .form-field-2-3{
        width: 100%;
    }
    .form-field-1-3{
        width: 100%;
    }
    .form-row{
        flex-direction: column;
    }
    .form-field{
        width: 100%;
    }
    .form-field label{
        padding-top: 0;
    }
    .form-field input{
        padding: var(--spacing-xs);
    }

    .img_strip__content{ display: flex; gap: var(--spacing-xs); }

}

/* Print Styles */
@media print {
    header,
    footer {
        display: none;
    }

    .content-section {
        padding: var(--spacing-md) 0;
    }
}

