/* custom fixes */
.page-template-default .content .c7-content img {
	max-height: 300px !important;
}

.page-template-default .content .c7-content .c7-product-detail .c7-product__image img {
	max-height: 600px !important;
}

/* El card principal */
.c7-product-collection .c7-product {
	display: flex !important;
	flex-direction: column;
	height: 100% !important; /* Importante: ocupa toda la altura de la celda del grid */
}

/* La imagen mantiene su tamaño natural */
.c7-product-collection .c7-product__image {
	flex-shrink: 0;
}

/* El contenedor de detalles se expande */
.c7-product-collection .c7-product__details {
	display: flex;
	flex-direction: column;
	flex-grow: 1; /* Ocupa todo el espacio restante */
}

/* Título mantiene su altura natural */
.c7-product-collection .c7-product__title {
	flex-shrink: 0;
}

/* El teaser es el que absorbe las diferencias de altura */
.c7-product-collection .c7-product__teaser {
	flex-grow: 1; /* Este se expande para llenar el espacio */
	margin-bottom: 1rem; /* Espacio antes del form */
}

/* El form se mantiene al fondo */
.c7-product-collection .c7-product__add-to-cart {
	flex-shrink: 0;
	margin-top: auto; /* Esto lo empuja al fondo */
}

.footer {
	z-index: 999 !important;
}

.c7-checkout__summary-container {
	background-color: #f3e5da !important;
}

.c7-account-details__delete-account {
	display: none !important;
}

body .c7-product__title {
	font-weight: var( --c7-heading-font-weight );
}

/* override c7 styles */
body {
	--c7-field-border-radius: 0px; 
	--c7-button-border-radius: 0px; 
	--c7-primary-button-bg: transparent;
	--c7-primary-button-bg-hover:#000;
	--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-bg: #f3e5da !important;
}

/* account header */
#account-header {
	display: inline-flex;
	justify-content: end;
	position: absolute;
	padding: 10px 20px 0 0;
	width: auto;
	right: 0;
	z-index: 1000;
}

/* 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;
	margin-top: 10px;
}
#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: #000;
	text-transform: uppercase;
	padding:0px;
}
#c7-account .c7-user-nav__account__dropdown a {
	color: var(--c7-body-text-color);
	padding-left: 5px;
	padding-right: 5px;
	text-decoration: none;
	border-bottom: none;
}
.c7-link.c7-user-nav__account__dropdown__logout {
	padding-top: 5px;
}
body #c7-account .c7-user-nav__account__dropdown ul a:hover, 
body #c7-account .c7-link.c7-user-nav__account__dropdown__logout:hover {
	border-bottom: none;
	background: #000;
	color: #f3e5da;
}
body .c7-user-nav__account__dropdown ul {
	border-color: #000;
}
body .c7-link.c7-user-nav__account__dropdown__logout svg {
	padding-top: 5px;
}
body .c7-link.c7-user-nav__account__dropdown__logout:hover svg {
	stroke: #f3e5da;
}

#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:#000;
}
#c7-cart .c7-side-cart {
	z-index: 10000;
	background: #f3e5da;
}
#c7-cart .c7-side-cart .c7-side-cart__summary-container {
	background: #f3e5da;
}
#c7-cart .c7-user-nav__cart__count {
	background-color: #000;
}
#c7-cart .c7-user-nav__cart button.c7-link {
	padding: 0px !important;
	margin-top: 0;
	font-size: 12px;
}
#c7-cart .c7-order-item__description {
	margin-top: 5px;
	font-size: 10px;
}
#c7-cart .c7-side-cart__summary-container, 
#c7-cart .c7-order-summary__item--total {
	border-color: #000;
}

#c7-cart .c7-order-item {
	align-items: center;
}

#c7-cart .c7-order-item__title {
	font-size: 1rem;
	line-height: 1;
}

#c7-content .c7-order-item select,
#c7-cart .c7-order-item select {
	background-image: url('data:image/svg+xml; utf8, <svg aria-hidden="true" focusable="false" role="presentation" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
	background-color: transparent;
	background-position: center right 8px;
	background-repeat: no-repeat;
	border: none;
	border-bottom: 1px solid #000;
}

body .c7-cart .c7-order-summary__item--subtotal, 
body .c7-checkout .c7-order-summary__item--subtotal,
body .c7-cart__summary-container .c7-order-summary,
body .c7-order-summary__item--total,
body .c7-cart__item-container .c7-order-item,
body .c7-cart__item-container .c7-order-item:last-child {
	border-color: #000;
}

.c7-product-detail .c7-order-item__details {
	text-align: left;
}
.c7-cart__item-container .c7-order-item {
	align-items: center;
}
/* Overall styling */

/* button styles */
body .c7-btn, 
body #c7-cart .c7-btn,
body #c7-cart .c7-btn--alt.c7-btn,
body.page-template-default > section .container .block[data-type="text"] .c7-btn {
	background: #f3e5da;
	border-radius: 10px;
	border: 2px solid #000 !important;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	letter-spacing: 0.1em;
	line-height: 0;
	font-weight: 600;
	text-transform: uppercase;
}
body .c7-btn:hover, 
body #c7-cart .c7-btn:hover,
body #c7-cart .c7-btn--alt.c7-btn:hover,
body.page-template-default > section .container .block[data-type="text"] .c7-btn:hover, 
body.page-template-default > section .container .block[data-type="text"] .c7-cart__buttons .c7-btn:hover {
	color: #f3e5da;
	background: #000;
}

#revinate_footer_api_form button {
	position: absolute;
	width: 35px;
	background: transparent;
	border: none;
	right: 0;
	top: -5px;
}

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

body .c7-checkout__footer {
	padding: 0 20px;
}


/* 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 {

}

body #c7-content .c7-account-login a:hover {
	text-decoration: none;
	opacity: 0.8;
}

body .c7-user-nav__account__dropdown {
	background: #f3e5da;
}

body #c7-content .c7-account__header a {
	border-bottom: none;
}

/* 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 */
body.page-template-default.page-id-98186 > section .container .block[data-type="text"],
body.page-template-default.page-id-98187 > section .container .block[data-type="text"],
body.page-template-default.page-id-98188 > section .container .block[data-type="text"],
body.page-template-default.page-id-98189 > section .container .block[data-type="text"],
body.page-template-default.page-id-98190 > section .container .block[data-type="text"],
body.page-template-default.page-id-98191 > section .container .block[data-type="text"],
body.page-template-default.page-id-98192 > section .container .block[data-type="text"] {
	max-width: unset;
}


.c7-product-collection .c7-product {
	/*display:block !important;*/
	text-align: center !important;
}
.c7-product-collection__product-list {
	grid-template-columns: 1fr 1fr 1fr !important;
	row-gap: 40px;
}
.page-template-default .c7-product-detail .c7-product__image img,
.page-template-default .c7-product-collection .c7-product img {
	width: auto;
	object-fit:cover;
}
body.page-template-default > section .container .c7-product-collection .c7-product .c7-product__image > a {
	border-bottom: none;
}
.page-template-default .c7-reservation-widget select,
.page-template-default .c7-reservation-widget input,
.page-template-default .c7-product__add-to-cart__form__quantity input,
.page-template-default .c7-product-collection .c7-product .c7-product__add-to-cart input,
.page-template-default .c7-coupon-group input {
	background: none;
	border: none;
	border-bottom: 1px solid #000;
}

body.page-template-default > section .container #c7-content .c7-product__details h1.c7-product__title {
	font-size: 1.5em;
	line-height: 1.2;
	text-align: left;
	margin-bottom: 10px;
}

body.page-template-default > section .container .block[data-type="text"] .c7-club,
body.page-template-default > section .container #c7-content .c7-product__details .c7-product__subtitle, 
body.page-template-default > section .container .block[data-type="text"] .c7-product__info * {
	text-align: left;
}

.c7-product-collection__product-list .c7-product__add-to-cart__price {
	text-align: center;
}

.c7-product__add-to-cart__price {
	text-align: left;
}

/* profile */
#c7-content .c7-form--login input {
	background: transparent;
	border: none;
	border-bottom: 1px solid #000;
}
#c7-content .c7-account-block {
	background: transparent;
	border: 1px solid #000;
	border-radius: 10px;
	text-align: left;
}
#c7-content .c7-account__header {
	background: transparent;
}
#c7-content .c7-account__menu {
	background: transparent;
	box-shadow: none;
}
#c7-content .c7-account-dashboard .c7-account-block__header {
	border-bottom: 1px solid #000;
}
/* 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;
}

/* 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;
	}
	body .page-template-default .content img, 
	body .page-template-menus .content img {
		max-height: 300px;
	}

	.page-template-default .content .c7-content .c7-product-detail .c7-product__image img {
		max-height: 400px !important;
	}
}