/* Piada Italian Street Food – brand skin
   Based on provided new-minimalism.css template
   NOTE: Structure/organization preserved exactly, only variables and requested logo header rules added
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  /* Colors */
  --primary: #231f20;     /* brand black */
  --secondary: #e98c3d;   /* orange accent */
  --dark: #000000;        /* absolute black */
  --light: #ffffff;       /* white */
  --grey: #333;        /* neutral grey */

  /* Fonts */
  --primary-font: 'Cinzel', serif;
  --secondary-font: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;

  /* Bootstrap overrides */
  --bs-black: var(--dark) !important;
  --bs-link-hover-color-rgb: var(--dark) !important;
  --bs-primary: var(--primary) !important;
  --bs-background-blue: var(--secondary) !important;
  --bs-emphasis-color: var(--primary) !important;
  --bs-heading-color: var(--primary) !important;
  --bs-medium-grey: var(--primary) !important;
  --bs-highlight-rgb: var(--primary) !important;
  --bs-highlight: var(--primary) !important;
  --bs-secondary-rgb: var(--dark) !important;
  --bs-gray: var(--dark) !important;
}

/* === Demo-only header logo centering (Piada) === */
.logo-container {
    display: flex;
    justify-content: center;
}

.logo-container span.navbar-brand {
    display: block;
}

span.header-logo.navbar-brand {
    background: url(../../XImages/base_images/piada-logo.png) no-repeat center center !important;
    background-size: 100% !important;
    height: 65px;
    /* height: 5.571429rem; */
    width: 380px;
    /* width: 15.714286rem; */
}


@keyframes descend {
	from {
		opacity: 0;
		transform: translateY(-50px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.card {
	opacity: 0;
	animation: descend .9s ease-in-out forwards;
}


/* Universal Elements */
a {
	color: var(--primary);
	background: transparent;
}

a:hover {
	color: var(--dark);
	background: transparent;

}

body {
	font-family: var(--secondary-font);
	color: var(--dark);
}

h1,
h2,
h3,
h4,
h5 {
	font-family: var(--primary-font);
}


/* End Universal Elements */


/* Header */

.logo-container {
	display: flex;
	justify-content: center;
}

.logo-container>a {
	display: block;
	width: 60%;
	max-width: 420px;
	min-width: 160px;
}

.logo-container>a>img {
	display: block;
	width: 100%;
	height: auto;
}

.navbar-main {
	height: 50px;
}

.navbar-nav {
        margin-top: 0 !important;
}

.c-dropdown-menu {
	padding: 0 15px !important;
}

.c-profile__group .c-dropdown-menu-card .c-dropdown-card .c-profile-links .c-dropdown-menu li .dropdown-item {
	border-bottom: 1px solid var(--dark) !important;
}

.c-btn__signin .btn,
.c-btn__signup .btn {
	white-space: nowrap;
}

.c-btn__signup .btn {
        border: 3px solid var(--secondary) !important;
        border-radius: 0 !important;
}

.c-btn__signup .btn:hover,
.c-btn__signup .btn:active{
        background: var(--secondary)
}

.logo-container>a>img {
	width: 100%;
	display: block;
}

.navbar-main {
	background: var(--primary) !important;
	display: flex;
	justify-content: space-between;
}

.navbar-brand {
	display: none;
}

.nav-item__language {
	display: none !important;
}


.header-links {
	display: none;
}

.header-container {
	width: 100%;
	display: flex;
	justify-content: space-between
}

.nav.c-nav__delivery {
	background: var(--grey) !important;
	color: var(--light) !important;
}

.nav-item>.c-btn__sm {
	color: var(--secondary);
}

.nav-item>img {
	filter: grayscale(1) contrast(7);
}

/* Desktop Header */
@media only screen and (min-width:48.001rem) {}

/* Mobile Header */
@media only screen and (max-width:48rem) {
	.navbar-toggler-icon {
		filter: invert(1);
	}

	.c-nav__delivery .c-label__text {
		color: var(--light);
	}

	.c-header__main>nav>div {
		margin: auto;
		display: block !important;
	}

	.logo-container>a>img {
		margin: auto;
		width: 25% !important;
	}

	.navbar-cart__wrapper {
		display: flex;
		justify-content: space-between;
		position: absolute;
		top: 7px;
		width: 100%;
	}

	header.c-header__main nav.navbar {
		padding: 0.25rem 1rem .75rem !important;
                height: 70px;
	}
        #carousel.catering-menu__slider.position-sticky {
                top: 110px !important;
        }


}

/* End Header */

/* Footer */

.left-footer-links, 
.right-footer-links {
    display: flex;
    flex-direction: column;
}

.top-footer-links {
    display: flex;
    width: 50%;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
}

.bottom-footer {
	width: 100%;
	padding: 20px 20px 5px 20px;
}

.bottom-footer-links {
	display: flex;
	width: 100%;
	justify-content: space-between;
}

.bottom-footer-links {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: column;
}

.top-footer {
    display: flex;
    width: 100%;
    padding: 20px 0;
    border-top: 3px double var(--secondary);
    justify-content: center;
    flex-direction: column;
}

.bottom-footer {
    display: flex;
    padding-top: 10px;
    padding-right: 45px;
    border-top: 1px dashed var(--light);
    flex-direction: column;
}

footer {
    padding-top: 5px;
    background: var(--grey);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

footer a {
	text-decoration: none;
}

.middle-footer-logo>img {
	width: 10%;
        margin-top: -60px;
}

.middle-footer-logo {
    display: flex;
    justify-content: center;
}

#monkeyCopyRight>a {
	color: var(--secondary);
}

.copy_text {
	color: var(--light);
}

/* Desktop Footer */
@media only screen and (min-width:48.001rem) {}


/* Mobile Footer */

@media only screen and (max-width:48rem) {

	.top-footer,
	.top-footer-links,
	.bottom-footer,
	.bottom-footer-links {
		flex-direction: column;
		width: 100%;
		align-items: center;
		text-align: center;

	}

	.middle-footer-logo>img {
		width: 25%;
	}

	.bottom-footer {
		padding: 10px 0;
	}
}


/* End Footer */


/* Main Content */

.c-checkout__fixed {
    max-width: 399px !important;
}

#carousel.catering-menu__slider.position-sticky {
        top: 87px;
}

.card-product__price .btn {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
}

.card-product__price .btn-quick-add img {
	filter: brightness(0) invert(0) !important;
	transition: filter 0.3s ease;
	background: transparent !important;
}

.card-product__price .btn-quick-add:hover img {
	filter: brightness(0) invert(1) !important;
}

.card-product__price .btn.btn-quick-add {
        padding: 0.3rem !important
}

.btn-outline-primary {
	background-color: transparent;
	color: var(--light);
	border: 3px solid var(--secondary);
        border-radius: 0 !important;
}

.card .btn-outline-primary,
.c-checkout__member .btn-outline-primary {
        color: var(--dark) !important;
}

.c-checkout__member .btn-outline-primary {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
}

.c-checkout__details {
	border: 1px solid var(--dark);
	padding: 20px;
	background: var(--light);
	border-radius: 0.5rem;
}

#btnCheckoutFixed a.c-btn__checkout, 
#quantityCartFixed #item-cart-btn {
    background: transparent !important;
    border: 3px solid var(--secondary) !important;
    color: var(--dark) !important;
    border-radius: 0 !important;
}

#btnCheckoutFixed a.c-btn__checkout:hover,
#btnCheckoutFixed a.c-btn__checkout:active,
#quantityCartFixed #item-cart-btn:hover,
#quantityCartFixed #item-cart-btn:active {
    background: var(--secondary) !important;
    border: 3px solid var(--secondary) !important;
    color: var(--light) !important;
}



#v-loyalty-rewards,
#v-saved-locations {
	margin-top: 3.375rem;
}


#v-loyalty-rewards>div:nth-child(1),
#v-saved-locations>div:nth-child(2) {
	display: none;
}

#v-pills-tab>.nav-item>.nav-link {
	border-bottom: 1px solid var(--dark);
}

.c-sidebar__account {
	margin: 3.375rem 3rem;
	border: 1px solid var(--dark);
	padding: 20px;
	background: var(--light);
	border-radius: 0.5rem;

}

#accountInformationForm {
	border: 1px solid var(--dark);
	padding: 20px;
	background: var(--light);
	border-radius: 0.5rem;
}

/* flat nav */
.c-product__tabs .nav-tabs .nav-item .nav-link.active::before {
    background-color: var(--secondary);
    width: calc(100% + 0.5rem);
    left: -0.25rem;
}

.c-product__tabs .nav-tabs .nav-item .nav-link:hover, .c-product__tabs .nav-tabs .nav-item .nav-link.active {
    color: var(--secondary) !important;
    font-weight: bold
}

#btnCheckoutFixed {
	background: var(--light);
	padding: 1rem 3rem 1rem 2.1rem;
}

.c-product-item__details .c-product__block {
	padding: 24px;
	border: 1px solid black;
	background: white;
	border-radius: 0.5rem;
}

.accordion-item:last-of-type .accordion-button.collapsed {
	border-radius: 0;
}

.btn-primary {
	--bs-btn-color: var(--light) !important;
	--bs-btn-bg: var(--primary) !important;
	--bs-btn-border-color: var(--grey) !important;
	--bs-btn-hover-color: var(--light) !important;
	--bs-btn-hover-bg: var(--primary) !important;
	--bs-btn-hover-border-color: none;
	--bs-btn-focus-shadow-rgb: 95, 95, 95;
	--bs-btn-active-color: var(--light) !important;
	--bs-btn-active-bg: var(--dark) !important;
	--bs-btn-active-border-color: var(--dark) !important;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(24, 24, 24, 0.125);
	--bs-btn-disabled-color: var(--light) !important;
	--bs-btn-disabled-bg: var(--grey) !important;
	--bs-btn-disabled-border-color: var(--grey) !important;
        border-radius: 0 !important;
}

.btn.btn-primary:hover {
	background-color: var(--primary) !important;
}

.c-card__product .card img,
.c-product-item__details .c-product__details .c-product__img {
	background-color: var(--light);
}

#btnGroupTypeFilter, 
#btnGroupTimeFilter,
#btnGroupOrderByFilter {
     color: var(--dark);
}

#sidebarCart .btn-add-to-cart.c-collapse-arrow:hover,
#sidebarCart .btn-add-to-cart.c-collapse-arrow:active,
#sidebarCart .btn-add-to-cart.c-collapse-arrow {
	background-color: var(--secondary) !important;
	border: 1px solid var(--dark) !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
	background-color: var(--secondary);
}

.c-collapse-arrow:hover {
	background-color: var(--secondary) !important;
}


.btn.btn-outline-primary:hover,
.btn.btn-outline-primary:active {
	color: var(--light) !important;
	border: 3px solid var(--secondary) !important;
	background: var(--secondary) !important;
}

.c-btn__signin>a,
.c-btn__signin>a:hover {
	background: transparent !important;
	color: var(--light) !important;
}

.c-btn__signin:hover,
.c-btn__signup:hover,
#btnCheckout:hover {
	transform: scale(1.03);
}


#heading_preorder,
.c-content__heading {
	color: var(--primary)
}

/* Profile Menu Icon */
.c-profile__group .c-profile__dropdown span {
	color: var(--secondary) !important;
}

.c-sidebar__cart.open,
.c-sidebar__cart.close {
	transition: all 0.3s ease-in-out;
}

.c-product__tabs .nav-tabs .nav-item .nav-link:hover {
	color: var(--primary) !important;

}

.c-product__tags .badge {
	background-color: var(--secondary) !important;
}

.c-product__sub-categries.row {
	padding: 10px;
}

.c-card__product .card:hover {
	border-color: var(--dark);
	transform: scale(1.02) !important;
	filter: drop-shadow(2px 2px 2px var(--secondary));
}

.c-card__product .card {
	border: 2px solid var(--dark);
	transition: transform 0.3s ease;
}

.item-header {
	text-transform: uppercase;
	font-family: var(--primary-font);
}

.dropdown-menu,
.overflow-auto {
	scrollbar-color: var(--light) var(--primary);
	scrollbar-width: thin;
}


/* Desktop Main Content */
@media only screen and (min-width:48.001rem) {
	.c-card__product .card {
		scale: 0.9;
	}

}

/* Mobile Main Content*/
@media only screen and (max-width:48rem) {}

/* End Main Content */

/* Things that should not be local, these really need to be main app style rules */

@media (max-width: 48em) {
	.c-sidebar__block {
		height: 0;
	}
}

.credit-card-multi-image {
	max-width: 250px;
}

.card-product__price .btn-quick-add img {
	filter: brightness(0) invert(1);
	transition: filter 0.3s ease;
	background: transparent !important;
}

.card-product__price .btn-quick-add:hover img {
	filter: none;
}

/* Menu Item Image Sizer */
.c-product-item__details .c-product__details .c-product__img.default_product_image {
	object-fit: cover;
}

/* Add background to edit button */
#activateEditButton {
	background-color: var(--light);
}

/* Hide Loyalty */
.c-dropdown-menu li:has(a[href="/online/loyaltyReward"]),
.c-dropdown-menu li:has(a[href="/online/dev100/loyaltyReward"]),
.c-sidebar__account li:has(a[href="/online/loyaltyReward"]),
.c-sidebar__account li:has(a[href="/online/dev1/loyaltyReward"]) {
	display: none;
}

/* Credit Card Selection */
[id^="profile_id_-"][id$="_label"]:has(input:checked)::before {
	content: "\2713\0020 ";
	color: var(--bs-highlight);
	margin-right: 0.5em;
}

/* Hide CC choice when only one
.c-payment-method__item .c-payment-method__item div.c-form-choice:has(input:nth-of-type(1):last-of-type)
{
    display: none;
} */

#payment_method_2 #cc_profiles li.c-payment-method__item--profile-MOO:has(.c-form-choice:nth-of-type(1):last-of-type) {
	display: none;
}

/* END Credit Card Selection */

/* Add to cart sticky fix */
.c-main__content.mainContentActive {
	padding-bottom: 0px !important;
	margin-bottom: 0 !important;
}

.c-quantity-cart__fixed.fixed-bottom {
	position: sticky;
	bottom: 0;
	left: auto;
	right: auto;
	z-index: 1020;
}

.c-quantity-cart__fixed {
	width: calc(100% - 400px);
	margin-inline: auto;
	/* center the bar within its container */
	transform: translateX(0);
	display: none;
	opacity: 0;
	transition: opacity 1s, visibility 1s ease-in-out;
}

.c-quantity-cart__fixed.show {
	display: block;
	opacity: 1;
}

.c-quantity-cart__fixed {
	width: 100%;
}

/* END Add to cart sticky fix */

/* Hide dietary icons on production items */
.c-selection__items .c-items__group .c-dietary__tags {
	display: none !important;
}

/* END Hide dietary icons on production items */




/* Add guest-pay styling */
body.guestpay header.c-header__main {
    padding-top: 0rem !important
}

body.guestpay span.generic-logo.navbar-brand {
    background: url(../../XImages/base_images/CallYourMotherDeli-Logo.png) no-repeat center center;
    background-size: contain;
}

body.guestpay .navbar-cart__wrapper {
    top: 0 !important;
}