/* Busy Bee Dine at Home: dish cards, the - 1 + stepper and the carousels (Christmas pages only). */

/* Stepper: one pill (the wrapper) around - 1 +; the site's own quantity-box
   border, width and padding are switched off on the input inside it. */
.bbdah-card .quantity.bbdah-stepper { display: inline-flex !important; flex: 0 0 120px !important; width: 120px !important; max-width: 120px !important; align-items: center; justify-content: space-between; height: 40px; border: 1px solid #A78E7E; border-radius: 999px; padding: 0 4px !important; margin: 0 !important; box-sizing: border-box; background: transparent; overflow: hidden; }
.bbdah-card .quantity.bbdah-stepper .qty { border: 0 !important; flex: 0 0 30px !important; width: 30px !important; min-width: 30px !important; max-width: 30px !important; height: 100% !important; padding: 0 !important; margin: 0 !important; background: transparent !important; box-shadow: none !important; text-align: center; font-weight: 500; -moz-appearance: textfield; }
.bbdah-card .quantity.bbdah-stepper .qty::-webkit-outer-spin-button,
.bbdah-card .quantity.bbdah-stepper .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bbdah-card .quantity.bbdah-stepper .bbdah-step { flex: 0 0 auto !important; width: auto !important; max-width: none !important; border: 0 !important; background: transparent !important; box-shadow: none !important; cursor: pointer; padding: 0 8px !important; height: 100% !important; min-height: 0 !important; line-height: 1; font: inherit; font-size: 18px; color: #A78E7E !important; }
.bbdah-card .bbdah-step:hover { color: #780032 !important; }

/* Card: portion line sits directly under the name. */
.bbdah-card .bbdah-portion .elementor-heading-title { font-size: 15px !important; line-height: 1.3; color: #323232; }
.bbdah-card .e-loop-add-to-cart-form-container,
.bbdah-card .e-atc-qty-button-holder { gap: 12px; flex-wrap: nowrap !important; align-items: center; }
/* Add to Cart fills the rest of the row, as in the design. */
.bbdah-card .e-atc-qty-button-holder .add_to_cart_button { flex: 1 1 auto !important; width: auto !important; min-width: 0; text-align: center; height: 40px; display: inline-flex !important; align-items: center; justify-content: center; }

/* Carousels: round arrows top right, as in the design. */
.bbdah-carousel { position: relative; }
.bbdah-carousel .elementor-swiper-button { position: absolute; top: -118px !important; bottom: auto !important; width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #780032; color: #fff; transform: none !important; z-index: 2; }
.bbdah-carousel .elementor-swiper-button-prev { left: auto !important; right: 76px !important; background: #C999AD; }
.bbdah-carousel .elementor-swiper-button-next { right: 0 !important; }
.bbdah-carousel .elementor-swiper-button svg { fill: #fff; width: 18px; height: 18px; }
.bbdah-carousel .elementor-swiper-button i { color: #fff; font-size: 18px; }
.bbdah-carousel .elementor-swiper-button.swiper-button-disabled { opacity: .45; }

/* Tabs under the strip. */
.bbdah-tabs a { color: inherit; }
.bbdah-tabs a:hover { color: #A78E7E; }

@media (max-width: 767px) {
	.bbdah-carousel .elementor-swiper-button { width: 44px; height: 44px; top: -70px !important; }
	.bbdah-carousel .elementor-swiper-button-prev { right: 54px !important; }
}

/* Buttons that must not wrap (e.g. Browse Cakes). */
.bbdah-nowrap .elementor-button { white-space: nowrap; }

/* The orders-closed shortcode widget takes no space while it has nothing to say. */
.elementor-widget-shortcode:has(> .elementor-widget-container > .elementor-shortcode:empty),
.elementor-widget-shortcode:has(> .elementor-shortcode:empty) { display: none; }

/* Narrow cards (e.g. the Desserts grid beside its filters): keep one line. */
.bbdah-card .e-atc-qty-button-holder .add_to_cart_button { white-space: nowrap; padding-left: 10px !important; padding-right: 10px !important; }
@container (max-width: 240px) { .bbdah-card .quantity.bbdah-stepper { flex-basis: 100px !important; width: 100px !important; max-width: 100px !important; } }
.bbdah-card { container-type: inline-size; }

/* WooCommerce's "View cart" link after Add to Cart: the side cart already opens,
   and in the one-line row it was squeezed into a vertical column. */
.bbdah-card .added_to_cart { display: none !important; }

/* "Finish with Something Sweet..." (Desserts bar and menu banner): wider gaps
   between the words; the letters keep the font's own spacing. */
.bbdah-sweet-title .elementor-heading-title { word-spacing: 0.25em; }

/* Menu page "Finish with Something Sweet" banner: photo on the left, text and
   button on the right; stacked on phones. */
.bbdah-sweet-block { overflow: hidden; }
.bbdah-sweet-photo { background-size: cover; background-position: center; }
@media (max-width: 767px) {
	.bbdah-sweet-photo { min-height: 220px !important; }
}
