html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Creative Portrait deposit product: keep the top of the photo (head and arm) in frame */
.postid-30936 .bynr-product-media__main img {
    object-position: 50% 0%;
}

/* Order received page: keep long email addresses inside their box */
body.woocommerce-order-received ul.woocommerce-order-overview li strong {
    overflow-wrap: anywhere;
    word-break: break-word;
}
body.woocommerce-order-received ul.woocommerce-order-overview li.email strong {
    font-size: 15px;
}

/* Gift card page (/photography-gift-cards-mississauga/): brand the WooCommerce gift card form */
#gift-card-form .woocommerce-product-gallery,#gift-card-form .woocommerce-tabs,#gift-card-form .related,#gift-card-form .product_meta,#gift-card-form p.price,#gift-card-form .woocommerce-product-details__short-description{display:none!important}
#gift-card-form div.product .summary{width:100%!important;float:none!important;margin:0!important}
#gift-card-form form.variations_form{background:#fff;border:1px solid #D9D3C7;padding:28px;font-family:Montserrat,sans-serif}
#gift-card-form table.variations,#gift-card-form table.variations td,#gift-card-form table.variations th{background:transparent!important;border:0!important}
#gift-card-form input[type=text],#gift-card-form input[type=email],#gift-card-form textarea,#gift-card-form select{border:1px solid #D9D3C7!important;border-radius:0!important;padding:10px 12px!important;width:100%}
#gift-card-form .single_add_to_cart_button{background:#C7A055!important;color:#191B18!important;border:0!important;border-radius:0!important;font-family:Montserrat,sans-serif!important;font-weight:600!important;font-size:13px!important;padding:16px 28px!important}
#gift-card-form .single_add_to_cart_button.disabled{opacity:.55}
#gift-card-form .quantity input{border-radius:0!important;border:1px solid #D9D3C7!important;padding:12px!important}

/* Gift card page: clearer form text on mobile */
@media (max-width: 767px) {
  body.page-id-31083 table.variations, body.page-id-31083 table.variations tbody, body.page-id-31083 table.variations tr, body.page-id-31083 table.variations th, body.page-id-31083 table.variations td { display: block; width: 100%; padding-left: 0; padding-right: 0; text-align: left; }
  body.page-id-31083 table.variations th.label { margin-bottom: 8px; }
  body.page-id-31083 form.cart select { width: 100%; max-width: 100%; font-size: 16px; line-height: 1.3; color: #2b2b2b; -webkit-text-fill-color: #2b2b2b; padding: 12px 40px 12px 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body.page-id-31083 form.cart input[type="text"], body.page-id-31083 form.cart input[type="email"], body.page-id-31083 form.cart textarea { width: 100%; font-size: 16px; color: #2b2b2b; padding-left: 12px; padding-right: 12px; text-overflow: ellipsis; }
  body.page-id-31083 form.cart input::placeholder, body.page-id-31083 form.cart textarea::placeholder { font-size: 12px; letter-spacing: 0; color: #6f6f6f; opacity: 1; text-overflow: ellipsis; }
}

/* Product pages: white text on the main order button (theme link colour was overriding it) */
.single-product a.bynr-product-order,
.single-product a.bynr-product-order:visited,
.single-product a.bynr-product-order:hover,
.single-product a.bynr-product-order:focus { color: #fff; }

/* Product pages: hide "Similar post" links above Add to Cart */
.single-product .jp-relatedposts { display: none !important; }

/* Cart: full-width Proceed to checkout button */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{box-sizing:border-box!important;flex:0 0 auto!important;align-self:stretch!important;width:100%!important;max-width:100%!important;min-height:56px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:20px!important;font-weight:700!important}

/* Cart and checkout: balanced text sizes */
body.woocommerce-cart table.cart thead th,body.woocommerce-cart table.cart td::before{font-size:14px!important}
body.woocommerce-cart table.cart td,body.woocommerce-cart table.cart td a,body.woocommerce-cart table.cart td .amount,body.woocommerce-cart table.cart input.qty{font-size:16px!important}
body.woocommerce-cart .cart_totals h2{font-size:22px!important}
body.woocommerce-cart .cart_totals table th,body.woocommerce-cart .cart_totals table td,body.woocommerce-cart .cart_totals table td .amount{font-size:16px!important}
body.woocommerce-cart .cart_totals tr.order-total th,body.woocommerce-cart .cart_totals tr.order-total td,body.woocommerce-cart .cart_totals tr.order-total td .amount{font-size:19px!important}
body.woocommerce-checkout form.checkout label,body.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text,body.woocommerce-checkout .pwgc-redeem-form label{font-size:15px!important}
body.woocommerce-checkout form.checkout input.input-text,body.woocommerce-checkout form.checkout textarea,body.woocommerce-checkout form.checkout select{font-size:16px!important}
body.woocommerce-checkout #order_review table thead th{font-size:14px!important}
body.woocommerce-checkout #order_review table tbody td,body.woocommerce-checkout #order_review table tfoot th,body.woocommerce-checkout #order_review table tfoot td{font-size:16px!important}
body.woocommerce-checkout #order_review table tfoot tr.order-total th,body.woocommerce-checkout #order_review table tfoot tr.order-total td,body.woocommerce-checkout #order_review table tfoot tr.order-total .amount{font-size:19px!important}
body.woocommerce-checkout #payment ul.payment_methods>li>label,body.woocommerce-checkout #payment .payment_box,body.woocommerce-checkout #payment .payment_box p,body.woocommerce-checkout #payment .payment_box label,body.woocommerce-checkout .woocommerce-privacy-policy-text p{font-size:16px!important}
body.woocommerce-checkout #place_order{font-size:18px!important}
@media (max-width:767px){body.woocommerce-checkout #order_review_heading,body.woocommerce-checkout form.checkout #customer_details h3{font-size:26px!important}}