/* ---------------------------------------------------------------
   Meg's Sweets N Southern Eats Bakery — theme layer
   Only what the compiled source stylesheet cannot express:
   functional rules, motion port, and WordPress/WooCommerce markup
   that has no equivalent in the source design.
   --------------------------------------------------------------- */

[hidden] {
  display: none !important;
}

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
  display: none !important;
}

/* ============================================================
   Motion port (framer-motion variants -> CSS/JS)
   ============================================================ */
.m-anim {
  will-change: opacity, transform, filter;
}

.m-fade-up {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(8px);
  transition:
    opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--m-delay, 0s);
}

.m-fade-up-simple {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--m-delay, 0s);
}

.m-slide-left {
  opacity: 0;
  transform: translateX(-48px);
  filter: blur(6px);
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--m-delay, 0s);
}

.m-slide-right {
  opacity: 0;
  transform: translateX(48px);
  filter: blur(6px);
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--m-delay, 0s);
}

.m-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em);
  filter: blur(10px);
  will-change: transform, opacity, filter;
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--m-delay, 0s);
}

.m-fade-up.is-inview,
.m-fade-up-simple.is-inview,
.m-slide-left.is-inview,
.m-slide-right.is-inview,
.m-word.is-inview {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Customizer preview + no-JS fallbacks: never leave content hidden */
body.is-customizer .m-fade-up,
body.is-customizer .m-fade-up-simple,
body.is-customizer .m-slide-left,
body.is-customizer .m-slide-right,
body.is-customizer .m-word,
body.theme-motion-off .m-fade-up,
body.theme-motion-off .m-fade-up-simple,
body.theme-motion-off .m-slide-left,
body.theme-motion-off .m-slide-right,
body.theme-motion-off .m-word {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .m-fade-up,
  .m-fade-up-simple,
  .m-slide-left,
  .m-slide-right,
  .m-word {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* ============================================================
   Header state
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo sizing: the design uses one editable height (88px desktop) and scales
   it per placement — header h-16 → h-[88px], footer h-28 → h-36. */
.site-logo-img {
  display: block;
  width: auto !important;
  object-fit: contain;
}

.site-header .site-logo-img {
  height: calc(var(--logo-height) * 0.727) !important;
}

.site-footer .site-logo-img {
  height: calc(var(--logo-height) * 1.27) !important;
}

@media (min-width: 1024px) {
  .site-header .site-logo-img {
    height: var(--logo-height) !important;
  }

  .site-footer .site-logo-img {
    height: calc(var(--logo-height) * 1.636) !important;
  }
}

.site-logo-text {
  display: block;
  line-height: var(--logo-height);
}

.site-header__mobile-panel {
  animation: fadeIn 0.7s var(--transition-smooth) forwards;
}

/* ============================================================
   Product cards (equal height grids, hover motion)
   ============================================================ */
.theme-product-card article {
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-product-card:hover article {
  transform: translateY(-6px);
}

.theme-product-card .theme-product-card__img {
  transition: transform 0.8s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-product-card:hover .theme-product-card__img {
  transform: scale(1.05);
}

.theme-product-card__media-link {
  display: block;
}

.theme-product-card__media-link img {
  display: block;
  width: 100%;
}

/* ============================================================
   Cart drawer + overlay
   ============================================================ */
/* The overlay only exists while the cart is open (body.cart-open). The
   element is still rendered statically in footer.php so it is never part of
   a WooCommerce fragment, but it must not cover the page when closed. */
#theme-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  background: hsl(var(--foreground) / 0.2);
  animation: fadeIn 0.7s var(--transition-smooth) forwards;
}

body.cart-open #theme-cart-overlay {
  display: block;
}

#theme-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 28rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

body:not(.cart-open) #theme-cart-drawer {
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

body.cart-open #theme-cart-drawer {
  transform: none;
  opacity: 1;
  visibility: visible;
}

body.cart-open {
  overflow: hidden;
}

.theme-cart-count:empty {
  display: none;
}

#theme-cart-drawer.is-updating > * {
  opacity: 0.6;
  pointer-events: none;
}

/* Woo-generated markup inside the drawer */
#theme-cart-drawer .theme-cart-variation {
  color: hsl(var(--muted-foreground));
}

/* ============================================================
   Product page: WooCommerce markup inside the design layout
   ============================================================ */
.theme-attr-select-hidden,
.theme-variations-hidden {
  display: none !important;
}

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
  display: block;
  width: 100%;
}

.single-product .variations tbody td.label {
  padding-bottom: 0.75rem;
}

.single-product .variations tbody td.value {
  padding-top: 0;
}

.single-product .variations td.label label {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: hsl(var(--foreground));
}

.single-product .theme-attr-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.single-product .theme-attr-pill.is-active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

.theme-quote-panel[hidden] {
  display: none !important;
}

.variations_form.is-quote-mode .theme-quote-panel {
  display: flex !important;
}

.variations_form.is-quote-mode .single_variation_wrap {
  display: none !important;
}

.single-product .theme-add-to-cart-area {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.single-product .theme-add-to-cart-area .single_add_to_cart_button {
  flex: 1 1 auto;
  min-width: 160px;
}

.theme-quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid hsl(var(--border));
}

.theme-quantity-wrapper .theme-qty-input {
  width: 3rem;
  padding: 0.75rem 0;
  text-align: center;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  -moz-appearance: textfield;
  appearance: textfield;
}

.theme-quantity-wrapper .theme-qty-input::-webkit-outer-spin-button,
.theme-quantity-wrapper .theme-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.theme-quantity-wrapper .theme-qty-plus,
.theme-quantity-wrapper .theme-qty-minus {
  padding: 0.75rem 1rem;
  cursor: pointer;
  color: hsl(var(--foreground));
  transition: background-color 0.3s var(--transition-smooth);
}

.theme-quantity-wrapper .theme-qty-plus:hover,
.theme-quantity-wrapper .theme-qty-minus:hover {
  background: hsl(var(--secondary));
}

/* Disabled add-to-cart (out of stock / unselected variation) */
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}

.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
}

/* Button lock during AJAX add-to-cart */
.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after {
  display: none !important;
}

/* WooCommerce variation price + description */
.single-product .woocommerce-variation-price {
  display: none;
}

.single-product .woocommerce-variation-availability p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}

.single-product .woocommerce-variation-description,
.single-product .woocommerce-product-details__short-description,
.single-product .posted_in {
  overflow-wrap: break-word;
  word-break: break-word;
}

.single-product .woocommerce-message,
.single-product .woocommerce-info {
  display: none;
}

.single-product .theme-product-gallery-main {
  position: relative;
  overflow: hidden;
}

.single-product .theme-product-gallery-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-product-thumb.is-active {
  border-color: hsl(var(--primary));
  opacity: 1;
}

/* ============================================================
   Shop / archive
   ============================================================ */
.theme-shop-count strong {
  font-weight: inherit;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  list-style: none;
  padding: 1rem 1.25rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.woocommerce-error {
  border-color: hsl(var(--destructive));
  color: hsl(var(--destructive));
}

.woocommerce-message .button,
.woocommerce-info .button {
  margin-left: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: underline;
}

/* Star ratings / sale flash are not part of the design */
.woocommerce .star-rating,
.woocommerce span.onsale,
.woocommerce-products-header {
  display: none;
}

/* ============================================================
   Cart & checkout pages (WooCommerce Blocks + classic markup)
   ============================================================ */
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main,
body.woocommerce-account .site-main,
body.theme-thankyou-page .site-main {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

@media (min-width: 1024px) {
  body.woocommerce-cart .site-main,
  body.woocommerce-checkout .site-main,
  body.woocommerce-account .site-main,
  body.theme-thankyou-page .site-main {
    padding-top: 7rem;
  }
}

body.theme-thankyou-page {
  overflow-x: hidden;
}

body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content {
  max-width: 100%;
}

body.woocommerce-checkout .wc-block-checkout {
  display: block;
}

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--checkout-gap, 3rem);
    align-items: start;
  }
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
  grid-column: 1 / -1;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-text-input.is-active input,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__container {
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  color: hsl(var(--foreground)) !important;
  background-color: hsl(var(--background)) !important;
  border: 1px solid hsl(var(--border)) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-blocks-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
  border-color: hsl(var(--primary)) !important;
  outline: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-components-radio-control__label {
  font-family: var(--font-body) !important;
  color: hsl(var(--muted-foreground)) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button {
  background-color: hsl(var(--primary)) !important;
  color: hsl(var(--primary-foreground)) !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  height: 3.5rem;
  padding: 0 2.25rem;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background-color: hsl(var(--primary) / 0.9) !important;
}

body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
body.woocommerce-cart h2,
body.woocommerce-cart h3 {
  font-family: var(--font-display);
}

body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-cart .wc-block-components-notice-banner {
  font-family: var(--font-body);
  font-size: 0.875rem;
  border-radius: 0;
}

body.woocommerce-checkout .wc-block-components-notice-banner.is-error,
body.woocommerce-cart .wc-block-components-notice-banner.is-error {
  background: hsl(var(--background)) !important;
  border: 1px solid hsl(var(--destructive)) !important;
  color: hsl(var(--destructive)) !important;
}

body.woocommerce-cart .wc-block-cart,
body.woocommerce-checkout .wc-block-components-sidebar-layout {
  font-family: var(--font-body);
}

body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button,
body.woocommerce-account .woocommerce-Button,
body.woocommerce-account .button {
  background-color: hsl(var(--primary)) !important;
  color: hsl(var(--primary-foreground)) !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  border: 0 !important;
}

/* Classic WooCommerce cart table (fallback) */
.woocommerce table.shop_table {
  border: 1px solid hsl(var(--border));
  border-collapse: collapse;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-bottom: 1px solid hsl(var(--border));
  padding: 0.875rem 1rem;
  text-align: left;
}

.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
  text-align: right;
}

.woocommerce table.shop_table tfoot th {
  text-align: left;
}

.woocommerce .cart_totals h2,
.woocommerce #order_review_heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.woocommerce .quantity input.qty {
  width: 3rem;
  text-align: center;
  border: 1px solid hsl(var(--border));
  padding: 0.5rem 0;
  font-family: var(--font-body);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.875rem 1.5rem;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background-color: hsl(var(--primary) / 0.9);
  color: hsl(var(--primary-foreground));
}

/* ============================================================
   Thank you page
   ============================================================ */
body.theme-thankyou-page .woocommerce-order > p:first-child {
  font-family: var(--font-body);
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title,
body.theme-thankyou-page .woocommerce-column__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.9rem;
  color: hsl(var(--foreground));
  padding: 0 0 1rem 0;
}

body.theme-thankyou-page .woocommerce-order-overview {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  border: 1px solid hsl(var(--border));
  padding: 1.5rem;
  margin: 0 0 2.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
}

body.theme-thankyou-page .woocommerce-order-overview li {
  border: 0;
  padding: 0;
  margin: 0;
  color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  margin-bottom: 0.35rem;
}

body.theme-thankyou-page .woocommerce-customer-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 480px;
  overflow-wrap: break-word;
  font-family: var(--font-body);
  font-size: 0.875rem;
  border: 1px solid hsl(var(--border));
  padding: 1.25rem 1.5rem;
  line-height: 1.7;
}

body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%;
  table-layout: fixed;
  border: 1px solid hsl(var(--border));
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.875rem;
}

body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid hsl(var(--border));
  text-align: left;
}

body.theme-thankyou-page .woocommerce-order-details tfoot th {
  text-align: left;
}

body.theme-thankyou-page .woocommerce-order-details tfoot td {
  text-align: right;
}

/* ============================================================
   Contact form states
   ============================================================ */
.theme-contact-form [aria-invalid="true"] {
  border-color: hsl(var(--destructive));
}

.theme-contact-error {
  color: hsl(var(--brass-light));
  font-family: var(--font-body);
  font-size: 0.875rem;
}

/* ============================================================
   Screen reader helper
   ============================================================ */
.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;
}

/* ============================================================
   Gallery lightbox
   ============================================================ */
body.theme-lightbox-open {
  overflow: hidden;
}

.theme-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: hsl(var(--noir) / 0.85);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.25s ease forwards;
}

.theme-lightbox img {
  max-width: 92vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: var(--shadow-noir);
  animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ============================================================
   Testimonials carousel
   ============================================================ */
.theme-carousel-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-carousel-slide {
  flex-shrink: 0;
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.theme-faq-panel {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 0.4s cubic-bezier(0.25, 0.4, 0.25, 1), opacity 0.4s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-faq-panel.is-open {
  opacity: 1;
}

.theme-faq-item .theme-faq-plus {
  transition: transform 0.3s var(--transition-smooth), color 0.3s var(--transition-smooth);
}

.theme-faq-item .theme-faq-num,
.theme-faq-item .theme-faq-question {
  transition: color 0.3s var(--transition-smooth);
}

/* ============================================================
   Shop filter visibility
   ============================================================ */
.theme-product-grid > [data-hidden="1"] {
  display: none;
}

/* Shop grid filtering (cards hidden by search/category) */
[data-shop-grid] > [data-hidden="1"] {
  display: none;
}

[data-shop-more-wrap][hidden] {
  display: none !important;
}

/* Sticky FAQ image offset uses the design's lg:top-28 value */
@media (min-width: 1024px) {
  .theme-faq-image {
    position: sticky;
    top: 7rem;
  }
}

/* ============================================================
   WordPress pagination / comments fallback
   ============================================================ */
.theme-pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.theme-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid hsl(var(--border));
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
  transition: color 0.3s var(--transition-smooth), border-color 0.3s var(--transition-smooth);
}

.theme-pagination .page-numbers:hover,
.theme-pagination .page-numbers.current {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}
