/* ==========================================================================
   Shop Sidebar (BEM)
   ========================================================================== */

.pf-shop-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Sidebar Widget */
.pf-shop-widget {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
}

.pf-shop-widget__header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.pf-shop-widget__icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  color: #ffffff;
}

.pf-shop-widget__icon-box--orange {
  background: linear-gradient(to right, #fb923c, #f97316);
}

.pf-shop-widget__icon-box--blue {
  background: linear-gradient(to right, #60a5fa, #3b82f6);
}

.pf-shop-widget__icon-box--green {
  background: linear-gradient(to right, #4ade80, #22c55e);
}

.pf-shop-widget__icon-box--purple {
  background: linear-gradient(to right, #c084fc, #a855f7);
}

.pf-shop-widget__icon-box--indigo {
  background: linear-gradient(to right, #818cf8, #6366f1);
}

.pf-shop-widget__icon-box--pink {
  background: linear-gradient(to right, #f472b6, #ec4899);
}

.pf-shop-widget__icon {
  width: 1.25rem;
  height: 1.25rem;
}

.pf-shop-widget__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

/* Category List */
.pf-shop-category-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pf-shop-category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-radius: 0.5rem;
  color: #374151;
  transition: all 0.2s ease;
  text-decoration: none;
}

.pf-shop-category-item:hover {
  background-color: #fff7ed; /* orange-50 equivalent, we can use generic bg */
  color: #ea580c;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.pf-shop-category-item--indigo:hover {
  background-color: #eef2ff;
  color: #4f46e5;
}

.pf-shop-category-item__left {
  display: flex;
  align-items: center;
}

.pf-shop-category-item__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #fb923c;
  margin-right: 0.75rem;
  transition: background-color 0.2s ease;
}

.pf-shop-category-item--indigo .pf-shop-category-item__dot {
  background-color: #818cf8;
}

.pf-shop-category-item:hover .pf-shop-category-item__dot {
  background-color: #f97316;
}

.pf-shop-category-item--indigo:hover .pf-shop-category-item__dot {
  background-color: #6366f1;
}

.pf-shop-category-item__name {
  font-weight: 500;
}

.pf-shop-category-item__count {
  font-size: 0.75rem;
  background-color: #f3f4f6;
  color: #4b5563;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.pf-shop-category-item:hover .pf-shop-category-item__count {
  background-color: #ffedd5;
  color: #c2410c;
}

.pf-shop-category-item--indigo:hover .pf-shop-category-item__count {
  background-color: #e0e7ff;
  color: #4338ca;
}

/* Tags */
.pf-shop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pf-shop-tag {
  display: inline-block;
  background-color: #f3e8ff;
  color: #7e22ce;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pf-shop-tag:hover {
  background-color: #a855f7;
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Sort Select */
.pf-shop-sort-select {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  color: #374151;
  background-color: #f9fafb;
  transition: all 0.2s ease;
  outline: none;
}

.pf-shop-sort-select:focus {
  border-color: #f472b6;
  background-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(244, 114, 182, 0.2);
}

/* ==========================================================================
   Product Tabs (BEM)
   ========================================================================== */

.pf-product-tabs {
  margin-top: 2rem;
}

.pf-product-tabs__list-wrapper {
  border-bottom: 1px solid #e5e7eb;
}

.pf-product-tabs__list {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pf-product-tabs__item {
  margin: 0;
}

.pf-product-tabs__button {
  display: inline-block;
  padding: 0.25rem 0.25rem 1rem 0.25rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #6b7280;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.pf-product-tabs__button:hover {
  color: #111827;
}

.pf-product-tabs__button--active {
  color: #111827;
  border-bottom-color: var(--pf-primary-color, #f97316);
}

.pf-product-tabs__content {
  padding: 2rem 0;
  line-height: 1.75;
  color: #374151;
}

.pf-product-tabs__content--hidden {
  display: none;
}

/* ==========================================================================
   My Account (BEM)
   ========================================================================== */

.pf-my-account__container {
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.pf-my-account__mobile-toggle {
  display: block;
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
  .pf-my-account__mobile-toggle {
    display: none;
  }
}

.pf-my-account__mobile-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-weight: 500;
  color: #111827;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.pf-my-account__mobile-toggle-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.2s ease;
}

.pf-my-account__mobile-toggle-icon--rotated {
  transform: rotate(180deg);
}

.pf-my-account__layout {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .pf-my-account__layout {
    flex-direction: row;
  }
}

.pf-my-account__sidebar {
  width: 100%;
  background-color: #f9fafb;
  display: none;
}

@media (min-width: 768px) {
  .pf-my-account__sidebar {
    width: 25%;
    border-right: 1px solid #e5e7eb;
    display: block !important;
  }
}

.pf-my-account__sidebar--visible {
  display: block;
}

.pf-my-account__sidebar-inner {
  padding: 1.5rem;
}

.pf-my-account__content {
  flex: 1;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .pf-my-account__content {
    padding: 2rem;
  }
}

/* ==========================================================================
   Single Product & Gallery (Pawfect Pro)
   ========================================================================== */

.pf-woo-single__image-col {
  position: relative !important;
  background-color: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid var(--pawfect-border-color, #e2e8f0);
  overflow: hidden;
  box-shadow: none;
  display: block;
}

.pf-woo-single__badge,
.pf-product-badge--sale,
.pf-woo-single__badge-sale,
.woocommerce span.onsale,
span.onsale {
  position: absolute !important;
  top: 1rem !important;
  left: 1rem !important;
  z-index: 30 !important;
  background-color: var(--pawfect-primary, var(--pf-primary, #F4A259)) !important;
  color: #ffffff !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 0.35rem 0.85rem !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 12px rgba(244, 162, 89, 0.35) !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em !important;
  border: none !important;
  margin: 0 !important;
  min-height: auto !important;
  min-width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
}

.pawfect-wishlist-active svg,
.pf-wishlist-active svg,
.pawfect-wishlist-btn.pawfect-wishlist-active svg,
.pawfect-wishlist-btn.pf-wishlist-active svg {
  fill: currentColor !important;
  stroke: currentColor !important;
  display: block !important;
}

.pf-woo-single__main-img-box {
  width: 100%;
  display: block;
  background-color: #ffffff;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
}

.pf-woo-single__main-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.pf-woo-single__gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
  gap: 0.875rem;
  margin-top: 1rem;
}

.pf-woo-single__gallery-thumb-btn {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s ease;
  display: block;
}

.pf-woo-single__gallery-thumb-btn:hover,
.pf-woo-single__gallery-thumb-btn--active {
  border-color: var(--pawfect-primary, var(--pf-primary, #F4A259)) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pf-woo-single__gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Classic Product Card */
.pf-product-card-classic {
  position: relative;
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--pawfect-border-color, #e2e8f0);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: none !important;
}
.pf-product-card-classic:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05) !important;
  transform: translateY(-2px);
}
.pf-product-card-classic__accent-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-image: linear-gradient(to right, transparent, var(--pawfect-primary, var(--pf-primary, #F4A259)), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 10;
  pointer-events: none;
}
.pf-product-card-classic:hover .pf-product-card-classic__accent-line { opacity: 1; }
.pf-product-card-classic__img-wrap {
  position: relative;
  background-color: #faf9f6;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid var(--pawfect-border-color, #f1f5f9);
}
.pf-product-card-classic__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pf-product-card-classic:hover .pf-product-card-classic__img { transform: scale(1.04); }
.pf-product-actions--classic { top: 0.75rem; right: 0.75rem; }
.pf-product-action-btn--classic {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s;
  color: #64748b;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pf-product-action-btn--classic:hover {
  transform: scale(1.1);
  color: var(--pawfect-primary, var(--pf-primary, #F4A259));
  border-color: var(--pawfect-primary, var(--pf-primary, #F4A259));
}
.pf-product-card-classic__content {
  padding: 1.25rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.pf-product-card-classic__categories {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}
.pf-product-card-classic__categories a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.pf-product-card-classic__categories a:hover {
  color: var(--pawfect-primary, var(--pf-primary, #F4A259));
}
.pf-product-card-classic__title-wrap {
  margin-bottom: 0.35rem;
  line-height: 1.4;
}
.pf-product-card-classic__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s;
}
.pf-product-card-classic__title:hover {
  color: var(--pawfect-primary, var(--pf-primary, #F4A259));
}
.pf-product-card-classic__rating {
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
}
.pf-product-card-classic__price {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--pawfect-primary, var(--pf-primary, #F4A259));
  margin-bottom: 1rem;
}
.pf-product-card-classic__price del {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.875rem;
  margin-right: 0.375rem;
}
.pf-product-card-classic__price ins {
  text-decoration: none;
}
.pf-product-card-classic__btn-wrap {
  margin-top: auto;
  width: 100%;
}
.pf-product-card-classic__add-to-cart {
  width: 100%;
  height: 2.75rem;
  padding: 0 1.25rem;
  text-align: center;
  background-color: var(--pawfect-primary, var(--pf-primary, #F4A259)) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--pf-btn-radius, 0.5rem);
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.25s ease !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: none !important;
}
.pf-product-card-classic__add-to-cart:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 15px rgba(244, 162, 89, 0.35) !important;
  color: #ffffff !important;
}
.pf-product-card-classic__add-to-cart.pf-added-to-cart,
.pf-product-card-classic__add-to-cart.pawfect-added-to-cart {
  background-color: var(--pawfect-secondary, var(--pf-secondary, #313134)) !important;
  color: #ffffff !important;
  border-color: var(--pawfect-secondary, var(--pf-secondary, #313134)) !important;
  box-shadow: none !important;
}

.pf-product-card-modern__add-to-cart-wrap .added_to_cart,
.pf-product-card-classic__btn-wrap .added_to_cart,
.pf-product-card-modern .added_to_cart,
.pf-product-card-classic .added_to_cart {
  display: none !important;
}

.pf-woo-archive__layout {
  align-items: start !important;
}
.pf-woo-archive__sidebar {
  position: relative;
  width: 100%;
}
.pf-woo-archive__sidebar-inner.pawfect-sticky-sidebar,
.pawfect-sticky-sidebar,
.pf-woo-archive__sidebar-inner--sticky {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 6rem !important;
  z-index: 20 !important;
}

.pf-product-card__excerpt,
.product-excerpt.pf-product-card__excerpt {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-size: 0.8125rem !important;
  line-height: 1.5 !important;
  color: #64748b !important;
  margin-bottom: 0.75rem !important;
}

/* Shopping Cart Widget & Mini Cart (.widget_shopping_cart) - High Specificity */
.woocommerce .widget_shopping_cart,
.woocommerce.widget_shopping_cart,
.pf-woo-sidebar .widget_shopping_cart {
  font-size: 0.875rem;
}

.woocommerce .widget_shopping_cart .widget_shopping_cart_content,
.woocommerce.widget_shopping_cart .widget_shopping_cart_content,
.pf-woo-sidebar .widget_shopping_cart_content {
  display: flex !important;
  flex-direction: column !important;
}

/* Neutralize WooCommerce default floats and absolute positioning */
.woocommerce ul.cart_list,
.woocommerce-page ul.cart_list,
.woocommerce .widget_shopping_cart ul.cart_list,
.woocommerce.widget_shopping_cart ul.cart_list,
.pf-woo-sidebar ul.woocommerce-mini-cart,
.pf-woo-sidebar ul.cart_list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

.woocommerce ul.cart_list li,
.woocommerce-page ul.cart_list li,
.woocommerce .widget_shopping_cart ul.cart_list li,
.woocommerce.widget_shopping_cart ul.cart_list li,
.pf-woo-sidebar li.woocommerce-mini-cart-item,
.pf-woo-sidebar li.mini_cart_item {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
  padding: 0.75rem 2rem 0.75rem 0 !important;
  border-bottom: 1px dashed #e2e8f0 !important;
  margin: 0 !important;
  min-height: auto !important;
}

.woocommerce ul.cart_list li:last-child,
.woocommerce-page ul.cart_list li:last-child,
.woocommerce .widget_shopping_cart ul.cart_list li:last-child,
.pf-woo-sidebar li.woocommerce-mini-cart-item:last-child {
  border-bottom: none !important;
}

/* Remove button 'x' - positioned absolute at the right edge */
.woocommerce ul.cart_list li a.remove,
.woocommerce-page ul.cart_list li a.remove,
.woocommerce .widget_shopping_cart a.remove,
.woocommerce.widget_shopping_cart a.remove,
.pf-woo-sidebar a.remove,
.pf-woo-sidebar a.remove_from_cart_button {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 1.35rem !important;
  height: 1.35rem !important;
  min-width: 1.35rem !important;
  border-radius: 50% !important;
  background-color: #fee2e2 !important;
  color: #ef4444 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  border: none !important;
  margin: 0 !important;
  z-index: 10 !important;
}

.woocommerce ul.cart_list li a.remove:hover,
.woocommerce-page ul.cart_list li a.remove:hover,
.woocommerce .widget_shopping_cart a.remove:hover,
.woocommerce.widget_shopping_cart a.remove:hover,
.pf-woo-sidebar a.remove:hover,
.pf-woo-sidebar a.remove_from_cart_button:hover {
  background-color: #ef4444 !important;
  color: #ffffff !important;
  transform: translateY(-50%) scale(1.1) !important;
}

/* Product link containing BOTH image and title */
.woocommerce ul.cart_list li > a:not(.remove),
.woocommerce-page ul.cart_list li > a:not(.remove),
.woocommerce .widget_shopping_cart li > a:not(.remove),
.woocommerce.widget_shopping_cart li > a:not(.remove),
.pf-woo-sidebar .widget_shopping_cart li > a:not(.remove) {
  display: flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  text-decoration: none !important;
  color: #0f172a !important;
  font-weight: 600 !important;
  font-size: 0.84rem !important;
  line-height: 1.3 !important;
  transition: color 0.2s ease !important;
}

.woocommerce ul.cart_list li > a:not(.remove):hover,
.woocommerce-page ul.cart_list li > a:not(.remove):hover,
.woocommerce .widget_shopping_cart li > a:not(.remove):hover,
.woocommerce.widget_shopping_cart li > a:not(.remove):hover,
.pf-woo-sidebar .widget_shopping_cart li > a:not(.remove):hover {
  color: var(--pawfect-primary, #F4A259) !important;
}

/* Product thumbnail */
.woocommerce ul.cart_list li img,
.woocommerce-page ul.cart_list li img,
.woocommerce .widget_shopping_cart img,
.woocommerce.widget_shopping_cart img,
.pf-woo-sidebar .widget_shopping_cart img {
  width: 3rem !important;
  height: 3rem !important;
  min-width: 3rem !important;
  border-radius: 0.5rem !important;
  object-fit: cover !important;
  border: 1px solid #e2e8f0 !important;
  margin: 0 !important;
  display: block !important;
  float: none !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
}

/* Quantity and Price - compact badge */
.woocommerce ul.cart_list li .quantity,
.woocommerce-page ul.cart_list li .quantity,
.woocommerce .widget_shopping_cart .quantity,
.woocommerce.widget_shopping_cart .quantity,
.pf-woo-sidebar .widget_shopping_cart .quantity {
  flex-shrink: 0 !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: var(--pawfect-primary, #F4A259) !important;
  background-color: rgba(244, 162, 89, 0.1) !important;
  padding: 0.2rem 0.5rem !important;
  border-radius: 0.375rem !important;
  white-space: nowrap !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  border: none !important;
  height: auto !important;
  min-height: 0 !important;
}

.woocommerce .widget_shopping_cart .quantity .amount,
.woocommerce.widget_shopping_cart .quantity .amount,
.pf-woo-sidebar .widget_shopping_cart .quantity .amount {
  color: inherit !important;
  font-weight: 700 !important;
}

/* Subtotal / Total */
.woocommerce .widget_shopping_cart .total,
.woocommerce.widget_shopping_cart .total,
.woocommerce-mini-cart__total,
.pf-woo-sidebar .woocommerce-mini-cart__total {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 1.125rem 0 0.875rem 0 !important;
  margin: 0.75rem 0 1rem 0 !important;
  border-top: 1.5px solid #e2e8f0 !important;
  font-size: 0.9375rem !important;
  color: #0f172a !important;
}

.woocommerce .widget_shopping_cart .total strong,
.woocommerce.widget_shopping_cart .total strong,
.woocommerce-mini-cart__total strong {
  font-weight: 700 !important;
  color: #0f172a !important;
}

.woocommerce .widget_shopping_cart .total .amount,
.woocommerce.widget_shopping_cart .total .amount,
.woocommerce-mini-cart__total .amount {
  font-size: 1.1875rem !important;
  font-weight: 800 !important;
  color: var(--pawfect-primary, #F4A259) !important;
}

/* Buttons */
.woocommerce .widget_shopping_cart .buttons,
.woocommerce.widget_shopping_cart .buttons,
.woocommerce-mini-cart__buttons,
.pf-woo-sidebar .woocommerce-mini-cart__buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.625rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce .widget_shopping_cart .buttons a.button,
.woocommerce.widget_shopping_cart .buttons a.button,
.woocommerce-mini-cart__buttons a.button,
.pf-woo-sidebar .widget_shopping_cart a.button {
  width: 100% !important;
  height: 2.75rem !important;
  padding: 0 1rem !important;
  border-radius: var(--pf-btn-radius, 0.5rem) !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}

/* View Cart Button (Outline) */
.woocommerce .widget_shopping_cart .buttons a.button:not(.checkout),
.woocommerce.widget_shopping_cart .buttons a.button:not(.checkout),
.pf-woo-sidebar .widget_shopping_cart a.button:not(.checkout) {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: none !important;
}

.woocommerce .widget_shopping_cart .buttons a.button:not(.checkout):hover,
.woocommerce.widget_shopping_cart .buttons a.button:not(.checkout):hover,
.pf-woo-sidebar .widget_shopping_cart a.button:not(.checkout):hover {
  background-color: #f8fafc !important;
  border-color: var(--pawfect-primary, #F4A259) !important;
  color: var(--pawfect-primary, #F4A259) !important;
}

/* Checkout Button (Solid Primary) */
.woocommerce .widget_shopping_cart .buttons a.button.checkout,
.woocommerce.widget_shopping_cart .buttons a.button.checkout,
.pf-woo-sidebar .widget_shopping_cart a.button.checkout {
  background-color: var(--pawfect-primary, #F4A259) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}

.woocommerce .widget_shopping_cart .buttons a.button.checkout:hover,
.woocommerce.widget_shopping_cart .buttons a.button.checkout:hover,
.pf-woo-sidebar .widget_shopping_cart a.button.checkout:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 15px rgba(244, 162, 89, 0.35) !important;
}

/* Product Categories & Taxonomies Widget */
.widget_product_categories ul,
.widget_categories ul,
.widget_nav_menu ul,
.pf-woo-sidebar .product-categories {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.15rem !important;
}

.widget_product_categories li,
.widget_categories li,
.widget_nav_menu li,
.pf-woo-sidebar .product-categories li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.3rem 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  transition: all 0.2s ease !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #475569 !important;
  border: none !important;
}

.widget_product_categories li:hover,
.widget_categories li:hover,
.widget_nav_menu li:hover,
.pf-woo-sidebar .product-categories li:hover {
  background: transparent !important;
  background-color: transparent !important;
}

.widget_product_categories li a,
.widget_categories li a,
.widget_nav_menu li a,
.pf-woo-sidebar .product-categories li a {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: calc(100% - 2.5rem) !important;
  color: #475569 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

/* Relative text underline only spanning width of the text */
.widget_product_categories li a::after,
.widget_categories li a::after,
.widget_nav_menu li a::after,
.pf-woo-sidebar .product-categories li a::after {
  content: '' !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 0 !important;
  height: 1.5px !important;
  background-color: var(--pawfect-primary, #F4A259) !important;
  transition: width 0.25s ease !important;
  border-radius: 2px !important;
}

.widget_product_categories li a:hover,
.widget_categories li a:hover,
.widget_nav_menu li a:hover,
.widget_product_categories li:hover a,
.widget_categories li:hover a,
.widget_product_categories li.current-cat > a,
.widget_categories li.current-cat > a,
.pf-woo-sidebar .product-categories li.current-cat > a {
  color: var(--pawfect-primary, #F4A259) !important;
}

.widget_product_categories li a:hover::after,
.widget_categories li a:hover::after,
.widget_nav_menu li a:hover::after,
.widget_product_categories li:hover a::after,
.widget_categories li:hover a::after,
.widget_product_categories li.current-cat > a::after,
.widget_categories li.current-cat > a::after,
.pf-woo-sidebar .product-categories li.current-cat > a::after {
  width: 100% !important;
}

.widget_product_categories .count,
.widget_categories .count,
.pf-woo-sidebar .product-categories .count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  background-color: #f1f5f9 !important;
  min-width: 1.35rem !important;
  height: 1.2rem !important;
  padding: 0 6px !important;
  border-radius: 9999px !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
  margin-left: 0.5rem !important;
}

.widget_product_categories li:hover .count,
.widget_categories li:hover .count,
.widget_product_categories li.current-cat .count,
.pf-woo-sidebar .product-categories li.current-cat .count {
  background-color: var(--pawfect-primary, #F4A259) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Cart & Checkout Pages Alignment & Spacing
   ========================================================================== */
.woocommerce-cart .pf-page__content,
.woocommerce-checkout .pf-page__content,
.pawfect-cart-page .pf-page__content,
.pawfect-checkout-page .pf-page__content {
  padding-top: 3.5rem !important;
  padding-bottom: 5rem !important;
  background-color: var(--pawfect-background, #fdfbf7);
}

.woocommerce-cart .pawfect-container-narrow,
.woocommerce-checkout .pawfect-container-narrow,
.pawfect-cart-page .pawfect-container-narrow,
.pawfect-checkout-page .pawfect-container-narrow,
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  box-sizing: border-box !important;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Hide duplicate WooCommerce auto-injected "View cart" box in wishlist table */
.pf-page-wishlist .added_to_cart,
.pawfect-wishlist-item .added_to_cart,
.pf-page-wishlist__td .added_to_cart {
  display: none !important;
}





