/**
* Theme Name:     CanepBakery Layout
* Theme URI:      https://canepbakery.com/
* Author:         CanepBakery
* Author URI:     https://canepbakery.com
* Description:    Premium Artisan Bakery theme — CanepBakery.
* Version:        1.0.0
* License:        GNU General Public License v3.0 (or later)
* License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --global-gray-400: #E8DDD3;
  --global-button-height: 48px;
  --global-button-max-height: 48px;
  --global-palette-highlight: var(--global-palette2);
  --bakery-shadow: 0 4px 20px rgba(59, 36, 23, 0.08);
  --bakery-shadow-hover: 0 8px 30px rgba(59, 36, 23, 0.14);
  --bakery-radius: 8px;
  --bakery-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   GLOBAL TYPOGRAPHY ENHANCEMENTS
   ============================================ */
b,
strong,
.woocommerce form .form-row label {
  font-weight: 600;
}

.woocommerce form .form-row label, .woocommerce table.shop_table tfoot th, .woocommerce table.shop_table th {
  font-weight: 600;
}

.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th {
  font-weight: 600;
}

.woocommerce form .form-row label {
  color: var(--global-palette4);
  font-weight: 500;
}

.entry-title a:hover {
  color: var(--global-palette1);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-weight: 600;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
@keyframes bakeryFadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bakeryFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bakerySlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bakeryScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================
   BORDER RADIUS & SHADOWS
   ============================================ */
.kb-splide.splide--draggable > .splide__slider > .splide__track, .kb-splide.splide--draggable > .splide__track {
  border-radius: var(--bakery-radius);
}

.blog .post-thumbnail, .single-post .post-thumbnail, .category .post-thumbnail {
  border-radius: var(--bakery-radius);
  overflow: hidden;
}

/* ============================================
   SIDEBAR
   ============================================ */
.primary-sidebar .widget .wp-block-latest-posts__list li {
  line-height: 1.5;
}

.mobile-navigation .woocommerce ul li a {
  padding: 10px 18px;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.welcome-newsletter input[type=email] {
  min-height: 49px;
  min-width: 210px;
  max-width: 210px;
  border-radius: var(--bakery-radius);
  margin-bottom: 10px;
  border: 1px solid var(--global-gray-400);
}

.welcome-newsletter {
  text-align: center;
}

/* ============================================
   PRODUCT BRAND TAXONOMY
   ============================================ */
.tax-product_brands .archive-description {
  color: var(--global-palette3);
}

/* ============================================
   PRODUCT TITLE TRUNCATION
   ============================================ */
.menu .menu-item .woocommerce ul.products li.product .woocommerce-loop-product__title a, .woocommerce .woocommerce-loop-product__title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.products-list .product-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* ============================================
   MEGA MENU
   ============================================ */
.header-menu-container ul.menu > li.base-menu-mega-enabled > ul .nav-drop-title-wrap {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
  text-transform: capitalize;
  color: var(--global-palette3);
  padding-bottom: 5px;
  font-family: 'Playfair Display', Georgia, serif;
}
.header-menu-container ul.menu > li.base-menu-mega-enabled > ul .nav-drop-title-wrap:hover {
  color: var(--global-palette1);
}

/* ============================================
   SIDEBAR WIDGETS
   ============================================ */
.primary-sidebar.widget-area .widget, #filter-drawer .widget {
  background-color: var(--global-palette8);
  padding: 22px;
  border-radius: var(--bakery-radius);
  box-shadow: var(--bakery-shadow);
  transition: var(--bakery-transition);
}
.primary-sidebar.widget-area .widget:hover, #filter-drawer .widget:hover {
  box-shadow: var(--bakery-shadow-hover);
}
.primary-sidebar.widget-area .widget-content, #filter-drawer .widget-content {
  padding: 10px 0px 0px 0px;
  margin-top: 3px;
}
.primary-sidebar.widget-area .wp-widget-group__inner-blocks, #filter-drawer .wp-widget-group__inner-blocks {
  padding: 0 0 15px 0px;
}
.primary-sidebar.widget-area ol, #filter-drawer ol {
  margin: 0;
}
.primary-sidebar.widget-area .widget-title, #filter-drawer .widget-title {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--global-gray-400);
  font-family: 'Playfair Display', Georgia, serif;
}

/* ============================================
   HEADER — CATEGORY HOVER
   ============================================ */
.site-header .elementor-section .elementor-element.elementor-widget-tmcore-product-categories .product-cat:hover .cat-image img {
  border-color: var(--global-palette1);
}

/* ============================================
   HEADER — DECORATIVE ELEMENT
   ============================================ */
.site-header .site-main-header-wrap {
  position: relative;
}
.site-header .site-main-header-wrap::after {
  position: absolute;
  content: "";
  background-image: url(../default/img/header-icon.svg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 77px;
  height: 85px;
  right: 0;
  bottom: 61px;
  z-index: -1;
  opacity: 0.12;
}

/* ============================================
   HEADER — CART & NAVIGATION
   ============================================ */
.site-header .site-main-header-wrap .site-main-header-inner-wrap .header-cart-button .header-cart-total {
  margin-left: -12px;
  margin-top: -20px;
}
.site-header .site-main-header-wrap .site-main-header-inner-wrap .main-navigation .primary-menu-container > ul > li.menu-item {
  margin: 0 5px;
}
.site-header .site-main-header-wrap .site-main-header-inner-wrap .main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a {
  background: var(--global-palette1);
  color: #FFFCF9;
  border-radius: var(--bakery-radius);
}
.site-header .site-main-header-wrap .site-main-header-inner-wrap .main-navigation .primary-menu-container > ul > li.menu-item > a:hover {
  background: var(--global-palette1);
  color: #FFFCF9;
  border-radius: var(--bakery-radius);
  transition: var(--bakery-transition);
}

/* ============================================
   TRANSPARENT HEADER
   ============================================ */
.transparent-header #masthead .site-main-header-wrap .site-header-row-container-inner {
  border-radius: var(--bakery-radius);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer .site-top-footer-wrap .mc4wp-form .newsletter-form {
  margin-top: 30px;
}
.site-footer .site-top-footer-wrap .mc4wp-form .newsletter-form input[type=email] {
  max-width: 560px;
  width: 100%;
  height: 50px;
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 0 20px;
  border-radius: var(--bakery-radius);
  border: 1px solid rgba(200, 149, 108, 0.3);
  background-color: #FFFCF9;
  color: var(--global-palette3);
  font-family: 'Lato', sans-serif;
}
.site-footer .site-top-footer-wrap .mc4wp-form .newsletter-form input[type=email]:focus {
  border-color: var(--global-palette1);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 149, 108, 0.15);
}
.site-footer .site-top-footer-wrap .mc4wp-form .newsletter-form input[type=submit] {
  height: 50px;
  vertical-align: top;
  background-color: var(--global-palette2);
  color: #FFFCF9;
  border-radius: var(--bakery-radius);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--bakery-transition);
}
.site-footer .site-top-footer-wrap .mc4wp-form .newsletter-form input[type=submit]:hover {
  background-color: var(--global-palette1);
}
.site-footer .site-top-footer-wrap .widget-area .widget-title {
  margin-bottom: 7px;
  font-family: 'Playfair Display', Georgia, serif;
}
.site-footer .site-middle-footer-wrap .wp-block-columns {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  gap: 1em;
}
.site-footer .site-middle-footer-wrap .footer-widget-area .widget li + li {
  margin: 7px 0 0;
}
.site-footer .site-middle-footer-wrap .contact_info .contact-info-container p {
  margin: 12px 0;
}
.site-footer .site-middle-footer-wrap .widget-area .widget-title {
  margin-bottom: 15px;
  font-family: 'Playfair Display', Georgia, serif;
}
.site-footer .site-middle-footer-wrap .site-footer-middle-section-1 {
  width: 67%;
}

/* ============================================
   BANNERS
   ============================================ */
.cms-banner .elementor-column .elementor-widget-image {
  overflow: hidden;
  border-radius: var(--bakery-radius);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial .item-box {
  position: relative;
}
.testimonial .elementor-testimonial-image {
  position: absolute;
  left: 37px;
  top: 65px;
}
.testimonial .elementor-testimonial-item-wrapper .column-item {
  margin-bottom: 0 !important;
}

/* ============================================
   POST GRID
   ============================================ */
.elementor-element.elementor-widget-tmcore-post-grid .elementor-post-wrapper .entry-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  font-family: 'Playfair Display', Georgia, serif;
}
.elementor-element.elementor-widget-tmcore-post-grid .elementor-post-wrapper .entry-excerpt {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ============================================
   BUTTON HOVER
   ============================================ */
.button-hover .elementor-button:hover, .button-hover .post-button:hover {
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: var(--bakery-shadow-hover);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.menu .menu-item .woocommerce ul.products li.product {
  border: 1px solid var(--global-gray-400);
}

.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) {
  border-radius: var(--bakery-radius);
  box-shadow: var(--bakery-shadow);
  text-align: center;
  transition: var(--bakery-transition);
  border: 1px solid transparent;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item):hover {
  box-shadow: var(--bakery-shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(200, 149, 108, 0.2);
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap {
  padding-bottom: 25px;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap .woocommerce-loop-product__title {
  padding-bottom: 0;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap .product-action-wrap {
  max-width: -webkit-max-content;
  max-width: -moz-max-content;
  max-width: max-content;
  width: 100%;
  margin: 0 auto;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .star-rating {
  margin: 10px auto;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-thumbnail {
  margin: 5px;
  overflow: hidden;
  border-radius: var(--bakery-radius);
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-thumbnail img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item):hover .product-thumbnail img {
  transform: scale(1.05);
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item):hover .product-onsale {
  opacity: 0;
  transition: all 500ms ease 0s;
}
.woocommerce ul.products li.product .product-details.entry-content-wrap .woocommerce-loop-product__title a:hover {
  color: var(--global-palette1);
}
.woocommerce ul.products li.product .product-thumbnail {
  border-radius: var(--bakery-radius);
  overflow: hidden;
}
.woocommerce ul.products li.product .product-thumbnail .product-actions button:hover {
  color: var(--global-palette2);
}

/* ============================================
   ADD TO CART BUTTON
   ============================================ */
.woocommerce .base-sticky-add-to-cart-action-wrap a.added_to_cart,
.woocommerce div.product div.summary .added_to_cart,
.woocommerce a.added_to_cart:not(.woocommerce .product-action-wrap.style-text a.added_to_cart):not(form.cart .added_to_cart) {
  font-size: 14px;
  font-weight: 700;
  padding: 10px 26px;
  text-transform: uppercase;
  line-height: 29px;
  border-radius: var(--bakery-radius);
  letter-spacing: 0.5px;
  font-family: 'Lato', sans-serif;
}

/* ============================================
   RELATED/UPSELL HEADINGS
   ============================================ */
.woocommerce .related.products > h2, .woocommerce .woosc-quick-table > h2, .woocommerce .up-sells.upsells.products > h2, .woocommerce .cross-sells > h2 {
  text-align: center;
  margin-bottom: 30px;
  font-family: 'Playfair Display', Georgia, serif;
}

/* ============================================
   PRICES
   ============================================ */
.woocommerce .woocommerce-Price-amount:not(del .woocommerce-Price-amount):not(.tmcore-product-price-filter .woocommerce-Price-amount) {
  color: var(--global-palette2);
  font-weight: 700;
}
.woocommerce .tr-price,
.woocommerce .price,
.woocommerce .woocommerce-grouped-product-list-item__price {
  color: var(--global-palette2);
  font-weight: 700;
}
.woocommerce .tr-price del,
.woocommerce .price del,
.woocommerce .woocommerce-grouped-product-list-item__price del {
  color: var(--global-palette5);
  text-decoration-color: var(--global-palette5);
  font-weight: 400;
}

/* ============================================
   CART WIDGETS
   ============================================ */
.woocommerce ul.cart_list li a,
.woocommerce ul.cart_list li .quantity,
.woocommerce ul.product_list_widget li a,
.woocommerce ul.product_list_widget li .quantity {
  font-size: 1em;
}
.woocommerce ul.cart_list li a:hover {
  color: var(--global-palette1);
}

/* ============================================
   TABLES
   ============================================ */
.woocommerce table.shop_table {
  font-size: 100%;
  border-radius: var(--bakery-radius);
}

/* ============================================
   REVIEWS
   ============================================ */
.woocommerce #reviews #comments h2 {
  font-size: 19px;
  font-weight: 600;
  font-family: 'Playfair Display', Georgia, serif;
}
.woocommerce #reviews .comment-reply-title {
  font-size: 19px;
  font-weight: 600;
  font-family: 'Playfair Display', Georgia, serif;
}
.woocommerce form .form-row label {
  font-size: 100%;
}

/* ============================================
   SALE BADGE
   ============================================ */
.woocommerce span.onsale {
  font-size: 12px;
  font-weight: 600;
  padding: 0;
  height: 42px;
  width: 42px;
  line-height: 42px;
  background: var(--global-palette2);
  color: #FFFCF9;
  border-radius: 50%;
  font-family: 'Lato', sans-serif;
}
.woocommerce div.product div.summary .product-onsale span.onsale {
  padding: 0px;
  font-size: 12px;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  line-height: 42px;
  background: var(--global-palette2);
  color: var(--global-palette9);
}

.menu .menu-item .woocommerce ul.products li.product .onsale {
  padding: 0;
  font-size: 12px;
}

/* ============================================
   STICKY ADD TO CART
   ============================================ */
.base-sticky-add-to-cart-title-wrap .base-sticky-add-to-cart-title {
  font-size: 15px;
  font-weight: 500;
  font-family: 'Lato', sans-serif;
}

/* ============================================
   BUY NOW BUTTON
   ============================================ */
.woocommerce div.product div.summary form.cart .button.button-buy-now {
  background-color: var(--global-palette1);
  color: #FFFCF9;
  border-radius: var(--bakery-radius);
  transition: var(--bakery-transition);
}
.woocommerce div.product div.summary form.cart .button.button-buy-now:hover {
  background-color: var(--global-palette2);
}

/* ============================================
   CAROUSEL
   ============================================ */
.woocommerce-carousel .splide__track ul.products {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transform-style: unset;
          transform-style: unset;
}
.woocommerce-carousel .splide__track ul.products li.product:not(.product-cat) {
  margin: 0;
  margin-right: 32px;
  width: calc(25% - 24px);
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.elementor-widget-tmcore-testimonials .splide__track .elementor-testimonial-item {
  width: 50%;
  padding-left: 15px;
  padding-right: 15px;
}

.elementor-post-wrapper .splide__track .column-item {
  width: 33.3333%;
  padding-left: 15px;
  padding-right: 15px;
}

.elementor-brand-wrapper .tmcore-carousel {
  display: block;
}
.elementor-brand-wrapper .splide__track .elementor-brand-item {
  width: 16.6667%;
}

/* ============================================
   DARK MODE
   ============================================ */
.color-switch-dark .elementor-brand-image img {
  -webkit-filter: invert(0.5);
          filter: invert(0.5);
}
.color-switch-dark.woocommerce div.product div.summary form.cart .button.button-buy-now {
  background-color: var(--global-palette-btn-bg);
  color: var(--global-palette-btn);
}
.color-switch-dark.woocommerce div.product div.summary form.cart .button.button-buy-now:hover {
  background-color: var(--global-palette-btn-bg-hover);
  color: var(--global-palette-btn-hover);
}
.color-switch-dark #mobile-drawer .drawer-inner {
  background: var(--global-palette7);
}

/* ============================================
   ELEMENTOR SECTIONS — BAKERY ENHANCEMENTS
   ============================================ */

/* Section headings */
.elementor-widget-heading .elementor-heading-title {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Icon boxes */
.elementor-widget-icon-box .elementor-icon {
  transition: var(--bakery-transition);
}
.elementor-widget-icon-box:hover .elementor-icon {
  transform: scale(1.08);
}

/* Image hover zoom */
.elementor-widget-image .elementor-image img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.elementor-widget-image:hover .elementor-image img {
  transform: scale(1.03);
}

/* Buttons — global Elementor */
.elementor-button {
  border-radius: var(--bakery-radius) !important;
  transition: var(--bakery-transition) !important;
  font-family: 'Lato', sans-serif !important;
}
.elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--bakery-shadow-hover);
}

/* Testimonial cards */
.elementor-testimonial-item {
  border-radius: var(--bakery-radius);
  transition: var(--bakery-transition);
}
.elementor-testimonial-item:hover {
  box-shadow: var(--bakery-shadow-hover);
}

/* ============================================
   RESPONSIVE — 1366px
   ============================================ */
@media (max-width: 1366px) {
  .site-footer .site-middle-footer-wrap .site-footer-middle-section-1 {
    width: 87%;
  }
  .woocommerce-carousel .splide__track ul.products li.product:not(.product-cat) {
    margin-right: 25px;
    width: calc(25% - 18.75px);
  }
  .elementor-brand-wrapper .splide__track .elementor-brand-item {
    width: 20%;
  }
}

/* ============================================
   RESPONSIVE — 1530px+
   ============================================ */
@media (min-width: 1530px) {
  .transparent-header #masthead .site-main-header-wrap .site-header-row-container-inner {
    margin: 0 -50px;
  }
}

@media (max-width: 1529px) {
  .site-header .site-main-header-wrap::after {
    right: 47px;
  }
}

/* ============================================
   RESPONSIVE — 1025-1200px
   ============================================ */
@media (min-width: 1025px) and (max-width: 1200px) {
  .woocommerce div.product div.images {
    width: 600px !important;
  }
  .site-top-header-inner-wrap {
    min-height: 110px;
  }
}

@media (min-width: 1025px) and (max-width: 1080px) {
  .site-header .main-navigation .primary-menu-container > ul li.menu-item > a {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ============================================
   RESPONSIVE — TABLET (1024px)
   ============================================ */
@media (max-width: 1024px) {
  .transparent-header #masthead .site-main-header-wrap .site-header-row-container-inner {
    border-radius: 0;
  }
  .site-header .site-main-header-wrap::after {
    display: none;
  }
  .testimonial .elementor-testimonial-image {
    left: 17px;
    top: 55px;
  }
  .testimonial .elementor-testimonial-image img {
    width: 95px;
  }
  .woocommerce .base-sticky-add-to-cart-action-wrap a.added_to_cart,
  .woocommerce div.product div.summary .added_to_cart,
  .woocommerce a.added_to_cart:not(.woocommerce .product-action-wrap.style-text a.added_to_cart):not(form.cart .added_to_cart) {
    padding: 10px 18px;
  }
  .archive ul.products:not(.products-list-view):not(.splide__list):not(.products-list ul.products),
  .archive .wp-site-blocks .wc-block-grid:not(.has-2-columns):not(has-1-columns) .wc-block-grid__products, .single-product ul.products:not(.products-list-view):not(.splide__list):not(.products-list ul.products),
  .single-product .wp-site-blocks .wc-block-grid:not(.has-2-columns):not(has-1-columns) .wc-block-grid__products, .woocommerce-cart ul.products:not(.products-list-view):not(.splide__list):not(.products-list ul.products),
  .woocommerce-cart .wp-site-blocks .wc-block-grid:not(.has-2-columns):not(has-1-columns) .wc-block-grid__products {
    -webkit-column-gap: 1em;
       -moz-column-gap: 1em;
            column-gap: 1em;
    row-gap: 1em;
  }
  .woocommerce-carousel .splide__track ul.products li.product:not(.product-cat) {
    margin-right: 20px;
    width: calc(33.3333% - 13.3333px);
  }
  .elementor-post-wrapper .splide__track .column-item {
    width: 50%;
    padding-left: 10px;
    padding-right: 10px;
  }
  .elementor-brand-wrapper .splide__track .elementor-brand-item {
    width: 25%;
  }
}

@media (max-width: 1024px) and (min-width: 541px) {
  .archive ul.products:not(.products-list-view, .woocommerce.columns-mobile-1 ul.products.grid-cols):not(.splide_list), .single-product ul.products:not(.products-list-view, .woocommerce.columns-mobile-1 ul.products.grid-cols):not(.splide_list), .woocommerce-cart ul.products:not(.products-list-view, .woocommerce.columns-mobile-1 ul.products.grid-cols):not(.splide_list) {
    -ms-grid-columns: (minmax(0, 1fr))[3];
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ============================================
   RESPONSIVE — MOBILE (767px)
   ============================================ */
@media (max-width: 767px) {
  .cms-banner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .cms-banner .elementor-column {
    margin: auto;
    width: auto;
  }
  .woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap {
    padding-bottom: 16px;
  }
  .woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap .product-action-wrap {
    padding-top: 7px;
  }
  .woocommerce .base-sticky-add-to-cart-action-wrap a.added_to_cart,
  .woocommerce div.product div.summary .added_to_cart,
  .woocommerce a.added_to_cart:not(.woocommerce .product-action-wrap.style-text a.added_to_cart):not(form.cart .added_to_cart) {
    font-size: 13px;
  }
  .woocommerce span.onsale {
    font-size: 11px;
    height: 36px;
    width: 36px;
    line-height: 36px;
  }
  .menu .menu-item .woocommerce ul.products li.product .onsale {
    font-size: 11px;
  }
  .testimonial .elementor-testimonial-image {
    position: static;
    display: inline-block;
  }
  .testimonial .elementor-testimonial-image img {
    width: 75px;
  }
  .testimonial .details {
    display: inline-block;
    width: auto;
    vertical-align: top;
    margin-top: 35px;
  }
  .site-footer .site-top-footer-wrap .mc4wp-form .newsletter-form {
    margin-top: 20px;
  }
  .woocommerce-carousel .splide__track ul.products li.product:not(.product-cat) {
    margin-right: 15px;
    width: calc(33.3333% - 10px);
  }
  .elementor-widget-tmcore-testimonials .splide__track .elementor-testimonial-item {
    width: 100%;
  }
  .elementor-post-wrapper .splide__track .column-item {
    width: 50%;
    padding-left: 10px;
    padding-right: 10px;
  }
  .elementor-brand-wrapper .splide__track .elementor-brand-item {
    width: 33.3333%;
  }

  /* Disable hover animations on touch */
  .woocommerce ul.products:not(.products-list-view) li.product:not(.product-item):hover {
    transform: none;
  }
  .elementor-button:hover {
    transform: none;
  }
}

/* ============================================
   RESPONSIVE — 650px
   ============================================ */
@media (max-width: 650px) {
  .woocommerce .time-sale.style_9 .tmcore-countdown {
    padding: 7px 4px;
  }
  .woocommerce .time-sale.style_9 .tmcore-countdown span.countdown-digits {
    font-size: 10px;
  }
}

/* ============================================
   RESPONSIVE — 540px
   ============================================ */
@media (max-width: 540px) {
  .site-header .custom-logo-link img, .site-header img.base-dark-mode-logo {
    width: 140px;
  }
  .site-header .site-header-item {
    margin-right: 15px;
  }
  .woocommerce-carousel .splide__track ul.products li.product:not(.product-cat) {
    width: calc(50% - 7.5px);
  }
  .elementor-post-wrapper .splide__track .column-item {
    width: 100%;
  }
}

/* ============================================
   RESPONSIVE — 520px
   ============================================ */
@media (max-width: 520px) {
  .why-choose-us {
    background-position: center left !important;
  }
  .why-choose-us .col-1, .why-choose-us .col-2, .why-choose-us .col-3, .why-choose-us .col-4 {
    width: 100% !important;
  }
  .why-choose-us .col-1 .elementor-widget-wrap, .why-choose-us .col-2 .elementor-widget-wrap, .why-choose-us .col-3 .elementor-widget-wrap, .why-choose-us .col-4 .elementor-widget-wrap {
    -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
            justify-content: center !important;
  }
  .why-choose-us .col-1 .elementor-element-populated, .why-choose-us .col-2 .elementor-element-populated, .why-choose-us .col-3 .elementor-element-populated, .why-choose-us .col-4 .elementor-element-populated {
    margin: 20px 0px 10px 0px !important;
  }
  .why-choose-us .col-4 .elementor-element-populated {
    margin: 20px 0px 20px 0px !important;
  }
}

/* ============================================
   RESPONSIVE — 470px
   ============================================ */
@media (max-width: 470px) {
  .cms-banner .elementor-column .cms-heading .elementor-heading-title {
    font-size: 16px !important;
    line-height: 23px !important;
  }
}

/* ============================================
   RESPONSIVE — 380px
   ============================================ */
@media (max-width: 380px) {
  .site-header .custom-logo-link img, .site-header img.base-dark-mode-logo {
    width: 120px;
  }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.canep-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: var(--bakery-transition);
  cursor: pointer;
  text-decoration: none;
}
.canep-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
.canep-whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

/* ============================================
   SCROLL TO TOP ENHANCEMENT
   ============================================ */
#bt-scroll-up {
  border-radius: var(--bakery-radius) !important;
  transition: var(--bakery-transition) !important;
}
#bt-scroll-up:hover {
  transform: translateY(-3px);
}

/* ============================================
   BREADCRUMB OVERLAY
   ============================================ */
.entry-hero-container-inner {
  position: relative;
}
.entry-hero-container-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(248, 241, 234, 0.85), rgba(253, 248, 243, 0.7));
  z-index: 0;
  pointer-events: none;
}
.entry-hero-container-inner > * {
  position: relative;
  z-index: 1;
}

/* ============================================
   SELECTION COLOR
   ============================================ */
::selection {
  background-color: rgba(200, 149, 108, 0.25);
  color: #3B2417;
}
::-moz-selection {
  background-color: rgba(200, 149, 108, 0.25);
  color: #3B2417;
}

/* ============================================
   FOCUS STATES (ACCESSIBILITY)
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--global-palette1);
  outline-offset: 2px;
}