/* override c7 styles */
body {
	--c7-field-border-radius: 5px; 
	--c7-button-border-radius: 5px; 
	--c7-primary-button-bg: transparent;
	--c7-primary-button-bg-hover:#0a3644;
	--c7-primary-button-text-color: #fff;
	--c7-heading-font-family: 'Amiri', sans-serif;
	--c7-heading-font-weight: 500;
	--c7-font-family: 'Lato', sans-serif;
	--c7-body-text-color: #000;
	--c7-link-color:#000;
	--c7-heading-text-color: #711011;
	--c7-field-option-selected-color: #711011;
	--c7-field-option-focus-color: #0a3644;
}

/* account header */
#account-header {
	position: absolute;
	display: inline-flex;
	justify-content: end;
	z-index: 9999;
	top: -167px;
	right: 10px;
}

/*body.new-home #account-header {
top: -167px !important;
}*/

/* Squarespace */
/* 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;
}
#c7-account, #c7-cart {
	display:inline-block;
	margin-left: 5px;

}
#c7-account .c7-user-nav__account a {
	color:#fff;
	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;
} 

.c7-content {
	max-width: 1250px !important;
	padding: 80px 0 !important;
	margin: 0 auto !important;
}

.c7-product-collection__product-list .c7-product .c7-product__teaser {
	display: none;
}

.c7-product-collection__product-list .c7-product .c7-product__image {
	text-align: center;
	display: flex !important;
	justify-content: center;
	margin-bottom: 20px !important;
}

.c7-account .c7-form {
	margin: 0 auto !important;
}
.c7-content.c7-account-login {
	max-width: 500px !important;
}

.c7-product-detail .c7-product .c7-product__image {
	display: flex !important;
	text-align: center;
	justify-content: center;
}

.c7-product-detail .c7-product .c7-product__image img {
	width: auto !important;
	height: auto !important;
}

body .c7-reservation-widget .c7-date-picker-dropdown button {
	padding: 0px;
}
#c7-cart .c7-user-nav__cart .c7-user-nav__cart__title svg,
.c7-user-nav__account__name svg {
	stroke:#fff;
}
#c7-cart .c7-user-nav__cart__count {
	background-color: white !important;
}
#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 */
.c7-form label:not(.c7-radio, .c7-checkbox, .duet-date__mobile-heading), .c7-label, .c7-form legend {
	display: unset;
}
label.c7-required,
label#c7-\:r1\:-email-label {

}

footer label.c7-required,
label#c7-\:r1\:-email-label {
	display: none !important;
}

.c7-subscribe:not(.footer-form) button.c7-btn.c7-btn--primary {
	background: #FFFFFF !important;
	margin: 15px !important;
}
.c7-subscribe:not(.footer-form) button.c7-btn.c7-btn--primary span {
	color: #000000 !important;
}
.footer-form-container {
	display: flex;
	justify-content: center;
	align-items: center;	
	padding: 60px 20px;
}
.footer-form-container h2 {
	margin-right: 20px;
}
.footer-form.c7-subscribe {
	max-width: 300px;
}
.footer-form.c7-subscribe .c7-form__field {
	margin-bottom: 0;
}
.footer-form.c7-subscribe .c7-form__field label {
	display: none;
}
.footer-form button.c7-btn.c7-btn--primary {
	margin: 0 0 0 12px;
}

/* button styles */
body .c7-btn {
	background: #711011!important;
	color: #fff!important;
	text-transform: uppercase!important;
}
body .c7-btn:hover, body .c7-cart__buttons .c7-btn:hover {
	background: #0a3644!important;
}
.wine-club-button a {
	border-radius: 3px !important;
	text-transform: uppercase !important;
}
@media (min-width: 1024px) {
	.wine-club-button {
		position: absolute;
		top: 70px;
		right: 45px;
	}
}
@media (max-width: 1024px) {
	.wine-club-button {
		position: relative;
		left: 50%;
		margin-left: -60px;
		margin-top: 30px;
		margin-bottom: 0px;
	}
}

/* .c7-btn--primary, .c7-btn--primary--small {
background: black !important;
color: white;
}

.c7-btn--primary:hover, 
.c7-btn--primary--small:hover {
background: white !important;
color: black;
border: 1px solid black;
border-radius: 3px;
}

a.c7-btn--primary:hover, 
a.c7-btn--primary--small:hover {
padding-top: 10px !important;
padding-bottom: 10px !important;
} */

#c7-cart .c7-user-nav__cart button.c7-link,
.c7-order-item button.c7-link {
	background: transparent !important;
}
.c7-link span {
	color: black !important;
}

button.c7-link:hover {
	border: 0 !important;
}
#c7-side-cart__summary__proceed {
	color: white !important;
}
#c7-side-cart__summary__proceed:hover {
	color: black !important;
}
button#c7-side-cart__header__close {
	background: transparent !important;
}
/* 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);
	padding: 0 !important;
}
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 {

}

body .c7-account__header {
	text-align: center !important;
	padding: 0;
	background: none;
}

body .c7-account__header * {
	text-align: center!important;
}

body .c7-account__menu {
	box-shadow: none;
}

body .c7-account-block__title {
	font-family: var(--c7-heading-font-family);
}

.c7-club__details__content {
	white-space: pre-line;
}

.c7-club__details {
	background: white;
	padding: 20px;
	box-shadow: 0px 0px 10px 0px rgb(0, 0, 0, 0.25);
}

/* 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-checkout__footer {
	display: none !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: -250px;
		display: inline-flex;
		justify-content: end;
		align-items: flex-end;
		align-content: flex-end;
		flex-direction: column-reverse;
	}

	.c7-user-nav__account {
		padding-right: 0 !important;
	}

	#account-header #c7-account {
		padding-right: 0 !important;
	}

	#c7-account, #c7-cart {
		margin-left: 0 !important;
	}

	/* 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;
	}
	.c7-content {
		padding: 40px 20px !important;
	}
	.footer-form-container {
		flex-direction: column;
	}
	.footer-form-container h2 {
		margin-bottom: 20px;
		margin-right: 0;
	}
}

@media (min-width: 768px) {
	html body header .dp-navbar .dp-menu {
		padding: 36px 0 0px;
	}
}