@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --page-width: 1440px;
}

/* ==========================================================================
   Accessibility: Skip Link
   Required by WordPress.org theme review
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--pawfect-primary, #F4A259);
  color: #fff;
  padding: 15px 23px;
  z-index: 100000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 4px 0;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--pawfect-primary, #F4A259);
  clip: auto !important;
  clip-path: none;
  color: #fff;
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  border-radius: 4px;
}

/* ==========================================================================
   WordPress Required Classes: .sticky and .bypostauthor
   Required by WordPress.org theme review
   ========================================================================== */
.sticky {
  /* Sticky post styling */
  position: relative;
}

.bypostauthor {
  /* Post author comment styling */
  position: relative;
}

/* ==========================================================================
   Accessibility: Link Underlines in Content
   Required by WordPress.org theme review - links must be underlined in content areas
   ========================================================================== */
.entry-content a,
.pawfect-post-content a,
.pawfect-content a,
.pawfect-prose a,
.comment-content a,
.textwidget a,
.widget_text a,
.wp-block-paragraph a,
.post-content a {
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.entry-content a:hover,
.pawfect-post-content a:hover,
.pawfect-content a:hover,
.pawfect-prose a:hover,
.comment-content a:hover,
.textwidget a:hover,
.widget_text a:hover,
.wp-block-paragraph a:hover,
.post-content a:hover {
  text-decoration-thickness: 2px;
}

/* Exclude buttons and navigation links from underline requirement */
.entry-content a.button,
.entry-content a.wp-block-button__link,
.entry-content .wp-block-navigation a,
.pawfect-post-content a.button,
.pawfect-content a.button,
.pawfect-prose a.button,
.comment-content a.button,
.entry-content a.pawfect-btn,
.pawfect-post-content a.pawfect-btn,
.pawfect-content a.pawfect-btn,
.pawfect-prose a.pawfect-btn,
.entry-content a[class*="btn"],
.pawfect-post-content a[class*="btn"],
.pawfect-content a[class*="btn"],
.pawfect-prose a[class*="btn"] {
  text-decoration: none !important;
}

/* ==========================================================================
   Content Formatting - All content wrappers
   Covers: .entry-content, .pawfect-post-content, .pawfect-content,
           .pawfect-prose, .comment-content
   ========================================================================== */

/* --- Headings --- */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.pawfect-post-content h1,
.pawfect-post-content h2,
.pawfect-post-content h3,
.pawfect-post-content h4,
.pawfect-post-content h5,
.pawfect-post-content h6,
.pawfect-content h1,
.pawfect-content h2,
.pawfect-content h3,
.pawfect-content h4,
.pawfect-content h5,
.pawfect-content h6,
.pawfect-prose h1,
.pawfect-prose h2,
.pawfect-prose h3,
.pawfect-prose h4,
.pawfect-prose h5,
.pawfect-prose h6,
.comment-content h1,
.comment-content h2,
.comment-content h3,
.comment-content h4,
.comment-content h5,
.comment-content h6 {
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content h4:first-child,
.entry-content h5:first-child,
.entry-content h6:first-child,
.pawfect-post-content h1:first-child,
.pawfect-post-content h2:first-child,
.pawfect-post-content h3:first-child,
.pawfect-post-content h4:first-child,
.pawfect-post-content h5:first-child,
.pawfect-post-content h6:first-child,
.pawfect-content h1:first-child,
.pawfect-content h2:first-child,
.pawfect-content h3:first-child,
.pawfect-content h4:first-child,
.pawfect-content h5:first-child,
.pawfect-content h6:first-child,
.pawfect-prose h1:first-child,
.pawfect-prose h2:first-child,
.pawfect-prose h3:first-child,
.pawfect-prose h4:first-child,
.pawfect-prose h5:first-child,
.pawfect-prose h6:first-child,
.comment-content h1:first-child,
.comment-content h2:first-child,
.comment-content h3:first-child,
.comment-content h4:first-child,
.comment-content h5:first-child,
.comment-content h6:first-child {
  margin-top: 0;
}

/* --- Paragraphs --- */
.entry-content p,
.pawfect-post-content p,
.pawfect-content p,
.pawfect-prose p,
.comment-content p {
  margin-bottom: 1.25em;
}

.entry-content p:last-child,
.pawfect-post-content p:last-child,
.pawfect-content p:last-child,
.pawfect-prose p:last-child,
.comment-content p:last-child {
  margin-bottom: 0;
}

/* --- Blockquotes --- */
.entry-content blockquote,
.pawfect-post-content blockquote,
.pawfect-content blockquote,
.pawfect-prose blockquote,
.comment-content blockquote {
  margin: 1.5em 0;
  padding: 1em 1.5em;
  border-left: 4px solid var(--pawfect-primary, #F4A259);
  background-color: rgba(0, 0, 0, 0.02);
  font-style: italic;
}

.entry-content blockquote cite,
.pawfect-post-content blockquote cite,
.pawfect-content blockquote cite,
.pawfect-prose blockquote cite,
.comment-content blockquote cite {
  display: block;
  margin-top: 0.75em;
  font-size: 0.875em;
  font-style: normal;
  color: #666;
}

/* --- Lists --- */
.entry-content ul,
.entry-content ol,
.pawfect-post-content ul,
.pawfect-post-content ol,
.pawfect-content ul,
.pawfect-content ol,
.pawfect-prose ul,
.pawfect-prose ol,
.comment-content ul,
.comment-content ol {
  margin: 1.25em 0;
  padding-left: 2em;
  list-style: revert;
}

.entry-content li,
.pawfect-post-content li,
.pawfect-content li,
.pawfect-prose li,
.comment-content li {
  margin-bottom: 0.5em;
}

/* --- Tables --- */
.entry-content table,
.pawfect-post-content table,
.pawfect-content table,
.pawfect-prose table,
.comment-content table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.9375em;
}

.entry-content table th,
.entry-content table td,
.pawfect-post-content table th,
.pawfect-post-content table td,
.pawfect-content table th,
.pawfect-content table td,
.pawfect-prose table th,
.pawfect-prose table td,
.comment-content table th,
.comment-content table td {
  padding: 0.75em 1em;
  border: 1px solid #ddd;
  text-align: left;
}

.entry-content table th,
.pawfect-post-content table th,
.pawfect-content table th,
.pawfect-prose table th,
.comment-content table th {
  font-weight: 600;
  background-color: #f7f7f7;
}

.entry-content table tr:nth-child(even),
.pawfect-post-content table tr:nth-child(even),
.pawfect-content table tr:nth-child(even),
.pawfect-prose table tr:nth-child(even),
.comment-content table tr:nth-child(even) {
  background-color: #fafafa;
}

.entry-content table caption,
.pawfect-post-content table caption,
.pawfect-content table caption,
.pawfect-prose table caption,
.comment-content table caption {
  margin-bottom: 0.75em;
  font-weight: 600;
  text-align: left;
}

/* --- Definition Lists --- */
.entry-content dl,
.pawfect-post-content dl,
.pawfect-content dl,
.pawfect-prose dl,
.comment-content dl {
  margin: 1.5em 0;
}

.entry-content dt,
.pawfect-post-content dt,
.pawfect-content dt,
.pawfect-prose dt,
.comment-content dt {
  font-weight: 700;
  margin-bottom: 0.25em;
}

.entry-content dd,
.pawfect-post-content dd,
.pawfect-content dd,
.pawfect-prose dd,
.comment-content dd {
  margin-left: 1.5em;
  margin-bottom: 1em;
}

/* --- Pre / Code --- */
.entry-content pre,
.pawfect-post-content pre,
.pawfect-content pre,
.pawfect-prose pre,
.comment-content pre {
  margin: 1.5em 0;
  padding: 1.25em 1.5em;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow-x: auto;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.875em;
  line-height: 1.6;
  white-space: pre;
  word-wrap: normal;
}

.entry-content code,
.pawfect-post-content code,
.pawfect-content code,
.pawfect-prose code,
.comment-content code {
  padding: 0.15em 0.4em;
  background-color: #f5f5f5;
  border-radius: 3px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.875em;
}

.entry-content pre code,
.pawfect-post-content pre code,
.pawfect-content pre code,
.pawfect-prose pre code,
.comment-content pre code {
  padding: 0;
  background-color: transparent;
  border-radius: 0;
  font-size: inherit;
}

/* --- Horizontal Rules --- */
.entry-content hr,
.pawfect-post-content hr,
.pawfect-content hr,
.pawfect-prose hr,
.comment-content hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid #ddd;
}

/* --- Address --- */
.entry-content address,
.pawfect-post-content address,
.pawfect-content address,
.pawfect-prose address,
.comment-content address {
  margin: 1.5em 0;
  font-style: italic;
}

/* --- Abbreviation / Acronym --- */
.entry-content abbr[title],
.entry-content acronym,
.pawfect-post-content abbr[title],
.pawfect-post-content acronym,
.pawfect-content abbr[title],
.pawfect-content acronym,
.pawfect-prose abbr[title],
.pawfect-prose acronym,
.comment-content abbr[title],
.comment-content acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
  text-decoration: none;
}

/* --- Images in Content --- */
.entry-content img,
.pawfect-post-content img,
.pawfect-content img,
.pawfect-prose img,
.comment-content img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   WordPress Alignment Classes
   ========================================================================== */
.alignleft {
  float: left;
  margin: 0.5em 1.5em 1em 0;
}

.alignright {
  float: right;
  margin: 0.5em 0 1em 1.5em;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
}

.alignwide {
  margin-left: -80px;
  margin-right: -80px;
  max-width: unset;
  width: unset;
}

.alignfull {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  width: 100vw;
}

/* --- Captions --- */
.wp-caption {
  max-width: 100%;
  margin-bottom: 1em;
}

.wp-caption img {
  display: block;
  max-width: 100%;
  height: auto;
}

.wp-caption-text,
.wp-caption .wp-caption-text {
  margin-top: 0.5em;
  font-size: 0.875em;
  color: #666;
  text-align: center;
}

.gallery-caption {
  font-size: 0.875em;
  color: #666;
  text-align: center;
}

/* --- Big / Large text --- */
.entry-content big,
.pawfect-post-content big,
.pawfect-content big,
.pawfect-prose big,
.comment-content big {
  font-size: 1.25em;
}

/* ==========================================================================
   Long Title Overflow Handling
   Required by WordPress.org theme review - prevent horizontal scrollbar
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.page-title,
.post-title,
.pawfect-post-title,
.pawfect-page-header h1,
.woocommerce-loop-product__title {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
}

html,
body {
  min-height: 100vh;
}

body {
  /* Font family is now controlled by customizer */
  display: flex;
  flex-direction: column;
}

#page {
  flex: 1;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}

/* Font families are now controlled by customizer - removed hardcoded fonts */

@layer utilities {
  .pawfect-nav-link {
    @apply pawfect-inline-flex pawfect-text-pawfect-dark pawfect-px-4 pawfect-pt-2 pawfect-pb-4 pawfect-relative pawfect-transition-all;
  }

  .home .pawfect-nav-link {
    @apply pawfect-text-white;
  }

  .pawfect-nav-link::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    bottom: 1px;
    height: 1px;
    background: var(--pawfect-primary, #F4A259);
    transition: all 0.3s ease-in-out;
    width: 0%;
  }

  .pawfect-nav-link:hover::after {
    width: calc(100% - 2rem);
  }

  /* Dropdown menu styles - JavaScript controlled, no CSS hover */

  /* Prevent deep dropdown menus from causing horizontal scrollbar */
  .pawfect-dropdown-menu {
    visibility: hidden;
  }

  .pawfect-dropdown-menu.pawfect-opacity-100 {
    visibility: visible;
  }

  /* Keyboard accessibility: keep dropdown visible when any child has focus.
     This ensures Shift+Tab can navigate backwards into submenus.
     Follows the same pattern used by TwentyTwenty and other accessible WP themes. */
  .pawfect-has-dropdown.focus>.pawfect-dropdown-menu,
  .pawfect-has-dropdown:focus-within>.pawfect-dropdown-menu {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) translateX(0) !important;
  }

  /* Flip deep submenus to open leftward when near viewport edge */
  .pawfect-dropdown-menu.pawfect-flip-left {
    left: auto !important;
    right: 100% !important;
  }

  /* Prevent body horizontal scroll from off-screen menu elements */
  html,
  body {
    overflow-x: hidden;
  }

  .pawfect-has-dropdown svg {
    @apply pawfect-transition-transform pawfect-duration-300;
  }

  /* Arrow rotation will be handled by JavaScript */

  .pawfect-dropdown-link {
    @apply pawfect-inline-block pawfect-w-full pawfect-px-4 pawfect-py-4 pawfect-text-sm pawfect-text-white pawfect-relative pawfect-transition-all;
    display: flex !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  .pawfect-dropdown-link span {
    @apply pawfect-relative pawfect-inline-block;
  }

  .pawfect-dropdown-link span::after {
    content: "";
    position: absolute;
    left: 0rem;
    bottom: -7px;
    height: 1px;
    background: var(--pawfect-primary, #F4A259);
    transition: all 0.3s ease-in-out;
    width: 0%;
  }

  .pawfect-dropdown-link:hover span::after {
    width: 100%;
  }

  /* 🟧 Button with slide-fill effect */
  .pawfect-btn {
    @apply pawfect-inline-flex pawfect-items-center pawfect-gap-2 pawfect-relative pawfect-overflow-hidden pawfect-px-6 pawfect-py-2 pawfect-border pawfect-border-white pawfect-text-white pawfect-rounded-md pawfect-font-medium pawfect-transition-all pawfect-duration-300;
  }

  .pawfect-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #1f2937;
    border-radius: 0.375rem;
    opacity: 0;
    z-index: 0;
    transition: opacity 300ms ease-in-out;
  }

  .pawfect-btn:hover::before {
    opacity: 1;
  }

  .pawfect-btn:hover span {
    @apply pawfect-text-white;
  }

  .pawfect-btn:hover {
    border-color: #313134;
  }

  /* Button children — ensure text and icons are above ::before overlay and inline-aligned */
  .pawfect-btn span,
  .pawfect-btn svg,
  .pawfect-btn i {
    position: relative;
    z-index: 1;
  }

  .pawfect-btn svg,
  .pawfect-btn i {
    flex-shrink: 0;
    width: 1.15em;
    height: 1.15em;
    line-height: 1;
  }

  .pawfect-pagination-bullet {
    @apply pawfect-relative pawfect-w-5 pawfect-h-2.5 pawfect-rounded-full pawfect-bg-gray-300 pawfect-mx-1 pawfect-overflow-hidden;
  }

  .swiper-pagination-bullet {
    @apply pawfect-relative pawfect-inline-flex pawfect-items-center pawfect-justify-center pawfect-w-[10px] pawfect-h-[10px] pawfect-rounded-full pawfect-bg-gray-400 pawfect-transition-all pawfect-duration-300 pawfect-overflow-hidden;
  }

  .swiper-pagination-bullet-active .pawfect-bullet-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: white;
    border-radius: 9999px;
    animation: pawfect-fill 5s linear forwards;
  }

  @keyframes pawfect-fill {
    from {
      width: 0%;
    }

    to {
      width: 100%;
    }
  }

  /* Tailwind Utility Fallback */
  .pawfect-card {
    @apply pawfect-mb-6 pawfect-rounded-lg pawfect-bg-white pawfect-shadow-lg pawfect-transition-all hover:pawfect-shadow-xl;
  }

  .pawfect-border-primary-soft {
    border: 1px solid rgba(244, 162, 89, 0.36);
  }
}

/* WooCommerce grid normalization */
ul.products,
.woocommerce ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

/* Grid columns will be handled by view toggle CSS in dynamic-css.php */

/* Ensure product items fill their grid cells nicely */
ul.products li.product {
  height: 100%;
}


@layer components {
  .pawfect-container {
    max-width: var(--page-width, 1440px);
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .pawfect-container-narrow {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .pawfect-container-small {
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .pawfect-container-full {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  @media (min-width: 768px) {
    .pawfect-container {
      padding-left: 3rem;
      padding-right: 3rem;
    }

    .pawfect-container-full {
      padding-left: 3rem;
      padding-right: 3rem;
    }
  }

  .pawfect-section-divider {
    @apply pawfect-w-12 pawfect-h-[2px] pawfect-bg-pawfect-primary pawfect-mx-auto pawfect-mt-2 pawfect-mb-6 pawfect-rounded-full;
  }

  .pawfect-section-cream {
    @apply pawfect-bg-pawfect-background pawfect-py-24;
  }

  .pawfect-section-white {
    @apply pawfect-bg-pawfect-white pawfect-py-24;
  }

  .pawfect-btn--dark {
    @apply pawfect-inline-block pawfect-relative pawfect-overflow-hidden pawfect-px-6 pawfect-py-2 pawfect-border pawfect-border-pawfect-dark pawfect-text-pawfect-dark pawfect-rounded-md pawfect-font-medium pawfect-transition-all pawfect-duration-300;
  }

  .pawfect-btn--dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #1f2937;
    border-radius: 0.375rem;
    opacity: 0;
    z-index: 0;
    transition: opacity 300ms ease-in-out;
  }

  .pawfect-btn--dark:hover::before {
    opacity: 1;
  }

  .pawfect-btn--dark span {
    @apply pawfect-relative pawfect-z-10 pawfect-transition-all;
  }

  .pawfect-btn--dark:hover span {
    @apply pawfect-text-white;
  }

  .ppawfect-btn--dark:hover {
    border-color: #313134;
  }

  .pawfect-btn--sm {
    @apply pawfect-text-sm pawfect-px-4 pawfect-py-2;
  }

  .pawfect-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fca311;
    margin-bottom: 1rem;
  }

  .pawfect-section {
    padding: 4rem 1rem;
  }

  .pawfect-text-muted {
    color: #4b5563;
    margin-bottom: 1.5rem;
  }

  .pawfect-extra-padding {
    @apply pawfect-py-[160px] !important;
  }



  .pawfect-header {
    @apply pawfect-w-full pawfect-z-50 pawfect-transition-all pawfect-duration-300 pawfect-ease-in-out pawfect-shadow-sm;
    position: relative;
    background-color: var(--pawfect-header-bg, #ffffff);
    color: var(--pawfect-header-text, #1f2937);
  }


  .pawfect-header .site-logo {
    display: flex;
    justify-content: center;
  }

  /* Static Header - No special behavior */
  .pawfect-header:not(.pawfect-sticky-enabled) {
    position: relative;
  }

  /* Sticky Enabled Header - Normal position initially */
  .pawfect-sticky-enabled {
    position: relative;
    will-change: transform;
  }

  /* Sticky Header Only - Applied on scroll */
  .pawfect-sticky-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    background-color: var(--pawfect-header-bg, #313134) !important;
  }

  /* Sticky Header Scrolled State - Only applies to sticky headers */
  .pawfect-sticky-header.pawfect-scrolled {
    @apply pawfect-py-2;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  }

  .pawfect-sticky-header.pawfect-scrolled .pawfect-container {
    @apply pawfect-py-2;
  }

  /* Sticky header scrolled layout - initially hidden */
  .pawfect-sticky-scrolled-layout {
    display: none;
  }

  .pawfect-sticky-header.pawfect-scrolled .pawfect-sticky-scrolled-layout {
    display: flex !important;
  }

  /* Logo switching - Only for sticky headers */
  .pawfect-sticky-header .pawfect-main-logo {
    display: block;
  }

  .pawfect-sticky-header .pawfect-sticky-logo {
    display: none;
  }

  /* Static header - Always show main logo, never show sticky logo */
  .pawfect-header:not(.pawfect-sticky-header) .pawfect-main-logo {
    display: block !important;
  }

  .pawfect-header:not(.pawfect-sticky-header) .pawfect-sticky-logo {
    display: none !important;
  }

  /* Navigation menu styling */
  .pawfect-header nav>ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    gap: 0.5rem 1rem;
    line-height: 1.2;

  }

  /* Submenu styling - vertical layout */
  .pawfect-header nav ul ul {
    display: block !important;
    flex-direction: column !important;
    gap: 0 !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }

  .pawfect-sticky-header nav ul {
    gap: 1.5rem;
  }

  .pawfect-sticky-header.pawfect-scrolled nav ul {
    gap: 0rem;
  }

  /* Menu items styling - refined and elegant */
  .pawfect-header nav a {
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    border-radius: 4px;
    position: relative;
  }

  .pawfect-header nav a:hover {
    color: var(--pawfect-primary, #F4A259);
  }

  .pawfect-sticky-header nav a {
    padding: 0.5rem 0.75rem;
    font-size: 13px;
  }

  /* Active menu styling for scrolled sticky header - Same as hover */
  .pawfect-sticky-header.pawfect-scrolled nav .current-menu-item>a,
  .pawfect-sticky-header.pawfect-scrolled nav .current_page_item>a,
  .pawfect-sticky-header.pawfect-scrolled nav .current-menu-ancestor>a {
    color: var(--pawfect-primary, #F4A259) !important;
    font-weight: 500;
  }

  .pawfect-sticky-header.pawfect-scrolled nav .current-menu-item>a::after,
  .pawfect-sticky-header.pawfect-scrolled nav .current_page_item>a::after,
  .pawfect-sticky-header.pawfect-scrolled nav .current-menu-ancestor>a::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    bottom: 1px;
    height: 1px;
    background: var(--pawfect-primary, #F4A259);
    transition: all 0.3s ease-in-out;
    width: calc(100% - 1.5rem);
    opacity: 1;
  }

  /* Active menu item - Same style as hover */
  .pawfect-header nav .current-menu-item>a,
  .pawfect-header nav .current_page_item>a,
  .pawfect-header nav .current-menu-ancestor>a {
    color: var(--pawfect-primary, #F4A259) !important;
    font-weight: 500;
  }

  /* Active menu item underline - Same as hover effect */
  .pawfect-header nav .current-menu-item>a::after,
  .pawfect-header nav .current_page_item>a::after,
  .pawfect-header nav .current-menu-ancestor>a::after {
    content: "";
    position: absolute;
    left: 1rem;
    bottom: 0.25rem;
    height: 1px;
    background: var(--pawfect-primary, #F4A259);
    transition: all 0.3s ease-in-out;
    width: calc(100% - 2rem);
    opacity: 1;
  }

  /* Submenu item styling */
  .pawfect-header nav ul ul li {
    width: 100%;
    display: block;
  }

  .pawfect-header nav ul ul a {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 13px;
    color: white;
    text-align: left;
    border-radius: 0;
    background-color: transparent;
  }

  .pawfect-header nav ul ul a {
    position: relative;
  }




  .pawfect-header nav ul ul a:hover::after {
    width: calc(100% - 2rem);
  }

  /* Ensure static header navigation is visible */
  .pawfect-header:not(.pawfect-sticky-enabled)+.pawfect-container nav {
    display: block !important;
  }

  /* Ensure sticky-enabled header navigation is visible initially - but only on desktop */
  @media (min-width: 1024px) {
    .pawfect-sticky-enabled:not(.pawfect-sticky-header) .pawfect-sticky-nav-row nav {
      display: block !important;
    }
  }

  /* Hide navigation row only when sticky header is active (on scroll) */
  .pawfect-sticky-header .pawfect-sticky-nav-row {
    display: none !important;
  }

  /* WooCommerce Pages - Consistent Header Styling */
  .woocommerce .pawfect-header,
  .woocommerce-page .pawfect-header {
    background-color: var(--pawfect-header-bg, #ffffff);
    color: var(--pawfect-header-text, #1f2937);
    position: relative;
  }

  /* Cart and Product Pages - No transparent overlay but allow sticky */
  .woocommerce .pawfect-header,
  .woocommerce-page .pawfect-header,
  .single-product .pawfect-header {
    background-color: var(--pawfect-header-bg, #ffffff) !important;
  }

  /* Only override position for non-sticky headers on WooCommerce pages */
  .woocommerce .pawfect-header:not(.pawfect-sticky-enabled),
  .woocommerce-page .pawfect-header:not(.pawfect-sticky-enabled),
  .single-product .pawfect-header:not(.pawfect-sticky-enabled) {
    position: relative !important;
    top: auto !important;
  }

  /* More specific header text color targeting to avoid overriding icons and buttons */
  .woocommerce .pawfect-header .pawfect-primary-nav-menu a,
  .woocommerce-page .pawfect-header .pawfect-primary-nav-menu a,
  .single-product .pawfect-header .pawfect-primary-nav-menu a,
  .woocommerce .pawfect-header .site-title,
  .woocommerce-page .pawfect-header .site-title,
  .single-product .pawfect-header .site-title,
  .woocommerce .pawfect-header .site-description,
  .woocommerce-page .pawfect-header .site-description,
  .single-product .pawfect-header .site-description {
    color: var(--pawfect-header-text, #1f2937) !important;
  }

  /* Preserve icon and button colors in header */
  .woocommerce .pawfect-header svg,
  .woocommerce-page .pawfect-header svg,
  .single-product .pawfect-header svg,
  .woocommerce .pawfect-header .pawfect-cart-badge,
  .woocommerce-page .pawfect-header .pawfect-cart-badge,
  .single-product .pawfect-header .pawfect-cart-badge,
  .woocommerce .pawfect-header .pawfect-wishlist-count,
  .woocommerce-page .pawfect-header .pawfect-wishlist-count,
  .single-product .pawfect-header .pawfect-wishlist-count {
    color: inherit !important;
  }

  /* WooCommerce Button Styling - Enhanced */
  .woocommerce .button,
  .woocommerce~button,
  .woocommerce~input[type="submit"],
  .woocommerce input[type="button"],
  .woocommerce a.button,
  .woocommerce .single_add_to_cart_button,
  .woocommerce-page .button,
  .woocommerce-page~button,
  .woocommerce-page~input[type="submit"],
  .woocommerce-page input[type="button"],
  .woocommerce-page a.button {
    overflow: hidden;
    ;
    background: var(--pawfect-primary, #D9A477) !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(217, 164, 119, 0.3) !important;
  }



  /* Specific Add to Cart Button Styling */
  .woocommerce .single_add_to_cart_button.button.alt {
    width: 100% !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    margin-top: 1rem !important;
  }

  /* Secondary Buttons */
  .woocommerce .button.alt {
    background-color: var(--pawfect-primary, #D9A477) !important;
  }

  .woocommerce .button.alt:hover {
    background-color: var(--pawfect-primary, #D9A477) !important;
  }

  /* Override any default WooCommerce button styles */
  .woocommerce-page .button,
  .woocommerce-page~button,
  .woocommerce-page~input[type="submit"],
  .woocommerce-page input[type="button"] {
    background-color: var(--pawfect-primary, #D9A477) !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
  }

  .woocommerce-page .button:hover,
  .woocommerce-page~button:hover,
  .woocommerce-page~input[type="submit"]:hover,
  .woocommerce-page input[type="button"]:hover {
    background-color: #c8956a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(217, 164, 119, 0.3) !important;
  }

  /* Ensure buttons don't have default browser styling */
  .woocommerce~button,
  .woocommerce~input[type="submit"],
  .woocommerce input[type="button"],
  .woocommerce-page button,
  .woocommerce-page~input[type="submit"],
  .woocommerce-page input[type="button"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    outline: none !important;
  }

  /* Specific WooCommerce Button Overrides - Match Front Page Style */
  .woocommerce .wc-proceed-to-checkout .checkout-button,
  .woocommerce-cart .wc-proceed-to-checkout .checkout-button,
  .woocommerce .checkout-button,
  .woocommerce-page .checkout-button,
  .woocommerce .button.checkout-button,
  .woocommerce-page .button.checkout-button {
    background: var(--pawfect-primary, #D9A477) !important;
    color: white !important;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(217, 164, 119, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
    cursor: pointer !important;
  }

  .woocommerce .wc-proceed-to-checkout .checkout-button:hover,
  .woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
  .woocommerce .checkout-button:hover,
  .woocommerce-page .checkout-button:hover,
  .woocommerce .button.checkout-button:hover,
  .woocommerce-page .button.checkout-button:hover {
    background: #c8956a !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(217, 164, 119, 0.4) !important;
    color: white !important;
  }

  /* Add shimmer effect to checkout buttons */
  .woocommerce .checkout-button::before,
  .woocommerce-page .checkout-button::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.5s !important;
  }

  .woocommerce .checkout-button:hover::before,
  .woocommerce-page .checkout-button:hover::before {
    left: 100% !important;
  }

  /* Update Cart Button Enhancement */
  .woocommerce-cart-form .actions .button[name="update_cart"] {
    background: var(--pawfect-accent, #D9A477) !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    box-shadow: 0 2px 8px rgba(217, 164, 119, 0.3) !important;
    transition: all 0.3s ease !important;
  }

  .woocommerce-cart-form .actions .button[name="update_cart"]:hover {
    background: #c8956a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(217, 164, 119, 0.4) !important;
  }

  /* Contact Form Styling */
  .pawfect-input {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    color: #374151;
  }

  .pawfect-input:focus {
    border-color: var(--pawfect-primary, #F4A259);
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 162, 89, 0.1);
  }

  .pawfect-input::placeholder {
    color: #9ca3af;
  }

  /* WooCommerce Form Styling */
  .woocommerce .form-control,
  .woocommerce input[type="text"],
  .woocommerce input[type="email"],
  .woocommerce input[type="tel"],
  .woocommerce input[type="password"],
  .woocommerce textarea,
  .woocommerce select {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    transition: border-color 0.3s ease;
  }

  .woocommerce .form-control:focus,
  .woocommerce input[type="text"]:focus,
  .woocommerce input[type="email"]:focus,
  .woocommerce input[type="tel"]:focus,
  .woocommerce input[type="password"]:focus,
  .woocommerce textarea:focus,
  .woocommerce select:focus {
    border-color: var(--pawfect-primary, #F4A259);
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 162, 89, 0.1);
  }


  .pawfect-price-filter .price_slider_amount {
    flex-direction: column-reverse;
  }

  .pawfect-price-filter .price_slider_amount button {
    width: 100%;
  }

  /* Top bar styling */
  .pawfect-top-bar {
    position: relative;
    z-index: 60;
  }

  /* Header positioning - account for top bar */
  .pawfect-header {
    position: relative;
    z-index: 50;
  }

  /* Header on front-page template - transparent overlay for all headers initially */
  .page-template-front-page .pawfect-header {
    position: absolute;
    color: white;
    background: transparent !important;
    box-shadow: none !important;
    left: 0;
    right: 0;
    z-index: 50;
  }

  /* Non-front-page-template headers use global colors */
  body:not(.page-template-front-page) .pawfect-header {
    background-color: var(--pawfect-header-bg, #ffffff) !important;
  }

  /* Menu hover background effect for front-page template */
  .page-template-front-page .pawfect-header.pawfect-menu-hovered {
    background-color: var(--pawfect-header-bg, #ffffff) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  }

  /* More specific targeting for menu hover text color - avoid affecting icons and badges */
  .page-template-front-page .pawfect-header.pawfect-menu-hovered .pawfect-primary-nav-menu a,
  .page-template-front-page .pawfect-header.pawfect-menu-hovered .site-title,
  .page-template-front-page .pawfect-header.pawfect-menu-hovered .pawfect-nav-link {
    color: var(--pawfect-header-text, #1f2937) !important;
  }

  /* Preserve icon and button colors in hovered header */
  .page-template-front-page .pawfect-header.pawfect-menu-hovered svg,
  .page-template-front-page .pawfect-header.pawfect-menu-hovered .pawfect-cart-badge,
  .page-template-front-page .pawfect-header.pawfect-menu-hovered .pawfect-wishlist-count,
  .page-template-front-page .pawfect-header.pawfect-menu-hovered button:not(.pawfect-nav-link) {
    color: inherit !important;
  }

  /* Adjust header top position based on top bar presence */
  .pawfect-top-bar+.pawfect-header {
    top: 0;
    /* Normal positioning when top bar is present */
  }

  .page-template-front-page .pawfect-top-bar+.pawfect-header {
    top: 40px;
    /* Offset by top bar height on front-page template */
  }

  /* Sticky header on front-page template when scrolled - use global background */
  .page-template-front-page .pawfect-sticky-header {
    position: fixed !important;
    top: 0;
    background-color: var(--pawfect-header-bg, #313134) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  /* Header text colors - use global colors - More specific selectors to avoid affecting cart modal */
  .pawfect-header .pawfect-primary-nav-menu a,
  .pawfect-header .site-title,
  .pawfect-header .site-description,
  .pawfect-header .pawfect-nav-link:not(.pawfect-cart-dropdown *):not(.pawfect-cart-dropdown-items *) {
    color: var(--pawfect-header-text, #FFFFFF);
  }


  /* Specific cart dropdown text colors */
  .pawfect-cart-dropdown .pawfect-text-gray-600 {
    color: #6b7280 !important;
  }

  .pawfect-cart-dropdown .pawfect-text-gray-800 {
    color: #1f2937 !important;
  }

  .pawfect-cart-dropdown .pawfect-text-pawfect-primary {
    color: var(--pawfect-primary, #F4A259) !important;
  }

  /* Text color for headers on front-page template initially - More specific to avoid cart modal */
  .page-template-front-page .pawfect-header .pawfect-primary-nav-menu a,
  .page-template-front-page .pawfect-header .site-title,
  .page-template-front-page .pawfect-header .site-description,
  .page-template-front-page .pawfect-header .pawfect-nav-link:not(.pawfect-cart-dropdown *):not(.pawfect-cart-dropdown-items *) {
    color: white !important;
  }

  /* Text color for sticky header on front-page template when scrolled */
  .page-template-front-page .pawfect-sticky-header,
  .home .pawfect-sticky-header a:not(.pawfect-cart-dropdown-container):not(.pawfect-cart-dropdown-container *):not(.pawfect-cart-trigger):not(.pawfect-cart-icon),
  .home .pawfect-sticky-header span:not(.pawfect-cart-dropdown-container):not(.pawfect-cart-dropdown-container *):not(.pawfect-cart-badge),
  .home .pawfect-sticky-header .pawfect-nav-link,
  .home .pawfect-sticky-header svg:not(.pawfect-cart-dropdown-container svg):not(.pawfect-cart-icon),
  .home .pawfect-sticky-header .pawfect-search-toggle,
  .home .pawfect-sticky-header .pawfect-language-selector {
    color: var(--pawfect-header-text, #1f2937) !important;
  }

  /* SVG fill color for sticky header icons */
  .pawfect-sticky-header svg {
    fill: var(--pawfect-header-text, #1f2937) !important;
  }

  /* Fix sticky menu icon alignment */
  .pawfect-sticky-header .pawfect-search-toggle,
  .pawfect-sticky-header .pawfect-cart-icon,
  .pawfect-sticky-header .pawfect-wishlist-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
  }

  .pawfect-sticky-header .pawfect-search-toggle svg,
  .pawfect-sticky-header .pawfect-cart-icon svg,
  .pawfect-sticky-header .pawfect-wishlist-icon svg {
    display: block !important;
    margin: 0 auto !important;
  }

  /* Animation delay utility */
  .pawfect-animation-delay-1000 {
    animation-delay: 1000ms;
  }

  /* Cart badge animation */
  .pawfect-cart-badge {
    transform: scale(0);
    transition-property: transform;
    transition-duration: 300ms;
  }

  .pawfect-cart-has-items .pawfect-cart-badge {
    transform: scale(1);
  }

  /* Header improvements */
  .pawfect-header button:focus {
    @apply pawfect-outline-none pawfect-ring-2 pawfect-ring-pawfect-primary pawfect-ring-opacity-50;
  }

  /* Search Modal Improvements */
  #pawfect-search-modal {
    /* Remove blur effect - backdrop-filter: blur(8px); */
    /* Remove blur effect - -webkit-backdrop-filter: blur(8px); */
  }

  #pawfect-search-modal.pawfect-pointer-events-none {
    pointer-events: none;
  }

  #pawfect-search-modal:not(.pawfect-pointer-events-none) {
    pointer-events: auto;
  }

  /* Search input focus */
  #pawfect-search-input:focus {
    @apply pawfect-ring-2 pawfect-ring-pawfect-primary pawfect-border-pawfect-primary;
  }

  /* Add to Cart Button States */
  .pawfect-add-to-cart-btn.pawfect-loading {
    @apply pawfect-opacity-75 pawfect-cursor-not-allowed;
  }

  .pawfect-add-to-cart-btn.pawfect-added-to-cart {
    @apply pawfect-bg-green-500 pawfect-border-green-500;
  }

  .pawfect-add-to-cart-btn.pawfect-added-to-cart:hover {
    @apply pawfect-bg-green-600 pawfect-border-green-600;
  }

  /* Cart badge visibility */
  .pawfect-cart-badge.pawfect-scale-0 {
    transform: scale(0);
    opacity: 0;
  }

  .pawfect-cart-badge.pawfect-scale-100 {
    transform: scale(1);
    opacity: 1;
  }

  /* Mobile menu improvements */
  #pawfect-mobile-drawer {
    @apply pawfect-backdrop-blur-sm;
  }

  /* Hero slider enhancements */
  .pawfect-hero-slider {
    @apply pawfect-min-h-screen;
  }

  /* Slider content alignment - position the content block */
  .pawfect-slide-content-left {
    justify-content: flex-start;
  }

  .pawfect-slide-content-center {
    justify-content: center;
  }

  .pawfect-slide-content-right {
    justify-content: flex-end;
  }

  /* Content elements stacked vertically with proper spacing */

  /* Text alignment for content elements */
  .pawfect-slide-content-left>div {
    text-align: left;
  }

  .pawfect-slide-content-center>div {
    text-align: center;
  }

  .pawfect-slide-content-right>div {
    text-align: right;
  }

  /* Typography styles for slider content */
  .pawfect-slide-content h1,
  .pawfect-slide-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }

  .pawfect-slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  }

  /* Responsive padding for large screens only */
  @media (min-width: 1200px) {

    .pawfect-slide-content-left h1,
    .pawfect-slide-content-left h2,
    .pawfect-slide-content-left p {
      padding-right: 25rem;
    }

    .pawfect-slide-content-right h1,
    .pawfect-slide-content-right h2,
    .pawfect-slide-content-right p {
      padding-left: 25rem;
    }

    .pawfect-slide-content-center h1,
    .pawfect-slide-content-center h2 {
      padding: 0 5rem;
    }

    .pawfect-slide-content-center p {
      padding: 0 20rem;
    }

  }

  @media (max-width: 720px) {
    .pawfect-slide-content-center p {
      padding: 0 7rem;
    }

  }

  @media (max-width: 480px) {
    .pawfect-slide-content-center p {
      padding: 0 0rem;
    }
  }

  /* Page Header Styling */
  .pawfect-page-header {
    position: relative;
    overflow: hidden;

  }

  .pawfect-page-header .pawfect-container {
    position: relative;
    z-index: 2;
  }

  .pawfect-page-header h1 {
    color: var(--pawfect-dark, #1f2937);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .pawfect-section-divider {
    width: 80px;
    height: 4px;
    background: var(--pawfect-primary, #F4A259);
    border-radius: 2px;
    margin: 1.5rem auto;
  }

  .pawfect-page-header p {
    color: var(--pawfect-text, #6b7280);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-top: 1.5rem;
  }

  /* Blog Pagination Styles */
  .pawfect-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 2rem 0;
  }

  .pawfect-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    min-width: 2.5rem;
    border-radius: 0.375rem;
    color: var(--pawfect-text, #6B7280);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    background-color: transparent;
    border: none;
  }

  .pawfect-pagination .page-numbers:hover {
    background-color: #ffffff;
    color: var(--pawfect-text, #6B7280);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
  }

  .pawfect-pagination .page-numbers.current {
    background-color: var(--pawfect-primary, #F4A259);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(244, 162, 89, 0.3);
  }

  .pawfect-pagination .page-numbers.current:hover {
    background-color: var(--pawfect-primary, #F4A259);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(244, 162, 89, 0.4);
  }

  .pawfect-pagination .page-numbers.dots {
    border: none;
    background: none;
    color: var(--pawfect-text-light, #9ca3af);
    cursor: default;
  }

  .pawfect-pagination .page-numbers.dots:hover {
    background: none;
    transform: none;
    box-shadow: none;
  }

  .pawfect-pagination .page-numbers.prev,
  .pawfect-pagination .page-numbers.next {
    font-weight: 600;
    padding: 0.75rem 1.25rem;
  }

  .pawfect-pagination .page-numbers svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  @media (max-width: 768px) {
    .pawfect-pagination {
      flex-wrap: wrap;
      gap: 0.5rem;
      padding: 1.5rem 0;
    }

    .pawfect-pagination .page-numbers {
      padding: 0.5rem 0.75rem;
      font-size: 0.875rem;
      min-width: 2rem;
    }

    .pawfect-pagination .page-numbers.prev,
    .pawfect-pagination .page-numbers.next {
      padding: 0.5rem 1rem;
    }
  }

  /* WooCommerce Shop Styles - Basic Grid Setup Only */
  /* ul.products is the main grid container, taking classes from archive-product.php */

  .woocommerce ul.products {
    display: grid !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
  }

  /* Ensure product items fill their grid cells properly */
  .woocommerce ul.products li.product {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    float: none !important;
    width: auto !important;
  }

  body.woocommerce .widget_shopping_cart ul.cart_list li img,
  body.woocommerce .widget_shopping_cart ul.product_list_widget li img,
  .widget_shopping_cart ul.product_list_widget li img {
    top: 1rem;
    position: absolute;
    left: 0;
    width: 6rem;
    height: 6rem;
    float: none;
    margin-right: 0;
    margin-bottom: 0.5rem;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
  }

  .woocommerce .widget_shopping_cart .cart_list li,
  .woocommerce.widget_shopping_cart .cart_list li,
  .widget_shopping_cart ul.product_list_widget li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 1rem 0 1.5rem 4.5rem !important;
    padding-right: 3rem;
    min-height: 4rem;
    position: relative;
    overflow: hidden;
    vertical-align: top;
    line-height: 1.33;
    border-bottom: none;
  }

  /* Fix for any conflicting flex styles */
  .woocommerce ul.products::before,
  .woocommerce ul.products::after {
    display: none !important;
  }

  /* Product Card Styles */
  .woocommerce ul.products li.product {
    margin: 0;
    padding: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .woocommerce ul.products li.product:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }

  .woocommerce ul.products li.product img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
  }

  /* Product Title */
  .woocommerce ul.products li.product h2,
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: var(--pawfect-text-dark, #333333);
  }

  .woocommerce ul.products li.product h2 a,
  .woocommerce ul.products li.product .woocommerce-loop-product__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .woocommerce ul.products li.product h2 a:hover,
  .woocommerce ul.products li.product .woocommerce-loop-product__title a:hover {
    color: var(--pawfect-accent, #D9A477);
  }

  /* Product Price */
  .woocommerce ul.products li.product .price {
    color: var(--pawfect-text-light, #555555);
    font-weight: 700;
    margin-top: 0.5rem;
  }

  .woocommerce ul.products li.product .price .amount {
    color: var(--pawfect-accent, #D9A477);
    font-weight: 700;
  }

  .woocommerce ul.products li.product .price del {
    color: var(--pawfect-text-light, #555555);
    margin-right: 0.5rem;
  }

  /* Sale Badge */
  .woocommerce span.onsale {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: var(--pawfect-sale-bg, #A3B18A);
    color: white;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-weight: 700;
    z-index: 10;
  }

  /* Shop Toolbar */
  .woocommerce .woocommerce-result-count {
    color: var(--pawfect-text-light, #555555);
    margin: 0;
  }

  .woocommerce .woocommerce-ordering select {
    border: 1px solid var(--pawfect-border-color, #E0D8D1);
    border-radius: 0.375rem;
    padding: 0.5rem;
    background: white;
    color: var(--pawfect-text-dark, #333333);
    font-size: 0.875rem;
  }

  .woocommerce .woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--pawfect-accent, #D9A477);
    box-shadow: 0 0 0 2px rgba(217, 164, 119, 0.2);
  }

  /* Shop Sidebar Styles - Now Standardized with Blog Sidebar Above */

  /* Enhanced Price Filter Styling */
  .pawfect-price-filter-enhanced .price_slider_wrapper {
    margin: 1.5rem 0;
  }

  .pawfect-price-filter-enhanced .price_slider {
    background: #f1f5f9 !important;
    border-radius: 8px !important;
    height: 8px !important;
  }

  .pawfect-price-filter-enhanced .ui-slider-handle {
    background: var(--pawfect-primary, #F4A259) !important;
    border: 3px solid white !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    cursor: pointer !important;
  }

  .pawfect-price-filter-enhanced .ui-slider-range {
    background: var(--pawfect-primary, #F4A259) !important;
    border-radius: 8px !important;
  }

  .pawfect-price-filter-enhanced .price_slider_amount {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
  }

  .pawfect-price-filter-enhanced .price_slider_amount input {
    background: white !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    padding: 0.5rem !important;
    font-size: 0.875rem !important;
    color: #374151 !important;
  }

  .pawfect-price-filter-enhanced .price_slider_amount button {
    background: var(--pawfect-primary, #F4A259) !important;
    color: white !important;
    border: none !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }

  .pawfect-price-filter-enhanced .price_slider_amount button:hover {
    background: #e6935a !important;
    transform: translateY(-1px) !important;
  }

  /* Enhanced Sidebar Spacing and Visual Improvements */
  .pawfect-shop-sidebar .pawfect-space-y-6>*+* {
    margin-top: 1.5rem;
  }

  /* Gradient Icon Backgrounds */
  .pawfect-bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
  }

  .pawfect-from-orange-400 {
    --tw-gradient-from: #fb923c;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(251, 146, 60, 0));
  }

  .pawfect-to-orange-500 {
    --tw-gradient-to: #f97316;
  }

  .pawfect-from-blue-400 {
    --tw-gradient-from: #60a5fa;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(96, 165, 250, 0));
  }

  .pawfect-to-blue-500 {
    --tw-gradient-to: #3b82f6;
  }

  .pawfect-from-green-400 {
    --tw-gradient-from: #4ade80;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(74, 222, 128, 0));
  }

  .pawfect-to-green-500 {
    --tw-gradient-to: #22c55e;
  }

  .pawfect-from-purple-400 {
    --tw-gradient-from: #c084fc;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(192, 132, 252, 0));
  }

  .pawfect-to-purple-500 {
    --tw-gradient-to: #a855f7;
  }

  .pawfect-from-indigo-400 {
    --tw-gradient-from: #818cf8;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(129, 140, 248, 0));
  }

  .pawfect-to-indigo-500 {
    --tw-gradient-to: #6366f1;
  }

  .pawfect-from-pink-400 {
    --tw-gradient-from: #f472b6;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(244, 114, 182, 0));
  }

  .pawfect-to-pink-500 {
    --tw-gradient-to: #ec4899;
  }

  /* Enhanced Hover Effects for Sidebar Elements */
  .pawfect-shop-sidebar .pawfect-group:hover .pawfect-w-2 {
    transform: scale(1.2);
    transition: transform 0.2s ease;
  }

  /* Better Visual Separation */
  .pawfect-shop-sidebar .pawfect-rounded-xl {
    border-radius: 16px;
  }

  .pawfect-shop-sidebar .pawfect-shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }

  /* Shop sidebar widget titles now standardized above with blog sidebar */

  /* Enhanced Product Search Form */
  .woocommerce-product-search {
    position: relative;
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
  }

  .woocommerce-product-search input[type="search"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    color: var(--pawfect-text-dark, #333333);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    width: 100%;
  }

  .woocommerce-product-search input[type="search"]:focus {
    outline: none;
    border-color: var(--pawfect-primary, #F4A259);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(244, 162, 89, 0.1);
  }

  /* Enhanced Post Search Form - Matches Product Search Design */
  .pawfect-post-search {
    position: relative;
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
  }

  .pawfect-post-search input[type="search"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    color: var(--pawfect-text-dark, #333333);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    width: 100%;
  }

  .pawfect-post-search input[type="search"]:focus {
    outline: none;
    border-color: var(--pawfect-primary, #F4A259);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(244, 162, 89, 0.1);
  }

  .pawfect-post-search button[type="submit"] {
    padding: 0.75rem 1rem;
    background: var(--pawfect-primary, #F4A259);
    color: white;
    border: 2px solid var(--pawfect-primary, #F4A259);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
  }

  .pawfect-post-search button[type="submit"]:hover {
    background: var(--pawfect-primary-dark, #E6935A);
    border-color: var(--pawfect-primary-dark, #E6935A);
    transform: translateY(-1px);
  }

  .pawfect-post-search button[type="submit"] svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
  }

  /* Post Search Widget in Sidebars - Match Product Search Design */
  .pawfect-blog-sidebar-widgets .pawfect-post-search,
  .pawfect-shop-sidebar .pawfect-post-search {
    position: relative;
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
  }

  .pawfect-blog-sidebar-widgets .pawfect-post-search input[type="search"],
  .pawfect-shop-sidebar .pawfect-post-search input[type="search"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    color: var(--pawfect-text-dark, #333333);
    font-size: 0.95rem;
    transition: all 0.2s ease;
  }

  .pawfect-blog-sidebar-widgets .pawfect-post-search input[type="search"]:focus,
  .pawfect-shop-sidebar .pawfect-post-search input[type="search"]:focus {
    outline: none;
    border-color: var(--pawfect-primary, #F4A259);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(244, 162, 89, 0.1);
  }

  .pawfect-blog-sidebar-widgets .pawfect-post-search button[type="submit"],
  .pawfect-shop-sidebar .pawfect-post-search button[type="submit"] {
    padding: 0.75rem 1rem;
    background: var(--pawfect-primary, #F4A259);
    color: white;
    border: 2px solid var(--pawfect-primary, #F4A259);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
  }

  .pawfect-blog-sidebar-widgets .pawfect-post-search button[type="submit"]:hover,
  .pawfect-shop-sidebar .pawfect-post-search button[type="submit"]:hover {
    background: var(--pawfect-primary-dark, #E6935A);
    border-color: var(--pawfect-primary-dark, #E6935A);
    transform: translateY(-1px);
  }

  .pawfect-blog-sidebar-widgets .pawfect-post-search button[type="submit"] svg,
  .pawfect-shop-sidebar .pawfect-post-search button[type="submit"] svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
  }

  .woocommerce-product-search button,
  .woocommerce-product-search .search-submit {
    background: var(--pawfect-primary, #F4A259);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    flex-shrink: 0;
  }

  .woocommerce-product-search button:hover,
  .woocommerce-product-search .search-submit:hover {
    background: #e6935a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(244, 162, 89, 0.3);
  }

  /* Price Filter */
  .pawfect-price-filter input[type="range"] {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--pawfect-border-color, #E0D8D1);
    outline: none;
    -webkit-appearance: none;
  }

  .pawfect-price-filter input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--pawfect-accent, #D9A477);
    cursor: pointer;
  }

  .pawfect-price-filter input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--pawfect-accent, #D9A477);
    cursor: pointer;
    border: none;
  }

  /* Custom Shop Page Styles */
  .pawfect-main-content {

    min-height: 100vh;
  }

  /* Product Card Enhancements */
  .pawfect-group .pawfect-relative {
    transition: all 0.3s ease;
  }



  /* Sale Badge Styling */
  .pawfect-bg-sale-bg {
    background-color: var(--pawfect-sale-bg, #A3B18A);
  }

  /* Accent Color */
  .pawfect-text-accent {
    color: var(--pawfect-primary, #D9A477);
  }

  .pawfect-bg-accent {
    background-color: var(--pawfect-primary, #D9A477);
  }

  .pawfect-border-accent {
    border-color: var(--pawfect-accent, #D9A477);
  }

  /* WooCommerce Star Ratings */
  .star-rating {
    position: relative;
    display: inline-block;
    color: #fbbf24;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
    line-height: 1;
  }

  .star-rating::before {
    content: '\f005\f005\f005\f005\f005';
    color: #e5e7eb;
    letter-spacing: 0.1em;
  }

  .star-rating span {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: #fbbf24;
  }

  .star-rating span::before {
    content: '\f005\f005\f005\f005\f005';
    letter-spacing: 0.1em;
  }

  /* Enhanced Cart & Checkout Styling */

  /* Cart Table Enhancements */
  .woocommerce-cart-form__contents {
    border-collapse: separate;
    border-spacing: 0;
  }

  .woocommerce-cart-form__contents th,
  .woocommerce-cart-form__contents td {
    vertical-align: middle;
    border-bottom: 1px solid var(--pawfect-border-color, #E0D8D1);
  }

  .woocommerce-cart-form__contents th {
    background-color: #f9fafb;
    font-weight: 700;
    color: var(--pawfect-text-dark, #333333);
  }

  .woocommerce-cart-form__contents .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
  }

  .woocommerce-cart-form__contents .product-name a {
    color: var(--pawfect-text-dark, #333333);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
  }

  .woocommerce-cart-form__contents .product-name a:hover {
    color: var(--pawfect-accent, #D9A477);
  }

  .woocommerce-cart-form__contents .product-price,
  .woocommerce-cart-form__contents .product-subtotal {
    font-weight: 700;
    color: var(--pawfect-accent, #D9A477);
  }

  /* Quantity Input Enhancements */
  .woocommerce-cart-form__contents .quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .woocommerce-cart-form__contents .quantity input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid var(--pawfect-border-color, #E0D8D1);
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    transition: border-color 0.3s ease;
  }

  .woocommerce-cart-form__contents .quantity input:focus {
    outline: none;
    border-color: var(--pawfect-accent, #D9A477);
    box-shadow: 0 0 0 2px rgba(217, 164, 119, 0.2);
  }

  /* Update Cart Button */
  .woocommerce-cart-form .actions .button {
    background-color: var(--pawfect-accent, #D9A477);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .woocommerce-cart-form .actions .button:hover {
    background-color: #c8956a;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(217, 164, 119, 0.3);
  }

  /* Cart Totals Styling */
  .cart-collaterals {
    margin-top: 2rem;
  }

  .cart_totals {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 500px;
    margin-left: auto;
  }

  .cart_totals h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem;
    color: var(--pawfect-text-dark, #333333);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--pawfect-border-color, #E0D8D1);
    padding-bottom: 1rem;
  }

  .cart_totals table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
  }

  .cart_totals th,
  .cart_totals td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--pawfect-border-color, #E0D8D1);
  }

  .cart_totals th {
    text-align: left;
    font-weight: 600;
    color: var(--pawfect-text-light, #555555);
  }

  .cart_totals td {
    text-align: right;
    font-weight: 700;
    color: var(--pawfect-text-dark, #333333);
  }

  .cart_totals .order-total th,
  .cart_totals .order-total td {
    font-size: 1.25rem;
    color: var(--pawfect-accent, #D9A477);
    border-bottom: none;
    padding-top: 1rem;
  }

  /* Checkout Form Enhancements */
  .woocommerce-checkout #customer_details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  @media (min-width: 1024px) {
    .woocommerce-checkout #customer_details {
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
    }
  }

  .woocommerce-checkout .col-1,
  .woocommerce-checkout .col-2 {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }

  .woocommerce-checkout h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem;
    color: var(--pawfect-text-dark, #333333);
    margin-bottom: 1.5rem;
  }

  .woocommerce-checkout .form-row {
    margin-bottom: 1.5rem;
  }

  .woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--pawfect-text-dark, #333333);
  }

  .woocommerce-checkout .form-row input,
  .woocommerce-checkout .form-row select,
  .woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--pawfect-border-color, #E0D8D1);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .woocommerce-checkout .form-row input:focus,
  .woocommerce-checkout .form-row select:focus,
  .woocommerce-checkout .form-row textarea:focus {
    outline: none;
    border-color: var(--pawfect-accent, #D9A477);
    box-shadow: 0 0 0 3px rgba(217, 164, 119, 0.1);
  }

  /* Order Review Styling */
  .woocommerce-checkout-review-order {
    position: sticky;
    top: 2rem;
  }

  .woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1.5rem;
  }

  .woocommerce-checkout-review-order-table th,
  .woocommerce-checkout-review-order-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--pawfect-border-color, #E0D8D1);
  }

  .woocommerce-checkout-review-order-table .cart_item td {
    vertical-align: top;
  }

  .woocommerce-checkout-review-order-table .product-name {
    font-weight: 600;
    color: var(--pawfect-text-dark, #333333);
  }

  .woocommerce-checkout-review-order-table .product-total {
    text-align: right;
    font-weight: 700;
    color: var(--pawfect-accent, #D9A477);
  }

  .woocommerce-checkout-review-order-table .order-total th,
  .woocommerce-checkout-review-order-table .order-total td {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pawfect-accent, #D9A477);
    border-bottom: none;
    padding-top: 1rem;
  }

  /* Payment Methods Styling */
  .woocommerce-checkout #payment {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
  }

  .woocommerce-checkout #payment ul.payment_methods {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .woocommerce-checkout #payment .payment_method_paypal,
  .woocommerce-checkout #payment .payment_method_stripe,
  .woocommerce-checkout #payment .payment_method_cod {
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
  }

  .woocommerce-checkout #payment .payment_method_paypal input:checked+label,
  .woocommerce-checkout #payment .payment_method_stripe input:checked+label,
  .woocommerce-checkout #payment .payment_method_cod input:checked+label {
    border-color: var(--pawfect-accent, #D9A477);
  }

  /* Place Order Button */
  .woocommerce-checkout #place_order {
    width: 100%;
    background-color: var(--pawfect-accent, #D9A477);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
  }

  .woocommerce-checkout #place_order:hover {
    background-color: #c8956a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 164, 119, 0.3);
  }

  /* Mobile Responsive Enhancements */
  @media (max-width: 768px) {

    /* Cart Table Mobile */
    .woocommerce-cart-form__contents {
      font-size: 0.875rem;
    }

    .woocommerce-cart-form__contents th,
    .woocommerce-cart-form__contents td {
      padding: 0.5rem;
    }

    .woocommerce-cart-form__contents .product-thumbnail img {
      width: 60px;
      height: 60px;
    }

    /* Cart Totals Mobile */
    .cart_totals {
      margin: 1rem 0;
      padding: 1.5rem;
    }

    .cart_totals h2 {
      font-size: 1.5rem;
    }

    /* Checkout Mobile */
    .woocommerce-checkout .col-1,
    .woocommerce-checkout .col-2 {
      padding: 1.5rem;
      margin-bottom: 1rem;
    }

    .woocommerce-checkout h3 {
      font-size: 1.5rem;
    }

    .woocommerce-checkout-review-order {
      position: static;
    }

    /* Hide some cart table columns on mobile */
    .woocommerce-cart-form__contents .product-price {
      display: none;
    }

    .woocommerce-cart-form__contents .product-name::after {
      content: " - " attr(data-price);
      color: var(--pawfect-accent, #D9A477);
      font-weight: 700;
    }
  }

  /* Tablet Responsive */
  @media (min-width: 769px) and (max-width: 1023px) {
    .woocommerce-checkout #customer_details {
      gap: 2rem;
    }

    .cart_totals {
      max-width: 400px;
    }
  }

  /* Text Colors */
  .pawfect-text-text-dark {
    color: var(--pawfect-text-dark, #333333);
  }

  .pawfect-text-text-light {
    color: var(--pawfect-text-light, #555555);
  }

  /* FORCE WooCommerce Button Styling - Override Everything */
  body .woocommerce .button,
  body .woocommerce~button,
  body .woocommerce~input[type="submit"],
  body .woocommerce input[type="button"],
  body .woocommerce a.button,
  body .woocommerce .single_add_to_cart_button,
  body .woocommerce-page .button,
  body .woocommerce-page~button,
  body .woocommerce-page~input[type="submit"],
  body .woocommerce-page input[type="button"],
  body .woocommerce-page a.button,
  body .woocommerce .checkout-button,
  body .woocommerce-cart .checkout-button,
  body .woocommerce .wc-proceed-to-checkout .button {
    background: var(--pawfect-primary, #D9A477) !important;
    background-color: var(--pawfect-primary, #D9A477) !important;
    color: #ffffff !important;
    border: none !important;
    border-color: transparent !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(217, 164, 119, 0.3) !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
  }



  /* Enhanced Product Card Image Styling */
  .woocommerce .pawfect-product-item img,
  .woocommerce-page .pawfect-product-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: all 0.7s ease !important;
  }

  .woocommerce .pawfect-product-item:hover img,
  .woocommerce-page .pawfect-product-item:hover img {
    transform: scale(1.1) !important;
  }

  /* Product Card Style Variations */
  /* Style 1 - Default */
  .pawfect-product-card-style1 .pawfect-feature-card {
    border-radius: 0.75rem !important;
    border: 1px solid #f3f4f6 !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
  }

  .pawfect-product-card-style1 .pawfect-feature-card:hover {
    border-color: #e5e7eb !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  }

  /* Style 2 - Rounded */
  .pawfect-product-card-style2 .pawfect-feature-card {
    border-radius: 1.5rem !important;
    border: 2px solid #f9fafb !important;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05) !important;
  }

  .pawfect-product-card-style2 .pawfect-feature-card:hover {
    border-color: #f3f4f6 !important;
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1) !important;
  }

  /* Style 3 - Shadow */
  .pawfect-product-card-style3 .pawfect-feature-card {
    border-radius: 0.5rem !important;
    border: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
  }

  .pawfect-product-card-style3 .pawfect-feature-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    transform: translateY(-2px) !important;
  }



  .woocommerce ul.cart_list li img,
  .woocommerce ul.product_list_widget li img {
    border-radius: 8px;
  }



  /* Section wrapper for edit shortcuts */
  .pawfect-section-wrapper {
    position: relative !important;
  }

  /* Footer Widgets Styling */
  .pawfect-footer-widgets {
    padding-bottom: 3rem;
  }

  .pawfect-footer-widget {
    margin-bottom: 1.5rem;
  }

  .pawfect-footer-widget h5 {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .pawfect-footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .pawfect-footer-widget ul li {
    margin-bottom: 0.5rem;
  }

  .pawfect-footer-widget ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .pawfect-footer-widget ul li a:hover {
    color: #ffffff;
  }

  .pawfect-footer-widget p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .pawfect-footer-widget .widget_text p,
  .pawfect-footer-widget .textwidget p {
    color: #d1d5db;
  }

  .pawfect-footer-widget .widget_search input[type="search"] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.5rem;
    border-radius: 0.375rem;
  }

  .pawfect-footer-widget .widget_search input[type="search"]::placeholder {
    color: #d1d5db;
  }

  /* Related Products Styling */
  .woocommerce .upsells.products,
  .woocommerce .cross-sells,
  .woocommerce .related.products {
    margin-top: 3rem !important;
  }

  .woocommerce .upsells.products h2,
  .woocommerce .cross-sells h2,
  .woocommerce .related.products h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 2rem !important;
    text-align: center !important;
    color: #1f2937 !important;
  }


  /* Removed conflicting button hover definition - using main definition below */

  .pawfect-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  }

  /* Loading state for AJAX add to cart */
  .pawfect-btn.loading {
    opacity: 0.7 !important;
    pointer-events: none !important;
  }

  .pawfect-btn.loading .pawfect-btn-text::after {
    content: '...' !important;
  }

  /* Shop Page View Controls */
  .pawfect-products-grid.pawfect-view-grid-4 {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  @media (min-width: 768px) {
    .pawfect-products-grid.pawfect-view-grid-4 {
      grid-template-columns: repeat(2, 1fr) !important;
    }
  }

  @media (min-width: 1024px) {
    .pawfect-products-grid.pawfect-view-grid-4 {
      grid-template-columns: repeat(4, 1fr) !important;
    }
  }

  .pawfect-products-grid.pawfect-view-list {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .pawfect-products-grid.pawfect-view-list .pawfect-product-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
  }

  .pawfect-products-grid.pawfect-view-list .pawfect-feature-card {
    flex-direction: row !important;
    align-items: stretch !important;
    text-align: left !important;
  }

  .pawfect-products-grid.pawfect-view-list .pawfect-feature-card>div:first-child {
    flex: 0 0 200px !important;
    max-width: 200px !important;
  }

  .pawfect-products-grid.pawfect-view-list .pawfect-feature-card>div:last-child {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  /* View Toggle Button States */
  .pawfect-view-toggle.active {
    background: var(--pawfect-accent, #D9A477) !important;
    color: white !important;
  }

  .pawfect-view-toggle:not(.active) {
    background: #f3f4f6 !important;
    color: #6b7280 !important;
  }

  .pawfect-view-toggle:not(.active):hover {
    background: #e5e7eb !important;
  }

  /* Sticky Sidebar for Shop Page */
  .pawfect-sticky-sidebar {
    position: sticky !important;
    top: 2rem !important;
    align-self: flex-start !important;
  }

  /* Shop Page Layout Variations */
  .pawfect-shop-no-sidebar .pawfect-products-grid {
    max-width: none !important;
  }

  /* Responsive Grid Adjustments */
  @media (max-width: 768px) {
    .pawfect-products-grid {
      grid-template-columns: 1fr !important;
    }
  }

  /* Product Card Style Variations */
  .pawfect-shop-card-classic .pawfect-feature-card {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 1px solid #e5e7eb !important;
  }


  .pawfect-shop-card-modern .pawfect-feature-card {
    border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #f3f4f6 !important;
  }

  .pawfect-shop-card-modern .pawfect-feature-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px) !important;
  }

  /* Modern Card Style - Exact Match to Frontpage */
  .pawfect-shop-card-modern .pawfect-category-card {
    background: white !important;
    border-radius: 1rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #f3f4f6 !important;
    transition: all 0.5s ease !important;
    overflow: hidden !important;
  }

  .pawfect-shop-card-modern .pawfect-category-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    transform: scale(1.02) !important;
  }

  /* Modern Card Glow Effect */
  .pawfect-shop-card-modern .pawfect-category-card:hover .pawfect-bg-pawfect-primary {
    opacity: 0.02 !important;
  }

  /* Fix Modern Card Button Hover States - Specific to overlay buttons */
  .pawfect-shop-card-modern .pawfect-category-card .pawfect-btn.pawfect-bg-white {
    background-color: white !important;
    color: var(--pawfect-primary, #F4A259) !important;
    border: 2px solid white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .pawfect-shop-card-modern .pawfect-category-card .pawfect-btn.pawfect-bg-white:hover {
    background-color: var(--pawfect-primary, #F4A259) !important;
    color: white !important;
    border-color: var(--pawfect-primary, #F4A259) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(244, 162, 89, 0.3) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Ensure button container doesn't interfere */
  .pawfect-shop-card-modern .pawfect-category-card .pawfect-absolute[class*="pawfect-inset-0"] {
    pointer-events: none;
  }

  .pawfect-shop-card-modern .pawfect-category-card .pawfect-absolute[class*="pawfect-inset-0"] .pawfect-btn {
    pointer-events: auto;
  }

  /* Modern Card Image Styling */
  .pawfect-shop-card-modern .pawfect-category-card .pawfect-h-64 {
    height: 16rem !important;
  }

  /* Modern Card Content Styling */
  .pawfect-shop-card-modern .pawfect-category-card .pawfect-p-6 {
    padding: 1.5rem !important;
  }

  .pawfect-shop-card-modern .pawfect-category-card h3 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin-bottom: 0.5rem !important;
  }

  .pawfect-shop-card-modern .pawfect-category-card .pawfect-text-lg {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
  }

  /* Prevent flex container from affecting buttons */
  .pawfect-products-grid .pawfect-btn {
    flex: none !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
  }

  /* Fix classic card buttons too */
  .pawfect-shop-card-classic .pawfect-btn {
    flex: none !important;
    width: 100% !important;
  }

  /* Override conflicting hover states for product buttons */
  .pawfect-add-to-cart-btn.pawfect-btn {
    transform: none !important;
    box-shadow: none !important;
  }

  .pawfect-add-to-cart-btn.pawfect-btn::before {
    display: none !important;
  }



  /* My Account Page Styling */
  .pawfect-my-account-page .woocommerce-MyAccount-navigation {
    background: transparent;
    border: none;
    padding: 0;
    width: 100% !important;
  }

  .pawfect-my-account-page .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .pawfect-my-account-page .woocommerce-MyAccount-navigation ul li {
    margin: 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .pawfect-my-account-page .woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
  }

  .pawfect-my-account-page .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 1rem 1.5rem;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
  }

  .pawfect-my-account-page .woocommerce-MyAccount-navigation ul li a:hover,
  .pawfect-my-account-page .woocommerce-MyAccount-navigation ul li.is-active a {
    color: var(--pawfect-primary, #F4A259);
    background-color: rgba(244, 162, 89, 0.1);
    border-left-color: var(--pawfect-primary, #F4A259);
  }

  /* My Account Content Styling */
  .pawfect-my-account-page .woocommerce-MyAccount-content {
    background: white;
    width: 100% !important;
  }

  .pawfect-my-account-page .woocommerce-MyAccount-content h2,
  .pawfect-my-account-page .woocommerce-MyAccount-content h3 {
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 1.5rem;
  }

  .pawfect-my-account-page .woocommerce-MyAccount-content h2 {
    font-size: 1.875rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.75rem;
  }

  .pawfect-my-account-page .woocommerce-MyAccount-content h3 {
    font-size: 1.5rem;
  }

  /* Account Forms Styling */
  .pawfect-my-account-page .woocommerce form .form-row {
    margin-bottom: 1.5rem;
  }

  .pawfect-my-account-page .woocommerce form .form-row label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
  }

  .pawfect-my-account-page .woocommerce form .form-row input[type="text"],
  .pawfect-my-account-page .woocommerce form .form-row input[type="email"],
  .pawfect-my-account-page .woocommerce form .form-row input[type="password"],
  .pawfect-my-account-page .woocommerce form .form-row select,
  .pawfect-my-account-page .woocommerce form .form-row textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .pawfect-my-account-page .woocommerce form .form-row input:focus,
  .pawfect-my-account-page .woocommerce form .form-row select:focus,
  .pawfect-my-account-page .woocommerce form .form-row textarea:focus {
    outline: none;
    border-color: var(--pawfect-primary, #F4A259);
    box-shadow: 0 0 0 3px rgba(244, 162, 89, 0.1);
  }

  /* Account Buttons */
  .pawfect-my-account-page .woocommerce button.button,
  .pawfect-my-account-page .woocommerce input.button,
  .pawfect-my-account-page .woocommerce a.button {
    background-color: var(--pawfect-primary, #F4A259);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .pawfect-my-account-page .woocommerce button.button:hover,
  .pawfect-my-account-page .woocommerce input.button:hover,
  .pawfect-my-account-page .woocommerce a.button:hover {
    background-color: rgba(244, 162, 89, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 162, 89, 0.3);
  }

  /* My Account Wrapper */
  .pawfect-my-account-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
  }

  /* Orders Table Styling */
  .pawfect-my-account-page .woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .pawfect-my-account-page .woocommerce-orders-table th,
  .pawfect-my-account-page .woocommerce-orders-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
  }

  .pawfect-my-account-page .woocommerce-orders-table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #374151;
  }

  .pawfect-my-account-page .woocommerce-orders-table tbody tr:hover {
    background-color: #f9fafb;
  }

  /* Responsive Design */

  /* Mobile Navigation Fixes - Higher Specificity */
  @media (max-width: 1023px) {

    /* Hide desktop navigation on mobile/tablet with higher specificity */
    .pawfect-header .pawfect-primary-nav-menu,
    .pawfect-header nav.pawfect-primary-nav-menu {
      display: none !important;
    }

    /* Ensure mobile menu toggle is visible */
    .pawfect-header #pawfect-menu-open,
    .pawfect-header button#pawfect-menu-open {
      display: block;
    }
  }

  @media (min-width: 1024px) {

    /* Hide mobile menu drawer on desktop */
    #pawfect-mobile-drawer {
      display: none !important;
    }

    /* Show desktop navigation with higher specificity */
    .pawfect-header .pawfect-primary-nav-menu,
    .pawfect-header nav.pawfect-primary-nav-menu {
      display: block;
    }

    /* Hide mobile menu toggle on desktop */
    .pawfect-header #pawfect-menu-open,
    .pawfect-header button#pawfect-menu-open {
      display: none !important;
    }
  }

  /* Topbar Spacing - Add top margin/padding to header when topbar exists */
  body.page-template-front-page.pawfect-has-topbar .pawfect-header:not(.pawfect-sticky-header) {
    margin-top: var(--pawfect-topbar-height, 40px);
  }

  /* Adjust for different topbar heights */
  body.pawfect-has-topbar.pawfect-topbar-small .pawfect-header:not(.pawfect-sticky-header) {
    margin-top: 35px;
  }

  body.pawfect-has-topbar.pawfect-topbar-large .pawfect-header:not(.pawfect-sticky-header) {
    margin-top: 50px;
  }

  /* Top Bar Social Icons Styling */
  .pawfect-topbar-right .pawfect-social-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .pawfect-topbar-right .pawfect-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
  }

  .pawfect-topbar-right .pawfect-social-icons a:hover {
    opacity: 0.7;
  }

  .pawfect-topbar-right .pawfect-social-icons i {
    font-size: 0.875rem;
  }

  /* Featured Item Button Responsive Fixes */
  @media (max-width: 768px) {

    /* Make featured item buttons smaller on mobile */
    .pawfect-btn {
      padding: 0.5rem 1rem !important;
      font-size: 0.875rem !important;
      min-height: auto !important;
    }

    /* Specific fixes for featured section buttons */
    .pawfect-featured-section .pawfect-btn,
    .pawfect-hero-section .pawfect-btn {
      padding: 0.625rem 1.25rem !important;
      font-size: 0.9rem !important;
      line-height: 1.4 !important;
    }

    /* Ensure buttons don't take full width on mobile unless intended */
    .pawfect-btn:not(.pawfect-btn-full) {
      width: auto !important;
      max-width: 200px !important;
    }


  }

  /* Tablet responsive fixes */
  @media (min-width: 769px) and (max-width: 1023px) {

    /* Ensure desktop menu is still hidden on tablet */
    .pawfect-header .pawfect-primary-nav-menu,
    .pawfect-header nav.pawfect-primary-nav-menu {
      display: none !important;
    }

    .pawfect-header #pawfect-menu-open,
    .pawfect-header button#pawfect-menu-open {
      display: block;
    }
  }

  /* Mobile Menu Drawer Smooth Transitions */
  #pawfect-mobile-drawer {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }

  #pawfect-mobile-drawer.pawfect-translate-x-0 {
    transform: translateX(0);
  }

  #pawfect-mobile-drawer.pawfect--translate-x-full {
    transform: translateX(-100%);
  }

  /* Add backdrop for mobile menu */
  .pawfect-mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 49;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .pawfect-mobile-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  @media (max-width: 768px) {
    .pawfect-my-account-page .woocommerce-orders-table {
      font-size: 0.875rem;
    }

    .pawfect-my-account-page .woocommerce-orders-table th,
    .pawfect-my-account-page .woocommerce-orders-table td {
      padding: 0.75rem 0.5rem;
    }

    /* Footer widgets responsive fix */
    /*.pawfect-footer-widgets .pawfect-grid {
      grid-template-columns: 1fr !important;
      gap: 2rem !important;
    }*/

    .pawfect-footer-features-heading .pawfect-grid {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 1.5rem !important;
    }
  }

  @media (max-width: 480px) {

    /* Single column layout for very small screens */
    .pawfect-footer-features-heading .pawfect-grid {
      grid-template-columns: 1fr !important;
    }
  }

  /* Mobile Menu Styling */
  .pawfect-mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .pawfect-mobile-menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .pawfect-mobile-menu-item:last-child {
    border-bottom: none;
  }

  .pawfect-mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
  }

  .pawfect-mobile-menu-link:hover {
    color: #ffffff;
  }

  .pawfect-mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .pawfect-mobile-submenu.active {
    max-height: 500px;
  }

  .pawfect-mobile-submenu .pawfect-mobile-menu-link {
    padding-left: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
  }

  .pawfect-mobile-submenu-toggle {
    transition: transform 0.2s ease;
  }

  .pawfect-mobile-submenu-toggle.rotated {
    transform: rotate(90deg);
  }

  .pawfect-mobile-menu-extras {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .pawfect-mobile-menu-extras .pawfect-mobile-menu-link {
    padding: 0.5rem 0;
    font-size: 0.875rem;
  }

  /* Shop Layout Body Classes */
  body.pawfect-shop-sidebar-left .pawfect-products-grid {
    /* Styles for left sidebar layout */
  }

  body.pawfect-shop-sidebar-right .pawfect-products-grid {
    /* Styles for right sidebar layout */
  }

  body.pawfect-shop-no-sidebar .pawfect-products-grid {
    /* Styles for no sidebar layout - more columns possible */
  }

  /* WooCommerce Price Filter Styling */
  .pawfect-price-filter .price_slider_wrapper .price_slider {
    background: #e5e7eb !important;
    border-radius: 4px !important;
    height: 6px !important;
  }

  .pawfect-price-filter .price_slider_wrapper .ui-slider-range {
    background: var(--pawfect-primary, #F4A259) !important;
    border-radius: 4px !important;
    height: 6px !important;
  }

  .pawfect-price-filter .price_slider_wrapper .ui-slider-handle {
    background: var(--pawfect-primary, #F4A259) !important;
    border: 2px solid white !important;
    border-radius: 50% !important;
    width: 18px !important;
    height: 18px !important;
    top: -6px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  }

  .pawfect-price-filter .price_slider_wrapper .ui-slider-handle:hover,
  .pawfect-price-filter .price_slider_wrapper .ui-slider-handle:focus {
    background: var(--pawfect-primary, #F4A259) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
  }

  /* Hide the "Filter by Price" text from WooCommerce widget but keep min/max */
  .pawfect-price-filter .widget-title,
  .pawfect-price-filter h4,
  .pawfect-price-filter h2.widgettitle {
    display: none !important;
  }

  /* Show and style the min/max price display */
  .pawfect-price-filter .price_slider_wrapper .price_slider_amount {
    display: block !important;
    margin-top: 15px !important;
  }

  .pawfect-price-filter .price_slider_wrapper .price_slider_amount .price_label {
    display: inline-block !important;
    font-size: 14px !important;
    color: #6b7280 !important;
    margin-right: 10px !important;
  }

  /* Style the price input fields */
  .pawfect-price-filter .price_slider_wrapper .price_slider_amount input {
    border: 1px solid #e5e7eb !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
  }

  .pawfect-price-filter .price_slider_wrapper .price_slider_amount .button {
    background: var(--pawfect-primary, #F4A259) !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
  }

  .pawfect-price-filter .price_slider_wrapper .price_slider_amount .button:hover {
    background: var(--pawfect-primary-dark, #E6935A) !important;
    transform: translateY(-1px) !important;
  }

  /* Border Colors */
  .pawfect-border-border-color {
    border-color: var(--pawfect-border-color, #E0D8D1);
  }

  /* Focus States */
  .focus\:pawfect-ring-accent:focus {
    box-shadow: 0 0 0 2px rgba(217, 164, 119, 0.2);
  }

  /* About Page Specific Styling */
  .pawfect-about-page .pawfect-about-content {
    background: white;
  }

  .pawfect-about-page .pawfect-container-narrow {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .pawfect-about-page .pawfect-about-content h2 {
    color: var(--pawfect-dark, #1f2937);
    position: relative;

  }


  /* Animation delay utilities */
  .pawfect-animation-delay-2000 {
    animation-delay: 2000ms;
  }

  /* Progress bar animation */
  .pawfect-slide-progress {
    transition: all 0.1s linear;
  }

  /* Hero content responsive improvements */
  @media (max-width: 640px) {
    .pawfect-hero-title {
      @apply pawfect-text-3xl;
    }

    .pawfect-hero-description {
      @apply pawfect-text-base;
    }

    .pawfect-hero-cta {
      @apply pawfect-flex-col pawfect-gap-3;
    }
  }

  /*
  Logo Visibility Logic
*/

  /* ------------------------------
  Header
------------------------------ */

  header.pawfect-bg-pawfect-dark .pawfect-nav-link {
    color: #ffffff !important;
  }

  /* ------------------------------
  Enhanced Hero Slider with Smooth Transitions
------------------------------ */

  /* Hero Slider Text Animations */
  @keyframes pawfectHeroFadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes pawfectHeroFadeInDown {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes pawfectHeroFadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  /* Initial state - hide all animated elements */
  .pawfect-hero-animate {
    opacity: 0;
    transform: translateY(30px);
  }

  /* Reset class to disable animations during slide change */
  .pawfect-hero-reset {
    opacity: 0 !important;
    transform: translateY(30px) !important;
    animation: none !important;
  }

  /* Active slide animations */
  .swiper-slide-active .pawfect-hero-animate-subtitle {
    animation: pawfectHeroFadeInDown 0.8s ease-out 0.2s forwards;
  }

  .swiper-slide-active .pawfect-hero-animate-title {
    animation: pawfectHeroFadeInUp 0.8s ease-out 0.4s forwards;
  }

  .swiper-slide-active .pawfect-hero-animate-description {
    animation: pawfectHeroFadeInUp 0.8s ease-out 0.6s forwards;
  }

  .swiper-slide-active .pawfect-hero-animate-button {
    animation: pawfectHeroFadeInUp 0.8s ease-out 0.8s forwards;
  }

  /* Disable hero animations when site animations are disabled */
  .pawfect-animations-disabled .pawfect-hero-animate {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .pawfect-animations-disabled .swiper-slide-active .pawfect-hero-animate-subtitle,
  .pawfect-animations-disabled .swiper-slide-active .pawfect-hero-animate-title,
  .pawfect-animations-disabled .swiper-slide-active .pawfect-hero-animate-description,
  .pawfect-animations-disabled .swiper-slide-active .pawfect-hero-animate-button {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* Slide content animations */
  .pawfect-slide-content {
    @apply pawfect-transition-all pawfect-duration-1000 pawfect-ease-out;
  }

  .swiper-slide-active .pawfect-slide-content {
    @apply pawfect-opacity-100 pawfect-transform pawfect-translate-y-0;
  }

  /* Ken Burns effect for background images - Fixed sizing */
  .swiper-slide .pawfect-bg-cover {
    @apply pawfect-transition-transform pawfect-duration-[12000ms] pawfect-ease-out;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    width: 100% !important;
    height: 100% !important;
  }

  .swiper-slide-active .pawfect-bg-cover {
    @apply pawfect-scale-110;
  }

  /* Fix for hero slider background images */
  .swiper-slide {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  /* Remove duplicate button definitions - handled in main .pawfect-btn definition */

  /* Subtle Pagination Bullets */
  .pawfect-pagination-bullet {
    @apply pawfect-w-2 pawfect-h-2 pawfect-bg-white pawfect-bg-opacity-40 pawfect-rounded-full pawfect-cursor-pointer pawfect-transition-all pawfect-duration-300 pawfect-relative;
  }

  .pawfect-pagination-bullet.swiper-pagination-bullet-active {
    @apply pawfect-bg-pawfect-primary pawfect-bg-opacity-100 pawfect-w-6;
  }

  .pawfect-bullet-fill {
    position: absolute;
    inset: 0;
    background-color: #F4A259;
    border-radius: 9999px;
    opacity: 0;
  }

  .swiper-pagination-bullet-active .pawfect-bullet-fill {
    @apply pawfect-opacity-100;
    transition: opacity 0.3s ease;
  }

  /* Remove the annoying keyframe animation */
  @keyframes pawfect-fill {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  /* Global Badge System */
  .pawfect-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 20;
  }

  .pawfect-badge--sale {
    @apply pawfect-bg-red-500;
  }

  .pawfect-badge--category {
    @apply pawfect-bg-pawfect-primary;
  }

  .pawfect-badge--new {
    @apply pawfect-bg-green-500;
  }

  .pawfect-badge--featured {
    @apply pawfect-bg-blue-500;
  }

  /* ------------------------------
  Go to Top Button
------------------------------ */
  .pawfect-go-to-top {
    @apply pawfect-transition-all pawfect-duration-300 pawfect-ease-out;
  }

  .pawfect-go-to-top:hover {
    @apply pawfect-transform pawfect-scale-110 pawfect-shadow-xl;
  }

  .pawfect-go-to-top:active {
    @apply pawfect-transform pawfect-scale-95;
  }

  /* Enhanced button animations - removed duplicate, using main button definitions */

  /* ------------------------------
  Enhanced Image Sizing
------------------------------ */

  /* Ensure press mention images maintain aspect ratio */
  .pawfect-press-mentions img {
    object-fit: contain !important;
    width: auto !important;
  }

  /* Instagram images sizing fix */
  .pawfect-instagram-image {
    width: 100% !important;
    height: 380px !important;
    object-fit: cover !important;
  }

  /* General image improvements */
  img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Subtle pagination styles for premium look */
  .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 3px;
  }

  .pawfect-product-swiper .swiper-pagination-bullet {
    border-color: rgba(49, 49, 52, 0.3);
    background-color: rgba(49, 49, 52, 0.2);
  }

  .swiper-pagination-bullet-active .pawfect-bullet-fill {
    background-color: #F4A259 !important;
  }

  .swiper-pagination-bullet-active {
    width: 24px !important;
    background-color: #F4A259 !important;
    border-color: #F4A259 !important;
    border-radius: 4px !important;
    height: 8px !important;
  }

  .swiper-button-next,
  .swiper-button-prev {
    color: #313134;
    /* pawfect-dark */
    transition: transform 0.3s ease;
  }

  /* Swiper Container: add a group class for hover targeting */
  .pawfect-hero-swiper,
  .pawfect-product-swiper {
    position: relative;
  }

  .pawfect-product-swiper {
    padding-bottom: 2rem !important;
  }

  /* Base button styling */
  .swiper-button-next,
  .swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    /* off-screen */
    opacity: 0;
    transition: all 300ms ease-in-out;
    z-index: 10;
    border-radius: 9999px;
    padding: 10px;
    width: 44px !important;
    height: 4.8rem;
    background-color: #ffffff;
    box-shadow: 0 11px 9px rgba(34, 34, 34, 0.09);
  }

  /* Shared arrow styling */
  .swiper-button-prev,
  .swiper-button-next {
    opacity: 0;
    transition: all 300ms ease;
    transform: translateY(-50%) translateX(20px);
    /* off-screen default */
  }

  .swiper-button-prev {
    left: 0;
    transform: translateY(-50%) translateX(-20px);
  }

  .swiper-button-next {
    right: 0;
  }

  /* === For Hero Slider === */
  .pawfect-hero-swiper:hover .swiper-button-prev {
    opacity: 1;
    transform: translateY(-50%) translateX(10px);
  }

  .pawfect-hero-swiper:hover .swiper-button-next {
    opacity: 1;
    transform: translateY(-50%) translateX(-10px);
  }

  /* === For Product Slider === */
  .pawfect-product-swiper:hover .swiper-button-prev {
    opacity: 1;
    transform: translateY(-50%) translateX(10px);
  }

  .pawfect-product-swiper:hover .swiper-button-next {
    opacity: 1;
    transform: translateY(-50%) translateX(-10px);
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    display: none;
  }

  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    background-color: #313134;
  }

  .swiper-button-next:hover svg,
  .swiper-button-prev:hover svg {
    fill: #ffffff;
    transition: fill 300ms ease;
  }

  .swiper-button-next svg,
  .swiper-button-prev svg {
    position: absolute;
    width: 1.2rem !important;
    height: 1.2rem !important;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
  }

  /* ------------------------------
   Footer Paw Print Decoration
------------------------------ */
  .pawfect-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;
    background-color: #ffffff;
    background: #fef9f5;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1439 57' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 57L1439 57V-3.8147e-06C1400.62 -3.8147e-06 1313.56 90.4365 1126.12 20.9833C938.69 -48.4699 829.284 116.882 444.121 20.9833C220.961 -34.5797 28.1238 37.491 0 57Z' fill='%23ffffff'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1439 57' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 57L1439 57V-3.8147e-06C1400.62 -3.8147e-06 1313.56 90.4365 1126.12 20.9833C938.69 -48.4699 829.284 116.882 444.121 20.9833C220.961 -34.5797 28.1238 37.491 0 57Z' fill='%23ffffff'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-size: cover;
    transform: rotate(180deg);
    z-index: 1;
  }

  .pawfect-paw-trail::before {
    content: "";
    position: absolute;
    top: -20rem;
    left: 48%;
    transform: translate(-50%, 50%) rotate(90deg);
    background-image: url(../assets/images/paw-steps-white.webp);
    background-repeat: no-repeat;
    background-size: contain;
    width: 500px;
    height: 800px;
    opacity: 0.5;
    z-index: 0;
  }

  /* Footer paw background is now handled dynamically in class-dynamic-css.php */

  #testimonial-cards {
    position: relative;
    height: 450px;
    /* Adjust height as needed */
    /*overflow: hidden;*/
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .testimonial-card {
    position: static;
    /* default for mobile */
  }

  #testimonial-cards {
    gap: 1.25rem;
    height: 100%;
    /* Adjust height as needed */
  }

  .pawfect-line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  @media (min-width: 640px) {
    .testimonial-card {
      position: absolute;
    }

    #testimonial-cards {
      height: 450px;
      /* Adjust height as needed */
    }
  }

  /* Button Styles for Comments - removed duplicate, using main .pawfect-btn definition */

  .pawfect-btn--dark {
    background-color: #1f2937;
    color: white;
  }

  .pawfect-btn--dark:hover {
    background-color: #111827;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  /* .pawfect-btn span { display: block; } removed to prevent icon wrapping */

  /* Header Menu Padding - Only for initial state, not sticky */
  .pawfect-header:not(.pawfect-sticky-header) .pawfect-sticky-nav-row {
    padding-bottom: 1.5rem;
  }

  /* Ensure sticky header doesn't have extra padding */
  .pawfect-header.pawfect-sticky-header .pawfect-sticky-nav-row {
    padding-bottom: 0;
  }
}

/* ========================================
   Enhanced Scroll Animations
   ======================================== */

/* Custom AOS animation enhancements */
[data-aos] {
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced fade-up animation */
[data-aos="fade-up"] {
  transform: translate3d(0, 40px, 0);
  opacity: 0;
}

[data-aos="fade-up"].aos-animate {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* Enhanced fade-right animation */
[data-aos="fade-right"] {
  transform: translate3d(-40px, 0, 0);
  opacity: 0;
}

[data-aos="fade-right"].aos-animate {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* Enhanced fade-left animation */
[data-aos="fade-left"] {
  transform: translate3d(40px, 0, 0);
  opacity: 0;
}

[data-aos="fade-left"].aos-animate {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* Enhanced zoom-in-up animation */
[data-aos="zoom-in-up"] {
  transform: translate3d(0, 40px, 0) scale(0.9);
  opacity: 0;
}

[data-aos="zoom-in-up"].aos-animate {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

/* Enhanced zoom-in animation */
[data-aos="zoom-in"] {
  transform: scale(0.8);
  opacity: 0;
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
  opacity: 1;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Performance optimizations */
[data-aos] {
  will-change: transform, opacity;
}

/* Smooth transitions for better animation flow */
[data-aos] {
  transition-duration: 0.8s;
  transition-property: transform, opacity;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Additional My Account Page Styling */
.pawfect-my-account-page .woocommerce-MyAccount-content p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.pawfect-my-account-page .woocommerce-MyAccount-content p:first-child {
  font-size: 1.125rem;
  color: #374151;
  margin-bottom: 1.5rem;
}

/* Navigation Improvements */
.pawfect-my-account-page .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pawfect-my-account-page .woocommerce-MyAccount-navigation ul li {
  margin: 0;
  border-bottom: 1px solid #e5e7eb;
}

.pawfect-my-account-page .woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none;
}

/* Dashboard Welcome Message */
.pawfect-my-account-page .woocommerce-MyAccount-content .woocommerce-message {
  background-color: #f0f9ff;
  border-left: 4px solid var(--pawfect-primary, #F4A259);
  color: #1e40af;
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1.5rem;
}

/* Footer Widget Styling */
.pawfect-footer-widget-area {
  padding: 0;
}

.pawfect-footer-widget-area .widget {
  margin-bottom: 0;
}

.pawfect-footer-widget-area .widget-title,
.pawfect-footer-widget-area .widgettitle {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pawfect-footer-widget-area .textwidget {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.pawfect-footer-widget-area .textwidget p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.pawfect-footer-widget-area .textwidget img {
  margin-bottom: 1rem;
  max-width: 150px;
  height: auto;
}

/* Footer Links Styling */
.pawfect-footer-widget-area .pawfect-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pawfect-footer-widget-area .pawfect-footer-links li {
  margin-bottom: 0.75rem;
}

.pawfect-footer-widget-area .pawfect-footer-links li:last-child {
  margin-bottom: 0;
}

.pawfect-footer-widget-area .pawfect-footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
}

.pawfect-footer-widget-area .pawfect-footer-links a:hover {
  color: #ffffff;
  padding-left: 0.5rem;
  transform: translateX(4px);
}

/* Contact Info Styling */
.pawfect-footer-widget-area .pawfect-contact-info {
  color: rgba(255, 255, 255, 0.8);
}

.pawfect-footer-widget-area .pawfect-contact-info p {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.pawfect-footer-widget-area .pawfect-contact-info strong {
  color: #ffffff;
  display: block;
  margin-bottom: 0.25rem;
}

/* Social Links Styling */
.pawfect-footer-widget-area .pawfect-social-links {
  margin-top: 1.5rem;
}

.pawfect-footer-widget-area .pawfect-social-links .pawfect-flex {
  gap: 0.75rem;
}

.pawfect-footer-widget-area .pawfect-social-links a {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.pawfect-footer-widget-area .pawfect-social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Footer Feature Widget Styling */
.pawfect-footer-feature-area {
  padding: 0;
}

.pawfect-footer-feature-area .widget {
  margin-bottom: 0;
}

.pawfect-footer-feature-area .widget-title,
.pawfect-footer-feature-area .widgettitle {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  text-align: center;
}

.pawfect-footer-feature-area .textwidget {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.pawfect-footer-feature-area .textwidget p {
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.pawfect-footer-feature-area svg {
  margin-bottom: 0.5rem;
}

/* Footer Grid Column Links Styling */
.pawfect-footer-widget-area ul.pawfect-text-base {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pawfect-footer-widget-area ul.pawfect-text-base li {
  margin-bottom: 0.5rem;
}

.pawfect-footer-widget-area ul.pawfect-text-base li:last-child {
  margin-bottom: 0;
}

.pawfect-footer-widget-area ul.pawfect-text-base a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
  line-height: 1.6;
}

.pawfect-footer-widget-area ul.pawfect-text-base a:hover {
  color: #ffffff;
}

/* Modern Search Input Styling */
#pawfect-search-input {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  background: #f9fafb;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

#pawfect-search-input:focus {
  outline: none !important;
  box-shadow: 0 10px 25px -5px rgba(244, 162, 89, 0.1), 0 4px 6px -2px rgba(244, 162, 89, 0.05) !important;
  background: #ffffff;
  transform: translateY(-1px);
}

#pawfect-search-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* Search Modal Improvements */
#pawfect-search-modal-content {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Quick View Modal Improvements - Match Search Modal Style */
#pawfect-quick-view-modal-content {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Promotional Modal Improvements - Match Search Modal Style */
#pawfect-promo-modal-content {
  backdrop-filter: blur(10px);
}

/* Promotional Modal Specific Styles */
#pawfect-promo-modal.pawfect-pointer-events-none {
  pointer-events: none;
}

#pawfect-promo-modal:not(.pawfect-pointer-events-none) {
  pointer-events: auto;
}

/* Promotional Modal Close Button */
#pawfect-promo-close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease;
}

#pawfect-promo-close:hover {
  transform: scale(1.05);
}

/* Promotional Modal Email Input */
#pawfect-promo-email:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(244, 162, 89, 0.1) !important;
}

/* Promotional Modal Subscribe Button */
#pawfect-promo-subscribe {
  background: var(--pawfect-primary, #F4A259);
  transition: all 0.2s ease;
}

#pawfect-promo-subscribe:hover {
  background: var(--pawfect-primary-dark, #E6935A);
  box-shadow: 0 4px 12px rgba(244, 162, 89, 0.3);
}

/* Promotional Modal Gradient Icon */
.pawfect-bg-gradient-to-r.pawfect-from-pawfect-primary.pawfect-to-orange-400 {
  background: linear-gradient(to right, var(--pawfect-primary, #F4A259), #fb923c);
}

/* Promotional Modal Two-Column Layout Styles */
#pawfect-promo-modal .pawfect-bg-gradient-to-br {
  background: linear-gradient(to bottom right, #f3e8ff, #fce7f3);
}

/* Promotional Modal Responsive Styles */
@media (max-width: 768px) {
  #pawfect-promo-modal-content {
    margin: 1rem;
    max-width: calc(100vw - 2rem);
  }

  #pawfect-promo-modal .pawfect-flex-col {
    flex-direction: column;
  }

  #pawfect-promo-modal .pawfect-w-full {
    width: 100%;
  }

  #pawfect-promo-modal .pawfect-p-8 {
    padding: 1.5rem;
  }

  #pawfect-promo-modal .pawfect-text-3xl {
    font-size: 1.75rem;
  }

  #pawfect-promo-modal .pawfect-w-32 {
    width: 6rem;
    height: 6rem;
  }

  #pawfect-promo-modal .pawfect-w-16 {
    width: 3rem;
    height: 3rem;
  }
}

@media (max-width: 640px) {
  #pawfect-promo-modal .pawfect-text-3xl {
    font-size: 1.5rem;
  }

  #pawfect-promo-modal .pawfect-text-2xl {
    font-size: 1.25rem;
  }

  #pawfect-promo-modal .pawfect-p-8 {
    padding: 1rem;
  }
}

/* Quick View Close Button Rotation Effect - Match Search Modal */
/* Multiple approaches to ensure rotation works */

/* Primary approach - rotate the SVG */
#pawfect-quick-view-close svg {
  transition: transform 0.3s ease !important;
  transform-origin: center center !important;
  will-change: transform !important;
}

#pawfect-quick-view-close:hover svg {
  transform: rotate(180deg) !important;
}

/* Secondary approach - rotate the button itself */
#pawfect-quick-view-close {
  transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease !important;
  transform-origin: center center !important;
}

#pawfect-quick-view-close:hover {
  transform: rotate(180deg) !important;
}

/* Ensure proper display and positioning */
#pawfect-quick-view-close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Promotional Popup Close Button Rotation Effect - Match Search Modal and Quick View */
/* Multiple approaches to ensure rotation works */

/* Primary approach - rotate the SVG */
#pawfect-promo-close svg {
  transition: transform 0.3s ease !important;
  transform-origin: center center !important;
  will-change: transform !important;
}

#pawfect-promo-close:hover svg {
  transform: rotate(180deg) !important;
}



#pawfect-promo-close:hover {
  transform: rotate(180deg) !important;
}

/* Ensure proper display and positioning */
#pawfect-promo-close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Social Media Icons Styling */
.pawfect-social-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pawfect-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.pawfect-social-icon:hover {
  transform: translateY(-2px);
}

/* Social Media Icon Styles */
.pawfect-social-style-default .pawfect-social-icon {
  padding: 0.5rem;
}

.pawfect-social-style-rounded .pawfect-social-icon {
  padding: 0.75rem;
  border-radius: 0.5rem;
  background-color: rgba(0, 0, 0, 0.05);
}

.pawfect-social-style-rounded .pawfect-social-icon:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.pawfect-social-style-square .pawfect-social-icon {
  padding: 0.75rem;
  background-color: rgba(0, 0, 0, 0.05);
}

.pawfect-social-style-square .pawfect-social-icon:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.pawfect-social-style-circle .pawfect-social-icon {
  padding: 0.75rem;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.05);
}

.pawfect-social-style-circle .pawfect-social-icon:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

/* Social Media Icon Sizes */
.pawfect-social-size-small .pawfect-social-icon {
  font-size: 0.875rem;
  width: 2rem;
  height: 2rem;
}

.pawfect-social-size-medium .pawfect-social-icon {
  font-size: 1rem;
  width: 2.5rem;
  height: 2.5rem;
}

.pawfect-social-size-large .pawfect-social-icon {
  font-size: 1.25rem;
  width: 3rem;
  height: 3rem;
}

/* Social Media Labels */
.pawfect-social-label {
  margin-left: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Quick View Modal Specific Styles */
.pawfect-quick-view-content .pawfect-main-image img {
  transition: opacity 0.3s ease-in-out;
}

.pawfect-quick-view-content .pawfect-thumb-btn {
  transition: border-color 0.2s ease-in-out;
}

.pawfect-quick-view-content .pawfect-thumb-btn:hover {
  border-color: var(--pawfect-primary, #F4A259) !important;
}

/* Smooth Scrollbar for Search Results */
.pawfect-scrollbar-thin::-webkit-scrollbar {
  width: 4px;
}

.pawfect-scrollbar-thin::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 2px;
}

.pawfect-scrollbar-thin::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

.pawfect-scrollbar-thin::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Primary Button Styling - Complete definition with shimmer effect */
.pawfect-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  border: 0;
  cursor: pointer;
  background-color: var(--pawfect-primary, #F4A259);
  color: white;
  text-decoration: none;
  outline: none;
  box-shadow: 0 2px 4px rgba(244, 162, 89, 0.2);
  position: relative;
  overflow: hidden;
}

.pawfect-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, white, transparent);
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.7s ease;
  z-index: 1;
}

.pawfect-btn:hover {
  background-color: var(--pawfect-primary, #F4A259);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(244, 162, 89, 0.3);
  color: white;
}

.pawfect-btn:hover::before {
  opacity: 0.2;
  transform: translateX(100%);
}

/* Secondary Button Styling - Identical to primary button except background color */
.pawfect-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  border: 0;
  cursor: pointer;
  background-color: var(--pawfect-secondary, #313134);
  color: white;
  text-decoration: none;
  outline: none;
  box-shadow: 0 2px 4px rgba(49, 49, 52, 0.2);
  position: relative;
  overflow: hidden;
}

.pawfect-btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, white, transparent);
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.7s ease;
  z-index: 1;
}

.pawfect-btn-secondary:hover {
  background-color: var(--pawfect-secondary, #313134);
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(49, 49, 52, 0.3);
  color: white;
}

.pawfect-btn-secondary:hover::before {
  opacity: 0.2;
  transform: translateX(100%);
}

/* Dynamic Primary Color Classes */
.pawfect-text-primary {
  color: var(--pawfect-primary, #F4A259) !important;
}

.pawfect-bg-primary {
  background-color: var(--pawfect-primary, #F4A259) !important;
}

.pawfect-border-primary {
  border-color: var(--pawfect-primary, #F4A259) !important;
}

/* Empty Cart Product Cards Styling */
.woocommerce-cart-empty .woocommerce-loop-product__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.woocommerce-cart-empty .woocommerce-loop-product__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.woocommerce-cart-empty .woocommerce-loop-product__link:hover .woocommerce-loop-product__title {
  color: var(--pawfect-primary, #F4A259);
}

.woocommerce-cart-empty .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pawfect-primary, #F4A259);
  margin-bottom: 1rem;
}

.woocommerce-cart-empty .price del {
  color: #9ca3af;
  margin-right: 0.5rem;
  font-weight: 400;
}

.woocommerce-cart-empty .woocommerce-loop-product__link img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.7s ease;
  border-radius: 0.5rem 0.5rem 0 0;
}

.woocommerce-cart-empty .woocommerce-loop-product__link:hover img {
  transform: scale(1.1);
}

/* Style the product containers to match shop cards */
.woocommerce-cart-empty ul.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .woocommerce-cart-empty ul.products {
    grid-template-columns: repeat(4, 1fr);
  }
}

.woocommerce-cart-empty ul.products li.product {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.woocommerce-cart-empty ul.products li.product:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-color: #e5e7eb;
  transform: translateY(-2px);
}

.woocommerce-cart-empty ul.products li.product .woocommerce-loop-product__link {
  display: block;
  height: 100%;
}

.woocommerce-cart-empty ul.products li.product .attachment-woocommerce_thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Product info section */
.woocommerce-cart-empty ul.products li.product>a+* {
  padding: 1rem;
}

/* Sale badge styling */
.woocommerce-cart-empty .onsale {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #ef4444;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  z-index: 10;
  text-transform: uppercase;
}

/* Add to cart button in empty cart */
.woocommerce-cart-empty .button {
  width: 100%;
  text-align: center;
  margin-top: 0.75rem;
}

/* View Toggle Smooth Transitions */
.pawfect-view-toggle {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.pawfect-view-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pawfect-view-toggle.active {
  background-color: var(--pawfect-primary, #F4A259) !important;
  color: white !important;
  border-color: var(--pawfect-primary, #F4A259) !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(244, 162, 89, 0.3);
}

/* WooCommerce Sidebar Buttons Primary Color */
.widget_price_filter .button,
.widget_layered_nav_filters .button,
.woocommerce-widget-layered-nav-dropdown .button,
.widget_product_search .button,
.woocommerce .widget_shopping_cart .button,
.woocommerce .widget_shopping_cart .checkout,
.woocommerce-mini-cart__buttons .button,
.wc-block-mini-cart__footer .button,
.wc-block-components-button,
.wp-block-woocommerce-product-search .wp-block-button__link,
.wp-block-woocommerce-product-categories .wp-block-button__link {
  background-color: var(--pawfect-primary, #F4A259) !important;
  color: white !important;
  border: 1px solid var(--pawfect-primary, #F4A259) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.widget_price_filter .button:hover,
.widget_layered_nav_filters .button:hover,
.woocommerce-widget-layered-nav-dropdown .button:hover,
.widget_product_search .button:hover,
.woocommerce .widget_shopping_cart .button:hover,
.woocommerce .widget_shopping_cart .checkout:hover,
.woocommerce-mini-cart__buttons .button:hover,
.wc-block-mini-cart__footer .button:hover,
.wc-block-components-button:hover,
.wp-block-woocommerce-product-search .wp-block-button__link:hover,
.wp-block-woocommerce-product-categories .wp-block-button__link:hover {
  background-color: var(--pawfect-primary, #F4A259) !important;
  opacity: 0.9 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(244, 162, 89, 0.3) !important;
  color: white !important;
}

/* Force pawfect-btn styling on specific WooCommerce buttons */
.wp-block-button__link.add_to_cart_button,
.add_to_cart_button.ajax_add_to_cart,
a[href*="add-to-cart"].wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
  border-radius: 0.5rem !important;
  transition: all 0.2s ease !important;
  border: 0 !important;
  cursor: pointer !important;
  background-color: var(--pawfect-primary, #F4A259) !important;
  color: white !important;
  text-decoration: none !important;
  outline: none !important;
  box-shadow: 0 2px 4px rgba(244, 162, 89, 0.2) !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
}

.wp-block-button__link.add_to_cart_button:hover,
.add_to_cart_button.ajax_add_to_cart:hover,
a[href*="add-to-cart"].wp-block-button__link:hover {
  background-color: var(--pawfect-primary, #F4A259) !important;
  opacity: 0.9 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(244, 162, 89, 0.3) !important;
  color: white !important;
}

/* Checkout Page Styling */
.woocommerce-checkout {
  background: #f9fafb;
  min-height: 100vh;
  padding-top: 2rem;
}

.woocommerce-checkout .woocommerce-form-row {
  margin-bottom: 1.5rem;
}

.woocommerce-checkout .woocommerce-form-row label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.woocommerce-checkout .woocommerce-form-row input,
.woocommerce-checkout .woocommerce-form-row select,
.woocommerce-checkout .woocommerce-form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: white;
}

.woocommerce-checkout .woocommerce-form-row input:focus,
.woocommerce-checkout .woocommerce-form-row select:focus,
.woocommerce-checkout .woocommerce-form-row textarea:focus {
  outline: none;
  border-color: var(--pawfect-primary, #F4A259);
  box-shadow: 0 0 0 3px rgba(244, 162, 89, 0.1);
}

/* Checkout Form Sections */
.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.woocommerce-checkout h3 {
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
}

/* Order Review Table */
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.woocommerce-checkout-review-order-table th {
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.woocommerce-checkout-review-order-table .product-name {
  font-weight: 500;
  color: #1f2937;
}

.woocommerce-checkout-review-order-table .product-total {
  font-weight: 600;
  color: var(--pawfect-primary, #F4A259);
  text-align: right;
}

/* Payment Methods */
.woocommerce-checkout .wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.woocommerce-checkout .wc_payment_method {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.woocommerce-checkout .wc_payment_method label {
  display: block;
  padding: 1rem;
  cursor: pointer;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.woocommerce-checkout .wc_payment_method label:hover {
  background: #f3f4f6;
}

.woocommerce-checkout .wc_payment_method input[type="radio"] {
  margin-right: 0.5rem;
}

.woocommerce-checkout .payment_box {
  padding: 1rem;
  background: white;
  border-top: 1px solid #e5e7eb;
}

/* Place Order Button */
.woocommerce-checkout #place_order {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 1rem;
}

/* Checkout Error Messages */
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.woocommerce-checkout .woocommerce-error {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  color: #dc2626;
}

.woocommerce-checkout .woocommerce-message {
  background: #f0f9ff;
  border-left: 4px solid #3b82f6;
  color: #1d4ed8;
}

/* Responsive Checkout */
@media (max-width: 1024px) {

  .woocommerce-checkout .col-1,
  .woocommerce-checkout .col-2 {
    padding: 1.5rem;
  }
}

/* Checkout Thank You Page Styling */
.woocommerce-order-received {
  background: #f9fafb;
  min-height: 100vh;
  padding: 2rem 0;
}

.woocommerce-order-received .woocommerce-order {

  margin-bottom: 2rem;
  margin-top: 2rem;
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
  background: #f0f9ff;
  border: 1px solid #3b82f6;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  color: #1d4ed8;
  font-size: 1.125rem;
  text-align: center;
}

.woocommerce-order-received .woocommerce-order-overview {
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.woocommerce-order-received .woocommerce-order-overview li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.woocommerce-order-received .woocommerce-order-overview li:last-child {
  border-bottom: none;
}

.woocommerce-order-received .woocommerce-order-overview strong {
  color: #1f2937;
  font-weight: 600;
}

.woocommerce-order-received .woocommerce-order-details {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.woocommerce-order-received .woocommerce-order-details h2 {
  background: #f9fafb;
  padding: 1.5rem;
  margin: 0;
  border-bottom: 1px solid #e5e7eb;
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 700;
}

.woocommerce-order-received .woocommerce-table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-order-received .woocommerce-table th,
.woocommerce-order-received .woocommerce-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.woocommerce-order-received .woocommerce-table th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.woocommerce-order-received .woocommerce-table .product-name {
  font-weight: 500;
  color: #1f2937;
}

.woocommerce-order-received .woocommerce-table .product-total {
  font-weight: 600;
  color: var(--pawfect-primary, #F4A259);
  text-align: right;
}

/* Order Details Sections */
.woocommerce-order-received .woocommerce-customer-details {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-top: 2rem;
}

.woocommerce-order-received .woocommerce-customer-details h2 {
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
}

.woocommerce-order-received .woocommerce-customer-details address {
  background: #f9fafb;
  padding: 1rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--pawfect-primary, #F4A259);
  font-style: normal;
  line-height: 1.6;
  color: #374151;
}

/* Blog Grid Layout - Fix uneven height cards */
.pawfect-posts-grid .pawfect-grid {
  display: grid;
  gap: 2rem;
}

.pawfect-posts-grid .pawfect-grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .pawfect-posts-grid .md\:pawfect-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .pawfect-posts-grid .lg\:pawfect-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Fix uneven height cards in grid */
.pawfect-posts-grid .pawfect-post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pawfect-posts-grid .pawfect-post-card>a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pawfect-posts-grid .pawfect-post-card .pawfect-p-6,
.pawfect-posts-grid .pawfect-post-card .pawfect-p-4 {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pawfect-posts-grid .pawfect-post-card .pawfect-text-gray-600 {
  flex: 1;
}

/* Ensure read more button stays at bottom */
.pawfect-posts-grid .pawfect-post-card .pawfect-flex.pawfect-items-center.pawfect-mt-4,
.pawfect-posts-grid .pawfect-post-card .pawfect-inline-flex.pawfect-items-center {
  margin-top: auto;
}

/* Archive List Layout - Exact Match to content.html */
.pawfect-posts-list {
  margin-top: 0;
}

.pawfect-posts-list .pawfect-post-card {
  padding-bottom: 3rem;
  margin-bottom: 4rem;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}

.pawfect-posts-list .pawfect-post-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Archive Grid Layout - Exact Match to content.html */
.pawfect-posts-grid {
  margin-top: 0;
}

.pawfect-posts-grid .pawfect-post-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  transition: none;
  overflow: visible;
  margin-bottom: 0;
}

/* Grid container styling to match content.html */
.pawfect-posts-grid .pawfect-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 3rem;
}

@media (min-width: 768px) {
  .pawfect-posts-grid .md\:pawfect-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .pawfect-posts-grid .lg\:pawfect-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pawfect-posts-grid .lg\:pawfect-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* List layout spacing to match content.html */
.pawfect-posts-list {
  margin-top: 0;
}

.pawfect-posts-list .pawfect-post-card {
  margin-bottom: 4rem;
}




.pawfect-posts-grid .pawfect-post-card .pawfect-p-4 {
  padding: 1rem;
}

/* Fix archive page title spacing */
.pawfect-archive-header {
  margin-bottom: 2rem;
}

.pawfect-archive-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

/* Fix sidebar layout issues */
.pawfect-grid.lg\:pawfect-grid-cols-\[300px_1fr\] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .pawfect-grid.lg\:pawfect-grid-cols-\[300px_1fr\] {
    grid-template-columns: 300px 1fr;
  }

  .pawfect-grid.lg\:pawfect-grid-cols-\[1fr_300px\] {
    grid-template-columns: 1fr 300px;
  }
}

.pawfect-blog-sidebar {
  width: 100%;
  max-width: 300px;
}

/* Shop sidebar should match blog sidebar width */
.pawfect-shop-sidebar {
  width: 100%;
  max-width: 300px;
}

@media (max-width: 1023px) {

  .pawfect-blog-sidebar,
  .pawfect-shop-sidebar {
    max-width: 100%;
    order: 2;
  }

  .pawfect-blog-main {
    order: 1;
  }

  .pawfect-grid.lg\:pawfect-grid-cols-\[300px_1fr\],
  .pawfect-grid.lg\:pawfect-grid-cols-\[1fr_300px\] {
    grid-template-columns: 1fr;
  }

  /* Responsive widget styling for both sidebars */
  .pawfect-blog-sidebar .widget,
  .pawfect-blog-sidebar-widgets .widget,
  .pawfect-blog-sidebar-widgets .wp-block-group,
  .pawfect-shop-sidebar .widget {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Standardized Sidebar Widget Styles - Blog and Shop Match Exactly */
.pawfect-blog-sidebar .widget,
.pawfect-blog-sidebar-widgets .widget,
.pawfect-blog-sidebar-widgets .wp-block-group,
.pawfect-shop-sidebar .widget,
.pawfect-shop-sidebar-widgets .widget,
.pawfect-shop-sidebar-widgets .wp-block-group {

  border-radius: 16px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.pawfect-blog-sidebar .widget:hover,
.pawfect-blog-sidebar-widgets .widget:hover,
.pawfect-blog-sidebar-widgets .wp-block-group:hover,
.pawfect-shop-sidebar .widget:hover,
.pawfect-shop-sidebar-widgets .widget:hover,
.pawfect-shop-sidebar-widgets .wp-block-group:hover {

  transform: translateY(-2px);
}

/* Widget Titles - Enhanced Premium Styling with Primary Color Accent */
.pawfect-blog-sidebar .widget-title,
.pawfect-blog-sidebar-widgets .wp-block-heading,
.pawfect-blog-sidebar-widgets .widget-title,
.pawfect-blog-sidebar-widgets .widgettitle,
.pawfect-blog-sidebar-widgets h2,
.pawfect-blog-sidebar-widgets h3,
.pawfect-blog-sidebar-widgets h4,
.pawfect-shop-sidebar .widget-title,
.pawfect-shop-sidebar-widgets .wp-block-heading,
.pawfect-shop-sidebar-widgets .widget-title,
.pawfect-shop-sidebar-widgets .widgettitle,
.pawfect-shop-sidebar-widgets h2,
.pawfect-shop-sidebar-widgets h3,
.pawfect-shop-sidebar-widgets h4,
/* WordPress Core Search Block Label - Match Widget Title Styling */
.pawfect-blog-sidebar .wp-block-search__label,
.pawfect-blog-sidebar-widgets .wp-block-search__label,
.pawfect-shop-sidebar .wp-block-search__label,
.pawfect-shop-sidebar-widgets .wp-block-search__label {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pawfect-text-dark, #333333);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

/* Enhanced Widget Title Border - Lighter Primary Color + ::after Border */
.pawfect-blog-sidebar .widget-title,
.pawfect-blog-sidebar-widgets .wp-block-heading,
.pawfect-blog-sidebar-widgets .widget-title,
.pawfect-blog-sidebar-widgets .widgettitle,
.pawfect-blog-sidebar-widgets h2,
.pawfect-blog-sidebar-widgets h3,
.pawfect-blog-sidebar-widgets h4,
.pawfect-shop-sidebar .widget-title,
.pawfect-shop-sidebar-widgets .wp-block-heading,
.pawfect-shop-sidebar-widgets .widget-title,
.pawfect-shop-sidebar-widgets .widgettitle,
.pawfect-shop-sidebar-widgets h2,
.pawfect-shop-sidebar-widgets h3,
.pawfect-shop-sidebar-widgets h4,
.pawfect-shop-sidebar .pawfect-widget-title,
/* WordPress Core Search Block Label Border - Match Widget Title Border */
.pawfect-blog-sidebar .wp-block-search__label,
.pawfect-blog-sidebar-widgets .wp-block-search__label,
.pawfect-shop-sidebar .wp-block-search__label,
.pawfect-shop-sidebar-widgets .wp-block-search__label {
  border-bottom: 1px solid;
  border-bottom-color: rgba(244, 162, 89, 0.3) !important;
  position: relative;
}

/* Restored ::after pseudo-element with lighter primary color */
.pawfect-blog-sidebar .widget-title::after,
.pawfect-blog-sidebar-widgets .wp-block-heading::after,
.pawfect-blog-sidebar-widgets .widget-title::after,
.pawfect-blog-sidebar-widgets .widgettitle::after,
.pawfect-blog-sidebar-widgets h2::after,
.pawfect-blog-sidebar-widgets h3::after,
.pawfect-blog-sidebar-widgets h4::after,
.pawfect-shop-sidebar .widget-title::after,
.pawfect-shop-sidebar-widgets .wp-block-heading::after,
.pawfect-shop-sidebar-widgets .widget-title::after,
.pawfect-shop-sidebar-widgets .widgettitle::after,
.pawfect-shop-sidebar-widgets h2::after,
.pawfect-shop-sidebar-widgets h3::after,
.pawfect-shop-sidebar-widgets h4::after,
.pawfect-shop-sidebar .pawfect-widget-title::after,
/* WordPress Core Search Block Label ::after - Match Widget Title Accent */
.pawfect-blog-sidebar .wp-block-search__label::after,
.pawfect-blog-sidebar-widgets .wp-block-search__label::after,
.pawfect-shop-sidebar .wp-block-search__label::after,
.pawfect-shop-sidebar-widgets .wp-block-search__label::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 35px;
  height: 3px;
  background-color: var(--pawfect-primary, #F4A259);
  border-radius: 1px;
}

/* WordPress Core Search Block Button - Replace Text with SVG Icon */
.pawfect-blog-sidebar .wp-block-search__button,
.pawfect-blog-sidebar-widgets .wp-block-search__button,
.pawfect-shop-sidebar .wp-block-search__button,
.pawfect-shop-sidebar-widgets .wp-block-search__button {
  background-color: #F4A259;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pawfect-blog-sidebar .wp-block-search__button:hover,
.pawfect-blog-sidebar-widgets .wp-block-search__button:hover,
.pawfect-shop-sidebar .wp-block-search__button:hover,
.pawfect-shop-sidebar-widgets .wp-block-search__button:hover {
  background-color: #e8935a;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(244, 162, 89, 0.3);
}

/* Hide the text content and replace with SVG icon */
.pawfect-blog-sidebar .wp-block-search__button,
.pawfect-blog-sidebar-widgets .wp-block-search__button,
.pawfect-shop-sidebar .wp-block-search__button,
.pawfect-shop-sidebar-widgets .wp-block-search__button {
  font-size: 0;
  text-indent: -9999px;
  overflow: hidden;
}

.pawfect-blog-sidebar .wp-block-search__button::before,
.pawfect-blog-sidebar-widgets .wp-block-search__button::before,
.pawfect-shop-sidebar .wp-block-search__button::before,
.pawfect-shop-sidebar-widgets .wp-block-search__button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23ffffff' viewBox='0 0 256 256'%3E%3Cpath d='M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Navigation Menu Alignment Fix */

/* Center align navigation menu within its container */
.pawfect-header nav>ul,
.pawfect-primary-nav-menu>ul {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 100%;
}

/* Cart Widget Product Title Font Size Fix */
.widget_shopping_cart h4,
.woocommerce-mini-cart h4,
.cart_list h4,
.widget_shopping_cart .woocommerce-mini-cart-item>a,
.widget_shopping_cart .cart_list li>a {
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
}

/* Cart Widget Product Link Hover - Dynamic Primary Color */
.pawfect-cart-product-link {
  transition: color 0.3s ease;
}

.pawfect-cart-product-link span {
  transition: color 0.3s ease;
}

.pawfect-cart-product-link:hover,
.pawfect-cart-product-link:hover span {
  color: var(--pawfect-primary, #F4A259) !important;
}

/* Transition Colors Utility Class */
.pawfect-transition-colors {
  transition: color 0.3s ease;
}

/* Sticky Menu Cart Icon Styling Fix */
.pawfect-header.pawfect-scrolled .pawfect-cart-icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.pawfect-header.pawfect-scrolled .pawfect-cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--pawfect-primary, #F4A259);
  color: white;
  font-size: 11px;
  font-weight: 600;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.pawfect-header.pawfect-scrolled .pawfect-cart-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.pawfect-header.pawfect-scrolled .pawfect-cart-container:hover {
  background-color: rgba(244, 162, 89, 0.1);
}


/* Cart Icon SVG Color Override */
.home .pawfect-sticky-header .pawfect-cart-dropdown-container svg,
.page-template-front-page .pawfect-sticky-header .pawfect-cart-dropdown-container svg {
  fill: currentColor !important;
  color: inherit !important;
}

/* Cart Badge Color Override */
.home .pawfect-sticky-header .pawfect-cart-badge,
.page-template-front-page .pawfect-sticky-header .pawfect-cart-badge {
  background-color: var(--pawfect-primary, #F4A259) !important;
  color: white !important;
}

/* Enhanced Sidebar Spacing and Visual Improvements */
.pawfect-blog-sidebar .pawfect-space-y-6>*+* {
  margin-top: 1.5rem;
}

/* Enhanced Hover Effects for Blog Sidebar Elements */
.pawfect-blog-sidebar .pawfect-group:hover .pawfect-w-2 {
  transform: scale(1.2);
  transition: transform 0.2s ease;
}

/* Better Visual Separation */
.pawfect-blog-sidebar .pawfect-rounded-xl {
  border-radius: 16px;
}

.pawfect-blog-sidebar .pawfect-shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Ensure gradient classes work for both sidebars */
.pawfect-blog-sidebar .pawfect-bg-gradient-to-r,
.pawfect-shop-sidebar .pawfect-bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

/* Standardized sidebar width for both blog and shop */
.pawfect-blog-sidebar,
.pawfect-shop-sidebar {
  width: 100%;
  max-width: 300px;
}

/* Standardized Widget Content Styling - Blog and Shop Match */
.pawfect-blog-sidebar-widgets .widget ul,
.pawfect-blog-sidebar-widgets .wp-block-latest-posts,
.pawfect-blog-sidebar-widgets .wp-block-latest-comments,
.pawfect-shop-sidebar .widget ul,
.pawfect-shop-sidebar-widgets .widget ul,
.pawfect-shop-sidebar-widgets .wp-block-latest-posts,
.pawfect-shop-sidebar-widgets .wp-block-latest-comments {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pawfect-blog-sidebar-widgets .widget li,
.pawfect-blog-sidebar-widgets .wp-block-latest-posts li,
.pawfect-blog-sidebar-widgets .wp-block-latest-comments li,
.pawfect-shop-sidebar .widget li,
.pawfect-shop-sidebar-widgets .widget li,
.pawfect-shop-sidebar-widgets .wp-block-latest-posts li,
.pawfect-shop-sidebar-widgets .wp-block-latest-comments li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
  transition: all 0.2s ease;
}

.pawfect-blog-sidebar-widgets .widget li:last-child,
.pawfect-blog-sidebar-widgets .wp-block-latest-posts li:last-child,
.pawfect-blog-sidebar-widgets .wp-block-latest-comments li:last-child,
.pawfect-shop-sidebar .widget li:last-child,
.pawfect-shop-sidebar-widgets .widget li:last-child,
.pawfect-shop-sidebar-widgets .wp-block-latest-posts li:last-child,
.pawfect-shop-sidebar-widgets .wp-block-latest-comments li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}


/* Standardized Widget Links - Blog and Shop Match */
.pawfect-blog-sidebar-widgets .widget a,
.pawfect-blog-sidebar-widgets .wp-block-latest-posts a,
.pawfect-blog-sidebar-widgets .wp-block-latest-comments a,
.pawfect-shop-sidebar .widget a,
.pawfect-shop-sidebar-widgets .widget a,
.pawfect-shop-sidebar-widgets .wp-block-latest-posts a,
.pawfect-shop-sidebar-widgets .wp-block-latest-comments a {
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  display: block;
}

.pawfect-blog-sidebar-widgets .widget a:hover,
.pawfect-blog-sidebar-widgets .wp-block-latest-posts a:hover,
.pawfect-blog-sidebar-widgets .wp-block-latest-comments a:hover,
.pawfect-shop-sidebar .widget a:hover,
.pawfect-shop-sidebar-widgets .widget a:hover,
.pawfect-shop-sidebar-widgets .wp-block-latest-posts a:hover,
.pawfect-shop-sidebar-widgets .wp-block-latest-comments a:hover {
  color: var(--pawfect-primary, #F4A259);
}

/* Standardized Search Widget - Both Blog and Shop Use Visible Button Style */
.pawfect-blog-sidebar-widgets .wp-block-search,
.pawfect-blog-sidebar-widgets .widget_search,
.pawfect-blog-sidebar-widgets .search-form,
.pawfect-shop-sidebar .wp-block-search,
.pawfect-shop-sidebar-widgets .wp-block-search,
.pawfect-shop-sidebar .widget_search,
.pawfect-shop-sidebar-widgets .widget_search,
.pawfect-shop-sidebar .search-form,
.pawfect-shop-sidebar-widgets .search-form {
  position: relative;
  display: flex;
  gap: 0.5rem;
  align-items: stretch;

  flex-direction: column;
}

/* Standardized Search Input - Both Blog and Shop Use Same Style */
.pawfect-blog-sidebar-widgets .wp-block-search input[type="search"],
.pawfect-blog-sidebar-widgets .widget_search input[type="search"],
.pawfect-blog-sidebar-widgets .search-form input[type="search"],
.pawfect-shop-sidebar .wp-block-search input[type="search"],
.pawfect-shop-sidebar-widgets .wp-block-search input[type="search"],
.pawfect-shop-sidebar .widget_search input[type="search"],
.pawfect-shop-sidebar-widgets .widget_search input[type="search"],
.pawfect-shop-sidebar .search-form input[type="search"],
.pawfect-shop-sidebar-widgets .search-form input[type="search"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  color: var(--pawfect-text-dark, #333333);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

/* Standardized Search Button - Both Blog and Shop Use Same Style */
.pawfect-blog-sidebar-widgets .wp-block-search button,
.pawfect-blog-sidebar-widgets .wp-block-search .wp-block-search__button,
.pawfect-blog-sidebar-widgets .widget_search button,
.pawfect-blog-sidebar-widgets .widget_search .search-submit,
.pawfect-blog-sidebar-widgets .search-form button,
.pawfect-blog-sidebar-widgets .search-form .search-submit,
.pawfect-shop-sidebar .wp-block-search button,
.pawfect-shop-sidebar .wp-block-search .wp-block-search__button,
.pawfect-shop-sidebar-widgets .wp-block-search button,
.pawfect-shop-sidebar-widgets .wp-block-search .wp-block-search__button,
.pawfect-shop-sidebar .widget_search button,
.pawfect-shop-sidebar .widget_search .search-submit,
.pawfect-shop-sidebar-widgets .widget_search button,
.pawfect-shop-sidebar-widgets .widget_search .search-submit,
.pawfect-shop-sidebar .search-form button,
.pawfect-shop-sidebar .search-form .search-submit,
.pawfect-shop-sidebar-widgets .search-form button,
.pawfect-shop-sidebar-widgets .search-form .search-submit {
  padding: 0.75rem 1rem;
  background: var(--pawfect-primary, #F4A259);
  color: white;
  border: 2px solid var(--pawfect-primary, #F4A259);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  font-size: 0;
  text-indent: -9999px;
  overflow: hidden;
}

/* Old shop search icon styling removed - now using standardized button approach */

/* Standardized Search Button Hover Effects - Both Blog and Shop */
.pawfect-blog-sidebar-widgets .wp-block-search button:hover,
.pawfect-blog-sidebar-widgets .wp-block-search .wp-block-search__button:hover,
.pawfect-blog-sidebar-widgets .widget_search button:hover,
.pawfect-blog-sidebar-widgets .widget_search .search-submit:hover,
.pawfect-blog-sidebar-widgets .search-form button:hover,
.pawfect-blog-sidebar-widgets .search-form .search-submit:hover,
.pawfect-shop-sidebar .wp-block-search button:hover,
.pawfect-shop-sidebar .wp-block-search .wp-block-search__button:hover,
.pawfect-shop-sidebar-widgets .wp-block-search button:hover,
.pawfect-shop-sidebar-widgets .wp-block-search .wp-block-search__button:hover,
.pawfect-shop-sidebar .widget_search button:hover,
.pawfect-shop-sidebar .widget_search .search-submit:hover,
.pawfect-shop-sidebar-widgets .widget_search button:hover,
.pawfect-shop-sidebar-widgets .widget_search .search-submit:hover,
.pawfect-shop-sidebar .search-form button:hover,
.pawfect-shop-sidebar .search-form .search-submit:hover,
.pawfect-shop-sidebar-widgets .search-form button:hover,
.pawfect-shop-sidebar-widgets .search-form .search-submit:hover {
  background: var(--pawfect-primary-dark, #E6935A);
  border-color: var(--pawfect-primary-dark, #E6935A);
  transform: translateY(-1px);
}

/* Standardized Search Input Focus - Both Blog and Shop */
.pawfect-blog-sidebar-widgets .wp-block-search input[type="search"]:focus,
.pawfect-blog-sidebar-widgets .widget_search input[type="search"]:focus,
.pawfect-blog-sidebar-widgets .search-form input[type="search"]:focus,
.pawfect-shop-sidebar .wp-block-search input[type="search"]:focus,
.pawfect-shop-sidebar-widgets .wp-block-search input[type="search"]:focus,
.pawfect-shop-sidebar .widget_search input[type="search"]:focus,
.pawfect-shop-sidebar-widgets .widget_search input[type="search"]:focus,
.pawfect-shop-sidebar .search-form input[type="search"]:focus,
.pawfect-shop-sidebar-widgets .search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--pawfect-primary, #F4A259);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(244, 162, 89, 0.1);
}

/* Old shop search widget styles removed - now standardized above */

/* Hide text content in search buttons - show only icons */
.pawfect-blog-sidebar-widgets .wp-block-search .wp-block-search__button .wp-block-search__label,
.pawfect-blog-sidebar-widgets .widget_search button .screen-reader-text,
.pawfect-blog-sidebar-widgets .widget_search .search-submit .screen-reader-text,
.pawfect-shop-sidebar .wp-block-search .wp-block-search__button .wp-block-search__label,
.pawfect-shop-sidebar .widget_search button .screen-reader-text,
.pawfect-shop-sidebar .widget_search .search-submit .screen-reader-text,
.pawfect-blog-sidebar-widgets .search-form .search-submit .screen-reader-text,
.pawfect-shop-sidebar .search-form .search-submit .screen-reader-text,
.woocommerce-product-search button .screen-reader-text,
.woocommerce-product-search .search-submit .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Ensure search button text is hidden */
.pawfect-blog-sidebar-widgets .wp-block-search .wp-block-search__button,
.pawfect-blog-sidebar-widgets .widget_search button,
.pawfect-blog-sidebar-widgets .widget_search .search-submit,
.pawfect-shop-sidebar .wp-block-search .wp-block-search__button,
.pawfect-shop-sidebar .widget_search button,
.pawfect-shop-sidebar .widget_search .search-submit,
.pawfect-blog-sidebar-widgets .search-form .search-submit,
.pawfect-shop-sidebar .search-form .search-submit,
.woocommerce-product-search button,
.woocommerce-product-search .search-submit {
  font-size: 0;
  text-indent: -9999px;
  overflow: hidden;
}

/* Blog Search Button Icons */
.pawfect-blog-sidebar-widgets .wp-block-search button svg,
.pawfect-blog-sidebar-widgets .wp-block-search .wp-block-search__button svg,
.pawfect-blog-sidebar-widgets .widget_search button svg,
.pawfect-blog-sidebar-widgets .widget_search .search-submit svg,
.pawfect-blog-sidebar-widgets .search-form button svg,
.pawfect-blog-sidebar-widgets .search-form .search-submit svg {
  width: 16px;
  height: 16px;
  display: block;
  margin: 0;
  text-indent: 0;
  font-size: initial;
  stroke-width: 2;
}


/* Enhanced Product Categories Widget - Proper WooCommerce Hierarchy */
.pawfect-blog-sidebar-widgets .widget_product_categories,
.pawfect-shop-sidebar .widget_product_categories {
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

.pawfect-blog-sidebar-widgets .widget_product_categories .widget-title,
.pawfect-shop-sidebar .widget_product_categories .widget-title {
  background: var(--pawfect-primary, #F4A259);
  color: white;
  margin: 0;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  position: relative;
}

.pawfect-blog-sidebar-widgets .widget_product_categories .widget-title::after,
.pawfect-shop-sidebar .widget_product_categories .widget-title::after {
  display: none;
}

/* Product Categories List - Reset and Base Styles */
.pawfect-blog-sidebar-widgets .widget_product_categories ul,
.pawfect-shop-sidebar .widget_product_categories ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* All Category Items - Base Styling */
.pawfect-blog-sidebar-widgets .widget_product_categories li,
.pawfect-shop-sidebar .widget_product_categories li {
  border-bottom: 1px solid #f3f4f6;
  transition: all 0.2s ease;
}

/* All Category Links - Base Styling */
.pawfect-blog-sidebar-widgets .widget_product_categories li a,
.pawfect-shop-sidebar .widget_product_categories li a {
  display: inline-block;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

/* Remove border from last items */
.pawfect-blog-sidebar-widgets .widget_product_categories li:last-child,
.pawfect-shop-sidebar .widget_product_categories li:last-child {
  border-bottom: none;
}

/* Child Categories - WooCommerce ul.children Structure */
.pawfect-blog-sidebar-widgets .widget_product_categories ul.children,
.pawfect-shop-sidebar .widget_product_categories ul.children {
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent;
  border-bottom: none !important;
}

/* Child Category Items - Indented and Styled */
.pawfect-blog-sidebar-widgets .widget_product_categories ul.children li,
.pawfect-shop-sidebar .widget_product_categories ul.children li {
  border-bottom: 1px solid #f3f4f6;
}

/* Child Category Links - Indented with Different Styling */
.pawfect-blog-sidebar-widgets .widget_product_categories ul.children li a,
.pawfect-shop-sidebar .widget_product_categories ul.children li a {
  padding: 0.5rem 1.5rem 0.5rem 3rem;
  color: #6b7280;
  font-weight: 400;
  font-size: 0.9rem;
}

/* Child Category Hover Effects */

.pawfect-blog-sidebar-widgets .widget_product_categories ul.children li:hover a,
.pawfect-shop-sidebar .widget_product_categories ul.children li:hover a {
  color: var(--pawfect-primary, #F4A259);
}

/* Remove old generic hover styles - now handled specifically for parent/child */

/* Product Count Badges - Inline Display */
.pawfect-blog-sidebar-widgets .widget_product_categories .count,
.pawfect-shop-sidebar .widget_product_categories .count {
  background: #e5e7eb;
  color: #6b7280;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
  margin-left: 0.5rem;
  display: inline-block;
}

/* Child Category Count Badges - Same Inline Style */
.pawfect-blog-sidebar-widgets .widget_product_categories ul.children .count,
.pawfect-shop-sidebar .widget_product_categories ul.children .count {
  margin-left: 0.5rem;
  display: inline-block;
}

/* Count Badge Hover Effect */
.pawfect-blog-sidebar-widgets .widget_product_categories li:hover .count,
.pawfect-shop-sidebar .widget_product_categories li:hover .count {
  background: rgba(244, 162, 89, 0.1);
  color: var(--pawfect-primary, #F4A259);
}

/* Regular Categories Widget */
.pawfect-blog-sidebar-widgets .wp-block-categories li,
.pawfect-blog-sidebar-widgets .widget_categories li,
.pawfect-shop-sidebar-widgets .wp-block-categories li,
.pawfect-shop-sidebar-widgets .widget_categories li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
  transition: all 0.2s ease;
}

.pawfect-blog-sidebar-widgets .wp-block-categories .wp-block-categories__post-count,
.pawfect-blog-sidebar-widgets .widget_categories .post-count,
.pawfect-shop-sidebar-widgets .wp-block-categories .wp-block-categories__post-count,
.pawfect-shop-sidebar-widgets .widget_categories .post-count {
  background: #f3f4f6;
  color: #6b7280;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

/* Enhanced Shopping Cart Widget - Unified Design for All Sidebars */
.pawfect-blog-sidebar .widget_shopping_cart,
.pawfect-blog-sidebar-widgets .widget_shopping_cart,
.pawfect-shop-sidebar .widget_shopping_cart,
.pawfect-shop-sidebar-widgets .widget_shopping_cart,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.pawfect-blog-sidebar .widget_shopping_cart .widget-title,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .widget-title,
.pawfect-shop-sidebar .widget_shopping_cart .widget-title,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .widget-title,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .widget-title,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .widget-title,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .widget-title,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .widget-title {
  background: white;
  color: #1f2937;
  margin: 0;
  padding: 1.25rem 1.5rem 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-bottom: none;
  position: relative;
}

.pawfect-blog-sidebar .widget_shopping_cart .widget-title::after,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .widget-title::after,
.pawfect-shop-sidebar .widget_shopping_cart .widget-title::after,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .widget-title::after,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .widget-title::after,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .widget-title::after,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .widget-title::after,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  background-color: var(--pawfect-primary, #F4A259);
}

/* Cart Items List - Enhanced Layout */
.pawfect-blog-sidebar .widget_shopping_cart .woocommerce-mini-cart,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart,
.pawfect-shop-sidebar .widget_shopping_cart .woocommerce-mini-cart,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart {
  padding: 0.5rem 0 0;
  margin: 0;
  list-style: none;
}

.pawfect-blog-sidebar .widget_shopping_cart .woocommerce-mini-cart-item,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart-item,
.pawfect-shop-sidebar .widget_shopping_cart .woocommerce-mini-cart-item,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart-item,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item {
  display: block;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  background: white;
  transition: background-color 0.2s ease;
}



.pawfect-blog-sidebar .widget_shopping_cart .woocommerce-mini-cart-item:last-child,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart-item:last-child,
.pawfect-shop-sidebar .widget_shopping_cart .woocommerce-mini-cart-item:last-child,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart-item:last-child,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item:last-child,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item:last-child,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item:last-child,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item:last-child {
  border-bottom: none;
}

/* Cart Item Image - Enhanced */
.pawfect-blog-sidebar .widget_shopping_cart .woocommerce-mini-cart-item img,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart-item img,
.pawfect-shop-sidebar .widget_shopping_cart .woocommerce-mini-cart-item img,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart-item img,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item img,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item img,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item img,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 1rem;
  border: 2px solid #f1f5f9;
  flex-shrink: 0;
}

/* Cart Item Details Container */
.pawfect-blog-sidebar .widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove),
.pawfect-blog-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove),
.pawfect-shop-sidebar .widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove),
.pawfect-shop-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove),
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove),
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove),
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove),
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove) {
  flex: 1;
  color: #1f2937;
  text-decoration: none;

  line-height: 1.4;
  display: block;

}

.pawfect-blog-sidebar .widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove):hover,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove):hover,
.pawfect-shop-sidebar .widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove):hover,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove):hover,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove):hover,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove):hover,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove):hover,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove):hover {
  color: var(--pawfect-primary, #F4A259);
}

/* Enhanced Remove Button */
.pawfect-blog-sidebar .widget_shopping_cart .remove,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .remove,
.pawfect-shop-sidebar .widget_shopping_cart .remove,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .remove,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .remove,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .remove,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .remove,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .remove {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 20px;
  height: 20px;
  background: #ef4444;
  color: white !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease;
  z-index: 1000;
}

.pawfect-blog-sidebar .widget_shopping_cart .remove:hover,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .remove:hover,
.pawfect-shop-sidebar .widget_shopping_cart .remove:hover,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .remove:hover,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .remove:hover,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .remove:hover,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .remove:hover,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .remove:hover {
  background: #dc2626;
  transform: scale(1.1);
}

/* Cart Quantity and Price - Enhanced */
.pawfect-blog-sidebar .widget_shopping_cart .quantity,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .quantity,
.pawfect-shop-sidebar .widget_shopping_cart .quantity,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .quantity,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .quantity,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .quantity,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .quantity,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .quantity {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.5rem;
  font-weight: 500;
}

.pawfect-blog-sidebar .widget_shopping_cart .quantity .amount,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .quantity .amount,
.pawfect-shop-sidebar .widget_shopping_cart .quantity .amount,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .quantity .amount,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .quantity .amount,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .quantity .amount,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .quantity .amount,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .quantity .amount {
  color: var(--pawfect-primary, #F4A259);
  font-weight: 600;
}

/* Enhanced Cart Subtotal */
.pawfect-blog-sidebar .widget_shopping_cart .woocommerce-mini-cart__total,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart__total,
.pawfect-shop-sidebar .widget_shopping_cart .woocommerce-mini-cart__total,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart__total,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart__total,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart__total,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart__total,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart__total {
  background: white;
  font-weight: 600;
  font-size: 1.2rem;
  color: #1f2937;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 2px solid #f1f5f9;
  text-align: center;
}

.pawfect-blog-sidebar .widget_shopping_cart .woocommerce-mini-cart__total .amount,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart__total .amount,
.pawfect-shop-sidebar .widget_shopping_cart .woocommerce-mini-cart__total .amount,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart__total .amount,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart__total .amount,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart__total .amount,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart__total .amount,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart__total .amount {
  color: #ef4444;
  font-weight: 700;
  font-size: 1.3rem;
}

/* Enhanced Cart Buttons - Matching Reference Design */
.pawfect-blog-sidebar .widget_shopping_cart .woocommerce-mini-cart__buttons,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart__buttons,
.pawfect-shop-sidebar .widget_shopping_cart .woocommerce-mini-cart__buttons,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart__buttons,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: white;
}

.pawfect-blog-sidebar .widget_shopping_cart .woocommerce-mini-cart__buttons .button,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart__buttons .button,
.pawfect-shop-sidebar .widget_shopping_cart .woocommerce-mini-cart__buttons .button,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart__buttons .button,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 0;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

/* View Cart Button - Black */
.pawfect-blog-sidebar .widget_shopping_cart .woocommerce-mini-cart__buttons .button.wc-forward,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart__buttons .button.wc-forward,
.pawfect-shop-sidebar .widget_shopping_cart .woocommerce-mini-cart__buttons .button.wc-forward,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart__buttons .button.wc-forward,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button.wc-forward,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button.wc-forward,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button.wc-forward,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button.wc-forward {
  background: #000000;
  color: white;
}

.pawfect-blog-sidebar .widget_shopping_cart .woocommerce-mini-cart__buttons .button.wc-forward:hover,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart__buttons .button.wc-forward:hover,
.pawfect-shop-sidebar .widget_shopping_cart .woocommerce-mini-cart__buttons .button.wc-forward:hover,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart__buttons .button.wc-forward:hover,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button.wc-forward:hover,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button.wc-forward:hover,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button.wc-forward:hover,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button.wc-forward:hover {
  background: #333333;
  transform: translateY(-1px);
}

/* Checkout Button - Orange/Red */
.pawfect-blog-sidebar .widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout,
.pawfect-shop-sidebar .widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout {
  background: #ff5722;
  color: white;
}

.pawfect-blog-sidebar .widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout:hover,
.pawfect-blog-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout:hover,
.pawfect-shop-sidebar .widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout:hover,
.pawfect-shop-sidebar-widgets .widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout:hover,
.pawfect-blog-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout:hover,
.pawfect-blog-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout:hover,
.pawfect-shop-sidebar .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout:hover,
.pawfect-shop-sidebar-widgets .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout:hover {
  background: #e64a19;
  transform: translateY(-1px);
}

/* Recent Comments Styling */
.pawfect-blog-sidebar-widgets .wp-block-latest-comments .wp-block-latest-comments__comment-meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.pawfect-blog-sidebar-widgets .wp-block-latest-comments .wp-block-latest-comments__comment-excerpt {
  font-style: italic;
  color: #6b7280;
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 3px solid #f3f4f6;
}

/* Recent Comments Widget - Classic Widget */
.pawfect-blog-sidebar-widgets .widget_recent_comments,
.widget_recent_comments {
  background: #ffffff !important;
}

.pawfect-blog-sidebar-widgets .widget_recent_comments ul,
.widget_recent_comments ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pawfect-blog-sidebar-widgets .widget_recent_comments li,
.widget_recent_comments li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
  background: transparent !important;
}

.pawfect-blog-sidebar-widgets .widget_recent_comments li:last-child,
.widget_recent_comments li:last-child {
  border-bottom: none;
}

.pawfect-blog-sidebar-widgets .widget_recent_comments a,
.widget_recent_comments a {
  color: #313134;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.pawfect-blog-sidebar-widgets .widget_recent_comments a:hover,
.widget_recent_comments a:hover {
  color: #F4A259;
}

.pawfect-blog-sidebar-widgets .widget_recent_comments .comment-author-link,
.widget_recent_comments .comment-author-link {
  color: #6b7280;
  font-size: 0.9rem;
}

.pawfect-blog-sidebar-widgets .widget_recent_comments .recentcomments,
.widget_recent_comments .recentcomments {
  color: #313134 !important;
  background: transparent !important;
}

/* Fix for wp-block-latest-comments footer tag inheriting footer styles */
.wp-block-latest-comments__comment-meta {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
}

.widget_recent_comments .wp-block-latest-comments__comment-meta,
.pawfect-blog-sidebar-widgets .wp-block-latest-comments__comment-meta {
  background: transparent !important;
  color: #313134 !important;
}

.widget_recent_comments .wp-block-latest-comments__comment-author,
.pawfect-blog-sidebar-widgets .wp-block-latest-comments__comment-author {
  color: #313134 !important;
  font-weight: 500;
}

.widget_recent_comments .wp-block-latest-comments__comment-link,
.pawfect-blog-sidebar-widgets .wp-block-latest-comments__comment-link {
  color: #6b7280 !important;
  text-decoration: none;
}

.widget_recent_comments .wp-block-latest-comments__comment-link:hover,
.pawfect-blog-sidebar-widgets .wp-block-latest-comments__comment-link:hover {
  color: #F4A259 !important;
}

/* Standardized Archives Widget - Both Blog and Shop */
.pawfect-blog-sidebar-widgets .wp-block-archives select,
.pawfect-blog-sidebar-widgets .widget_archive select,
.pawfect-shop-sidebar .wp-block-archives select,
.pawfect-shop-sidebar .widget_archive select,
.pawfect-shop-sidebar-widgets .wp-block-archives select,
.pawfect-shop-sidebar-widgets .widget_archive select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 0.95rem;
}

/* Standardized Tag Cloud - Both Blog and Shop */
.pawfect-blog-sidebar-widgets .wp-block-tag-cloud a,
.pawfect-blog-sidebar-widgets .widget_tag_cloud a,
.pawfect-shop-sidebar .wp-block-tag-cloud a,
.pawfect-shop-sidebar .widget_tag_cloud a,
.pawfect-shop-sidebar-widgets .wp-block-tag-cloud a,
.pawfect-shop-sidebar-widgets .widget_tag_cloud a {
  display: inline-block;
  background: #f3f4f6;
  color: #4b5563;
  padding: 0.5rem 1rem;
  margin: 0.25rem;
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pawfect-blog-sidebar-widgets .wp-block-tag-cloud a:hover,
.pawfect-blog-sidebar-widgets .widget_tag_cloud a:hover,
.pawfect-shop-sidebar .wp-block-tag-cloud a:hover,
.pawfect-shop-sidebar .widget_tag_cloud a:hover,
.pawfect-shop-sidebar-widgets .wp-block-tag-cloud a:hover,
.pawfect-shop-sidebar-widgets .widget_tag_cloud a:hover {
  background: var(--pawfect-primary, #F4A259);
  color: white;
  transform: translateY(-1px);
}

/* Responsive fixes for archive layouts */
@media (max-width: 768px) {
  .pawfect-posts-list .pawfect-post-card .pawfect-flex {
    flex-direction: column;
    padding: 1rem;
  }

  .pawfect-posts-list .pawfect-post-card .pawfect-flex-shrink-0 {
    width: 100%;
    margin-bottom: 1rem;
  }

  .pawfect-posts-list .pawfect-post-card .pawfect-h-48 {
    height: 12rem;
  }

  /* Responsive widget styling - now handled in unified responsive section above */
}

/* Fix drag and drop layout styling */
.pawfect-post-card .pawfect-relative.pawfect-z-10 {
  padding: 1.5rem;
}

/* Ensure consistent card styling across all layouts */
.pawfect-post-card {
  background: white;

}

.pawfect-post-card:hover {
  border-color: #e5e7eb;
}

/* Typography - Exact Match to content.html */

/* List Layout Typography */
.pawfect-posts-list .pawfect-post-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.pawfect-posts-list .pawfect-post-card .pawfect-text-gray-600 {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 1.5rem;
}



.pawfect-posts-grid .pawfect-post-card .pawfect-text-gray-600 {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 1rem;
}

/* Post Meta Styling - Exact Match */
.pawfect-post-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ca3af;
  margin-bottom: 0.5rem;
  display: block !important;
  visibility: visible !important;
}

/* Category Links Styling */
.pawfect-post-meta a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pawfect-post-meta a:hover {
  color: var(--pawfect-primary, #F4A259);
}

/* Ensure categories are visible */
.pawfect-post-meta span {
  display: inline !important;
  visibility: visible !important;
}

/* Read More Links - Exact Match */
.pawfect-posts-list .pawfect-post-card a[href*="permalink"] {
  color: #786C61;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.pawfect-posts-list .pawfect-post-card a[href*="permalink"]:hover {
  color: #1f2937;
}

.pawfect-posts-grid .pawfect-post-card a[href*="permalink"] {
  color: #786C61;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pawfect-posts-grid .pawfect-post-card a[href*="permalink"]:hover {
  color: #786C61;
}

/* Image Styling - Exact Match */
.pawfect-posts-list .pawfect-post-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border-radius: 0;
}

.pawfect-posts-grid .pawfect-post-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 0.375rem;
}

/* Color Variables - Match content.html */
.pawfect-text-pawfect-primary {
  color: #786C61;
}

/* ===================================================================
   GENERAL GRID CLASSES FOR ALL SECTIONS
   =================================================================== */

/* Base Grid Classes */
.pawfect-grid {
  display: grid;
}

.pawfect-grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.pawfect-grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pawfect-grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pawfect-grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pawfect-grid-cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Small screens (sm: 640px+) */
@media (min-width: 640px) {
  .sm\:pawfect-grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .sm\:pawfect-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:pawfect-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sm\:pawfect-grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sm\:pawfect-grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Medium screens (md: 768px+) */
@media (min-width: 768px) {
  .md\:pawfect-grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .md\:pawfect-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:pawfect-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:pawfect-grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .md\:pawfect-grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Large screens (lg: 1024px+) */
@media (min-width: 1024px) {
  .lg\:pawfect-grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .lg\:pawfect-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:pawfect-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:pawfect-grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:pawfect-grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ===================================================================
   TESTIMONIAL HEADING MOBILE STYLES
   =================================================================== */

/* Mobile-first: Column layout for testimonial heading */
.pawfect-testimonial-heading {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 1rem !important;
}

/* Tablet and up: Restore horizontal layout */
@media (min-width: 768px) {
  .pawfect-testimonial-heading {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
  }
}

/* ===================================================================
   MOBILE MENU CLOSE BUTTON ROTATION EFFECT - MATCH SEARCH MODAL
   =================================================================== */

/* Mobile Menu Close Button Rotation Effect - Match Search Modal */
#pawfect-menu-close {
  transform-origin: center center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#pawfect-menu-close:hover {
  transform: rotate(180deg) !important;

}

/* Primary approach - rotate the SVG */
#pawfect-menu-close svg {
  transition: transform 0.3s ease !important;
  transform-origin: center center !important;
  will-change: transform !important;
}

#pawfect-menu-close:hover svg {
  transform: rotate(180deg) !important;
}

/* ===================================================================
   MOBILE MENU ENHANCEMENTS - NESTED SUBMENU SUPPORT
   =================================================================== */

/* Ensure mobile drawer stays above sticky header */
#pawfect-mobile-drawer {
  z-index: 1001 !important;
  /* Higher than sticky header (1000) */
}

/* Mobile backdrop */
.pawfect-mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pawfect-mobile-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile submenu nested support */
.pawfect-mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.pawfect-mobile-submenu.active {
  max-height: 1000px;
  /* Increased for nested menus */
}

/* Nested submenu indentation */
.pawfect-mobile-submenu .pawfect-mobile-submenu {
  margin-left: 0.5rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile submenu toggle rotation */
.pawfect-mobile-submenu-toggle {
  transition: transform 0.3s ease !important;
}

.pawfect-mobile-submenu-toggle.rotated {
  transform: rotate(90deg) !important;
}

/* ===================================================================
   MOBILE TOPBAR AND HEADER ALIGNMENT FIXES
   =================================================================== */

/* Mobile Topbar Improvements */
@media (max-width: 768px) {
  .pawfect-topbar {
    padding: 0.5rem 0 !important;
  }

  .pawfect-topbar .pawfect-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .pawfect-topbar-left {
    flex: 1;
    min-width: 0;
    /* Allow flex items to shrink */
  }

  .pawfect-topbar-right {
    flex-shrink: 0;
  }

  /* Hide phone/email text on very small screens, keep icons */
  .pawfect-topbar-item a {
    font-size: 0.75rem;
  }

  /* Social icons spacing */
  .pawfect-topbar-right .pawfect-flex {
    gap: 0.5rem !important;
  }
}

/* Extra small screens - hide contact info text, keep icons only */
@media (max-width: 480px) {
  .pawfect-topbar-item a {
    display: none;
  }

  .pawfect-topbar-item svg {
    display: block;
  }

  .pawfect-topbar-left {
    gap: 0.75rem !important;
  }
}

/* Mobile Header Improvements */
@media (max-width: 1024px) {

  /* Header container spacing */
  .pawfect-header .pawfect-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Header grid layout fixes */
  .pawfect-header .pawfect-grid-cols-3 {
    gap: 0.5rem;
    align-items: center;
  }

  /* Logo sizing on mobile */
  .pawfect-logo-link img {
    max-height: 40px !important;
    width: auto !important;
  }

  /* Right side icons spacing */
  .pawfect-header .pawfect-flex.pawfect-items-center.pawfect-gap-4 {
    gap: 0.75rem !important;
  }

  /* Cart and wishlist icons */
  .pawfect-cart-icon svg,
  .pawfect-wishlist-icon svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* Mobile menu button */
  #pawfect-menu-open svg {
    width: 28px !important;
    height: 28px !important;
  }

  /* Badge positioning */
  .pawfect-cart-badge,
  .pawfect-wishlist-count {
    width: 16px !important;
    height: 16px !important;
    font-size: 0.625rem !important;
    top: -4px !important;
    right: -4px !important;
  }
}

/* Very small screens - further optimizations */
@media (max-width: 480px) {
  .pawfect-header .pawfect-py-6 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  /* Reduce logo size further */
  .pawfect-logo-link img {
    max-height: 32px !important;
  }

  /* Tighter spacing for icons */
  .pawfect-header .pawfect-flex.pawfect-items-center.pawfect-gap-4 {
    gap: 0.5rem !important;
  }

  /* Smaller mobile menu button */
  #pawfect-menu-open svg {
    width: 24px !important;
    height: 24px !important;
  }
}

/* ===================================================================
   STICKY HEADER MOBILE IMPROVEMENTS
   =================================================================== */

/* Sticky header mobile layout */
@media (max-width: 1024px) {
  .pawfect-sticky-scrolled-layout {
    padding: 0.75rem 1rem !important;
    gap: 0.5rem !important;
  }

  .pawfect-sticky-scrolled-layout .pawfect-logo-link img {
    max-height: 32px !important;
  }

  .pawfect-sticky-scrolled-layout .pawfect-flex.pawfect-items-center.pawfect-gap-3 {
    gap: 0.5rem !important;
  }

  /* Sticky header icons */
  .pawfect-sticky-scrolled-layout .pawfect-cart-icon svg,
  .pawfect-sticky-scrolled-layout .pawfect-wishlist-icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  .pawfect-sticky-scrolled-layout #pawfect-menu-open svg {
    width: 24px !important;
    height: 24px !important;
  }
}

/* Mobile topbar text overflow fixes */
@media (max-width: 640px) {
  .pawfect-topbar-item {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pawfect-topbar-left {
    max-width: 60%;
  }

  .pawfect-topbar-right {
    max-width: 40%;
    justify-content: flex-end;
  }
}

/* Base tailwind responsive typography utility missing in free version */
@media (min-width: 768px) {
  .md\:pawfect-text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

/* ==========================================================================
   Frontpage Dynamic Sections
   ========================================================================== */
.pawfect-cta-section { background-color: var(--pawfect-cta-bg); }
.pawfect-cta-section * { color: var(--pawfect-cta-text); }

.pawfect-feature-highlight { background-color: var(--pawfect-feature-highlight-bg); }
.pawfect-feature-highlight-title, .pawfect-feature-highlight-desc { color: var(--pawfect-feature-highlight-text); }
.pawfect-feature-highlight-list-item h4 { color: var(--pawfect-feature-highlight-text); }
.pawfect-feature-highlight-list-item p { color: var(--pawfect-feature-highlight-text); opacity: 0.8; }

.pawfect-featured-collection { background-color: var(--pawfect-featured-collection-bg); }

.pawfect-mission-section { background-color: var(--pawfect-mission-bg); }

.pawfect-promo-banner-section { background-color: var(--pawfect-promo-banner-bg); }
.pawfect-promo-banner-title { color: var(--pawfect-promo-banner-title); }
.pawfect-promo-banner-subtitle { color: var(--pawfect-promo-banner-subtitle); }

.pawfect-promo-timer-desc { color: var(--pawfect-promo-timer-desc); }

.pawfect-testimonial-section { background-color: var(--pawfect-testimonial-bg); }
.pawfect-testimonial-heading-title { color: var(--pawfect-testimonial-heading); }
.pawfect-testimonial-heading-desc { color: var(--pawfect-testimonial-desc); }
.pawfect-testimonial-content { color: var(--pawfect-testimonial-text); }
.pawfect-testimonial-author { color: var(--pawfect-testimonial-text); }
.pawfect-testimonial-author-role { color: var(--pawfect-testimonial-text); opacity: 0.8; }
.pawfect-testimonial-rating { color: var(--pawfect-testimonial-accent); }

.pawfect-press-mentions { background-color: var(--pawfect-press-mentions-bg); }

.pawfect-portfolio-section { background-color: var(--pawfect-portfolio-bg); }

.pawfect-why-choose { background-color: var(--pawfect-service-bg); }
.pawfect-why-choose-heading h2 { color: var(--pawfect-service-text); }
.pawfect-why-choose-heading p { color: var(--pawfect-service-text); opacity: 0.8; }
.pawfect-why-choose-item h3 { color: var(--pawfect-service-text); }
.pawfect-why-choose-item p { color: var(--pawfect-service-text); opacity: 0.7; }

.pawfect-hero-overlay { background-color: var(--pawfect-hero-overlay); }
.pawfect-hero-title { color: var(--pawfect-hero-title); }
.pawfect-hero-subtitle { color: var(--pawfect-hero-subtitle); }
.pawfect-hero-subtitle-line { background-color: var(--pawfect-hero-subtitle); }
.pawfect-hero-description { color: var(--pawfect-hero-desc); }

/* Fix layout collapse */
main { flex: 1 0 auto; width: 100%; }

/* Custom fix for WooCommerce product slider height */
.pawfect-woocommerce-featured .swiper-slide {
    height: auto !important;
}
.pawfect-woocommerce-featured .pawfect-category-card,
.pawfect-woocommerce-featured .pawfect-feature-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}
.pawfect-woocommerce-featured .pawfect-category-card > a {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}
.pawfect-woocommerce-featured .pawfect-category-card .pawfect-p-6 {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}
.pawfect-woocommerce-featured .pawfect-category-card .pawfect-mt-auto {
    margin-top: auto !important;
}


/* Dropdown caret rotation */
.pawfect-has-dropdown > .pawfect-dropdown-toggle svg,
.pawfect-has-dropdown > a svg {
    transition: transform 0.3s ease !important;
}
.pawfect-has-dropdown:hover > .pawfect-dropdown-toggle svg,
.pawfect-has-dropdown:focus-within > .pawfect-dropdown-toggle svg,
.pawfect-has-dropdown.focus > .pawfect-dropdown-toggle svg,
.pawfect-has-dropdown:hover > a svg,
.pawfect-has-dropdown:focus-within > a svg,
.pawfect-has-dropdown.focus > a svg {
    transform: rotate(180deg) !important;
}

