/*
Theme Name: LeBron Shirt
Theme URI: https://lebronshirt.com
Author: LeBron Shirt
Description: Limited edition 76ers Venom heavyweight tee storefront theme for lebronshirt.com
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: lebronshirt
*/
/* perf: critical UI relies on Tailwind on front page + woocommerce.css on shop pages */

/* Base resets handled in Tailwind CDN + theme inline critical styles in header */
body.lebronshirt-theme {
  margin: 0;
}


/* mobile-opt */
@media (max-width: 640px) {
  .size-btn {
    min-height: 2.75rem;
    min-width: 2.75rem;
  }
  #addToCart {
    min-height: 3.35rem;
    font-size: 1rem;
  }
}


/* Mesh shorts page — compact hero, no empty aspect gap */
body.lebronshirt-shorts .lebronshirt-shorts-page #shorts-top {
  min-height: 0;
}
body.lebronshirt-shorts main#main {
  padding-bottom: 0;
}


/* Mobile sticky cart — multi-item list */
.sticky-cart-items:empty { display: none; }
.sticky-cart-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.35rem 0.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sticky-cart-item:last-child { border-bottom: 0; }
.sticky-cart-item img {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  object-fit: cover;
  background: #1a1a1a;
}
.sticky-cart-item-name {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sticky-cart-item-meta {
  margin: 0.1rem 0 0;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
}
.sticky-cart-item-price {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

/* Cart page — fixed thumbnail size (never reflow on qty update) */
.cart-page-item .cart-page-thumb-wrap {
  width: 88px;
  height: 88px;
  min-width: 88px;
  min-height: 88px;
  max-width: 88px;
  max-height: 88px;
  flex-shrink: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #1a1a1a;
}
.cart-page-thumb,
.cart-page-item .cart-page-thumb,
img.cart-page-thumb {
  width: 88px !important;
  height: 88px !important;
  min-width: 88px !important;
  min-height: 88px !important;
  max-width: 88px !important;
  max-height: 88px !important;
  border-radius: 0.75rem;
  object-fit: cover !important;
  object-position: center;
  background: #1a1a1a;
  flex-shrink: 0 !important;
  display: block;
}
.cart-page-item.is-busy { opacity: 0.6; pointer-events: none; }

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}


/* ========== Highlighter animations — all buttons ========== */
@keyframes lebronHighlightSweep {
  0% { transform: translateX(-120%) skewX(-18deg); opacity: 0; }
  20% { opacity: 0.85; }
  100% { transform: translateX(220%) skewX(-18deg); opacity: 0; }
}
@keyframes lebronHighlightPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(237, 24, 76, 0); }
  50% { box-shadow: 0 0 0 4px rgba(237, 24, 76, 0.22); }
}

button,
.button,
.btn,
.badge,
.size-btn,
.shorts-size-btn,
.rcart-btn,
.rcart-clear-all,
.rcart-remove,
#navBuyNow,
#navBuyNowMobile,
#navCart,
#stickyCheckout,
#stickyCartBtn,
#stickyBuyNow,
#addToCart,
#buyNow,
#shortsAddToCart,
#shortsBuyNow,
#videoBuyNow,
#miniCartCheckout,
#miniCartContinue,
#miniCartClose,
input[type="submit"],
input[type="button"],
.woocommerce button.button,
.woocommerce a.button,
.woocommerce #place_order,
.checkout-button,
.wp-element-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

/* Shine overlay */
button::after,
.button::after,
.btn::after,
.badge::after,
.size-btn::after,
.shorts-size-btn::after,
.rcart-btn::after,
#navBuyNow::after,
#navBuyNowMobile::after,
#rcartDrawerCheckout::after,
#stickyCheckout::after,
#addToCart::after,
#buyNow::after,
#shortsAddToCart::after,
#shortsBuyNow::after,
#videoBuyNow::after,
#miniCartCheckout::after,
.woocommerce button.button::after,
.woocommerce a.button::after,
.woocommerce #place_order::after,
.checkout-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 35%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.08) 65%,
    transparent 100%
  );
  transform: translateX(-120%) skewX(-18deg);
  pointer-events: none;
  z-index: 2;
}

button:hover::after,
.button:hover::after,
.btn:hover::after,
.badge:hover::after,
.size-btn:hover::after,
.shorts-size-btn:hover::after,
.rcart-btn:hover::after,
#navBuyNow:hover::after,
#navBuyNowMobile:hover::after,
#rcartDrawerCheckout:hover::after,
#stickyCheckout:hover::after,
#addToCart:hover::after,
#buyNow:hover::after,
#shortsAddToCart:hover::after,
#shortsBuyNow:hover::after,
#videoBuyNow:hover::after,
#miniCartCheckout:hover::after,
.woocommerce button.button:hover::after,
.woocommerce a.button:hover::after,
.woocommerce #place_order:hover::after,
.checkout-button:hover::after {
  animation: lebronHighlightSweep 0.75s ease forwards;
}

/* Primary CTAs — idle shimmer every few seconds */
#addToCart::after,
#buyNow::after,
#shortsAddToCart::after,
#shortsBuyNow::after,
#navBuyNow::after,
#rcartDrawerCheckout::after,
#stickyCheckout::after,
.badge::after {
  animation: lebronHighlightSweep 2.8s ease-in-out infinite;
  animation-delay: 1.2s;
}

#addToCart:hover::after,
#buyNow:hover::after,
#shortsAddToCart:hover::after,
#shortsBuyNow:hover::after,
#navBuyNow:hover::after,
#rcartDrawerCheckout:hover::after,
#stickyCheckout:hover::after,
.badge:hover::after {
  animation: lebronHighlightSweep 0.65s ease forwards;
}

button:hover,
.button:hover,
.btn:hover,
.badge:hover,
.size-btn:hover,
.shorts-size-btn:hover,
.rcart-btn:hover,
#navBuyNow:hover,
#stickyCheckout:hover,
#addToCart:hover,
#buyNow:hover,
#shortsAddToCart:hover,
#shortsBuyNow:hover {
  filter: brightness(1.08);
}

button:active,
.button:active,
.btn:active,
.badge:active,
.size-btn:active,
.shorts-size-btn:active,
#addToCart:active,
#buyNow:active,
#shortsAddToCart:active,
#shortsBuyNow:active,
#stickyCheckout:active {
  transform: scale(0.97);
}

/* Size buttons — soft red pulse when active */
.size-btn.active,
.shorts-size-btn.active {
  animation: lebronHighlightPulse 2.2s ease-in-out infinite;
}
.shorts-size-btn.active {
  background: #ED184C !important;
  border-color: #ED184C !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 2px rgba(237, 24, 76, 0.4);
}
.shorts-size-btn:active {
  background: #c4103a !important;
  border-color: #c4103a !important;
  color: #ffffff !important;
}

/* Keep text above shine */
button > *,
.badge > *,
.size-btn > *,
.rcart-btn > * {
  position: relative;
  z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
  button::after,
  .button::after,
  .btn::after,
  .badge::after,
  .size-btn::after,
  .shorts-size-btn::after,
  .rcart-btn::after,
  #navBuyNow::after,
  #rcartDrawerCheckout::after,
#stickyCheckout::after,
  #addToCart::after,
  #buyNow::after,
  #shortsAddToCart::after,
  #shortsBuyNow::after {
    animation: none !important;
    display: none;
  }
  .size-btn.active,
  .shorts-size-btn.active {
    animation: none !important;
  }
}


/* Shorts size button — red fill when selected */
.lebronshirt-shorts-page .shorts-size-btn.active,
.shorts-size-btn.active {
  background: #ED184C !important;
  background-image: none !important;
  border-color: #ED184C !important;
  color: #fff !important;
  box-shadow: 0 0 0 2px rgba(237, 24, 76, 0.45), 0 6px 18px rgba(237, 24, 76, 0.35);
}


/* Header brand — fluorescent purple highlight animation (all pages) */
@keyframes headerBrandFluor {
  0% { background-position: 0% 50%; filter: drop-shadow(0 0 4px rgba(196, 48, 255, 0.35)); }
  50% { background-position: 100% 50%; filter: drop-shadow(0 0 12px rgba(196, 48, 255, 0.85)) drop-shadow(0 0 22px rgba(162, 0, 255, 0.45)); }
  100% { background-position: 0% 50%; filter: drop-shadow(0 0 4px rgba(196, 48, 255, 0.35)); }
}
@keyframes headerBrandShine {
  0% { background-position: -150% 0; }
  100% { background-position: 250% 0; }
}
.header-brand {
  text-decoration: none;
}
.header-brand-text {
  display: inline-block;
  background-image: linear-gradient(
    100deg,
    #e9d5ff 0%,
    #c084fc 18%,
    #a855f7 35%,
    #f0abfc 50%,
    #7c3aed 65%,
    #d8b4fe 82%,
    #e9d5ff 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: headerBrandFluor 3.2s ease-in-out infinite;
  letter-spacing: inherit;
}
.header-brand:hover .header-brand-text {
  filter: drop-shadow(0 0 14px rgba(192, 38, 255, 0.95)) drop-shadow(0 0 28px rgba(168, 85, 247, 0.55));
  animation-duration: 1.6s;
}
@media (prefers-reduced-motion: reduce) {
  .header-brand-text {
    animation: none;
    background-image: none;
    color: #e9d5ff;
    -webkit-text-fill-color: #e9d5ff;
    filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.5));
  }
}




/* Page-load / mutation settle: soft-lock cart CTAs until core is ready */
html.lebron-cart-booting #addToCart,
html.lebron-cart-booting #shortsAddToCart,
html.lebron-cart-settling #addToCart,
html.lebron-cart-settling #shortsAddToCart,
html.lebron-cart-booting #stickyCheckout,
html.lebron-cart-settling #stickyCheckout {
  pointer-events: none;
  opacity: 0.72;
  cursor: wait;
}


/* Product-view sticky (mobile) */
.sticky-product-bar #stickyAddToCart {
  min-width: 7.5rem;
}
body.woocommerce-cart .sticky-product-bar,
body.woocommerce-checkout .sticky-product-bar,
body.page-template-template-cart-php .sticky-product-bar {
  display: none !important;
}


/* ===== Pull-up sticky product drawer (mobile) ===== */
.sticky-drawer {
  background: rgba(31, 31, 31, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
  touch-action: none;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  transform: translate3d(0, 0, 0);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.sticky-drawer-handle {
  cursor: grab;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-select: none;
}
.sticky-drawer-grip {
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  margin: 8px auto 4px;
}
.sticky-drawer-hint {
  pointer-events: none;
}
.sticky-drawer-sheet {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}
.sticky-drawer[data-state="open"] .sticky-drawer-sheet {
  max-height: 70vh;
  opacity: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.sticky-drawer[data-state="open"] {
  box-shadow: 0 -16px 50px rgba(0,0,0,0.55);
}
.sticky-drawer[data-state="open"] .sticky-drawer-hint {
  display: none;
}
.sticky-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.sticky-drawer-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.sticky-drawer-size {
  min-width: 2.5rem;
  height: 2.25rem;
  padding: 0 0.6rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  font-weight: 600;
}
.sticky-drawer-size.is-active {
  background: #ED184C;
  border-color: #ED184C;
  color: #fff;
}
.sticky-drawer-add {
  min-height: 2.75rem;
}
body.sticky-drawer-open {
  overflow: hidden;
}
@media (min-width: 640px) {
  .sticky-drawer,
  .sticky-drawer-backdrop { display: none !important; }
}
body.woocommerce-cart .sticky-drawer,
body.woocommerce-checkout .sticky-drawer,
body.page-template-template-cart-php .sticky-drawer {
  display: none !important;
}


/* Gate add-to-cart during page boot + settle */
html.lebron-cart-booting #addToCart,
html.lebron-cart-booting #shortsAddToCart,
html.lebron-cart-booting #stickyAddToCart {
  pointer-events: none;
  opacity: 0.65;
}

/* Only the clicked ATC goes dull — not sibling product buttons */
[data-drawer-add].is-adding,
#stickyAddToCart.is-adding,
#addToCart.is-adding,
#shortsAddToCart.is-adding {
  pointer-events: none;
  opacity: 0.55;
  filter: grayscale(0.25);
}


.sticky-drawer-hint {
  color: rgba(255, 255, 255, 0.45);
  text-transform: none;
}
.sticky-hint-brand {
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
}


/* Proportional sticky drawer */
.sticky-drawer {
  --sd-pad: clamp(0.55rem, 2.5vw, 0.85rem);
  --sd-gap: clamp(0.45rem, 2vw, 0.7rem);
  --sd-thumb: clamp(2.75rem, 14vw, 3.25rem);
  --sd-font: clamp(0.8rem, 3.2vw, 0.92rem);
  --sd-font-xs: clamp(0.65rem, 2.6vw, 0.75rem);
}
.sticky-drawer-peek {
  gap: var(--sd-gap);
  padding-left: var(--sd-pad);
  padding-right: var(--sd-pad);
}
.sticky-drawer-peek .w-12,
.sticky-drawer-peek img#stickyProductImg {
  width: var(--sd-thumb) !important;
  height: var(--sd-thumb) !important;
}
.sticky-drawer #stickyProductName {
  font-size: var(--sd-font);
}
.sticky-drawer #stickySizeHint,
.sticky-drawer-hint {
  font-size: var(--sd-font-xs);
}
.sticky-drawer #stickyAddToCart {
  min-height: clamp(2.5rem, 10vw, 2.85rem);
  padding: 0.55em 0.95em;
  font-size: var(--sd-font);
}
.sticky-drawer-product {
  padding: var(--sd-pad);
}
.sticky-drawer-size {
  min-width: clamp(2.25rem, 10vw, 2.6rem);
  height: clamp(2.1rem, 9vw, 2.35rem);
  font-size: var(--sd-font-xs);
}
.sticky-drawer-add {
  min-height: clamp(2.5rem, 10vw, 2.85rem);
  font-size: var(--sd-font);
}


/* Free shipping cell — white border, fit to text */
.ship-free-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: 0;
  border: 1px solid #ffffff;
  border-radius: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: transparent;
  box-sizing: border-box;
}
.ship-free-cell-wrap {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}
.ship-free-cell p {
  margin: 0;
  white-space: nowrap;
  line-height: 1.2;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
}






/* Primary nav bar — transparent #006BB6, height fits contents */
.navbar-bar,
nav.navbar-bar {
  --nav-blue: rgba(0, 107, 182, 0.72); /* transparent #006BB6 */
  background: var(--nav-blue) !important;
  background-color: var(--nav-blue) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  /* Height from content, not a fixed tall bar */
  min-height: 0;
  height: auto;
  padding-top: 0;
  padding-bottom: 0;
}
.navbar-bar > .max-w-6xl,
.navbar-bar > div,
.navbar-bar .navbar-inner {
  min-height: 0 !important;
  height: auto !important;
  padding-top: 0.4rem !important;
  padding-bottom: 0.4rem !important;
  align-items: center;
  gap: 0.65rem;
}
/* Proportion controls inside nav */
.navbar-bar .header-brand-link,
.navbar-bar a.font-display {
  line-height: 1.15;
}
.navbar-bar .header-brand-title,
.navbar-bar a.font-display > span {
  font-size: clamp(0.85rem, 2.5vw, 1.15rem);
  line-height: 1.2;
}
.navbar-bar #navBuyNow,
.navbar-bar #navCart,
.navbar-bar #mobile-menu-btn {
  min-height: 2.35rem;
  height: 2.35rem;
  padding-top: 0;
  padding-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.navbar-bar #navBuyNow {
  padding-left: 0.95rem;
  padding-right: 0.95rem;
  font-size: 0.8rem;
}
.navbar-bar #navCart,
.navbar-bar #mobile-menu-btn {
  width: 2.35rem;
  overflow: visible;
}
.navbar-bar #navCart {
  position: relative;
}

.navbar-bar .hidden.md\:flex {
  align-items: center;
}
@media (max-width: 767px) {
  .navbar-bar > .max-w-6xl,
  .navbar-bar > div {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }
  .navbar-bar a.font-display > span {
    font-size: clamp(0.72rem, 3.2vw, 0.95rem);
  }
}


/* Cart count badge — only the floating circle on the bag icon */
#navCart > .nav-cart-count,
#navCart .nav-cart-count {
  box-sizing: border-box;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  font-size: 0.65rem;
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  overflow: visible;
  background: #ED184C;
  color: #fff;
}


/* Disable highlight / shine animations inside the nav bar */
.navbar-bar,
.navbar-bar * {
  animation: none !important;
}
.navbar-bar::after,
.navbar-bar::before,
.navbar-bar button::after,
.navbar-bar a::after,
.navbar-bar .badge::after,
.navbar-bar #navBuyNow::after,
.navbar-bar #navBuyNowMobile::after,
.navbar-bar #navCart::after,
.navbar-bar #mobile-menu-btn::after {
  content: none !important;
  display: none !important;
  animation: none !important;
  background: none !important;
  opacity: 0 !important;
  transform: none !important;
}
.navbar-bar button:hover::after,
.navbar-bar a:hover::after,
.navbar-bar #navBuyNow:hover::after,
.navbar-bar #navBuyNowMobile:hover::after {
  animation: none !important;
  display: none !important;
}


/* No highlight animation on Buy Now / Checkout CTAs */
#navBuyNow,
#navBuyNowMobile,
#buyNow,
#shortsBuyNow,
#videoBuyNow,
#stickyBuyNow,
#stickyCheckout,
#rcartDrawerCheckout,
#miniCartCheckout,
a[data-action="checkout"],
button[data-action="checkout"],
.checkout-button,
.woocommerce #place_order {
  overflow: hidden;
}
#navBuyNow::after,
#navBuyNowMobile::after,
#buyNow::after,
#shortsBuyNow::after,
#videoBuyNow::after,
#stickyBuyNow::after,
#stickyCheckout::after,
#rcartDrawerCheckout::after,
#miniCartCheckout::after,
a[data-action="checkout"]::after,
button[data-action="checkout"]::after,
.checkout-button::after,
.woocommerce #place_order::after {
  content: none !important;
  display: none !important;
  animation: none !important;
  opacity: 0 !important;
  background: none !important;
}
#navBuyNow:hover::after,
#navBuyNowMobile:hover::after,
#buyNow:hover::after,
#shortsBuyNow:hover::after,
#videoBuyNow:hover::after,
#stickyBuyNow:hover::after,
#stickyCheckout:hover::after,
#rcartDrawerCheckout:hover::after,
#miniCartCheckout:hover::after,
a[data-action="checkout"]:hover::after,
button[data-action="checkout"]:hover::after,
.checkout-button:hover::after,
.woocommerce #place_order:hover::after {
  animation: none !important;
  display: none !important;
}


/* No highlight on drawer ATC buttons — keep #stickyAddToCart */
.sticky-drawer-add,
.sticky-drawer-add.badge,
button.sticky-drawer-add,
button[data-drawer-add],
.sticky-drawer [data-drawer-add] {
  /* leave visual styles intact */
}
.sticky-drawer-add::after,
.sticky-drawer-add.badge::after,
button.sticky-drawer-add::after,
button[data-drawer-add]::after,
.sticky-drawer [data-drawer-add]::after,
.sticky-drawer-add:hover::after,
.sticky-drawer-add.badge:hover::after,
button.sticky-drawer-add:hover::after,
button[data-drawer-add]:hover::after,
.sticky-drawer [data-drawer-add]:hover::after {
  content: none !important;
  display: none !important;
  animation: none !important;
  opacity: 0 !important;
  background: none !important;
}
/* Sticky bar ATC keeps global badge highlight — do not disable #stickyAddToCart */


/* Menu button + panel available on desktop */
#mobile-menu-btn {
  cursor: pointer;
}
#mobile-menu:not([hidden]):not(.hidden) {
  display: block;
}
@media (min-width: 768px) {
  #mobile-menu:not([hidden]):not(.hidden) {
    max-width: 28rem;
    margin-left: auto;
    margin-right: 1rem;
    border-radius: 0 0 0.75rem 0.75rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  }
}



/* Menu/dropdown cart label — spaced parentheses */
#navCartMobile .nav-cart-parens,
#mobile-menu .nav-cart-parens,
.nav-cart-parens {
  letter-spacing: 0.02em;
  margin: 0;
  padding: 0;
  display: inline;
  white-space: nowrap;
}
#navCartMobile .nav-cart-parens [data-cart-count],
#mobile-menu .nav-cart-parens [data-cart-count],
.nav-cart-parens [data-cart-count] {
  display: inline !important;
  position: static !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0.08em !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  top: auto !important;
  right: auto !important;
}
#navCartMobile .nav-cart-label,
#mobile-menu .nav-cart-label {
  white-space: nowrap;
  letter-spacing: 0;
}
#navCartMobile .nav-cart-label::before {
  /* spacer between Cart and ( */
  content: none;
}
.nav-cart-parens::before {
  content: none;
}


.sticky-drawer-cart-btn {
  text-decoration: none;
  white-space: nowrap;
}
.rcart-btn--cart-page {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(255,255,255,0.25) !important;
  color: #fff !important;
  background: transparent !important;
}
.rcart-btn--cart-page:hover {
  border-color: rgba(255,255,255,0.5) !important;
  background: rgba(255,255,255,0.06) !important;
}


/* Cart page quantity input */
.cart-qty-input {
  width: 2.75rem;
  height: 2.25rem;
  margin: 0 0.15rem;
  padding: 0;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-qty-input:focus {
  outline: 2px solid #006BB6;
  outline-offset: 1px;
  background: rgba(0, 107, 182, 0.2);
}
.cart-qty-wrap {
  background: rgba(0, 0, 0, 0.25);
}


/* Cart page row — fixed grid so thumbs never shift */
.cart-page-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 5.5rem;
  gap: 1rem;
  align-items: start;
}
.cart-page-info {
  min-width: 0;
}
.cart-page-item .cart-price {
  text-align: right;
  justify-self: end;
  width: 5.5rem;
  min-width: 5.5rem;
  max-width: 5.5rem;
  flex-shrink: 0;
}
@media (max-width: 420px) {
  .cart-page-row {
    grid-template-columns: 72px minmax(0, 1fr) 4.5rem;
    gap: 0.75rem;
  }
  .cart-page-item .cart-page-thumb-wrap,
  .cart-page-item .cart-page-thumb,
  img.cart-page-thumb {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
  }
  .cart-page-item .cart-price {
    width: 4.5rem;
    min-width: 4.5rem;
    max-width: 4.5rem;
  }
}
