@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500&display=swap');

/* ==========================================
   LXV TAB — Horizontal Menu
   ========================================== */

.lxv_tab .elementor-tab-title {
    transition: background-position-x 0.9s linear;
    text-align: center;
}

.lxv_tab .elementor-tab-title a {
    transition: all 0.45s;
    height: 48px;
    display: inline-block;
}

.lxv_tab .elementor-tab-title.elementor-active a {
    border-bottom: 2px solid #d94f5c;
}

.lxv_tab .elementor-tab-title a:hover {
    background: linear-gradient(to right, #a96e58, #d94f5c);
}

/* ==========================================
   ELEMENTOR BUTTONS — Sitewide
   Matches the Spring 2026 button system
   ========================================== */

.elementor-button-wrapper .elementor-button,
.elementor-button-wrapper a.elementor-button,
a.elementor-button,
.elementor-button {
    background-color: var(--sc-deep, #2C1810) !important;
    color: var(--sc-cream, #F7F2EA) !important;
    font-family: var(--sc-sans) !important;
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    padding: 16px 40px !important;
    border: none !important;
    border-radius: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-shadow: none !important;
    line-height: 1 !important;
}

.elementor-button-wrapper .elementor-button:hover,
a.elementor-button:hover,
.elementor-button:hover {
    background-color: var(--sc-mid, #5C2E2E) !important;
    color: var(--sc-cream, #F7F2EA) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
}

.elementor-button .elementor-button-content-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
}

.elementor-button .elementor-button-text {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
}

.elementor-button .elementor-button-icon {
    font-size: 1em;
    color: inherit !important;
}

@media only screen and (max-width: 767px) {
    .elementor-button-wrapper .elementor-button,
    a.elementor-button,
    .elementor-button {
        width: 100% !important;
        min-height: 52px !important;
        padding: 16px 24px !important;
    }

    .elementor-2 .elementor-element.elementor-element-3f39fd5 .elementor-icon-box-wrapper {
        text-align: center;
    }
    #registrationForm { display: block; }
    #registrationForm input { width: 100%; }
    #registrationForm button { margin-top: 20px; width: 100%; }

    .lxv_tab {
        max-width: 80%;
        min-height: 40px;
        padding: 8px 0 4px 0;
    }
    .lxv_list li:last-child { margin-bottom: 0 !important; }
    .lxv_list li:first-child { margin-top: 6px !important; }
    .lxv_list {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .lxv_list_hover a {
        display: block;
        text-align: center;
        padding: 2px 5px;
        font-size: var(--fs-xs);
    }

    .shop_tab {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 16px;
        margin-top: 0;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 92%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, black 5%, black 92%, transparent 100%);
    }
    .shop_tab::-webkit-scrollbar { display: none; }
    .shop_tab span + span::before { display: none; }
    .shop_tab span a {
        font-size: 0.68rem !important;
        padding: 14px 14px !important;
        letter-spacing: 1.5px !important;
    }
    .shop_tab span a:hover::after,
    .shop_tab span a.active::after {
        left: 14px;
        right: 14px;
    }

    .reverse-col {
        display: flex !important;
        flex-direction: column-reverse;
    }

    #account-header { top: 100px; }
}



/* ==========================================
   ELEMENTOR — General Widgets
   ========================================== */

.elementor-widget-icon-box .elementor-icon-box-content { flex-grow: unset; }
.elementor-widget-icon-box.elementor-vertical-align-top .elementor-icon-box-wrapper { justify-content: center; }

#sb_instagram { padding-bottom: 0px !important; }


/* ==========================================
   ELEMENTOR — Tabs
   ========================================== */

.elementor-tabs {
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.elementor-tab-title {
    background-color: #f1edea;
    color: #525266;
    padding: 15px;
    cursor: pointer;
    border-bottom: 1px solid #dcdcdc;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.elementor-tab-title:hover { background-color: #e0e0e0; }

.elementor-tab-title.elementor-active {
    background-color: #a96e58;
    color: #ffffff;
}

.elementor-tab-content {
    padding: 20px;
    background-color: #ffffff;
    border-top: 1px solid #dcdcdc;
}

.elementor-tab-title:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.elementor-tab-title:last-child { border-bottom: none; }



/* ==========================================
   REGISTRATION FORM
   ========================================== */

#registrationForm {
    display: flex;
    gap: 10px;
}

#registrationForm input,
#registrationForm button {
    padding: 30px;
    border: none;
    font-size: var(--fs-lg);
}

#registrationForm input {
    color: #fff;
    text-transform: uppercase;
    background-color: #9f9c9a;
    flex-grow: 1;
    margin-right: 30px;
}

#registrationForm input,
#registrationForm input:focus,
#registrationForm input::placeholder {
    color: #ffffff;
    opacity: 1;
}


/* ==========================================
   PRODUCT IMAGES
   ========================================== */

.product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.product-detail .product-image { text-align: center; }

.product-detail .product-image img {
    max-height: 400px;
    width: auto;
}

.lxv_recipes .product-image img {
    width: 100% !important;
    height: 400px !important;
}



/* ==========================================
   WINE PRODUCT GRID — Spring 2026 Card Style
   ========================================== */

.lxv_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    width: 85%;
    max-width: 1200px;
    white-space: nowrap;
    overflow: hidden;
}

.lxv_list_hover a {
    font-size: var(--fs-md);
    font-weight: 800;
    font-family: var(--sc-serif);
    color: #e0c08d;
    padding: 10px 14px;
    margin: 0 5px;
    border-radius: 4px;
    text-align: center;
    letter-spacing: 0.8px;
    transition: color 0.3s ease, background 0.3s ease;
}

.lxv_list_hover { position: relative; }

.lxv_list_hover a:hover,
.lxv_list_hover a.active {
    background: #f1edea;
    color: #1a1a1a;
}



/* ==========================================
   LXV PILLS — Recipes & Spices
   ========================================== */

.lxv-pill {
    display: inline-block;
    margin: 6px 6px 0 0;
    padding: 8px 14px;
    border: 1px solid #a96e58;
    border-radius: 999px;
    background-color: #fff;
    font-family: var(--sc-sans);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    line-height: 1.2;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.lxv-pill a {
    color: #a96e58 !important;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.lxv-pill:hover,
.lxv-pill:hover a {
    background-color: #a96e58;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.lxv-pill:active { transform: translateY(1px); }
.lxv-pill--spice a::before { content: "🌿"; margin-right: 6px; }
.lxv-pill--recipe a::before { content: "📜"; margin-right: 6px; }

.lxv-pill a:focus-visible {
    outline: 2px solid #525266;
    outline-offset: 2px;
    border-color: #525266;
}


/* ==========================================
   SHOP TAB — Secondary Navigation Menu
   ========================================== */

.shop_tab {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    background-color: #f1edea;
    border-top: 1px solid rgba(89, 77, 68, 0.15);
    border-bottom: 1px solid rgba(89, 77, 68, 0.15);
    padding: 0 20px;
    position: relative;
    margin-top: 0;
}

.shop_tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(169, 110, 88, 0.25) 20%,
        rgba(169, 110, 88, 0.25) 80%,
        transparent
    );
}

.shop_tab span {
    display: inline-block;
    position: relative;
}

.shop_tab span a {
    display: inline-block;
    font-family: var(--sc-sans) !important;
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #594d44 !important;
    text-decoration: none !important;
    padding: 16px 18px !important;
    position: relative;
    transition: color 0.25s ease !important;
    white-space: nowrap;
}

.shop_tab span a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 2px;
    background-color: #a96e58;
    transition: left 0.25s ease, right 0.25s ease;
}

.shop_tab span a:hover { color: #a96e58 !important; }

.shop_tab span a:hover::after {
    left: 18px;
    right: 18px;
}

.shop_tab span a.active {
    color: #594d44 !important;
    font-weight: 600 !important;
}

.shop_tab span a.active::after {
    left: 18px;
    right: 18px;
    background-color: #594d44;
}

.shop_tab span + span::before {
    content: '·';
    color: rgba(89, 77, 68, 0.3);
    font-size: 1.1rem;
    line-height: 1;
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);
}



/* ==========================================
   SPICE LIST & RECIPES
   ========================================== */

.lxv_spice_list .product_teaser {
    font-style: italic;
    font-size: 1rem;
}

.recipes_tab.elementor-widget-tabs .elementor-tab-desktop-title { padding: 15px 0 0 0; }

.recipes_tab .lxv_recipes .product-image img {
    height: 250px;
    width: 100%;
    object-fit: fill;
}




/* Force lxv_recipes and Bootstrap row wrappers to full width */
.lxv_recipes,
.lxv_recipes .row,
.lxv_recipes .row.left-xs {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    float: none !important;
    box-sizing: border-box !important;
}

/* Grid — 3 columns, hairline borders, clear row spacing */
.c7-product-list,
.product-list,
.c7-product-collection__product-list,
.lxv_recipes .left-xs {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
    background: transparent !important;
    border: none !important;
    align-items: start !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 16px !important;
    margin-bottom: 16px !important;
}

/* Individual card — right+bottom gold border, fully opaque cream bg */
.c7-product-list .c7-product,
.c7-product-list .spice-item,
.product-list .product-item,
.product-list .spice-item,
.lxv_recipes .left-xs .spice-item,
.spice-item {
    display: flex !important;
    flex-direction: column !important;
    background: #fbf7ef !important;
    padding: 18px 14px 16px !important;
    margin: 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: 2px solid rgba(196, 162, 101, 0.45) !important;
    border-bottom: 2px solid rgba(196, 162, 101, 0.45) !important;
    box-shadow: none !important;
    overflow: hidden !important;
    position: relative !important;
    transition: background 220ms, box-shadow 220ms !important;
}

/* No top-bar pseudo on these cards */
.c7-product-list .c7-product::before,
.c7-product-list .spice-item::before,
.product-list .product-item::before,
.product-list .spice-item::before,
.lxv_recipes .left-xs .spice-item::before,
.spice-item::before {
    content: none !important;
}

/* Hover — inset gold border, no lift (matches home page mm-wine-card) */
.c7-product-list .c7-product:hover,
.c7-product-list .spice-item:hover,
.product-list .product-item:hover,
.product-list .spice-item:hover,
.lxv_recipes .left-xs .spice-item:hover,
.spice-item:hover {
    background: var(--sc-cream, #F7F2EA) !important;
    box-shadow: inset 0 0 0 1px var(--sc-gold, #C4A265) !important;
}

/* Image — contained bottle (220px fixed height, bottle sits at bottom center) */
.c7-product-list .c7-product__image,
.c7-product-list .c7-product__image a,
.c7-product-list .product-image,
.product-list .product-item .product-image,
.product-list .spice-item .product-image,
.lxv_recipes .left-xs .spice-item .product-image,
.spice-item > .product-image {
    height: 220px !important;
    width: 100% !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
    box-sizing: border-box !important;
}

.c7-product-list .c7-product__image img,
.c7-product-list .product-image img,
.product-list .product-item .product-image img,
.product-list .spice-item .product-image img,
.lxv_recipes .left-xs .spice-item .product-image img,
.spice-item > .product-image img {
    height: 100% !important;
    max-height: 220px !important;
    width: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    display: block !important;
    transition: none !important;
}

/* No image zoom on hover (contained bottles don't need it) */
.c7-product-list .c7-product:hover .c7-product__image img,
.c7-product-list .spice-item:hover .product-image img,
.product-list .product-item:hover .product-image img,
.lxv_recipes .left-xs .spice-item:hover .product-image img,
.spice-item:hover > .product-image img {
    transform: none !important;
}

/* ── CONSISTENT 24px HORIZONTAL PADDING for all text elements ── */

/* Wine name — centered, no inner padding (card handles padding) */
.c7-product-list .c7-product__title,
.c7-product-list .sku-name,
.product-list .sku-name,
.product-list .spice-item .sku-name,
.lxv_recipes .left-xs .sku-name,
.lxv_recipes .left-xs .product-name,
.spice-item > .sku-name {
    font-family: var(--sc-serif) !important;
    font-size: 1.1rem !important;
    font-weight: 400 !important;
    font-style: normal !important;
    color: var(--sc-deep, #2C1810) !important;
    text-decoration: none !important;
    line-height: 1.25 !important;
    padding: 0 !important;
    margin: 0 0 4px 0 !important;
    text-transform: none !important;
    letter-spacing: 0.2px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Wine name inner links/headings — NO padding, inherit font */
.c7-product-list .c7-product__title a,
.c7-product-list .sku-name a,
.c7-product-list .sku-name h2,
.c7-product-list .sku-name h3,
.product-list .sku-name a,
.product-list .sku-name h2,
.product-list .sku-name h3,
.product-list .spice-item .sku-name a,
.lxv_recipes .left-xs .sku-name a,
.lxv_recipes .left-xs .sku-name h2,
.lxv_recipes .left-xs .sku-name h3,
.lxv_recipes .left-xs .product-name a,
.spice-item > .sku-name a {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    font-style: inherit !important;
    color: inherit !important;
    text-decoration: none !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

/* Teaser / appellation — centered, no inner padding */
.c7-product-list .c7-product__subtitle,
.c7-product-list .product-teaser,
.c7-product-list .product-teaser p,
.product-list .product-teaser,
.product-list .product-teaser p,
.product-list .spice-item .product-teaser,
.lxv_recipes .left-xs .product-teaser,
.lxv_recipes .left-xs .product-teaser p,
.spice-item > .product-teaser,
.spice-item > .product-teaser p {
    font-family: 'Dancing Script', cursive !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--sc-gold, #C4A265) !important;
    padding: 0 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.6 !important;
    text-align: center !important;
}

/* Suppress heading tags inside product-teaser */
.product-teaser h1,
.product-teaser h2,
.product-teaser h3,
.product-teaser h4,
.product-teaser h5 {
    font-family: 'Dancing Script', cursive !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--sc-gold, #C4A265) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.product-teaser p { margin: 0; }

/* SKU / price area — centered, no inner padding */
.c7-product-list .c7-product__details,
.c7-product-list .product-skus,
.product-list .product-skus,
.lxv_recipes .left-xs .product-skus,
.spice-item > .product-skus {
    padding: 0 !important;
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
}

/* Price container — centered */
.c7-product-list .c7-product__price,
.c7-product-list .c7-sku__price,
.c7-product-list .c7-product__add-to-cart__price,
.product-list .product-skus .price,
.lxv_recipes .left-xs .product-skus .price,
.lxv_recipes .left-xs .c7-product__add-to-cart__price,
.sc26-wines .c7-product__add-to-cart__price,
.spice-item .c7-product__add-to-cart__price {
    font-family: var(--sc-sans) !important;
    font-size: 0.72rem !important;
    font-weight: 400 !important;
    letter-spacing: 2px !important;
    color: var(--sc-gold, #C4A265) !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    text-align: center !important;
    width: 100% !important;
}

/* Variant span */
.c7-product__add-to-cart__price__variant,
.lxv_recipes .left-xs .c7-product__add-to-cart__price__variant,
.sc26-wines .c7-product__add-to-cart__price__variant {
    display: inline-flex !important;
    align-items: center !important;
    margin-top: 0 !important;
}

/* Slash injected AFTER the price number span */
.c7-product__add-to-cart__price > span:nth-child(2)::after {
    content: '\00a0/\00a0';
    color: var(--sc-stone, #9A9189);
    font-weight: 300;
    letter-spacing: 0;
}

.c7-product__variant__price__title,
.lxv_recipes .left-xs .c7-product__variant__price__title,
.sc26-wines .c7-product__variant__price__title {
    font-family: var(--sc-sans) !important;
    font-size: 0.72rem !important;
    font-weight: 300 !important;
    letter-spacing: 1px !important;
    color: var(--sc-stone, #9A9189) !important;
    text-transform: uppercase !important;
}

/* ── Add to Cart form layout inside cards ── */
.spice-item .c7-product__add-to-cart,
.product-item .c7-product__add-to-cart,
.c7-product-list .c7-product__add-to-cart {
    padding: 0 !important;
    margin: 0 !important;
}

.spice-item .c7-product__add-to-cart__form,
.product-item .c7-product__add-to-cart__form,
.c7-product-list .c7-product__add-to-cart__form {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
}

.spice-item .c7-product__add-to-cart__form__quantity,
.product-item .c7-product__add-to-cart__form__quantity {
    flex-shrink: 0 !important;
}

.spice-item .c7-product__add-to-cart__form__quantity input,
.product-item .c7-product__add-to-cart__form__quantity input {
    width: 48px !important;
    max-width: 48px !important;
    text-align: center !important;
    font-family: var(--sc-sans) !important;
    font-size: var(--fs-sm) !important;
    background: var(--sc-cream, #F7F2EA) !important;
    border: 1px solid var(--sc-cream-dk, #EDE5D5) !important;
    border-radius: 0 !important;
    padding: 10px 6px !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
    transition: border-color 0.2s ease !important;
}

.spice-item .c7-product__add-to-cart__form__quantity input:focus,
.product-item .c7-product__add-to-cart__form__quantity input:focus {
    border-color: var(--sc-gold, #C4A265) !important;
    outline: none !important;
}

/* Add to Cart button inside form — stretch to fill remaining space */
.spice-item .c7-product__add-to-cart__form > .c7-btn,
.product-item .c7-product__add-to-cart__form > .c7-btn,
.spice-item .c7-product__add-to-cart__form > button,
.product-item .c7-product__add-to-cart__form > button {
    flex: 1 !important;
}

/* SKU rows */
.product-item .sku,
.spice-item .sku {
    display: flex !important;
    align-items: center !important;
    border: none !important;
    border-top: 1px solid var(--sc-cream-dk, #EDE5D5) !important;
    border-radius: 0 !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    width: 100% !important;
    background: transparent !important;
}

/* .sku-name inside SKU rows (not the product title) */
.product-item .sku .sku-name,
.spice-item .sku .sku-name {
    font-family: var(--sc-sans);
    font-weight: 400;
    font-size: var(--fs-sm);
    color: var(--sc-deep, #2C1810);
    margin-bottom: 4px;
    padding: 0 !important;
}

.sku-teaser {
    font-family: var(--sc-sans);
    font-size: 0.72rem;
    font-weight: 300;
    color: var(--sc-text-lt, #7A726A);
    margin: 0 6px;
    border-bottom: none;
    padding-bottom: 0;
}

.sku input,
.sku select {
    max-width: 54px;
    font-size: var(--fs-sm);
    text-align: center;
    background-color: #f1edea;
    border: 1px solid rgba(89, 77, 68, 0.15);
    padding: 6px 8px;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    font-family: var(--sc-sans);
}

/* Allocation / limited availability */
.c7-product-list .c7-product__allocation,
.c7-product__details c7-product-allocation {
    font-family: var(--sc-sans) !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: var(--sc-mid, #5C2E2E) !important;
    margin-bottom: 6px !important;
}

/* Legacy bare selectors — consistent 24px horizontal gutter */
.product-skus { padding: 0 24px; }
.sku-name { padding: 0 24px; }
.product-teaser { padding: 0 24px; margin-bottom: 0; }
.product-skus .price { font-weight: 400; font-size: 0.72rem; margin-bottom: 15px; color: var(--sc-gold, #C4A265); }

/* Misc structural */
.product-purchase {
    border-bottom: 1px solid rgba(89, 77, 68, 0.08);
    padding-bottom: 0.75rem;
    color: var(--sc-text-lt, #7A726A);
    font-size: var(--fs-sm);
    margin-bottom: 0 !important;
}

.product-line {
    border-bottom: 1px solid rgba(89, 77, 68, 0.08);
    padding-top: 16px;
}

.wine-item {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(89, 77, 68, 0.08);
}

div[class*="product-"] { margin-bottom: 0.75rem; }

/* Reset inside cards — padding system controls spacing */
.spice-item > div[class*="product-"],
.product-item > div[class*="product-"],
.c7-product > div[class*="product-"] {
    margin-bottom: 0 !important;
}

.product-item h3 a { line-height: 1.4; }
.spice-item { margin-bottom: 0; }

/* ── Tablet — 2 columns */
@media only screen and (max-width: 1024px) {
    .c7-product-list,
    .product-list,
    .c7-product-collection__product-list,
    .lxv_recipes .left-xs {
        grid-template-columns: repeat(2, 1fr) !important;
        column-gap: 0 !important;
        row-gap: 0 !important;
    }
}

.c7-form__help {
    display: none;
}

/* ── Mobile — single column */
@media only screen and (max-width: 767px) {
    .c7-product-list,
    .product-list,
    .lxv_recipes .left-xs {
        grid-template-columns: 1fr !important;
        column-gap: 0 !important;
        row-gap: 0 !important;
        margin-top: 8px !important;
        margin-bottom: 8px !important;
    }

    .c7-product-list .sku-name,
    .product-list .sku-name,
    .spice-item > .sku-name {
        font-size: 1rem !important;
        padding: 0 !important;
    }

    .c7-product-list .sku-name a,
    .product-list .sku-name a,
    .spice-item > .sku-name a {
        padding: 0 !important;
        font-size: inherit !important;
    }

    .c7-product-list .product-teaser,
    .product-list .product-teaser,
    .spice-item > .product-teaser {
        padding: 0 !important;
    }

    .c7-product-list .product-skus,
    .product-list .product-skus,
    .spice-item > .product-skus {
        padding: 0 !important;
    }

    .c7-product-list button.c7-btn.c7-btn--primary,
    .product-list button.c7-btn.c7-btn--primary,
    .spice-item button.c7-btn.c7-btn--primary {
        min-height: 52px !important;
    }

    /* Stack quantity + button vertically on small screens */
    .spice-item .c7-product__add-to-cart__form,
    .product-item .c7-product__add-to-cart__form {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .spice-item .c7-product__add-to-cart__form__quantity input,
    .product-item .c7-product__add-to-cart__form__quantity input {
        width: 100% !important;
        max-width: 100% !important;
    }

    .c7-product-collection__product-list {
        grid-template-columns: 1fr !important;
        column-gap: 0 !important;
        row-gap: 0 !important;
    }

    .c7-btn,
    a.c7-btn,
    button.c7-btn,
    .c7-form__buttons .c7-btn {
        width: 100% !important;
        min-height: 52px !important;
        padding: 16px 18px !important;
    }

    .c7-link,
    button.c7-link {
        padding: 4px 0 !important;
        min-height: auto !important;
    }

    .c7-carrot {
        padding: 12px 15px !important;
        margin: 15px 0 !important;
    }
    .c7-carrot__message p {
        font-size: var(--fs-sm, 0.8125rem) !important;
    }

    #c7-cart .c7-order-summary__buttons,
    #c7-side-cart .c7-order-summary__buttons,
    .c7-order-summary__buttons {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    #c7-side-cart .c7-order-summary__buttons .c7-btn,
    #c7-side-cart .c7-order-summary__buttons a.c7-btn--primary,
    #c7-side-cart .c7-order-summary__buttons a.c7-btn--alt,
    #c7-side-cart .c7-order-summary__buttons a.c7-add-more-wines,
    #c7-cart .c7-order-summary__buttons .c7-btn,
    #c7-cart .c7-order-summary__buttons a.c7-btn--primary,
    #c7-cart .c7-order-summary__buttons a.c7-btn--alt,
    .c7-order-summary__buttons .c7-btn,
    .c7-order-summary__buttons a.c7-btn--primary,
    .c7-order-summary__buttons a.c7-btn--alt,
    .c7-order-summary__buttons a.c7-add-more-wines {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        min-height: 48px !important;
        display: flex !important;
        margin: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    /* C7 uses inline-block (not flex) for menu li — white-space:nowrap is the key */
    .c7-account__menu {
        overflow: hidden !important;
    }
    .c7-account__menu .c7-wrapper {
        padding: 0 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        white-space: nowrap !important;
    }
    .c7-account__menu .c7-wrapper::-webkit-scrollbar { display: none !important; }
    .c7-account__menu ul {
        white-space: nowrap !important;
        padding: 0 12px !important;
        text-align: left !important;
    }
    .c7-account__menu a {
        margin-right: 0 !important;
        padding: 12px 12px 11px !important;
        font-size: 0.65rem !important;
        letter-spacing: 1px !important;
        white-space: nowrap !important;
    }

    /* Section headers stack on mobile */
    .c7-account-details__header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .c7-account-details__header .c7-btn--alt--small,
    .c7-account-details__header .c7-btn--alt {
        align-self: flex-start !important;
    }

    /* Account blocks single column on mobile */
    .c7-account-blocks {
        grid-template-columns: 1fr !important;
    }

    /* Block actions stack if needed */
    .c7-account-block--address .c7-account-block__details,
    .c7-account-block--credit-card .c7-account-block__details {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .c7-account__header .c7-wrapper {
        padding: 28px 20px 16px !important;
    }

    .c7-account__header p:first-child {
        font-size: 1.125rem !important; /* 18px on mobile */
    }

    .c7-product-specs {
        text-align: left !important;
        margin: 0 !important;
    }

    .c7-product-specs h2 { text-align: left !important; }

    /* ── Elementor Tabs — DASHBOARD / CLUB MEMBERSHIP mobile fix ── */
    .elementor-tabs {
        overflow: visible !important;
        border-radius: 0 !important;
    }
    .elementor-tabs-wrapper {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        flex-wrap: nowrap !important;
        border-radius: 0 !important;
    }
    .elementor-tabs-wrapper::-webkit-scrollbar { display: none !important; }
    .elementor-tab-title {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        padding: 12px 16px !important;
    }

    /* ── Wine Notes widget — mobile ── */
    .lxv-wine-notes {
        padding: 8px 14px 24px !important;
    }
    .lxv-wine-notes__title {
        font-size: clamp(22px, 7vw, 36px) !important;
    }
    .lxv-portal-nav__item {
        padding: 6px 10px 6px 0 !important;
        font-size: 11px !important;
        letter-spacing: .08em !important;
    }
    .lxv-portal-nav__item + .lxv-portal-nav__item {
        padding-left: 10px !important;
    }
    .lxv-wine-notes__tabs {
        scrollbar-width: none !important;
    }
    .lxv-wine-notes__tabs::-webkit-scrollbar { display: none !important; }
    .lxv-wine-notes__grid {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
        gap: 12px !important;
        padding-top: 14px !important;
    }
    .lxv-note-card__media {
        height: 160px !important;
    }
    .lxv-note-card__title {
        font-size: 20px !important;
    }
}


/* .c7-product-collection__product-list is now included in the
   desktop grid block above (before the media queries) so that
   the tablet and mobile breakpoints can properly override it. */




/* ==========================================
   UNIVERSAL C7 BUTTON STYLE
   Spring 2026 — Generic, context-free rules
   ========================================== */

/* ── Base reset: kill browser-default gray on EVERY button
      inside any Commerce7 container ── */
#c7-content button,
#c7-checkout button,
.c7-form button,
.c7-account button,
.c7-side-cart button,
[class*="c7-"] > button {
    font-family: var(--sc-sans) !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
}

/* ── PRIMARY filled button ── */
.c7-btn,
.c7-btn.c7-btn--primary,
a.c7-btn,
a.c7-btn--primary,
button.c7-btn,
button.c7-btn.c7-btn--primary,
button[type="submit"].c7-btn,
.c7-form__buttons .c7-btn {
    background: var(--sc-deep, #2C1810) !important;
    color: var(--sc-cream, #F7F2EA) !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: var(--sc-sans) !important;
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    padding: 16px 40px !important;
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: all 0.3s ease !important;
}

.c7-btn:hover,
.c7-btn.c7-btn--primary:hover,
a.c7-btn:hover,
button.c7-btn:hover,
button[type="submit"].c7-btn:hover,
.c7-form__buttons .c7-btn:hover {
    background: var(--sc-mid, #5C2E2E) !important;
    color: var(--sc-cream, #F7F2EA) !important;
    transform: translateY(-1px);
}

/* ── ALT / outline button ── */
.c7-btn--alt,
.c7-btn.c7-btn--alt,
a.c7-btn--alt,
a.c7-btn.c7-btn--alt,
button.c7-btn--alt,
button.c7-btn.c7-btn--alt {
    background: transparent !important;
    color: var(--sc-deep, #2C1810) !important;
    border: 1px solid rgba(44, 24, 16, 0.3) !important;
    border-radius: 0 !important;
    font-family: var(--sc-sans) !important;
    font-size: 0.72rem !important;
    font-weight: 400 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    padding: 14px 24px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.c7-btn--alt:hover,
.c7-btn.c7-btn--alt:hover,
a.c7-btn--alt:hover,
button.c7-btn--alt:hover {
    border-color: var(--sc-deep, #2C1810) !important;
    background: rgba(44, 24, 16, 0.04) !important;
    color: var(--sc-deep, #2C1810) !important;
    transform: none;
}

/* ── ALT small (Add Address, Add Credit Card, Register Card, etc.) ── */
.c7-btn--alt--small,
a.c7-btn--alt--small,
button.c7-btn--alt--small,
button.c7-btn.c7-btn--alt--small {
    background: transparent !important;
    color: var(--sc-deep, #2C1810) !important;
    border: 1px solid rgba(44, 24, 16, 0.3) !important;
    border-radius: 0 !important;
    font-family: var(--sc-sans) !important;
    font-size: 0.65rem !important;
    font-weight: 500 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    padding: 8px 16px !important;
    min-height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.c7-btn--alt--small:hover,
a.c7-btn--alt--small:hover,
button.c7-btn--alt--small:hover {
    border-color: var(--sc-deep, #2C1810) !important;
    background: rgba(44, 24, 16, 0.04) !important;
    color: var(--sc-deep, #2C1810) !important;
}

/* ── PRIMARY small (Add to Cart in carrot, etc.) ── */
.c7-btn--primary--small,
button.c7-btn--primary--small,
button.c7-btn.c7-btn--primary--small {
    background: var(--sc-deep, #2C1810) !important;
    color: var(--sc-cream, #F7F2EA) !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: var(--sc-sans) !important;
    font-size: 0.65rem !important;
    font-weight: 500 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    padding: 10px 18px !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.c7-btn--primary--small:hover,
button.c7-btn--primary--small:hover {
    background: var(--sc-mid, #5C2E2E) !important;
    color: var(--sc-cream, #F7F2EA) !important;
}

/* ── Span color inheritance for all button variants ── */
.c7-btn span,
button.c7-btn span,
.c7-btn--primary--small span,
button.c7-btn--primary--small span {
    color: inherit !important;
    font: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    pointer-events: none !important;
}

.c7-btn--alt span,
.c7-btn--alt--small span,
button.c7-btn--alt span,
button.c7-btn--alt--small span {
    color: var(--sc-deep, #2C1810) !important;
}

/* ── c7-link — text-style action links (Edit, Remove, Add new, expand toggles)
      Works on BOTH <button class="c7-link"> AND <a class="c7-link"> ── */
.c7-link,
a.c7-link,
button.c7-link {
    background: transparent !important;
    color: var(--sc-mid, #5C2E2E) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 4px 0 !important;
    margin: 0 !important;
    min-height: auto !important;
    width: auto !important;
    font-family: var(--sc-sans) !important;
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: color 0.2s ease !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.c7-link span,
a.c7-link span,
button.c7-link span {
    color: inherit !important;
    font: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    pointer-events: none !important;
}

.c7-link:hover,
a.c7-link:hover,
button.c7-link:hover,
.c7-link:not([disabled]):hover,
.c7-link:not([disabled]):active,
.c7-link:not([disabled]):focus {
    color: var(--sc-deep, #2C1810) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    background: transparent !important;
}

.c7-link:hover span,
button.c7-link:hover span {
    color: var(--sc-deep, #2C1810) !important;
}

/* Expand/collapse links (Add delivery instructions, Add gift message, etc.) */
.c7-expand-link,
button.c7-expand-link,
.c7-link.c7-expand-link {
    color: var(--sc-mid, #5C2E2E) !important;
    font-weight: 400 !important;
    font-style: italic !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    font-size: 0.8rem !important;
    padding: 2px 0 !important;
}

/* Mobile: full-width primary buttons */


/* Summary buttons — compact, side by side on desktop */
.c7-order-summary__buttons .c7-btn {
    color: #fff !important;
    font-size: 0.68rem !important;
    letter-spacing: 2px !important;
    padding: 12px 20px !important;
    min-height: 40px !important;
    flex: 1 !important;
    width: auto !important;
}

/* Quantity inputs */
.c7-product__details .c7-quantity-input,
.c7-product-list .c7-quantity-input {
    background-color: #F7F2EA !important;
    border: 1px solid rgba(44, 24, 16, 0.1) !important;
    font-family: var(--sc-sans) !important;
    border-radius: 0px !important;
}

/* ==========================================
   #c7-content — COMPLETE TYPE SCALE
   Compact sizing for account/profile/order pages.
   All font-sizes defined here; nothing left to
   browser defaults or --fs-body inheritance.
   ========================================== */

/* Base: reset all text inside C7 content pages to a tighter size */
#c7-content,
#c7-content p,
#c7-content div,
#c7-content span,
#c7-content td,
#c7-content th,
#c7-content li,
#c7-content label,
#c7-content a {
    font-family: var(--sc-sans) !important;
    font-size: 0.8125rem !important; /* 13px base */
    line-height: 1.6 !important;
}

/* Page titles — "Account Details", "Saved Addresses", "Orders" */
#c7-content h1,
#c7-content .c7-h1 {
    font-family: var(--sc-serif) !important;
    font-size: clamp(1.125rem, 2vw, 1.375rem) !important; /* 18–22px */
    font-weight: 400 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    color: var(--sc-deep, #2C1810) !important;
    text-transform: none !important;
    margin: 0 0 0.75rem 0 !important;
}

/* Section headings — "Saved Addresses", "Saved Credit Cards" */
#c7-content h2,
#c7-content .c7-h2 {
    font-family: var(--sc-serif) !important;
    font-size: clamp(1rem, 1.6vw, 1.1875rem) !important; /* 16–19px */
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.25 !important;
    color: var(--sc-deep, #2C1810) !important;
    text-transform: none !important;
    margin: 0 0 0.5rem 0 !important;
}

/* Profile fields — name, email, phone, password dots */
#c7-content .c7-account__profile p,
#c7-content .c7-account__profile__name,
#c7-content .c7-account__profile__email,
#c7-content .c7-account__profile__phone,
#c7-content .c7-account__profile__password {
    font-size: 0.8125rem !important; /* 13px */
    line-height: 1.6 !important;
    color: var(--sc-text, #3A3530) !important;
    margin: 0 0 4px 0 !important;
}

/* Email preferences label + value */
#c7-content .c7-account__profile__email-preferences {
    font-size: 0.75rem !important; /* 12px */
    color: var(--sc-text-lt, #7A726A) !important;
}

#c7-content .c7-account__profile__email-preferences span {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    color: var(--sc-text-lt, #7A726A) !important;
}

/* Address blocks — name + location */
#c7-content .c7-address__name {
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: var(--sc-deep, #2C1810) !important;
    margin: 0 0 4px 0 !important;
}

#c7-content .c7-address__location,
#c7-content .c7-address__location a {
    font-size: 0.78rem !important;
    line-height: 1.65 !important;
    color: var(--sc-text, #3A3530) !important;
}

/* Credit card blocks */
#c7-content .c7-credit-card__number,
#c7-content .c7-credit-card {
    font-size: 0.8125rem !important;
    color: var(--sc-text, #3A3530) !important;
}

#c7-content .c7-credit-card__expiry,
#c7-content .c7-card-type {
    font-size: 0.75rem !important;
    color: var(--sc-text-lt, #7A726A) !important;
}

/* Order history table */
#c7-content .c7-table,
#c7-content .c7-table td,
#c7-content .c7-table th {
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
}

#c7-content .c7-table th {
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: var(--sc-text-lt, #7A726A) !important;
}

#c7-content .c7-table__number a {
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
}

#c7-content .c7-table__date {
    font-size: 0.78rem !important;
    color: var(--sc-text, #3A3530) !important;
}

#c7-content .c7-table__type {
    font-size: 0.72rem !important;
    color: var(--sc-text-lt, #7A726A) !important;
}

#c7-content .c7-table__status {
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

#c7-content .c7-table__refundStatus {
    font-size: 0.7rem !important;
    color: var(--sc-text-lt, #7A726A) !important;
}

#c7-content .c7-table__total {
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: var(--sc-deep, #2C1810) !important;
}

#c7-content .c7-table__items {
    font-size: 0.7rem !important;
    color: var(--sc-text-lt, #7A726A) !important;
    display: block !important;
}

#c7-content .c7-table__mobile-header {
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: var(--sc-text-lt, #7A726A) !important;
}

/* Pagination */
#c7-content .c7-pagination,
#c7-content .c7-pagination__total {
    font-size: 0.75rem !important;
    color: var(--sc-text-lt, #7A726A) !important;
}

/* Dashboard — club shipment message, past orders heading */
#c7-content .c7-account__dashboard__message {
    font-size: 0.8125rem !important;
    line-height: 1.6 !important;
}

/* "Back" link on sub-pages */
#c7-content .c7-back,
#c7-content .c7-back a {
    font-size: 0.72rem !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

/* Notice / empty state messages */
#c7-content .c7-notice--empty,
#c7-content .c7-notice--empty p {
    font-size: 0.8125rem !important;
    color: var(--sc-text-lt, #7A726A) !important;
    font-style: italic !important;
}

/* Club membership summary text */
#c7-content .c7-club-summary__description p,
#c7-content .c7-club-summary__selection p {
    font-size: 0.8125rem !important;
    color: var(--sc-text, #3A3530) !important;
}

/* Account block paragraph text (gift cards, generic) */
#c7-content .c7-account-block p {
    font-size: 0.8125rem !important;
    margin: 0 0 4px 0 !important;
    color: var(--sc-text, #3A3530) !important;
}

/* Order detail page — items, prices, totals */
#c7-content .c7-order-item__title,
#c7-content .c7-order-item__title a {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
}

#c7-content .c7-order-item__description {
    font-size: 0.75rem !important;
    color: var(--sc-text-lt, #7A726A) !important;
}

#c7-content .c7-order-item__price,
#c7-content .c7-order-item__total {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
}

/* Form labels and inputs inside account pages */
#c7-content label,
#c7-content .c7-form label {
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    color: var(--sc-text-lt, #7A726A) !important;
}

#c7-content input,
#c7-content select,
#c7-content textarea,
#c7-content .c7-form input,
#c7-content .c7-form select,
#c7-content .c7-form textarea {
    font-size: 0.8125rem !important;
    font-family: var(--sc-sans) !important;
}

.c7-order-map { display: none; }
.c7-order-summary__title { line-height: 16px; }
.c7-checkout__footer { position: absolute; left: 10%; }
.c7-checkout__summary-container,
.c7-checkout__summary-container .c7-order-summary,
.c7-checkout .c7-order-summary {
    background: var(--sc-cream, #F7F2EA) !important;
}

/* Right-side background strip (desktop) + mobile summary toggle bar */
.c7-checkout__background {
    background: var(--sc-cream, #F7F2EA) !important;
}
.c7-checkout-mobile__summary-toggle {
    background: var(--sc-cream, #F7F2EA) !important;
    border-top: 1px solid var(--sc-cream-dk, #EDE5D5) !important;
    border-bottom: 1px solid var(--sc-cream-dk, #EDE5D5) !important;
    color: var(--sc-text, #3A3530) !important;
}
.c7-checkout-mobile__summary-toggle svg {
    color: var(--sc-deep, #2C1810) !important;
}

.c7-form__empty { color: #a96e58; font-size: var(--fs-xs); }

.c7-cart__wrapper,
.c7-account-login,
.c7-account__dashboard {
    max-width: 100% !important;
    margin: 0px auto !important;
    justify-content: space-between !important;
}

.c7-checkout .c7-callout { display: none !important; }
.c7-account__dashboard__message { margin-bottom: 20px; }

.c7-account-row {
    max-width: 100% !important;
    justify-content: space-between !important;
}

.c7-form { max-width: 100% !important; }

.c7-order-item {
    border: 0px !important;
    color: #594d44 !important;
}

/* ── Main cart & order page — dark text for items, summary, callout ── */
.c7-cart__wrapper .c7-order-item__title,
.c7-cart__wrapper .c7-order-item__title a,
.c7-cart__wrapper .c7-order-item__price,
.c7-cart__wrapper .c7-order-item__total,
.c7-cart__wrapper .c7-order-item__quantity,
.c7-cart__wrapper .c7-order-item__variant,
.c7-cart__wrapper .c7-order-item__description,
#c7-content .c7-order-item__title,
#c7-content .c7-order-item__title a,
#c7-content .c7-order-item__price,
#c7-content .c7-order-item__total {
    color: var(--sc-deep, #2C1810) !important;
    font-family: var(--sc-sans) !important;
}

.c7-cart__wrapper .c7-order-summary,
.c7-cart__wrapper .c7-order-summary *,
#c7-content .c7-order-summary,
#c7-content .c7-order-summary * {
    color: var(--sc-text, #3A3530) !important;
}

/* Order summary — kill C7 default gray backgrounds */
.c7-order-summary,
.c7-order-summary__item,
.c7-order-summary__item--subtotal,
.c7-order-summary__item--total,
.c7-order-summary__item--tax,
.c7-order-summary__item--shipping,
.c7-checkout .c7-order-summary,
.c7-checkout .c7-order-summary__item--total,
#c7-content .c7-order-summary,
#c7-content .c7-order-summary__item--total,
#c7-side-cart .c7-order-summary,
#c7-side-cart .c7-order-summary__item--total,
.c7-cart__wrapper .c7-order-summary,
.c7-cart__wrapper .c7-order-summary__item--total {
    background: var(--sc-cream, #F7F2EA) !important;
    border-radius: 0 !important;
}

/* Total row — subtle top border, slightly emphasized */
.c7-order-summary__item--total {
    border-top: 1px solid var(--sc-cream-dk, #EDE5D5) !important;
    padding-top: 12px !important;
    margin-top: 8px !important;
}

.c7-order-summary__item--total .c7-order-summary__title,
.c7-order-summary__item--total .c7-order-summary__value {
    font-family: var(--sc-sans) !important;
    font-weight: 600 !important;
    font-size: var(--fs-md) !important;
    color: var(--sc-deep, #2C1810) !important;
}

/* Total value — SVG chevron icon reset */
.c7-order-summary__item--total svg,
.c7-order-summary__value svg {
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    margin-left: 4px !important;
    vertical-align: middle !important;
    stroke: var(--sc-text-lt, #7A726A) !important;
    background: none !important;
}

.c7-cart__wrapper .c7-order-summary__total,
.c7-cart__wrapper .c7-order-summary__total *,
#c7-content .c7-order-summary__total,
#c7-content .c7-order-summary__total * {
    color: var(--sc-deep, #2C1810) !important;
    font-weight: 600 !important;
}

/* Callout ("Need Help?" / shipping info) — dark text on cream bg */
.c7-callout,
.c7-callout *,
.c7-cart__wrapper .c7-callout,
.c7-cart__wrapper .c7-callout * {
    color: var(--sc-text, #3A3530) !important;
}

.c7-callout a,
.c7-cart__wrapper .c7-callout a {
    color: var(--sc-mid, #5C2E2E) !important;
    text-decoration: underline !important;
}

.c7-callout a:hover,
.c7-cart__wrapper .c7-callout a:hover {
    color: var(--sc-deep, #2C1810) !important;
}

.c7-order-items:last-child { border-bottom: 0px; }

.account-row h1,
.cart-row h1,
.collection-row h1 { display: none; }

#c7-cart .c7-order-item__description {
    margin-top: 10px;
    font-size: var(--fs-2xs);
}

.c7-account-club .c7-account-blocks--status .c7-account-block__header .c7-account-block__actions {
    display: none !important;
}

#c7-cart .c7-cart { top: 36px; }

#c7-cart > a::before {
    content: "Cart: " !important;
    font-weight: 600;
    color: #fff;
}

#c7-cart .c7-cart__count::after { content: " Items"; }
#c7-cart .c7-cart__total::before { content: "Total: "; font-weight: 600; }
#c7-cart .c7-cart__total { display: block; }
#c7-cart .c7-cart__total::after { display: block; content: "View Cart >"; font-weight: 600; }

.c7-checkout__header {
    background-image: none !important;
    background-color: transparent !important;
}

.c7-account-club-shipment .c7-modal { top: 150px; }
body .c7-form__buttons { display: flex; }


/* ==========================================
   COMMERCE7 — Form Inputs
   ========================================== */

.c7-form input[type='text'],
.c7-form input[type='email'],
.c7-form input[type='number'],
.c7-form input[type='tel'],
.c7-form input[type='username'],
.c7-form input[type='password'],
.c7-form textarea,
.c7-form--stripe,
.c7-order-item input,
.c7-form select,
.c7-order-item select {
    color: #594d44 !important;
    background-color: #F1EDEA;
    border-color: #525266;
}


/* ==========================================
   CARROT CALLOUT (Shipping Promo)
   ========================================== */

.c7-carrot {
    background-color: var(--sc-cream-dk, #EDE5D5) !important;
    border: 1px solid var(--sc-gold, #C4A265) !important;
    padding: 15px 20px !important;
    margin: 20px 0 !important;
    border-radius: 0px !important;
    display: block !important;
    width: 100%;
}

.c7-carrot__message { text-align: center !important; }

.c7-carrot__message p {
    font-family: var(--sc-sans) !important;
    font-size: var(--fs-base, 0.9375rem) !important;
    color: var(--sc-text, #3A3530) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    white-space: normal !important;
    display: inline-block;
}

.c7-carrot__message strong {
    color: var(--sc-mid, #5C2E2E) !important;
    font-weight: 600;
}



/* ==========================================
   MUI OVERRIDES
   ========================================== */

.MuiCardContent-root,
.MuiCardActions-root {
    background: #ddcac2;
}

.MuiTypography-root.MuiTypography-h6 {
    text-decoration: underline;
}

/* WARNING: Generic button reset — scoped undos follow for header triggers */
button,
.MuiGrid-item button,
.MuiGrid-root button,
.MuiBox-root button {
    cursor: pointer;
    font-family: var(--sc-sans);
    border: 2px;
    font-size: var(--fs-sm);
    height: auto;
    font-style: normal;
    font-weight: 400;
    background-color: var(--sc-deep, #2C1810);
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 0;
    color: var(--sc-cream, #F7F2EA);
}

/* Header cart & account TRIGGER styling lives in styles.css (section 12 —
   "Commerce7 Account & Cart Widgets"). All header styling is consolidated
   there. The old "undo generic button bg" reset that used to live here was
   redundant (styles.css already resets bg/border/box-shadow on these
   selectors with !important) and was removed 2026-05-29. Keep header-trigger
   rules in styles.css, not here. */


/* ==========================================
   SIDE CART PANEL — Dark Text Reset
   Panel bg is cream (#FEFCF9) but sits inside
   the header (cream-on-dark context). Force all
   text, links, labels dark so everything is readable.
   ========================================== */

#c7-side-cart,
#c7-side-cart *:not(button):not(.c7-btn):not(.c7-btn--primary):not(.c7-btn--alt):not(.c7-add-more-wines) {
    color: var(--sc-text, #3A3530) !important;
}

/* Links inside side cart — dark, not cream */
#c7-side-cart a:not(.c7-btn):not(.c7-btn--primary):not(.c7-btn--alt):not(.c7-add-more-wines),
#c7-side-cart a:not(.c7-btn):not(.c7-btn--primary):not(.c7-btn--alt):not(.c7-add-more-wines):visited {
    color: var(--sc-deep, #2C1810) !important;
}

#c7-side-cart a:not(.c7-btn):not(.c7-btn--primary):not(.c7-btn--alt):not(.c7-add-more-wines):hover {
    color: var(--sc-mid, #5C2E2E) !important;
}

/* Cart header title — "Your Cart" etc */
#c7-side-cart .c7-side-cart__header,
#c7-side-cart .c7-side-cart__header * {
    color: var(--sc-deep, #2C1810) !important;
}

/* Order item — name, sku, price, quantity */
#c7-side-cart .c7-order-item__title,
#c7-side-cart .c7-order-item__title a,
#c7-side-cart .c7-order-item__description,
#c7-side-cart .c7-order-item__quantity,
#c7-side-cart .c7-order-item__variant {
    color: var(--sc-deep, #2C1810) !important;
    font-family: var(--sc-sans) !important;
}

#c7-side-cart .c7-order-item__price,
#c7-side-cart .c7-order-item__total {
    color: var(--sc-deep, #2C1810) !important;
    font-family: var(--sc-sans) !important;
    font-weight: 500 !important;
}

/* Order summary — subtotal, tax, total labels and values */
#c7-side-cart .c7-order-summary__title,
#c7-side-cart .c7-order-summary__subtotal,
#c7-side-cart .c7-order-summary__tax,
#c7-side-cart .c7-order-summary__total,
#c7-side-cart .c7-order-summary__discounts,
#c7-side-cart .c7-order-summary *,
#c7-side-cart .c7-order-summary {
    color: var(--sc-text, #3A3530) !important;
    font-family: var(--sc-sans) !important;
    background-color: var(--sc-cream, #F7F2EA) !important;
}

#c7-side-cart .c7-order-summary__item--total {
    background: var(--sc-cream, #F7F2EA) !important;
}

#c7-side-cart .c7-order-summary__total,
#c7-side-cart .c7-order-summary__total * {
    color: var(--sc-deep, #2C1810) !important;
    font-weight: 600 !important;
    background: var(--sc-cream, #F7F2EA) !important;
}

/* Carrot upsell text inside side cart */
#c7-side-cart .c7-carrot,
#c7-side-cart .c7-carrot *:not(button):not(.c7-btn) {
    color: var(--sc-text, #3A3530) !important;
}

/* Callout / "Need Help?" inside side cart */
#c7-side-cart .c7-callout,
#c7-side-cart .c7-callout * {
    color: var(--sc-text, #3A3530) !important;
}

/* CTA buttons inside side cart — primary keeps cream-on-dark */
#c7-side-cart a.c7-btn,
#c7-side-cart a.c7-btn--primary,
#c7-side-cart .c7-order-summary__buttons a.c7-add-more-wines {
    color: var(--sc-cream, #F7F2EA) !important;
}

/* Force dark bg on Proceed to Checkout — Commerce7 CDN CSS loads last
   and can override .c7-btn background. Use html body prefix for max
   specificity without inline styles. */
html body #c7-side-cart .c7-order-summary__buttons a.c7-btn:not(.c7-btn--alt):not(.c7-add-more-wines),
html body #c7-side-cart .c7-order-summary__buttons a.c7-btn--primary,
html body .c7-side-cart .c7-order-summary__buttons a:not(.c7-btn--alt):not(.c7-add-more-wines)[class*="c7-btn"] {
    background: var(--sc-deep, #2C1810) !important;
    color: var(--sc-cream, #F7F2EA) !important;
}

/* ==========================================
   SIDE CART PANEL — Header spacing + short
   "Checkout" button label (2026-07-11)
   ========================================== */
#c7-side-cart .c7-side-cart__header,
#c7-side-cart .c7-cart__header,
#c7-side-cart header {
    padding-top: 20px !important;
}

#c7-side-cart h1,
#c7-side-cart h2,
#c7-side-cart h3,
#c7-side-cart .c7-side-cart__title,
#c7-side-cart .c7-cart__title {
    line-height: 1.4 !important;
    overflow: visible !important;
    padding-top: 6px !important;
    margin-top: 0 !important;
}

/* Shorten the primary button label to "Checkout" */
#c7-side-cart .c7-order-summary__buttons a.c7-btn--primary,
#c7-side-cart .c7-order-summary__buttons button.c7-btn--primary {
    font-size: 0 !important;
    letter-spacing: 0 !important;
    justify-content: center !important;
}

#c7-side-cart .c7-order-summary__buttons a.c7-btn--primary > *,
#c7-side-cart .c7-order-summary__buttons button.c7-btn--primary > * {
    display: none !important;
}

#c7-side-cart .c7-order-summary__buttons a.c7-btn--primary::after,
#c7-side-cart .c7-order-summary__buttons button.c7-btn--primary::after {
    content: "Checkout" !important;
    font-size: 14px !important;
    letter-spacing: 1px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}


/* ==========================================
   SIDE CART PANEL — Remove & Carrot Buttons
   Explicit styles so they're always readable
   ========================================== */

/* Remove button — small, subtle, never white-on-transparent */
#c7-side-cart button.c7-link,
#c7-cart .c7-side-cart button.c7-link,
#c7-cart .c7-order-items button.c7-link,
.c7-side-cart button.c7-link,
.c7-order-items--cart button.c7-link {
    background: transparent !important;
    color: var(--sc-stone, #9A9189) !important;
    border: 1px solid rgba(154, 145, 137, 0.35) !important;
    border-radius: 0 !important;
    font-family: var(--sc-sans) !important;
    font-size: 0.625rem !important;
    font-weight: 500 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    padding: 5px 10px !important;
    min-height: 26px !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

#c7-side-cart button.c7-link span,
#c7-cart .c7-order-items button.c7-link span,
.c7-order-items--cart button.c7-link span {
    color: var(--sc-stone, #9A9189) !important;
    font-size: 0.625rem !important;
    font-weight: 500 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
}

#c7-side-cart button.c7-link:hover,
#c7-cart .c7-order-items button.c7-link:hover,
.c7-order-items--cart button.c7-link:hover {
    color: var(--sc-mid, #5C2E2E) !important;
    border-color: var(--sc-mid, #5C2E2E) !important;
    background: rgba(92, 46, 46, 0.05) !important;
}

#c7-side-cart button.c7-link:hover span,
#c7-cart .c7-order-items button.c7-link:hover span {
    color: var(--sc-mid, #5C2E2E) !important;
}

/* Carrot upsell "Add to Cart" button — must be readable */
#c7-side-cart .c7-carrot button,
#c7-side-cart .c7-carrot .c7-btn,
#c7-cart .c7-carrot button.c7-btn,
#c7-cart .c7-carrot .c7-btn--primary--small,
.c7-carrot button.c7-btn,
.c7-carrot .c7-btn--primary--small {
    background: var(--sc-deep, #2C1810) !important;
    color: var(--sc-cream, #F7F2EA) !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: var(--sc-sans) !important;
    font-size: 0.65rem !important;
    font-weight: 500 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    padding: 10px 16px !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

#c7-side-cart .c7-carrot button span,
#c7-cart .c7-carrot button.c7-btn span,
.c7-carrot .c7-btn--primary--small span {
    color: var(--sc-cream, #F7F2EA) !important;
    font-size: inherit !important;
}

#c7-side-cart .c7-carrot button:hover,
#c7-cart .c7-carrot button.c7-btn:hover,
.c7-carrot .c7-btn--primary--small:hover {
    background: var(--sc-mid, #5C2E2E) !important;
}

/* Side cart close button — keep clean */
#c7-side-cart__header__close,
#c7-side-cart .c7-side-cart__header button {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 4px !important;
    min-height: auto !important;
    width: auto !important;
    color: #000 !important;
}


/* ==========================================
   COUPON CODE — Toggle + Form
   ========================================== */

/* The "Enter coupon code" toggle — styled as a text link, not a button */
.c7-form--coupon-code-container > button.c7-link,
.c7-form--coupon-code-container > .c7-link {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(89, 77, 68, 0.25) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--sc-text, #3A3530) !important;
    font-family: var(--sc-sans) !important;
    font-size: var(--fs-sm) !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    padding: 6px 0 !important;
    min-height: auto !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px;
    cursor: pointer !important;
    transition: color 0.2s ease, border-color 0.2s ease !important;
}

.c7-form--coupon-code-container > button.c7-link:hover,
.c7-form--coupon-code-container > .c7-link:hover {
    color: var(--sc-mid, #5C2E2E) !important;
    border-bottom-color: var(--sc-mid, #5C2E2E) !important;
    background: transparent !important;
}

.c7-form--coupon-code-container > button.c7-link svg,
.c7-form--coupon-code-container > .c7-link svg {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.c7-form--coupon-code-container > button.c7-link[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* Coupon form row — input + Apply side by side */
.c7-form--coupon-code-container .c7-form .c7-form__group {
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin-top: 10px;
}

.c7-form--coupon-code-container .c7-form__field {
    flex: 1 !important;
}

.c7-form--coupon-code-container .c7-form__field input {
    width: 100% !important;
    font-family: var(--sc-sans) !important;
    font-size: var(--fs-sm) !important;
    color: var(--sc-text, #3A3530) !important;
    background-color: var(--sc-cream, #F7F2EA) !important;
    border: 1px solid var(--sc-cream-dk, #EDE5D5) !important;
    border-right: none !important;
    border-radius: 0 !important;
    padding: 10px 12px !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
    box-sizing: border-box !important;
}

.c7-form--coupon-code-container .c7-form__field input:focus {
    border-color: var(--sc-gold, #C4A265) !important;
}

.c7-form--coupon-code-container .c7-form__field input::placeholder {
    color: var(--sc-stone, #9A9189) !important;
    font-style: italic;
}

/* Apply button — compact, joined to input */
.c7-form--coupon-code-container .c7-btn,
.c7-form--coupon-code-container .c7-btn--alt,
.c7-form--coupon-code-container button[type="submit"] {
    background: var(--sc-deep, #2C1810) !important;
    color: var(--sc-cream, #F7F2EA) !important;
    font-family: var(--sc-sans) !important;
    font-size: 0.65rem !important;
    font-weight: 500 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 10px 20px !important;
    min-height: auto !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.c7-form--coupon-code-container .c7-btn span,
.c7-form--coupon-code-container button[type="submit"] span {
    color: var(--sc-cream, #F7F2EA) !important;
    font-size: inherit !important;
    letter-spacing: inherit !important;
}

.c7-form--coupon-code-container .c7-btn:hover,
.c7-form--coupon-code-container button[type="submit"]:hover {
    background: var(--sc-mid, #5C2E2E) !important;
}

/* ==========================================
   C7 DELIVERY TABS — Shipping / Pickup
   ========================================== */

.c7-tabs[aria-label="Delivery Type"],
.c7-tabs {
    display: flex !important;
    gap: 0 !important;
    border: 1px solid var(--sc-cream-dk, #EDE5D5) !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: var(--sc-cream, #F7F2EA) !important;
    padding: 0 !important;
    width: 100% !important;
}

#c7-content .c7-tabs .c7-tab,
.c7-checkout .c7-tabs .c7-tab,
.c7-tabs .c7-tab {
    flex: 1 !important;
    background: var(--sc-cream, #F7F2EA) !important;
    color: var(--sc-text, #3A3530) !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: var(--sc-sans) !important;
    font-size: 0.68rem !important;
    font-weight: 500 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    padding: 14px 20px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    position: relative !important;
    min-height: auto !important;
    box-shadow: none !important;
    outline: none !important;
    line-height: 1.3 !important;
}

/* Divider between tabs */
.c7-tabs .c7-tab + .c7-tab {
    border-left: 1px solid var(--sc-cream-dk, #EDE5D5) !important;
}

/* Active / selected tab */
#c7-content .c7-tabs .c7-tab[aria-selected="true"],
.c7-checkout .c7-tabs .c7-tab[aria-selected="true"],
.c7-tabs .c7-tab[aria-selected="true"] {
    background: var(--sc-deep, #2C1810) !important;
    color: var(--sc-cream, #F7F2EA) !important;
    font-weight: 600 !important;
}

#c7-content .c7-tabs .c7-tab[aria-selected="true"] .c7-tab-label,
.c7-tabs .c7-tab[aria-selected="true"] .c7-tab-label {
    color: var(--sc-cream, #F7F2EA) !important;
}

/* Inactive tab hover */
#c7-content .c7-tabs .c7-tab[aria-selected="false"]:hover,
.c7-checkout .c7-tabs .c7-tab[aria-selected="false"]:hover,
.c7-tabs .c7-tab[aria-selected="false"]:hover {
    background: var(--sc-cream-dk, #EDE5D5) !important;
    color: var(--sc-deep, #2C1810) !important;
}

/* Tab label text */
#c7-content .c7-tabs .c7-tab .c7-tab-label,
.c7-checkout .c7-tabs .c7-tab .c7-tab-label,
.c7-tabs .c7-tab .c7-tab-label {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    line-height: inherit !important;
}


/* ==========================================
   "ADD MORE WINES" BUTTON — Side Cart + Main Cart
   Injected via JS into both the side cart summary
   and the main cart page (before the Need Help callout).
   ========================================== */

/* "Add More Wines" button (injected via JS in Elementor HTML widget) */
a.c7-add-more-wines,
a.c7-add-more-wines[href],
.c7-order-summary__buttons a.c7-add-more-wines {
    background: var(--sc-deep, #2C1810) !important;
    color: var(--sc-cream, #F7F2EA) !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: var(--sc-sans) !important;
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    padding: 16px 40px !important;
    min-height: 48px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

a.c7-add-more-wines:hover,
a.c7-add-more-wines[href]:hover,
.c7-order-summary__buttons a.c7-add-more-wines:hover {
    background: var(--sc-mid, #5C2E2E) !important;
    color: var(--sc-cream, #F7F2EA) !important;
    transform: translateY(-1px);
}

/* ── Main cart page — auto width, centered, spaced from callout ── */
.c7-cart__wrapper > a.c7-add-more-wines,
#c7-content > a.c7-add-more-wines,
.c7-callout ~ a.c7-add-more-wines,
a.c7-add-more-wines + .c7-callout {
    margin-top: 0 !important;
}

.c7-cart__wrapper > a.c7-add-more-wines,
#c7-content > a.c7-add-more-wines {
    width: fit-content !important;
    display: flex !important;
    margin: 30px auto !important;
}

/* Side cart — Add More Wines full-width on its own row */
.c7-order-summary__buttons a.c7-add-more-wines {
    flex: 0 0 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.68rem !important;
    letter-spacing: 2px !important;
    min-height: 40px !important;
    order: -1 !important;
    margin: 0 !important;
}

/* Summary buttons — wrap so Add More Wines gets full first row,
   Checkout + View Cart share the second row on desktop */
#c7-cart .c7-order-summary__buttons,
#c7-side-cart .c7-order-summary__buttons,
.c7-order-summary__buttons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 0 !important;
}

/* View Cart alt button inside summary — readable outline */
.c7-order-summary__buttons a.c7-btn--alt,
.c7-order-summary__buttons a.c7-btn.c7-btn--alt,
#c7-side-cart .c7-order-summary__buttons a.c7-btn--alt {
    background: transparent !important;
    color: var(--sc-deep, #2C1810) !important;
    border: 1px solid rgba(44, 24, 16, 0.3) !important;
    font-size: 0.68rem !important;
    font-weight: 400 !important;
    letter-spacing: 2px !important;
    padding: 12px 20px !important;
    min-height: 40px !important;
    flex: 1 !important;
    width: auto !important;
}

.c7-order-summary__buttons a.c7-btn--alt:hover,
#c7-side-cart .c7-order-summary__buttons a.c7-btn--alt:hover {
    border-color: var(--sc-deep, #2C1810) !important;
    background: rgba(44, 24, 16, 0.04) !important;
}

/* Mobile — stack vertically, all full width, no offset */


/* ==========================================
   COMMERCE7 — Account & Cart Pages
   (moved from styles.css — only loads on C7 pages)
   ========================================== */


/* Account page — eliminate white bars, consistent across browsers */
.c7-account {
    background: var(--sc-cream, #F7F2EA) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.c7-account__header {
    background: var(--sc-cream, #F7F2EA) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.c7-account__header .c7-wrapper {
    background: var(--sc-cream, #F7F2EA) !important;
    padding: 40px 30px 20px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.c7-account__header p {
    margin: 0 0 6px 0 !important;
    color: var(--sc-text, #3A3530) !important;
}

/* "Hello Name" greeting */
.c7-account__header p:first-child {
    font-family: var(--sc-serif) !important;
    font-size: clamp(1.25rem, 2.5vw, 1.625rem) !important; /* 20–26px, was up to 36px */
    font-weight: 400 !important;
    color: var(--sc-deep, #2C1810) !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.2 !important;
}

/* "Welcome to your account!" + logout */
.c7-account__header p:last-child {
    font-family: var(--sc-sans) !important;
    font-size: var(--fs-sm) !important;
    color: var(--sc-text-lt, #7A726A) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

/* Account nav — remove any white gaps above/below */
.c7-account__menu {
    background: var(--sc-cream, #F7F2EA) !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid var(--sc-cream-dk, #EDE5D5) !important;
    border-bottom: 1px solid var(--sc-cream-dk, #EDE5D5) !important;
}

.c7-account__menu .c7-wrapper {
    background: var(--sc-cream, #F7F2EA) !important;
    padding: 0 20px !important;
}

.c7-account__menu ul {
    display: flex !important;
    justify-content: center !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.c7-account__menu ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.c7-account__menu ul li a {
    display: block !important;
    padding: 16px 20px !important;
    font-family: var(--sc-sans) !important;
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: var(--sc-text-lt, #7A726A) !important;
    text-decoration: none !important;
    border-bottom: 3px solid transparent !important;
    transition: color 0.2s ease, border-color 0.2s ease !important;
}

.c7-account__menu ul li a:hover {
    color: var(--sc-deep, #2C1810) !important;
}

.c7-account__menu .c7-active a,
.c7-account__menu .c7-active a[aria-current] {
    color: var(--sc-deep, #2C1810) !important;
    border-bottom-color: var(--sc-gold, #C4A265) !important;
    border-bottom-width: 3px !important;
}

.c7-account-block {
    border: 1px solid var(--sc-cream-dk, #EDE5D5) !important;
    background-color: var(--sc-cream, #F7F2EA) !important;
    border-radius: 0 !important;
    padding: 16px 20px !important;
    margin-bottom: 12px !important;
}

/* Section headers — "Saved Addresses" + "Add address" button */
.c7-account-details__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
    flex-wrap: wrap !important;
}

.c7-account-details__header h1,
.c7-account-details__header h2,
.c7-account-details__header .c7-h1,
.c7-account-details__header .c7-h2 {
    margin: 0 !important;
    flex: 1 !important;
}

.c7-account-details__header .c7-btn--alt--small,
.c7-account-details__header .c7-btn--alt {
    flex-shrink: 0 !important;
    margin: 0 !important;
}

/* Block headers — "Personal Information" + Edit / "Password" + Change */
.c7-account-block__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid var(--sc-cream-dk, #EDE5D5) !important;
}

.c7-account-block__title {
    font-family: var(--sc-sans) !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: var(--sc-deep, #2C1810) !important;
    margin: 0 !important;
}

/* Action buttons (Edit / Delete / Change / Register) inside blocks */
.c7-account-block__actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
}

/* Edit / Change / Delete / Register — no box, gold-line hover */
.c7-account-block__actions .c7-link,
.c7-account-block__actions button.c7-link,
.c7-account-block__header .c7-link,
.c7-account-block__header button.c7-link,
.c7-account-block--gift-card .c7-link,
.c7-account-block--gift-card button.c7-link {
    background: transparent !important;
    color: var(--sc-stone, #9A9189) !important;
    border: none !important;
    border-bottom: 1px solid transparent !important;
    padding: 2px 0 3px !important;
    min-height: auto !important;
    font-family: var(--sc-sans) !important;
    font-size: 0.6rem !important;
    font-weight: 500 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    box-shadow: none !important;
    transition: color 0.18s ease, border-color 0.18s ease !important;
}

.c7-account-block__actions .c7-link:hover,
.c7-account-block__actions button.c7-link:hover,
.c7-account-block__header .c7-link:hover,
.c7-account-block__header button.c7-link:hover,
.c7-account-block--gift-card .c7-link:hover,
.c7-account-block--gift-card button.c7-link:hover {
    background: transparent !important;
    border-color: var(--sc-gold, #C4A265) !important;
    color: var(--sc-gold, #C4A265) !important;
    text-decoration: none !important;
}

/* Default badge */
.c7-account-block__default {
    font-family: var(--sc-sans) !important;
    font-size: 0.55rem !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: var(--sc-gold, #C4A265) !important;
    margin-left: 8px !important;
}

/* Address/card blocks — details + actions layout */
.c7-account-block--address .c7-account-block__details,
.c7-account-block--credit-card .c7-account-block__details {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 16px !important;
}

/* Account blocks grid — addresses and cards side by side on desktop */
.c7-account-blocks {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 12px !important;
}

/* ── Account nav — mobile responsive ── */


.c7-order-summary__discounts { color: var(--c7-heading-text-color); }

.c7-table th,
.c7-table__mobile-header,
.c7-table--basic th {
    text-align: center !important;
}

/* View Details buttons inside order history table — compact */
.c7-table .c7-btn--alt,
.c7-table a.c7-btn--alt {
    padding: 8px 14px !important;
    font-size: 0.6rem !important;
    min-height: 32px !important;
    letter-spacing: 1.5px !important;
}

/* ─ Misc C7 page rules ─ */
#c7_account .c7-user-nav__account__dropdown { line-height: 16px; }
#c7_account .c7-club-summary__description p { color: #594d44; }
#c7_account .c7-club-summary__selection p { color: #594d44; }

.c7-side-cart__header { padding: 50px 30px 35px; }
.c7-wrapper { background: var(--sc-cream, #F7F2EA) !important; }

/* Force C7 product list containers to use full width */
.c7-wrapper,
#c7-content,
.c7-product-list-page,
.c7-product-list-page > *,
.c7-product-list__container,
.c7-content__inner {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    background-color: var(--sc-cream, #F7F2EA) !important;
}


/* ==========================================
   ACCOUNT PAGES
   ========================================== */

#account-title {
    margin-bottom: 20px;
    border-left: 2px solid #594d44;
    padding-left: 15px;
    line-height: 30px;
}

.menu {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid #e4e1e0;
}

#account-nav {
    margin-bottom: 10px;
    padding-top: 14px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

/* ==========================================
   CHECKOUT PAGE — Loading Skeleton
   Prevents white flash before C7 JS renders
   ========================================== */

/* Keep checkout background cream while C7 JS initializes.
   min-height:100vh prevents the height jump when C7 mounts and
   replaces the empty #c7-content with the full checkout UI. */
.page-template-blank-checkout-template #c7-content {
    min-height: 100vh;
    background: var(--sc-cream, #F7F2EA) !important;
    /* Prevent width exceeding viewport — C7 can render at fixed px widths */
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    /* Add bottom padding so fixed Prop 65 bar doesn't cover checkout content */
    padding-bottom: 50px !important;
}

/* Reserve checkout container dimensions before C7 mounts */
.page-template-blank-checkout-template body {
    /* scrollbar-gutter reserves the scrollbar slot so C7's
       toggle of overflow:auto doesn't cause a ~17px layout shift */
    scrollbar-gutter: stable !important;
    /* clip instead of hidden — doesn't create a scroll container
       so position:sticky works; clip just prevents content overflow */
    overflow-x: clip !important;
}

/* Hide the empty <h2></h2> placeholder that shows before C7 renders */
.page-template-blank-checkout-template #c7-content > h2:only-child {
    display: none !important;
}

/* ── reCAPTCHA v3 badge ──────────────────────────────────────────────────
   C7 checkout still works — the verification token is fetched invisibly.
   Per Google ToS, reCAPTCHA protection is disclosed in the Privacy Policy.
   ─────────────────────────────────────────────────────────────────────── */
/* ── Account button — REMOVED 2026-06-29 ──────────────────────────────────
   This block re-revealed the raw C7 "Log in" text (font-size:10px; color:
   #2C1810) AFTER styles.css had deliberately hidden it (font-size:0;
   color:transparent) in favour of the bordered gold "Login" CTA (styles.css
   §"Login button — styled identically to the Bring LXV Home CTA", which uses
   ::after { content:"Login" }). The two rules conflicted: the only reason it
   looked correct in modern browsers was the wp_footer JS in functions.php
   force-hiding the raw text inline. That JS uses Array.from(), which IE does
   not support, so on IE the raw text stayed visible and the header showed
   BOTH labels ("LOG IN" + "LOGIN").

   Fix: deleting this block lets styles.css own the login control as the single
   source of truth — pure CSS, no JS dependency, correct on IE too. The logged-
   in "Hello name" state stays icon-only via styles.css (lines ~1606-1625).
   Original rules preserved in code-history/2026-06-29_lxvwine-c7-css.css.
   ─────────────────────────────────────────────────────────────────────── */


/* ── Checkout — hide "Used for order notifications" helper text ────────────
   C7 renders this as <p class="c7-form__help" id="c7-email-help"> below
   the email field on the customer step.
   ─────────────────────────────────────────────────────────────────────── */
#c7-email-help,
.c7-form__help,
.c7-checkout .c7-form__note,
.c7-checkout .c7-form__hint,
.c7-checkout [class*="form__note"],
.c7-checkout [class*="form__hint"],
/* Fallback: any small gray helper text directly inside a form group */
.c7-checkout .c7-form__group > p:not(.c7-form__error),
.c7-checkout .c7-form__group > small {
    display: none !important;
}


.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* ==========================================
   ACCOUNT PAGE — SCOPED BUTTON OVERRIDES
   ──────────────────────────────────────────
   .c7-account-block action links (Edit/Change/Delete)
   are handled directly above in their own section.
   Rules here cover the remaining account-only cases:
   • .c7-btn--alt--small in account context
   • .c7-btn--alt in account context (Add Address etc.)
   • Save / Submit and Cancel form buttons
   ========================================== */

/* ── .c7-btn--alt--small in account context
   (alternate class C7 uses for inline Edit / Change) ── */
.c7-account .c7-btn--alt--small,
.c7-account a.c7-btn--alt--small,
.c7-account button.c7-btn--alt--small {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid transparent !important;
    color: var(--sc-stone, #9A9189) !important;
    font-size: 0.6rem !important;
    font-weight: 500 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    padding: 2px 0 3px !important;
    min-height: auto !important;
    box-shadow: none !important;
    transition: color 0.18s ease, border-color 0.18s ease !important;
}

.c7-account .c7-btn--alt--small:hover,
.c7-account a.c7-btn--alt--small:hover,
.c7-account button.c7-btn--alt--small:hover {
    background: transparent !important;
    border-color: var(--sc-gold, #C4A265) !important;
    color: var(--sc-gold, #C4A265) !important;
    transform: none !important;
}

/* ── Add Address / Add Credit Card (.c7-btn--alt)
   Full box → single bottom gold rule ── */
.c7-account .c7-account-details__header .c7-btn--alt,
.c7-account .c7-btn--alt,
.c7-account a.c7-btn--alt,
.c7-account button.c7-btn--alt {
    background: transparent !important;
    border: none !important;
    border-bottom: 1.5px solid rgba(196, 162, 101, 0.45) !important;
    color: var(--sc-deep, #2C1810) !important;
    font-size: 0.65rem !important;
    font-weight: 500 !important;
    letter-spacing: 1.5px !important;
    padding: 4px 0 3px !important;
    min-height: auto !important;
    box-shadow: none !important;
    transition: color 0.18s ease, border-color 0.18s ease !important;
}

.c7-account .c7-account-details__header .c7-btn--alt:hover,
.c7-account .c7-btn--alt:hover,
.c7-account a.c7-btn--alt:hover,
.c7-account button.c7-btn--alt:hover {
    background: transparent !important;
    border-color: var(--sc-gold, #C4A265) !important;
    color: var(--sc-gold, #C4A265) !important;
    transform: none !important;
}

/* ── View Details in order history table ──
   Same gold-line treatment for consistency ── */
.c7-account .c7-table .c7-btn--alt,
.c7-account .c7-table a.c7-btn--alt {
    padding: 3px 0 4px !important;
    min-height: auto !important;
    font-size: 0.6rem !important;
    letter-spacing: 1.5px !important;
}

/* ── C7 Error Messages ── */
.c7-message--alert-error {
    background: #FDF1EF !important;
    border: none !important;
    border-left: 3px solid #B03A2E !important;
    color: #2C1810 !important;
    padding: 14px 18px !important;
    font-size: 0.8rem !important;
    line-height: 1.55 !important;
    letter-spacing: 0.2px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.c7-message--alert-error,
.c7-message--alert-error p,
.c7-message--alert-error span,
.c7-message--alert-error a {
    color: #2C1810 !important;
}

/* ── Save Changes / Update primary button ──
   Keeps the dark fill for visual weight;
   hover flips to gold so it feels premium ── */
.c7-account .c7-form__buttons .c7-btn,
.c7-account .c7-form__buttons button.c7-btn,
.c7-account .c7-form__buttons button[type="submit"].c7-btn {
    background: var(--sc-deep, #2C1810) !important;
    color: var(--sc-cream, #F7F2EA) !important;
    border: none !important;
    letter-spacing: 2px !important;
    padding: 14px 36px !important;
    min-height: 44px !important;
    font-size: 0.68rem !important;
    font-weight: 500 !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}

.c7-account .c7-form__buttons .c7-btn:hover,
.c7-account .c7-form__buttons button.c7-btn:hover,
.c7-account .c7-form__buttons button[type="submit"].c7-btn:hover {
    background: var(--sc-gold, #C4A265) !important;
    color: var(--sc-deep, #2C1810) !important;
    transform: none !important;
}

/* ── Cancel / Back in form button rows ──
   Stone gray; warms to blush on hover ── */
.c7-account .c7-form__buttons .c7-link,
.c7-account .c7-form__buttons button.c7-link {
    color: var(--sc-stone, #9A9189) !important;
    font-size: 0.62rem !important;
    border: none !important;
    border-bottom: 1px solid transparent !important;
    padding: 3px 0 !important;
    text-decoration: none !important;
    min-height: auto !important;
    transition: color 0.18s ease, border-color 0.18s ease !important;
}

.c7-account .c7-form__buttons .c7-link:hover,
.c7-account .c7-form__buttons button.c7-link:hover {
    color: var(--sc-blush, #A8706A) !important;
    border-color: var(--sc-blush, #A8706A) !important;
    text-decoration: none !important;
    background: transparent !important;
}

/* ==========================================
   MOBILE POLISH - C7 PROFILE, CART, CHECKOUT
   Appended as a final override layer so it wins after C7 CDN CSS.
   ========================================== */

@media only screen and (max-width: 767px) {
    html,
    body {
        max-width: 100% !important;
        overflow-x: hidden !important;
        overflow-x: clip !important;
    }

    .page-id-107 .container,
    .page-id-107 .container_inner,
    .page-id-107 .page_container_inner,
    .page-id-107 .elementor-section.elementor-section-boxed > .elementor-container,
    .page-id-107 .elementor-column,
    .page-id-107 .elementor-widget-wrap,
    #c7-content,
    #c7-content .c7-wrapper,
    #c7-content .c7-content__inner {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .page-id-107 .container_inner,
    .page-id-107 .page_container_inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-id-107 .elementor-element.elementor-element-2a74da2 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-id-107 .lxv-portal-nav,
    .page-id-107 .lxv-wine-notes__tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        white-space: nowrap !important;
    }

    .page-id-107 .lxv-portal-nav::-webkit-scrollbar,
    .page-id-107 .lxv-wine-notes__tabs::-webkit-scrollbar {
        display: none !important;
    }

    .page-id-107 #c7-content,
    .page-id-107 .c7-account,
    .page-id-107 .c7-account__dashboard,
    .page-id-107 .c7-account-login,
    .page-id-107 .c7-cart__wrapper {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .c7-account__header .c7-wrapper {
        padding: 22px 14px 14px !important;
    }

    .c7-account__header p:first-child {
        font-size: 1.15rem !important;
        line-height: 1.18 !important;
    }

    .c7-account__header p:last-child {
        font-size: 0.78rem !important;
        line-height: 1.45 !important;
    }

    .c7-account__menu {
        margin-left: -14px !important;
        margin-right: -14px !important;
    }

    .c7-account__menu .c7-wrapper {
        padding: 0 !important;
    }

    .c7-account__menu ul {
        justify-content: flex-start !important;
        padding: 0 14px !important;
    }

    .c7-account__menu ul li a,
    .c7-account__menu a {
        padding: 13px 10px 11px !important;
        font-size: 0.62rem !important;
        letter-spacing: 0.08em !important;
    }

    .c7-account-block {
        padding: 14px !important;
        margin-bottom: 10px !important;
    }

    .c7-account-block__header,
    .c7-account-details__header {
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .c7-account-block__title {
        line-height: 1.35 !important;
        overflow-wrap: anywhere !important;
    }

    .c7-account-block__actions {
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
    }

    .c7-account-block__details,
    .c7-account-block--address .c7-account-block__details,
    .c7-account-block--credit-card .c7-account-block__details {
        display: block !important;
    }

    .c7-account-details__header .c7-btn--alt,
    .c7-account-details__header .c7-btn--alt--small,
    .c7-account .c7-account-details__header .c7-btn--alt,
    .c7-account .c7-account-details__header .c7-btn--alt--small {
        width: auto !important;
        max-width: 100% !important;
        align-self: flex-start !important;
        white-space: normal !important;
        text-align: left !important;
    }

    .c7-table,
    #c7-content .c7-table,
    .c7-account .c7-table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .c7-table th,
    .c7-table td,
    #c7-content .c7-table th,
    #c7-content .c7-table td {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        text-align: left !important;
    }

    .c7-table .c7-btn--alt,
    .c7-table a.c7-btn--alt,
    .c7-account .c7-table .c7-btn--alt,
    .c7-account .c7-table a.c7-btn--alt {
        width: auto !important;
        max-width: 100% !important;
        display: inline-flex !important;
        justify-content: flex-start !important;
    }

    .c7-form,
    .c7-form__group,
    .c7-form__field {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .c7-form input,
    .c7-form select,
    .c7-form textarea,
    #c7-content input,
    #c7-content select,
    #c7-content textarea {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 46px !important;
        font-size: 16px !important;
        box-sizing: border-box !important;
    }

    body .c7-form__buttons,
    .c7-account .c7-form__buttons,
    .c7-checkout .c7-form__buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .c7-account .c7-form__buttons .c7-btn,
    .c7-account .c7-form__buttons button.c7-btn,
    .c7-account .c7-form__buttons button[type="submit"].c7-btn,
    .c7-checkout .c7-form__buttons .c7-btn,
    .c7-checkout .c7-form__buttons button.c7-btn {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 50px !important;
        padding: 14px 18px !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .c7-account .c7-form__buttons .c7-link,
    .c7-account .c7-form__buttons button.c7-link {
        align-self: center !important;
    }

    #c7-cart .c7-cart,
    #c7-cart > a {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .c7-order-item {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 8px 12px !important;
        padding: 14px 0 !important;
    }

    .c7-order-item__title,
    .c7-order-item__title a,
    .c7-order-item__description,
    .c7-order-item__variant,
    .c7-order-item__quantity {
        overflow-wrap: anywhere !important;
    }

    .c7-order-item__price,
    .c7-order-item__total {
        text-align: right !important;
        white-space: nowrap !important;
    }

    .c7-order-summary,
    .c7-order-summary__item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .c7-order-summary__item {
        display: flex !important;
        align-items: baseline !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }

    .c7-order-summary__title,
    .c7-order-summary__value {
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
    }

    #c7-cart .c7-order-summary__buttons,
    #c7-side-cart .c7-order-summary__buttons,
    .c7-order-summary__buttons {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
    }

    #c7-cart .c7-order-summary__buttons a,
    #c7-side-cart .c7-order-summary__buttons a,
    .c7-order-summary__buttons a {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        min-height: 48px !important;
        justify-content: center !important;
        white-space: normal !important;
    }

    #c7-side-cart,
    .c7-side-cart {
        width: 100vw !important;
        max-width: 100vw !important;
        right: 0 !important;
        left: auto !important;
        box-sizing: border-box !important;
    }

    #c7-side-cart .c7-side-cart__header,
    .c7-side-cart__header {
        padding: 24px 18px 18px !important;
    }

    #c7-side-cart .c7-order-items,
    #c7-side-cart .c7-order-summary,
    #c7-side-cart .c7-callout,
    #c7-side-cart .c7-carrot {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .c7-checkout,
    .c7-checkout__wrapper,
    .c7-checkout__content,
    .c7-checkout__summary-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .c7-checkout__footer {
        position: static !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 18px 14px calc(18px + env(safe-area-inset-bottom)) !important;
        box-sizing: border-box !important;
    }

    .c7-checkout-mobile__summary-toggle {
        min-height: 52px !important;
        padding: 12px 14px !important;
        box-sizing: border-box !important;
    }

    .c7-form--coupon-code-container .c7-form .c7-form__group {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .c7-form--coupon-code-container .c7-btn,
    .c7-form--coupon-code-container .c7-btn--alt,
    .c7-form--coupon-code-container button[type="submit"] {
        width: 100% !important;
        min-height: 46px !important;
    }
}

@media only screen and (max-width: 390px) {
    .page-id-107 .lxv-portal-nav,
    .page-id-107 .lxv-wine-notes__tabs,
    .c7-account__menu .c7-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .page-id-107 .lxv-portal-nav::-webkit-scrollbar,
    .page-id-107 .lxv-wine-notes__tabs::-webkit-scrollbar,
    .c7-account__menu .c7-wrapper::-webkit-scrollbar {
        display: none !important;
    }

    .page-id-107 .lxv-portal-nav__item,
    .page-id-107 .lxv-wine-notes .lxv-wine-notes__tab {
        font-size: 10px !important;
        letter-spacing: 0.08em !important;
    }

    .c7-account__menu ul li a,
    .c7-account__menu a {
        font-size: 0.58rem !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}