/*
*Theme Name:     PatioTime Child Theme
*Theme URI: 	 https://patiotime.loftocean.com/
*Description:    PatioTime child theme for user customization
*Author:         Loft.Ocean
*Author URI:     http://www.loftocean.com
*License: 		 GNU General Public License v2 or later
*License URI: 	 http://www.gnu.org/licenses/gpl-2.0.html
*Tags: 			 full-width-template, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, rtl-language-support, sticky-post, threaded-comments, translation-ready
*Template:       patiotime
*Text Domain: 	 patiotime-child
*Version:        1.0
*/

 /** Add your styles below **/

/* Hide the empty image slot on menu items without a photo */
.pt-food-menu-item .pt-food-menu-img:not(:has(img)) { display: none; }
.pt-food-menu-item:has(.pt-food-menu-img:not(:has(img))) .pt-food-menu-main { width: 100%; padding-left: 0; }

/* Dish pages: a compact banner and a contained, square photo instead of a half-page image. */
.single-product .woocommerce-single-product-header.page-title-section { padding-top: 130px; padding-bottom: 40px; }
.single-product .woocommerce-single-product-header .entry-title { font-size: 44px; }
.single-product div.product .woocommerce-product-gallery { width: 40%; max-width: 460px; }
.single-product div.product .summary { width: calc(60% - 48px); max-width: 640px; float: left; margin-left: 48px; }
.single-product div.product .woocommerce-product-gallery__image img,
.single-product div.product .woocommerce-product-gallery__image a img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; background: #fff; }
@media (max-width: 760px) {
	.single-product .woocommerce-single-product-header.page-title-section { padding-top: 110px; padding-bottom: 28px; }
	.single-product .woocommerce-single-product-header .entry-title { font-size: 32px; }
	.single-product div.product .woocommerce-product-gallery,
	.single-product div.product .summary { width: 100%; max-width: none; float: none; margin-left: 0; }
	.single-product div.product .woocommerce-product-gallery__image img { aspect-ratio: 4 / 3; }
}
