/* override c7 styles */
body {
	--c7-field-border-radius: 0px; 
	--c7-button-border-radius: 50px; 
	--c7-primary-button-bg: transparent;
	--c7-primary-button-bg-hover:#000;
	--c7-primary-button-text-color: #000;
	--c7-heading-font-family: "Nexa-Book";
	--c7-heading-text-color:#1c1b19;
	--c7-heading-font-weight: 300;
	--c7-font-family: "Averta-Regular";
	--c7-body-text-color: #1c1b19;
	--c7-link-color:#157cbc;
	--c7-field-option-selected-color:#157cbc;
	--c7-field-option-focus-color:#c4e7fc;
}

/* account header */
#account-header {
	display: inline-flex;
	width: 100%;
	justify-content: end;
	padding: 5px;
	position: relative;
	z-index: 1000000;
	background: #fff;
	box-shadow: 0 2px 4px 0 rgba(0,0,0,.03);
}

/* 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;
}
*/
header.header {
	transform: unset !important;
}
header.header .header-nav {
	height: 60px;
}
#account-header #c7-account {
	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:#1c1b19;
	font-family: "Averta-Bold";
	font-size: clamp(11px, 0.83vw, 12px);
	line-height: 2.67;
	letter-spacing: 0.34em;
	font-weight: 700;
	text-transform: uppercase;
	padding:0px;
}
#c7-account .c7-user-nav__account__dropdown a {
	color: #1c1b19;
}
body .c7-user-nav__account__dropdown__logout {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#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: #1c1b19;
}
#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 */
body.page .c7-btn {
	background: linear-gradient(90deg, #157cbc 0%, #157cbc 100%)!important;	
	color: #fff !important;
	border: 3px solid #157cbc;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.24em;
	font-family: "Averta-Bold", sans-serif;
	font-size: 12px;
	text-decoration: none;
	max-height: 46px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50px;
	transition: ease all .2s!important;
}
body.page .c7-btn:hover, 
body.page .c7-cart__buttons .c7-btn:hover {
	background: linear-gradient(90deg, #3FB2F8 0%, #3F73F8 100%)!important;
	color: #fff!important;
	border: 3px solid rgba(255,255,255,.56)!important;
}


/* slide out cart */
body .c7-side-cart__header button {
	background-color: transparent;
	color:#000;
}
/* shrink checkout buttons */
body.page .c7-account .c7-btn,
body .c7-order-summary__buttons a {
	font-size: 10px !important;
	letter-spacing: 0.14em !important;
}


/* 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;
}*/

/* hide reservations 
.c7-account__menu li:nth-child(4) {
display:none;
}
.c7-account-dashboard__left-column .c7-account-block:nth-child(3) {
display:none;
}
.c7-user-nav__account__dropdown__header ul li:nth-child(4) {
display:none;
}
*/

/* 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;
}

/* fix default right margin on image grid */
.c7-product-collection .c7-product__image {
	margin-right: 0px;
}
.c7-product-collection .c7-product .c7-product__add-to-cart__form {
	justify-content: center !important;
	align-items: center !important;
}
.c7-product-collection .c7-form.c7-product__add-to-cart {
	margin: 0 auto;
}

/* 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;
}

/* headings */
body .c7-order-item__title,
body .c7-order-item__title a, 
body .c7-product__title, 
body .c7-product__title a, 
body .c7-account__header p:first-of-type, 
body #c7-modal-title, 
body .c7-account-block__title, 
body .c7-form .c7-h1 {
	font-family: var(--c7-heading-font-family);
	line-height: 1.3;
	font-weight: 400;
	color: #1c1b19 !important;
	text-transform: uppercase;
}

body h1.c7-h1 {
	text-align: center;
	text-transform: uppercase;
}

body h2.c7-h2 {
	letter-spacing: 0;
	text-transform: uppercase;
}

/* main */
.page-id-718 .entry-header,
.page-id-721 .entry-header,
.page-id-722 .entry-header,
.page-id-723 .entry-header,
.page-id-724 .entry-header,
.page-id-725 .entry-header,
.page-id-726 .entry-header {
	display: none;
}

.page-id-718 .content-area #main,
.page-id-721 .content-area #main,
.page-id-722 .content-area #main,
.page-id-723 .content-area #main,
.page-id-724 .content-area #main,
.page-id-725 .content-area #main,
.page-id-726 .content-area #main {
	max-width: 1140px;
}

#c7-content p {
	margin-bottom: inherit;
}

#c7-modal {
	z-index: 1000000;
}

.page-id-723 .hero.hero-all-wines .hero-navigation,
.c7-product-collection h1.c7-h1,
.c7-product-collection .c7-product__teaser {
	display: none;
}

.page-id-723 .hero .hero-title {
	font-size: 3rem;
	line-height: 1.2;
	text-transform: uppercase;
	margin-top: 56px;
}

.page-id-723 .shop-all-page .wine-collections {
	margin-top: 50px;
}

.c7-product__teaser p {
	font-size: 14px;
	line-height: 1.5;
}

/* 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;
	}
}