/* override c7 styles */
body {
    --c7-field-border-radius: 0px;
    --c7-button-border-radius: 0px;
    --c7-primary-button-bg: transparent;
	--c7-primary-color: #866E48 !important;
    --c7-primary-button-bg-hover: #866E48;
    --c7-primary-button-text-color: #000;
    --c7-heading-font-family: inherit;
    --c7-heading-font-weight: 500;
    --c7-font-family: inherit;
    --c7-body-text-color: #000;
    --c7-link-color: #333;
	--c7-font-size-sub: 12px;
}

#thewine-menu .c7-product__add-to-cart__form {
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
}

#thewine-menu .c7-product__add-to-cart__price,
#thewine-menu .c7-product__add-to-cart__form__quantity{
    display: none;
}

/* account header */
#account-header {
    display: inline-flex;
    width: 100%;
    justify-content: end;
    align-items: center;
}

#the-wine-menu .c7-product__add-to-cart__price {
    display: none;
}

.elementor-kit-7 button:focus {
	background: transparent !important;
	border: 0 !important;
	
}
/* in staging mode 
#account-header {
    display: inline-flex;
    width: 100%;
    justify-content: end;
} */
/* position absolute option
#account-header {
   display: inline-flex;
   position: absolute;
   top: 10px;
   right: 10px;
   z-index: 999;
}
*/

#account-header #c7-account {
    padding-right: 10px;
    display: inline-block;
}
#account-header #c7-cart .c7-user-nav__cart {
   display: flex;
}
#account-header > #c7-cart {
  display: inline-flex;
  margin-top: -15px;
}

button#c7-side-cart__header__close:hover {
    background: transparent;
    border: none;
}

#c7-cart ul {
    top: 0 !important;
    position: relative;
    width: auto !important;
}

#c7-account ul {
    display: block;
    position: relative;
    padding: unset;
    width: auto;
    max-width: 200px;
}

body #c7-account .c7-user-nav__account__dropdown__header a {
	display: flex;
    flex-direction: column;
    align-items: flex-start
}

body #c7-cart a {
    white-space: normal !important;
    padding: 0 !important;
}
body #c7-cart .c7-order-summary__buttons a {
    display: flex;
    justify-content: center !important;
}
body #c7-cart .c7-order-summary__buttons a.c7-btn--alt {
    color: #000000;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.2px;
}

body #c7-cart .c7-order-summary__buttons a:hover {
    color: #FFFFFF !important;
}

a.c7-btn.c7-btn--primary {
    color: #000000;    
	text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.2px;
    display: flex;
    justify-content: center;
    width: auto;
    border: 2px solid var(--c7-primary-button-bg-hover);
}

a.c7-btn.c7-btn--primary:hover {
	color: #FFFFFF;
}

body #c7-cart .c7-btn.c7-btn--primary {
    border: 2px solid var(--c7-primary-button-bg-hover);
    color: #000000;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.2px;
    display: flex;
    justify-content: center;
    width: auto;
}

body #c7-cart .c7-btn.c7-btn--primary:hover {
	color: #FFFFFF;
}


.c7-order-item {
    display: flex !important;
    align-items: flex-start;
    padding: 10px 0 !important;
    list-style-type: none !important;
    margin: 0 !important;
}
#c7-account, #c7-cart {
    display: inline-block;
    margin-left: 5px;
}
#c7-account .c7-user-nav__account a {
    color: #000000;
    text-transform: uppercase;
    padding: 0px;
}
#c7-account .c7-user-nav__account__dropdown a {
    color: var(--c7-body-text-color);
}
#c7-cart .c7-user-nav__cart .c7-link:first-child {
    background-color: transparent;
    border: none;
} 
body .c7-reservation-widget .c7-date-picker-dropdown button {
    padding: 0px;
}
#c7-cart .c7-user-nav__cart .c7-user-nav__cart__title svg {
    stroke: #000000;
}
#c7-cart .c7-user-nav__cart__count {
    background-color: #000;
}
#c7-cart .c7-user-nav__cart button.c7-link {
  padding: 0px !important;
}
#c7-cart .c7-order-item__description {
    margin-top: 10px;
    font-size: 10px;
}

/* Overall styling */

/* button styles */
/* (Reglas vacías eliminadas; agrega propiedades si las necesitas) */

/* slide out cart */
body .c7-side-cart__header button {
    background-color: transparent;
    color: #000;
}
/* shrink checkout buttons */
body .c7-order-summary__buttons a {
    /* font-size: 12px; */
}

/* make link buttons look like links */
body button.c7-link {
    background-color: transparent;
    border: 0px;
    color: var(--c7-body-text-color);
}
body button.c7-link:hover {
    opacity: 0.6;
}

/* dashboard tweaks */
.c7-account__dashboard__message {
    margin-bottom: 20px;
}
.c7-account-row {
    max-width: 100% !important;
    justify-content: space-between !important;
}
body .c7-account-login__password-options {
  
}
body .c7-account-login__options {
  
}

/* cart styling */
.cart-row h1 {
    display: none;
}
.c7-cart__wrapper, .c7-account__dashboard {
    max-width: 100% !important;
    margin: 0px auto !important;
    justify-content: space-between !important;
}

/* fix lightboxes that go behind sticky header */
body .c7-modal-container {
  top: 14%;
}

/* hide club cancelation 
.c7-account-club .c7-account-blocks--status .c7-account-block__actions {
display:none !important;
}
.c7-callout--club .c7-callout__details li:nth-child(2), .c7-callout--club .c7-callout__details li:nth-child(3) {
display:none !important;
}*/

/* hide club skip
.c7-account-club__shipment__footer .c7-btn--skip {
display:none !important;
}*/


/* hide delete account 
.c7-account-details .c7-account-details__delete-account {
display:none !important;
}*/

.c7-club-join-button a.c7-btn.c7-btn--primary {
    border: 2px solid var(--c7-primary-button-bg-hover);
    font-size: 12px;
    color: #000000;
    letter-spacing: 1.2px;
}

.c7-club-join-button a.c7-btn.c7-btn--primary:hover {
	color: #FFFFFF !important;
}

/* collection styling */
.c7-product-collection .c7-product {
    display: block !important;
    text-align: center !important;
}
.c7-product-collection__product-list {
    grid-template-columns: 1fr 1fr 1fr !important;
}
.c7-product-collection .c7-product img {
  width: auto;
  object-fit: cover;
}
.c7-product-collection .c7-product .c7-product__add-to-cart__form {
  justify-content: center !important;
  align-items: center !important;
}

/* calendar styling ADA fix */
.c7-reservation-widget .c7-date-picker-input button {
    background-color: transparent !important;
    border-radius: 0px !important;
}
.c7-reservation-widget .c7-date-picker-dropdown button {
    color: inherit;
    background-color: inherit;
}

/* mobile overrides */
@media screen and (max-width: 1024px){
   /* two column on tablet */ 
  .c7-product-collection__product-list {
    grid-template-columns: 1fr 1fr !important;
    } 
}

@media screen and (max-width: 767px){

   /* mobile header position */
   #account-header {
        top: 0px;
    }

    /* one column on mobile */
    .c7-product-collection__product-list {
    grid-template-columns: 1fr !important;
    } 
    
    .c7-product-specs {
        text-align: left !important;
        margin: 0px !important;
    }
    .c7-product-specs h2 {
        text-align: left !important;
    }
}