/*
Theme Name: Baker Child
Theme URI: http://baker.edge-themes.com
Description: A child theme of Baker Theme
Author: Edge Themes
Author URI: http://themeforest.net/user/edge-themes
Version: 1.0.0
Text Domain: baker
Template: baker
*/


.edgtf-woo-single-page .woocommerce-tabs ul.tabs>li a {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}

/* Hide the title area on WooCommerce shop, category, cart, product detail, and content pages */
.post-type-archive-product .edgtf-title,
.tax-product_cat .edgtf-title,
.tax-product_tag .edgtf-title,
body.woocommerce-cart .edgtf-title,
body.single-product .edgtf-title,
body.page-id-8580 .edgtf-title,
body.page-id-11646 .edgtf-title,
body.page-id-8737 .edgtf-title,
body.page-id-10634 .edgtf-title,
body.page-id-10635 .edgtf-title,
body.page-id-12066 .edgtf-title,
body.page-id-11898 .edgtf-title,
body.page-id-7155 .edgtf-title {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Hide breadcrumbs on shop/category pages — catch all possible containers */
.post-type-archive-product .edgtf-breadcrumbs-holder,
.tax-product_cat .edgtf-breadcrumbs-holder,
.tax-product_tag .edgtf-breadcrumbs-holder,
.post-type-archive-product .woocommerce-breadcrumb,
.tax-product_cat .woocommerce-breadcrumb,
.tax-product_tag .woocommerce-breadcrumb,
.post-type-archive-product .edgtf-breadcrumbs,
.tax-product_cat .edgtf-breadcrumbs,
.tax-product_tag .edgtf-breadcrumbs {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

/* Ensure page content starts properly below the header when hero is hidden */
body.woocommerce-cart .edgtf-content,
body.page-id-10635 .edgtf-content,
body.single-product .edgtf-content,
body.page-id-8580 .edgtf-content,
body.page-id-11646 .edgtf-content,
body.page-id-8737 .edgtf-content,
body.page-id-12066 .edgtf-content,
body.page-id-11898 .edgtf-content,
body.page-id-7155 .edgtf-content {
  padding-top: 60px;
}

@media only screen and (max-width: 1024px) {

  body.woocommerce-cart .edgtf-content,
  body.page-id-10635 .edgtf-content,
  body.single-product .edgtf-content,
  body.page-id-8580 .edgtf-content,
  body.page-id-11646 .edgtf-content,
  body.page-id-8737 .edgtf-content,
  body.page-id-12066 .edgtf-content,
  body.page-id-11898 .edgtf-content,
  body.page-id-7155 .edgtf-content {
    padding-top: 30px;
  }
}

@media only screen and (max-width: 680px) {

  body.woocommerce-cart .edgtf-content,
  body.page-id-10635 .edgtf-content,
  body.single-product .edgtf-content,
  body.page-id-8580 .edgtf-content,
  body.page-id-11646 .edgtf-content,
  body.page-id-8737 .edgtf-content,
  body.page-id-12066 .edgtf-content,
  body.page-id-11898 .edgtf-content,
  body.page-id-7155 .edgtf-content {
    padding-top: 0;
  }
}

.baker-child-cart-title {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Adjust Cart spacing for smaller laptops and tablets */
@media screen and (max-width: 1024px) {
  body.woocommerce-cart .edgtf-content {
    padding-top: 30px;
  }

  .baker-child-cart-title {
    margin-top: 20px;
    margin-bottom: 30px;
  }
}

/* Adjust Cart spacing for mobile */
@media screen and (max-width: 768px) {
  body.woocommerce-cart .edgtf-content {
    padding-top: 15px;
  }

  .baker-child-cart-title {
    margin-top: 10px;
    margin-bottom: 20px;
  }
}

/* Category Chips on Shop Page */
.baker-child-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  justify-content: center;
  width: 100%;
}

.baker-child-chip {
  display: inline-block;
  padding: 4px 24px;
  background-color: #f5f5f5;
  color: #333;
  border-radius: 50px;
  font-size: 12px;
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.baker-child-chip:hover,
.baker-child-chip.active {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/themes/baker-child/fonts/KFOmCnqEu92Fr1Mu72xKKTU1Kvnz.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/themes/baker-child/fonts/KFOmCnqEu92Fr1Mu5mxKKTU1Kvnz.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* greek-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/themes/baker-child/fonts/KFOmCnqEu92Fr1Mu7mxKKTU1Kvnz.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}

/* greek */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/themes/baker-child/fonts/KFOmCnqEu92Fr1Mu4WxKKTU1Kvnz.woff2) format('woff2');
  unicode-range: U+0370-03FF;
}

/* vietnamese */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/themes/baker-child/fonts/KFOmCnqEu92Fr1Mu7WxKKTU1Kvnz.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/themes/baker-child/fonts/KFOmCnqEu92Fr1Mu7GxKKTU1Kvnz.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/themes/baker-child/fonts/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Navbar Shadow */
header.edgtf-page-header {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Hide Pagination on Shop Pages */
.woocommerce-pagination,
.edgtf-woo-view-all-pagination {
  display: none !important;
}

/* Product Tile Optimizations */
.woocommerce ul.products li.product {
  margin-bottom: 30px !important;
  /* Gutters are preserved */
}

/* Remove bottom padding/margin from ALL inner containers so the button sits flush with the card bottom */
.woocommerce ul.products li.product .baker-child-product-card .edgtf-pl-inner,
.woocommerce ul.products li.product .baker-child-product-card .edgtf-pl-text-wrapper,
.woocommerce ul.products li.product .baker-child-product-card>*:last-child {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.woocommerce ul.products li.product .baker-child-product-card .button,
.woocommerce ul.products li.product .baker-child-product-card .added_to_cart {
  margin-bottom: 0 !important;
  padding-bottom: 14px !important;
}

/* Apply the card styling to our custom wrapper */
.woocommerce ul.products li.product .baker-child-product-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  text-align: center;
  height: 100%;
  padding-bottom: 0 !important;
}

/* Text wrapper grows to push button to bottom */
.woocommerce ul.products li.product .edgtf-pl-text-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}

/* Hide the screen-reader span that appears after the button and may cause spacing */
.woocommerce ul.products li.product .edgtf-pl-text-wrapper>.screen-reader-text {
  display: none !important;
}

/* Stronger Shadow on Hover */
.woocommerce ul.products li.product .baker-child-product-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  transform: translateY(-3px);
}

/* Add to Cart Button – full-width, square, pinned to bottom of card */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 14px 20px !important;
  line-height: 1 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  position: static !important;
  background-color: #333 !important;
  color: #fff !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  font-size: 11px !important;
  font-weight: 500;
  letter-spacing: 1px;
  border: none !important;
  transition: background-color 0.3s ease;
  margin-top: auto !important;
}

.woocommerce ul.products li.product .button:hover {
  background-color: #555 !important;
}

/* "Warenkorb anzeigen" button after adding to cart – gold highlight */
.woocommerce ul.products li.product .added_to_cart {
  background-color: #e1be64 !important;
  color: #fff !important;
}

.woocommerce ul.products li.product .added_to_cart:hover {
  background-color: #c9a84f !important;
}

/* Hide the original button once added to cart, because the theme doesn't revert the 'Adding to cart' text */
.woocommerce ul.products li.product .button.added {
  display: none !important;
}

/* Typography and Spacing (Ultra Compact) */
.woocommerce ul.products li.product .edgtf-pl-image {
  margin-bottom: 0 !important;
  padding: 0 !important;
  line-height: 0;
  /* Remove baseline gap */
}

.woocommerce ul.products li.product .edgtf-pl-text {
  padding: 12px 10px 15px 10px !important;
  /* Tight padding */
}

/* Hide category label inside product tiles */
.woocommerce ul.products li.product .edgtf-pl-category {
  display: none !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h6.edgtf-product-list-title {
  margin: 0 !important;
  padding: 14px 12px 4px 12px !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-transform: none !important;
  color: #555 !important;
}

.woocommerce ul.products li.product .price {
  margin: 0 !important;
  padding: 4px 12px 14px 12px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  color: #222 !important;
}

/* Hide price suffix (e.g. "inkl. 7%") on product tiles */
.woocommerce ul.products li.product .woocommerce-price-suffix {
  display: none !important;
}

/* ==========================================================================
   CART UI/UX OPTIMIZATIONS
   ========================================================================== */

/* 1. Compact Table Layout & Side-by-Side Totals on Desktop */
@media only screen and (min-width: 1025px) {
  .woocommerce-cart .woocommerce {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 30px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
  }

  .woocommerce-cart .woocommerce::before,
  .woocommerce-cart .woocommerce::after {
    display: none !important;
    content: none !important;
  }

  .woocommerce-cart .woocommerce-notices-wrapper,
  .baker-child-cart-title {
    width: 100% !important;
    flex: 0 0 100% !important;
    /* We need to allow titles and notices to wrap if we use flex-wrap: nowrap on the parent, 
       but wait, if flex-wrap is nowrap, 100% items will squish everything! 
       So we MUST use flex-wrap: wrap! */
  }
}

@media only screen and (min-width: 1025px) {
  .woocommerce-cart .woocommerce {
    flex-wrap: wrap !important;
  }

  .woocommerce-cart .woocommerce-cart-form {
    width: 60% !important;
    flex: 0 0 60% !important;
    clear: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .woocommerce-cart .cart-collaterals {
    width: 35% !important;
    flex: 0 0 35% !important;
    float: none !important;
    clear: none !important;
    padding-top: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .woocommerce-cart table.cart {
    width: 100% !important;
  }
}

/* 2. Better Typography for Product Names */
.woocommerce-cart table.cart .product-name a {
  text-transform: none !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  color: #333 !important;
}

/* 3. Checkout Button Styling & Totals Area */
.woocommerce-cart .cart-collaterals {
  background: #fcfcfc !important;
  padding: 30px !important;
  border: 1px solid #f0f0f0 !important;
}

.woocommerce-cart .cart-collaterals h2 {
  font-size: 20px !important;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  text-transform: uppercase !important;
}

.woocommerce-cart .cart-collaterals .checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 65px !important;
  background-color: #e1be64 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  padding: 0 25px !important;
  border-radius: 0 !important;
  border: none !important;
  text-transform: uppercase !important;
  margin-top: 25px !important;
  transition: background-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease !important;
  line-height: 1 !important;
  box-shadow: 0 4px 12px rgba(193, 155, 60, 0.35) !important;
}

.woocommerce-cart .cart-collaterals .checkout-button:hover {
  background-color: #c9a84f !important;
  box-shadow: 0 6px 18px rgba(193, 155, 60, 0.5) !important;
  transform: translateY(-1px) !important;
}

.woocommerce-cart .cart-collaterals .checkout-button:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(193, 155, 60, 0.3) !important;
}

/* Fix cart totals table alignment (Subtotal, Total, etc) */
.woocommerce-cart .cart-collaterals table.shop_table {
  width: 100% !important;
}

.woocommerce-cart .cart-collaterals table.shop_table tr {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  padding: 15px 0 !important;
  border-bottom: 1px solid #f0f0f0 !important;
}

.woocommerce-cart .cart-collaterals table.shop_table th {
  padding: 0 !important;
  text-align: left !important;
  width: auto !important;
  font-weight: 500 !important;
  color: #333 !important;
}

.woocommerce-cart .cart-collaterals table.shop_table td {
  padding: 0 !important;
  text-align: right !important;
  width: auto !important;
}

/* Specific alignment for Shipping row */
.woocommerce-cart .cart-collaterals table.shop_table tr.shipping {
  justify-content: flex-start !important;
}

.woocommerce-cart .cart-collaterals table.shop_table tr.shipping th {
  width: 35% !important;
}

.woocommerce-cart .cart-collaterals table.shop_table tr.shipping td {
  width: 65% !important;
  text-align: left !important;
}

.woocommerce-cart .cart-collaterals table.shop_table ul#shipping_method {
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
  list-style: none !important;
}

.woocommerce-cart .cart-collaterals table.shop_table ul#shipping_method li {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

.woocommerce-cart .cart-collaterals table.shop_table ul#shipping_method li input[type="radio"] {
  margin: 0 !important;
  position: relative !important;
  top: 1px !important;
}

.woocommerce-cart .cart-collaterals table.shop_table ul#shipping_method li label {
  margin: 0 !important;
  display: inline-block !important;
}

.woocommerce-cart .cart-collaterals table.shop_table .woocommerce-shipping-destination {
  margin-top: 15px !important;
  text-align: left !important;
}

/* 4. Coupon Field Enhancements */
.woocommerce-cart table.cart .actions {
  padding: 20px 0 !important;
}

.woocommerce-cart table.cart .actions .coupon {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  float: left !important;
}

.woocommerce-cart table.cart .actions .coupon input.input-text {
  width: 220px !important;
  height: 45px !important;
  border: 1px solid #ddd !important;
  padding: 0 15px !important;
  background: #f9f9f9 !important;
  margin: 0 !important;
}

.woocommerce-cart table.cart .actions .coupon button.button {
  height: 45px !important;
  padding: 0 20px !important;
  background-color: #333 !important;
  color: #fff !important;
  text-transform: uppercase !important;
  border: none !important;
  margin: 0 !important;
}

.woocommerce-cart table.cart .actions .coupon button.button:hover {
  background-color: #555 !important;
}

/* Update Cart Button alignment */
.woocommerce-cart table.cart .actions>button.button {
  float: right !important;
  height: 45px !important;
  background-color: #f5f5f5 !important;
  color: #333 !important;
  border: 1px solid #ddd !important;
}

.woocommerce-cart table.cart .actions>button.button:hover {
  background-color: #e5e5e5 !important;
}

/* ==========================================================================
   WOOCOMMERCE ERROR NOTICES - Global Fix
   ========================================================================== */

/* Fix broken error list layout */
.woocommerce-error,
.woocommerce-NoticeGroup .woocommerce-error {
  display: block !important;
  list-style: none !important;
  padding: 15px 20px !important;
  background: #fff8f8 !important;
  border-left: 4px solid #cc0000 !important;
  border-top: 1px solid #e5c5c5 !important;
  border-right: 1px solid #e5c5c5 !important;
  border-bottom: 1px solid #e5c5c5 !important;
  margin-bottom: 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.woocommerce-error li,
.woocommerce-NoticeGroup .woocommerce-error li {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  padding: 4px 0 !important;
  color: #555 !important;
  font-size: 14px !important;
  text-align: left !important;
  font-weight: normal !important;
}

.woocommerce-error li a,
.woocommerce-NoticeGroup .woocommerce-error li a {
  color: #cc0000 !important;
  font-weight: bold !important;
  float: none !important;
  text-decoration: none !important;
}

.woocommerce-error li a:hover,
.woocommerce-NoticeGroup .woocommerce-error li a:hover {
  text-decoration: underline !important;
}



/* 1. Compact 2-Column Layout on Desktop */
@media only screen and (min-width: 1025px) {
  form.woocommerce-checkout {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 4% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
  }

  form.woocommerce-checkout::before,
  form.woocommerce-checkout::after {
    display: none !important;
    content: none !important;
  }

  /* Validation notices must span full width so they don't break the 2-column layout */
  form.woocommerce-checkout > .woocommerce-notices-wrapper,
  form.woocommerce-checkout > .woocommerce-NoticeGroup,
  form.woocommerce-checkout > .woocommerce-NoticeGroup-checkout,
  form.woocommerce-checkout > .woocommerce-error,
  form.woocommerce-checkout > .woocommerce-message,
  form.woocommerce-checkout > .woocommerce-info {
    width: 100% !important;
    flex: 0 0 100% !important;
    order: -1 !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
  }

  form.woocommerce-checkout > .woocommerce-NoticeGroup > .woocommerce-error,
  form.woocommerce-checkout > .woocommerce-NoticeGroup > .woocommerce-message,
  form.woocommerce-checkout > .woocommerce-NoticeGroup > .woocommerce-info {
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 10px !important;
  }

  /* Left column: billing & shipping details */
  form.woocommerce-checkout #customer_details {
    width: 60% !important;
    flex: 0 0 60% !important;
    clear: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Stack billing and shipping sections vertically within the left column */
  form.woocommerce-checkout #customer_details .col-1,
  form.woocommerce-checkout #customer_details .col-2 {
    width: 100% !important;
    float: none !important;
    clear: both !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
  }

  /* Right column: order review and payment */
  form.woocommerce-checkout #order_review_heading {
    display: none !important;
    /* Hide the floating heading, we let it be inside the box if needed */
  }

  form.woocommerce-checkout #order_review {
    width: 35% !important;
    flex: 0 0 35% !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    background: #fcfcfc !important;
    padding: 30px !important;
    border: 1px solid #f0f0f0 !important;
    box-sizing: border-box !important;
  }
}

/* 2. Better Typography for Checkout Headings */
.woocommerce-checkout h3 {
  text-transform: none !important;
  font-weight: 500 !important;
  font-size: 24px !important;
  margin-bottom: 20px !important;
  color: #333 !important;
}

/* 3. Place Order Button Styling */
#payment #place_order {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  height: 65px !important;
  background-color: #e1be64 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  padding: 0 25px !important;
  border-radius: 0 !important;
  border: none !important;
  text-transform: uppercase !important;
  margin-top: 25px !important;
  transition: background-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease !important;
  line-height: 1 !important;
  box-shadow: 0 4px 12px rgba(193, 155, 60, 0.35) !important;
}

#payment #place_order:hover {
  background-color: #c9a84f !important;
  box-shadow: 0 6px 18px rgba(193, 155, 60, 0.5) !important;
  transform: translateY(-1px) !important;
}

#payment #place_order:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(193, 155, 60, 0.3) !important;
}

/* Compact the order review table slightly */
.woocommerce-checkout #order_review table.shop_table {
  width: 100% !important;
  margin-bottom: 20px !important;
}

.woocommerce-checkout #order_review table.shop_table tr {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-bottom: 1px solid #f0f0f0 !important;
}

.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td {
  padding: 12px 0 !important;
}

.woocommerce-checkout #order_review table.shop_table th {
  text-align: left !important;
}

.woocommerce-checkout #order_review table.shop_table td {
  text-align: right !important;
}

.woocommerce-checkout #order_review table.shop_table td.product-name {
  text-align: left !important;
  width: 65% !important;
}

/* 4. Fix Shipping Alignment in Checkout */
.woocommerce-checkout #order_review table.shop_table tr.shipping {
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
}

.woocommerce-checkout #order_review table.shop_table tr.shipping th {
  width: 35% !important;
  padding-right: 15px !important;
}

.woocommerce-checkout #order_review table.shop_table tr.shipping td {
  width: 65% !important;
  text-align: left !important;
}

.woocommerce-checkout #order_review table.shop_table ul#shipping_method,
.woocommerce-checkout #order_review table.shop_table ul#shipping_method_0,
.woocommerce-checkout #order_review table.shop_table ul.woocommerce-shipping-methods {
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
  list-style: none !important;
}

.woocommerce-checkout #order_review table.shop_table ul#shipping_method li,
.woocommerce-checkout #order_review table.shop_table ul#shipping_method_0 li,
.woocommerce-checkout #order_review table.shop_table ul.woocommerce-shipping-methods li {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

.woocommerce-checkout #order_review table.shop_table ul#shipping_method li input[type="radio"],
.woocommerce-checkout #order_review table.shop_table ul#shipping_method_0 li input[type="radio"],
.woocommerce-checkout #order_review table.shop_table ul.woocommerce-shipping-methods li input[type="radio"] {
  margin: 0 !important;
  position: relative !important;
  top: 1px !important;
}

.woocommerce-checkout #order_review table.shop_table ul#shipping_method li label,
.woocommerce-checkout #order_review table.shop_table ul#shipping_method_0 li label,
.woocommerce-checkout #order_review table.shop_table ul.woocommerce-shipping-methods li label {
  margin: 0 !important;
  display: inline-block !important;
}

.woocommerce-checkout #order_review table.shop_table .woocommerce-shipping-destination {
  margin-top: 15px !important;
  text-align: left !important;
}

/* ==========================================================================
   ORDER RECEIVED (THANK YOU) PAGE OPTIMIZATIONS
   ========================================================================== */

/* 1. 2-Column Grid Layout on Desktop */
@media only screen and (min-width: 1025px) {
  .woocommerce-order {
    display: grid !important;
    grid-template-columns: 60% 35% !important;
    gap: 5% !important;
    max-width: 1200px !important;
    margin: 40px auto 0 !important;
    /* Added 40px top margin */
    align-items: start !important;
  }

  /* Force elements into the left column */
  .woocommerce-order>p.woocommerce-notice,
  .woocommerce-order>ul.woocommerce-order-overview,
  .woocommerce-order>section.woocommerce-bacs-bank-details,
  .woocommerce-order>section.woocommerce-customer-details {
    grid-column: 1 !important;
  }

  /* Force order details into the right column */
  .woocommerce-order>section.woocommerce-order-details {
    grid-column: 2 !important;
    grid-row: 1 / span 5 !important;
    background: #fcfcfc !important;
    padding: 30px !important;
    border: 1px solid #f0f0f0 !important;
    box-sizing: border-box !important;
    margin-top: 0 !important;
  }
}

/* 2. Typography and Spacing */
.woocommerce-order h2,
.woocommerce-order h3 {
  text-transform: none !important;
  font-weight: 500 !important;
  font-size: 24px !important;
  margin-top: 0 !important;
  margin-bottom: 15px !important;
  color: #333 !important;
}

.woocommerce-order>p.woocommerce-notice {
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #5a8e52 !important;
  /* A success green */
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

/* Compact the overview list (Order number, date, etc) */
.woocommerce-order ul.woocommerce-order-overview {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

.woocommerce-order ul.woocommerce-order-overview li {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* Reduce generic section margins and paragraphs */
.woocommerce-order section {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

.woocommerce-order p {
  margin-top: 0 !important;
  margin-bottom: 15px !important;
}

.woocommerce-order address {
  border: 1px solid #eee !important;
  padding: 20px !important;
  border-radius: 0 !important;
  font-style: normal !important;
  background: #fafafa !important;
  margin-top: 0 !important;
}

/* 3. Order Details Table Alignment */
.woocommerce-order section.woocommerce-order-details table.shop_table {
  width: 100% !important;
  margin-bottom: 20px !important;
}

.woocommerce-order section.woocommerce-order-details table.shop_table tr {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-bottom: 1px solid #f0f0f0 !important;
}

.woocommerce-order section.woocommerce-order-details table.shop_table th,
.woocommerce-order section.woocommerce-order-details table.shop_table td {
  padding: 12px 0 !important;
  border: none !important;
}

.woocommerce-order section.woocommerce-order-details table.shop_table th {
  text-align: left !important;
}

.woocommerce-order section.woocommerce-order-details table.shop_table td {
  text-align: right !important;
}

.woocommerce-order section.woocommerce-order-details table.shop_table td.woocommerce-table__product-name,
.woocommerce-order section.woocommerce-order-details table.shop_table td.product-name {
  text-align: left !important;
  width: 65% !important;
}

/* Fix any buttons (like pay again or invoice) */
.woocommerce-order .button {
  background-color: #e1be64 !important;
  color: #fff !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

.woocommerce-order .button:hover {
  background-color: #c9a84f !important;
}

/* ==========================================================================
   PREMIUM LANDING PAGE RELAUNCH STYLES (baker-child homepage)
   ========================================================================== */

/* Custom Template Overrides for Edge-to-Edge full width layout */
.page-template-page-relaunch-preview .edgtf-wrapper,
.page-template-page-relaunch-preview .edgtf-wrapper-inner,
.page-template-page-relaunch-preview .edgtf-container,
.page-template-page-relaunch-preview .edgtf-container-inner,
.page-template-page-relaunch-preview .edgtf-content .edgtf-content-inner {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.page-template-page-relaunch-preview .edgtf-content {
  padding-top: 0 !important;
}

/* Force the hero section to always be 100% wide and use grid for reliable centering */
.page-template-page-relaunch-preview .baker-child-hero {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Main Layout Reset/Overrides for clean custom sections */
.baker-child-landing-page {
  font-family: 'Roboto', sans-serif;
  color: #2b2b2b;
  overflow-x: hidden;
  line-height: 1.6;
}

.baker-child-landing-page h1, 
.baker-child-landing-page h2, 
.baker-child-landing-page h3, 
.baker-child-landing-page h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 0;
  letter-spacing: normal !important;
  word-spacing: normal !important;
}

/* 1. Dynamic Hero Section */
.baker-child-hero {
  position: relative;
  min-height: 70vh;
  display: grid !important;         /* CSS Grid: more reliable centering than flexbox in nested themes */
  place-items: center !important;   /* perfectly centers content both horizontally & vertically */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  box-sizing: border-box;
}

.baker-child-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.baker-child-hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: min(100%, 860px);
  max-width: 860px;
  box-sizing: border-box;
  justify-self: center;
  /* CSS grid child: margin:auto here works perfectly within the grid cell */
  margin: 0 auto;
  /* Premium drop shadows that outline the organic SVG clip-path shape */
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.07)) drop-shadow(0 5px 12px rgba(0, 0, 0, 0.03));
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.baker-child-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
  background-color: #ffffff; /* Premium white card container */
  padding: 65px 70px; /* Generous horizontal padding to keep text safe from wavy edges */
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1), clip-path 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Beautiful smooth shape change transition! */
}

/* Wavy Teigrand Shape (Variant 9 — now the only and default shape) */
.baker-child-dough-wavy {
  clip-path: url(#baker-wavy-dough-clip);
  border-radius: 0;
}

.baker-child-hero-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: inline-block;
  background-color: #ffffff !important; /* Solid white background badge */
  color: #ae0000 !important; /* Red bold text! */
  border: 1.5px solid #eaeaea; /* Light gray outline */
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 50px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05); /* Floating shadow */
  white-space: nowrap;
}

.baker-child-hero-title {
  font-size: 52px;
  font-weight: 700;
  color: #ae0000 !important; /* Deep brand red */
  line-height: 1.15;
  margin-top: 15px;
  margin-bottom: 20px;
  letter-spacing: normal !important;
}

.baker-child-hero-subtitle {
  font-size: 17px;
  font-weight: 400; /* Regular weight for optimal readability against white card */
  line-height: 1.6;
  margin-bottom: 35px;
  color: #4a4a4a !important; /* Charcoal gray */
}

.baker-child-hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.baker-child-btn {
  display: inline-block;
  padding: 15px 36px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  border: none;
}

/* Swapped Buttons Styles: Left Primary is Solid Red, Right Secondary is White Red-Bordered */
.baker-child-btn-primary {
  background-color: #ae0000 !important; /* Solid brand red background */
  color: #ffffff !important; /* White bold text */
  border: 1.5px solid #ae0000 !important;
  box-shadow: 0 6px 15px rgba(174, 0, 0, 0.15);
}

.baker-child-btn-primary:hover {
  background-color: #8c0000 !important; /* Darker red */
  border-color: #8c0000 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(174, 0, 0, 0.25);
}

.baker-child-btn-secondary {
  background-color: #ffffff !important; /* White background */
  color: #ae0000 !important; /* Brand red text */
  border: 1.5px solid #ae0000 !important; /* Red outline */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.baker-child-btn-secondary:hover {
  background-color: #ae0000 !important; /* Fills red on hover! */
  color: #ffffff !important; /* Text changes to white */
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(174, 0, 0, 0.2);
}

/* 2. Product Spotlight Section */
.baker-child-product-showcase {
  margin: 0 auto;
  max-width: 1200px;
  padding: 80px 20px;
}

.baker-child-section {
  padding: 90px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.baker-child-section-title-wrap {
  text-align: center;
  margin-bottom: 60px;
}

.baker-child-section-subtitle {
  color: #ae0000;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.baker-child-section-title {
  font-size: 36px;
  margin-bottom: 15px;
}

.baker-child-section-title-bar {
  width: 60px;
  height: 3px;
  background-color: #ae0000;
  margin: 0 auto;
}

/* Product Cards Grid */
.baker-child-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

.baker-child-product-variant-label {
  color: #ae0000;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: normal;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.baker-child-products-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 54px;
}

.baker-child-product-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.baker-child-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.baker-child-product-image-wrap {
  position: relative;
  padding-bottom: 100%; /* 1:1 Aspect Ratio */
  overflow: hidden;
  background-color: #f7f7f7;
}

.baker-child-product-image-wrap img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.baker-child-product-card:hover .baker-child-product-image-wrap img {
  transform: scale(1.08);
}

.baker-child-product-badge {
  position: absolute;
  top: 15px; right: 15px;
  background-color: #ae0000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  z-index: 2;
}

.baker-child-product-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.baker-child-product-title {
  font-size: 16px;
  margin-bottom: 10px;
  min-height: 46px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.baker-child-product-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.baker-child-product-title a:hover {
  color: #ae0000;
}

.baker-child-product-footer {
  margin-top: auto;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding-top: 15px;
  border-top: 1px solid #f5f5f5;
}

.baker-child-product-price {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.baker-child-add-to-cart-btn {
  background-color: #ae0000;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 16px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.baker-child-add-to-cart-btn:hover {
  background-color: #cf2e2e;
  transform: scale(1.05);
}

.baker-child-seasonal-shop {
  align-items: center;
  background-color: #fcf9f5;
  border: 1px solid #eee7dd;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(57, 38, 25, 0.07);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  padding: 42px;
}

.baker-child-seasonal-shop-intro {
  background-color: #ffffff;
  clip-path: url(#baker-wavy-dough-clip);
  filter: drop-shadow(0 18px 28px rgba(57, 38, 25, 0.08)) drop-shadow(0 4px 10px rgba(57, 38, 25, 0.05));
  padding: 56px 58px;
}

.baker-child-seasonal-shop-intro h3 {
  color: #ae0000 !important;
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.baker-child-seasonal-shop-intro p {
  color: #4a4a4a;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.baker-child-seasonal-products {
  display: grid;
  gap: 16px;
}

.baker-child-seasonal-product {
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #f0ebe4;
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 96px minmax(0, 1fr);
  padding: 14px;
}

.baker-child-seasonal-product-image {
  aspect-ratio: 1;
  background-color: #f7f7f7;
  border-radius: 6px;
  display: block;
  overflow: hidden;
}

.baker-child-seasonal-product-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.baker-child-seasonal-product h4 {
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.baker-child-seasonal-product h4 a {
  color: #1a1a1a;
  text-decoration: none;
}

.baker-child-seasonal-product .baker-child-product-price {
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
}

.baker-child-buy-window {
  background-color: #ae0000;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(57, 38, 25, 0.12);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  margin-bottom: 54px;
  padding: 42px;
}

.baker-child-buy-window-copy {
  align-self: center;
  color: #ffffff;
}

.baker-child-buy-window-copy .baker-child-section-subtitle,
.baker-child-buy-window-copy h3,
.baker-child-buy-window-copy p {
  color: #ffffff !important;
}

.baker-child-buy-window-copy h3 {
  font-size: 38px;
  line-height: 1.16;
  margin-bottom: 18px;
}

.baker-child-buy-window-copy p {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.baker-child-buy-window-benefits {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.baker-child-buy-window-benefits li {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  margin-bottom: 9px;
  padding-left: 20px;
  position: relative;
}

.baker-child-buy-window-benefits li::before {
  background-color: #ffffff;
  border-radius: 50%;
  content: '';
  height: 6px;
  left: 0;
  position: absolute;
  top: 10px;
  width: 6px;
}

.baker-child-buy-window-copy .baker-child-btn-secondary {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #ae0000 !important;
}

.baker-child-buy-window-products {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: 1.12fr 0.88fr;
}

.baker-child-buy-product {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(57, 38, 25, 0.12);
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 14px;
  position: relative;
}

.baker-child-buy-product--featured {
  grid-row: span 2;
}

.baker-child-buy-product-ribbon {
  background-color: #ae0000;
  border-radius: 999px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  left: 18px;
  padding: 5px 11px;
  position: absolute;
  text-transform: uppercase;
  top: 18px;
  z-index: 2;
}

.baker-child-buy-product-image {
  aspect-ratio: 1;
  background-color: #f7f7f7;
  border-radius: 6px;
  display: block;
  overflow: hidden;
}

.baker-child-buy-product-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.baker-child-buy-product-content h4 {
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.baker-child-buy-product--featured .baker-child-buy-product-content h4 {
  font-size: 22px;
}

.baker-child-buy-product-content h4 a {
  color: #1a1a1a;
  text-decoration: none;
}

.baker-child-buy-product-content .baker-child-product-price {
  display: block;
  font-size: 17px;
  margin-bottom: 12px;
}

.baker-child-buy-product-content .baker-child-add-to-cart-btn {
  display: block;
  text-align: center;
}

/* Variante E: Backstuben-Schaufenster (scroll-snap rail) */
.baker-child-shop-rail {
  background-color: #fcf9f5;
  border: 1px solid #eee7dd;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(57, 38, 25, 0.07);
  margin-top: 54px;
  padding: 36px 0 32px;
}

.baker-child-shop-rail-header {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 0 36px;
}

.baker-child-shop-rail-intro {
  max-width: 560px;
}

.baker-child-shop-rail-intro h3 {
  color: #ae0000 !important;
  font-size: 30px;
  line-height: 1.2;
  margin: 6px 0 10px;
}

.baker-child-shop-rail-intro p {
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.baker-child-shop-rail-controls {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.baker-child-shop-rail-btn {
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #eee7dd;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(57, 38, 25, 0.06);
  color: #ae0000;
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  width: 44px;
}

.baker-child-shop-rail-btn:hover:not(:disabled) {
  background-color: #ae0000;
  border-color: #ae0000;
  color: #ffffff;
}

.baker-child-shop-rail-btn:focus-visible {
  outline: 2px solid #ae0000;
  outline-offset: 2px;
}

.baker-child-shop-rail-btn:active:not(:disabled) {
  transform: scale(0.96);
}

.baker-child-shop-rail-btn:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.baker-child-shop-rail-track {
  display: grid;
  grid-auto-columns: minmax(260px, 1fr);
  grid-auto-flow: column;
  gap: 22px;
  margin-top: 28px;
  overflow-x: auto;
  padding: 6px 36px 18px;
  scroll-padding-inline: 36px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #d8cdbf transparent;
}

.baker-child-shop-rail-track::-webkit-scrollbar {
  height: 8px;
}

.baker-child-shop-rail-track::-webkit-scrollbar-thumb {
  background-color: #d8cdbf;
  border-radius: 999px;
}

.baker-child-shop-rail-track:focus-visible {
  outline: 2px solid #ae0000;
  outline-offset: 4px;
}

.baker-child-shop-rail-card {
  background-color: #ffffff;
  border: 1px solid #f0eadf;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(57, 38, 25, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.baker-child-shop-rail-card:hover {
  box-shadow: 0 18px 36px rgba(57, 38, 25, 0.12);
  transform: translateY(-4px);
}

.baker-child-shop-rail-card-image {
  aspect-ratio: 1;
  background-color: #f7f3ec;
  overflow: hidden;
  position: relative;
}

.baker-child-shop-rail-card-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.baker-child-shop-rail-card:hover .baker-child-shop-rail-card-image img {
  transform: scale(1.06);
}

.baker-child-shop-rail-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 14px;
  padding: 18px;
}

.baker-child-shop-rail-card-title {
  font-size: 17px;
  line-height: 1.3;
  margin: 0;
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.baker-child-shop-rail-card-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.baker-child-shop-rail-card-title a:hover {
  color: #ae0000;
}

.baker-child-shop-rail-card-footer {
  align-items: center;
  border-top: 1px solid #f5efe6;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
}

.baker-child-shop-rail-footer {
  display: flex;
  justify-content: center;
  margin-top: 6px;
  padding: 0 36px;
}

@media (prefers-reduced-motion: reduce) {
  .baker-child-shop-rail-track {
    scroll-behavior: auto;
  }
  .baker-child-shop-rail-card,
  .baker-child-shop-rail-card-image img,
  .baker-child-shop-rail-btn {
    transition: none;
  }
}

.baker-child-category-doors {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.baker-child-category-door {
  background-color: #fcf9f5;
  border: 1px solid #eee7dd;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(57, 38, 25, 0.07);
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 30px;
  position: relative;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.baker-child-category-door::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(252, 249, 245, 1) 0%, rgba(252, 249, 245, 0.85) 50%, rgba(252, 249, 245, 0) 72%);
  border-radius: inherit;
  pointer-events: none;
}

.baker-child-category-door:hover {
  box-shadow: 0 20px 42px rgba(57, 38, 25, 0.12);
  transform: translateY(-4px);
}

.baker-child-category-door span,
.baker-child-category-door strong,
.baker-child-category-door em {
  position: relative;
  z-index: 1;
}

.baker-child-category-door span {
  color: #ae0000;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.baker-child-category-door strong {
  color: #1a1a1a;
  display: block;
  font-size: 25px;
  line-height: 1.2;
}

.baker-child-category-door em {
  align-self: flex-start;
  background-color: #ffffff;
  border: 1px solid rgba(174, 0, 0, 0.14);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(57, 38, 25, 0.12);
  color: #ae0000;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  margin-top: auto;
  padding: 10px 20px;
  text-transform: uppercase;
}

/* 3. Heritage & Philosophy Section */
.baker-child-heritage-variants {
  background-color: #fcf9f5;
  padding: 90px 20px;
}

.baker-child-heritage-variant {
  margin: 0 auto 42px;
  max-width: 1200px;
}

.baker-child-heritage-variant:last-child {
  margin-bottom: 0;
}

.baker-child-heritage-kicker {
  color: #ae0000;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.baker-child-heritage-eyebrow {
  color: #ae0000;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 14px !important;
  text-transform: uppercase;
}

.baker-child-heritage-variant h3 {
  letter-spacing: normal !important;
}

.baker-child-heritage-variant p {
  color: #3f3f3f;
  font-size: 16px;
  line-height: 1.72;
  margin-bottom: 18px;
}

.baker-child-heritage-signature {
  margin-top: 24px;
}

.baker-child-heritage-signature span {
  color: #1a1a1a;
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  font-style: italic;
  line-height: 1;
}

.baker-child-heritage-signature img {
  display: block;
  height: auto;
  max-width: 190px;
  width: 52%;
}

.baker-child-heritage-signature small {
  color: #c9c5b1 !important;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
  text-transform: uppercase;
}

.baker-child-heritage-manifest-head h3,
.baker-child-heritage-manifest-head h3 {
  font-size: 56px;
  line-height: 1.05;
  margin-bottom: 28px;
}

.baker-child-heritage-manifest {
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(57, 38, 25, 0.12);
  padding: 54px;
  position: relative;
  overflow: hidden;
}

.baker-child-heritage-manifest-grid {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  position: relative;
  z-index: 1;
}

.baker-child-heritage-manifest-text {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.baker-child-heritage-manifest-text p {
  margin-top: 0;
}

.baker-child-heritage-manifest,
.baker-child-heritage-manifest .baker-child-heritage-kicker,
.baker-child-heritage-manifest .baker-child-heritage-eyebrow,
.baker-child-heritage-manifest h3,
.baker-child-heritage-manifest p,
.baker-child-heritage-manifest strong,
.baker-child-heritage-manifest .baker-child-heritage-signature span,
.baker-child-heritage-manifest .baker-child-heritage-signature small {
  color: var(--manifest-text) !important;
}

.baker-child-heritage-manifest .baker-child-heritage-signature {
  border-top-color: var(--manifest-rule);
}

.baker-child-heritage-manifest--bone {
  --manifest-text: #241d18;
  --manifest-rule: rgba(36, 29, 24, 0.14);
  background-color: #ffffff;
  border: 0;
}

.baker-child-heritage-manifest--bone .baker-child-heritage-kicker,
.baker-child-heritage-manifest--bone h3 {
  color: #ae0000 !important;
}

.baker-child-heritage-manifest--bone .baker-child-heritage-eyebrow {
  color: #241d18 !important;
}

.baker-child-heritage-manifest--bone .baker-child-heritage-signature small {
  color: #c9c5b1 !important;
}

/* 4. Special Orders Section (Catering & Cakes) */
.baker-child-special-orders {
  margin: 0 auto;
  max-width: 1200px;
  padding: 90px 20px;
}

.baker-child-service-panels {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.baker-child-service-panel {
  align-items: center;
  background-color: #fcf9f5;
  border: 1px solid #eee7dd;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(57, 38, 25, 0.07);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 360px;
  overflow: hidden;
  padding: 48px;
  position: relative;
}

.baker-child-service-panel--image {
  background-image: var(--baker-service-image, linear-gradient(135deg, #fcf9f5 0%, #f0ebe4 100%));
  background-position: center;
  background-size: cover;
}

.baker-child-service-panel-image {
  display: none;
}

.baker-child-service-panel--text-left .baker-child-service-panel-content {
  grid-column: 1;
}

.baker-child-service-panel--text-right .baker-child-service-panel-content {
  grid-column: 2;
}

.baker-child-service-panel-content {
  background-color: #ffffff;
  border: none;
  border-radius: 0;
  clip-path: url(#baker-wavy-dough-clip);
  filter: drop-shadow(0 18px 28px rgba(57, 38, 25, 0.08)) drop-shadow(0 4px 10px rgba(57, 38, 25, 0.05));
  padding: 52px 58px;
}

.baker-child-service-kicker {
  color: #ae0000;
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: normal;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.baker-child-service-panel h3 {
  color: #ae0000 !important;
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.baker-child-service-panel p {
  color: #4a4a4a;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 26px;
}

.baker-child-service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.baker-child-service-panel .baker-child-btn {
  padding: 13px 30px;
}

@media only screen and (max-width: 991px) {
  .baker-child-service-panel-content {
    text-align: center;
  }
  .baker-child-service-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .baker-child-service-panel .baker-child-btn {
    display: block;
    box-sizing: border-box;
    width: 300px;
    max-width: 100%;
    text-align: center;
  }
}

/* Reviews Carousel/Grid */
.baker-child-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.baker-child-review-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
}

.baker-child-review-rating {
  color: #ffb400;
  font-size: 16px;
  margin-bottom: 15px;
}

.baker-child-review-text {
  font-size: 14px;
  font-style: normal;
  color: #444444;
  margin-bottom: 20px;
}

.baker-child-review-author {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a1a1a;
}

/* 6. Opening Hours & Local Map Section */
.baker-child-local-bg {
  background-color: #fcf9f5;
  padding: 90px 20px;
}

.baker-child-local-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.baker-child-locations-grid {
  align-items: start;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.baker-child-location-card {
  background-color: #ffffff;
  border: 1px solid #eee7dd;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(57, 38, 25, 0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 30px 30px 30px;
  position: relative;
}

.baker-child-location-card::before {
  content: '';
  background-color: #ae0000;
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.baker-child-location-card-header {
  border-bottom: 1px solid #f0ebe4;
  margin-bottom: 16px;
  padding-bottom: 15px;
}

.baker-child-location-kicker {
  color: #ae0000;
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.25;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.baker-child-location-card h3 {
  color: #ae0000 !important;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.baker-child-location-card p {
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.35;
  margin: 0 !important;
}

.baker-child-hours-table {
  border: 0 !important;
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 12px;
  width: 100%;
}

.baker-child-hours-table tr {
  border: 0 !important;
}

.baker-child-hours-table td {
  border: 0 !important;
  border-bottom: 1px solid #f0ebe4 !important;
  font-size: 15px;
  line-height: 1.35;
  padding: 8px 0;
  text-align: left !important;
  vertical-align: top;
}

.baker-child-hours-table tr:last-child td {
  border-bottom: none !important;
}

.baker-child-hours-day {
  font-weight: 600;
  padding-right: 16px !important;
}

.baker-child-hours-time {
  color: #4a4a4a;
  text-align: left !important;
  white-space: nowrap;
}

.baker-child-location-card .baker-child-btn {
  align-self: stretch;
  box-sizing: border-box;
  margin-top: 4px;
  padding: 12px 26px;
  text-align: center;
  width: 100%;
}

.baker-child-locations-footer {
  margin-top: 34px;
  text-align: center;
}

.baker-child-locations-footer .baker-child-btn {
  padding-left: 42px;
  padding-right: 42px;
}

.baker-child-mobile-toggle {
  display: none;
}

.baker-child-location-details {
  display: contents;
}

.baker-child-service-pagination,
.baker-child-locations-pagination {
  display: none;
}

.baker-child-mobile-shop-cta {
  display: none;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cookie notice aligned with the relaunch design */
#cookie-notice {
  background-color: #ffffff !important;
  border-top: 1px solid #eee7dd;
  box-shadow: 0 -10px 30px rgba(57, 38, 25, 0.1);
  color: #45413e !important;
  font-family: 'Roboto', sans-serif;
}

#cookie-notice .cookie-notice-container {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 14px 56px 14px 24px;
}

#cookie-notice .cn-text-container {
  color: #595552;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

#cookie-notice .cn-buttons-container {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
  margin: 0;
}

#cookie-notice .cn-button {
  align-items: center;
  background-color: #ffffff !important;
  border: 1px solid #ae0000 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: #ae0000 !important;
  cursor: pointer;
  display: inline-flex !important;
  font-family: 'Roboto', sans-serif;
  font-size: 11px !important;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1 !important;
  margin: 0 !important;
  min-height: 36px;
  padding: 10px 18px !important;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#cookie-notice #cn-accept-cookie {
  background-color: #ae0000 !important;
  color: #ffffff !important;
  min-width: 64px;
}

#cookie-notice .cn-button:hover,
#cookie-notice .cn-button:focus-visible {
  background-color: #ae0000 !important;
  color: #ffffff !important;
}

#cookie-notice .cn-close-icon {
  cursor: pointer;
  opacity: 0.55;
  right: 18px;
  transition: opacity 0.2s ease;
}

#cookie-notice .cn-close-icon::before,
#cookie-notice .cn-close-icon::after {
  background-color: #45413e !important;
}

#cookie-notice .cn-close-icon:hover {
  opacity: 1;
}

/* Media Queries for full mobile responsiveness */
@media only screen and (max-width: 992px) {
  .baker-child-heritage-manifest-grid,
  .baker-child-locations-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .baker-child-heritage-manifest-text {
    grid-template-columns: 1fr;
  }
  .baker-child-products-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .baker-child-seasonal-shop {
    grid-template-columns: 1fr;
  }
  .baker-child-buy-window,
  .baker-child-buy-window-products,
  .baker-child-category-doors {
    grid-template-columns: 1fr;
  }
  .baker-child-shop-rail-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .baker-child-shop-rail-controls {
    align-self: flex-end;
  }
  .baker-child-shop-rail-track {
    grid-auto-columns: minmax(240px, 75%);
  }
  .baker-child-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .baker-child-service-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .baker-child-service-panel--text-left .baker-child-service-panel-content,
  .baker-child-service-panel--text-right .baker-child-service-panel-content {
    grid-column: 1;
  }
}

@media only screen and (max-width: 768px) {
  .page-template-page-relaunch-preview #edgtf-back-to-top {
    display: none !important;
  }

  .baker-child-mobile-shop-cta {
    align-items: center;
    background-color: #ae0000;
    border: 1px solid #ae0000;
    border-radius: 999px;
    bottom: calc(var(--baker-cookie-height, 0px) + 12px);
    box-shadow: 0 10px 24px rgba(95, 0, 0, 0.24);
    box-sizing: border-box;
    color: #ffffff !important;
    display: flex;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 700;
    height: 50px;
    justify-content: center;
    left: 50%;
    max-width: 358px;
    position: fixed;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, calc(100% + 24px));
    transition: background-color 0.2s ease, bottom 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    width: calc(100% - 32px);
    z-index: 9998;
  }
  .baker-child-mobile-shop-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
  .baker-child-mobile-shop-cta:hover,
  .baker-child-mobile-shop-cta:focus-visible {
    background-color: #930000;
    color: #ffffff !important;
  }
  .baker-child-mobile-shop-cta:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: -4px;
  }
  .baker-child-mobile-shop-cta.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, calc(100% + 24px));
  }

  #cookie-notice .cookie-notice-container {
    align-items: center;
    display: grid;
    gap: 7px;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 10px 40px;
    text-align: center;
  }

  #cookie-notice .cn-text-container {
    font-size: 11px;
    line-height: 1.4;
    margin: 0;
    text-align: center;
  }

  #cookie-notice .cn-buttons-container {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin: 0;
    white-space: nowrap;
  }

  #cookie-notice .cn-button {
    font-size: 10px !important;
    line-height: 1;
    margin: 0;
    min-height: 32px;
    padding: 8px 12px !important;
  }

  #cookie-notice .cn-close-icon {
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
  }

  .baker-child-hero-content-wrapper {
    width: calc(100% - 15px);
    margin: 0 auto;
  }
  .baker-child-hero-content {
    padding: 45px 35px;
    width: 100%;
    box-sizing: border-box;
  }
  /* Wavy shape maintained on mobile */
  .baker-child-dough-wavy {
    clip-path: url(#baker-wavy-dough-clip);
    border-radius: 0;
  }
  .baker-child-hero-badge {
    font-size: 11px;
    padding: 8px 16px;
  }
  .baker-child-hero-title {
    font-size: 30px;
    margin-top: 12px;
    margin-bottom: 15px;
  }
  .baker-child-hero-subtitle {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .baker-child-section {
    padding: 60px 20px;
  }
  .baker-child-product-showcase {
    padding: 60px 20px;
  }
  .baker-child-heritage-variants {
    padding: 60px 20px;
  }
  .baker-child-heritage-manifest {
    padding: 24px;
  }
  .baker-child-heritage-manifest-head h3 {
    font-size: 30px;
  }
  .baker-child-heritage-details {
    display: none;
  }
  .baker-child-heritage-details.is-mobile-open {
    display: block;
  }
  .baker-child-mobile-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: #ae0000;
    cursor: pointer;
    display: flex;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 700;
    justify-content: space-between;
    letter-spacing: 0;
    min-height: 44px;
    padding: 10px 0;
    text-align: left;
    text-transform: uppercase;
    width: 100%;
  }
  .baker-child-mobile-toggle::after {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: '';
    height: 7px;
    margin-left: 14px;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
    width: 7px;
  }
  .baker-child-mobile-toggle[aria-expanded='true']::after {
    transform: rotate(225deg) translate(-2px, -2px);
  }
  .baker-child-heritage-toggle {
    border-top: 1px solid rgba(36, 29, 24, 0.14);
    grid-column: 1 / -1;
    margin-top: -14px;
  }
  .baker-child-locations-grid {
    align-items: stretch;
    display: grid;
    gap: 12px;
    grid-auto-columns: calc(100% - 28px);
    grid-auto-flow: column;
    grid-template-columns: none;
    margin-right: -20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2px 20px 18px 0;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .baker-child-locations-grid::-webkit-scrollbar {
    display: none;
  }
  .baker-child-location-card {
    padding: 24px 22px 18px;
    scroll-snap-align: start;
  }
  .baker-child-location-card-header {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  .baker-child-location-details {
    display: flex;
    flex: 1;
    flex-direction: column;
  }
  .baker-child-service-pagination,
  .baker-child-locations-pagination {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 4px;
  }
  .baker-child-service-pagination button,
  .baker-child-locations-pagination button {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: flex;
    height: 36px;
    justify-content: center;
    padding: 0;
    width: 36px;
  }
  .baker-child-service-pagination button::before,
  .baker-child-locations-pagination button::before {
    background-color: #d9d1c7;
    border-radius: 50%;
    content: '';
    height: 10px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    width: 10px;
  }
  .baker-child-service-pagination button.is-active::before,
  .baker-child-locations-pagination button.is-active::before {
    background-color: #ae0000;
    transform: scale(1.25);
  }
  .baker-child-products-grid--compact {
    grid-template-columns: 1fr;
  }
  .baker-child-seasonal-shop {
    padding: 18px;
  }
  .baker-child-seasonal-shop-intro {
    padding: 42px 34px;
  }
  .baker-child-seasonal-shop-intro h3 {
    font-size: 27px;
  }
  .baker-child-seasonal-product {
    grid-template-columns: 82px minmax(0, 1fr);
  }
  .baker-child-buy-window {
    padding: 24px;
  }
  .baker-child-buy-window-copy h3 {
    font-size: 29px;
  }
  .baker-child-shop-rail {
    padding: 26px 0 24px;
  }
  .baker-child-shop-rail-header,
  .baker-child-shop-rail-footer {
    padding-inline: 20px;
  }
  .baker-child-shop-rail-track {
    padding: 6px 20px 14px;
    scroll-padding-inline: 20px;
    grid-auto-columns: minmax(220px, 80%);
  }
  .baker-child-shop-rail-intro h3 {
    font-size: 25px;
  }
  .baker-child-buy-product--featured {
    grid-row: auto;
  }
  .baker-child-category-door {
    min-height: 190px;
    padding: 26px;
  }
  .baker-child-category-door strong {
    font-size: 22px;
  }
  .baker-child-reviews-grid {
    grid-template-columns: 1fr;
  }
  .baker-child-special-orders {
    padding: 60px 20px;
  }
  .baker-child-service-panels {
    align-items: stretch;
    display: grid;
    gap: 12px;
    grid-auto-columns: calc(100% - 28px);
    grid-auto-flow: column;
    grid-template-columns: none;
    margin-right: -20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2px 20px 18px 0;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .baker-child-service-panels::-webkit-scrollbar {
    display: none;
  }
  .baker-child-service-panel {
    padding: 0;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
  }
  .baker-child-service-panel--image,
  .baker-child-service-panel--image.baker-child-service-panel--text-right {
    background-image: none;
    background-color: #fcf9f5;
  }
  .baker-child-service-panel-image {
    display: block;
    height: 200px;
    object-fit: cover;
    width: 100%;
  }
  .baker-child-service-panel-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 32px 24px;
    margin: -36px 14px 14px;
    position: relative;
    background-color: #ffffff;
  }
  .baker-child-service-actions {
    margin-top: auto;
  }
  .baker-child-service-panel h3 {
    font-size: 26px;
  }
  .baker-child-service-panel p {
    font-size: 15px;
  }
}

/* ==========================================================================
   GOOGLE REVIEWS COMPACT TRUST BAR (MINIMAL & CLEAN)
   ========================================================================== */
.baker-child-trust-bar {
  background-color: #fcf9f5;
  border-bottom: 1px solid #eaeaea;
  padding: 25px 20px;
}

.baker-child-trust-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.baker-child-trust-summary {
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  border-right: 1px solid #eaeaea;
  padding-right: 40px;
  text-decoration: none;
}

.baker-child-trust-summary:hover,
.baker-child-trust-summary:focus-visible {
  color: inherit;
  text-decoration: none;
}

.baker-child-trust-summary:focus-visible {
  outline: 2px solid #ae0000;
  outline-offset: 6px;
}

.baker-child-google-logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: #c9c5b1;
}

.baker-child-stars {
  color: #ffb400;
  font-size: 16px;
  margin: 4px 0;
  letter-spacing: 1px;
}

.baker-child-rating-text {
  font-size: 13px;
  color: #666666;
  font-family: 'Roboto', sans-serif;
}

.baker-child-trust-link-label {
  border-bottom: 1px solid currentColor;
  color: #ae0000;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 6px;
  text-transform: uppercase;
  transition: border-color 0.2s ease;
}

.baker-child-trust-summary:hover .baker-child-trust-link-label {
  border-color: transparent;
}

.baker-child-trust-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  flex-grow: 1;
}

.baker-child-trust-quote-item {
  background-color: #ffffff;
  padding: 15px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  border: 1px solid #f0f0f0;
}

.baker-child-quote-stars {
  color: #ffb400;
  font-size: 12px;
  display: block;
  margin-bottom: 6px;
}

.baker-child-quote-text {
  font-size: 13px;
  line-height: 1.45;
  color: #333333;
  margin: 0 0 6px 0 !important;
  font-style: normal;
  font-family: 'Roboto', sans-serif;
}

.baker-child-quote-author {
  font-size: 11px;
  font-weight: 600;
  color: #888888;
  font-family: 'Roboto', sans-serif;
}

/* Responsive adjust for Trust Bar */
@media (max-width: 991px) {
  .baker-child-trust-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }
  .baker-child-trust-summary {
    border-right: none;
    padding-right: 0;
    align-items: center;
  }
  .baker-child-trust-quotes {
    display: grid;
    gap: 12px;
    grid-auto-columns: calc(100% - 28px);
    grid-auto-flow: column;
    grid-template-columns: none;
    margin-right: -20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2px 20px 12px 0;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    width: 100%;
  }
  .baker-child-trust-quotes::-webkit-scrollbar {
    display: none;
  }
  .baker-child-trust-quote-item {
    scroll-snap-align: start;
    text-align: left;
  }
}
