/*
 Theme Name: LumiNya Glow
 Theme URI: https://luminya.online
 Author: You
 Description: Glassy neon LumiNya-style child theme with WooCommerce support.
 Version: 1.1.0
 Text Domain: luminya-glow
*/

/* ===== Base ===== */

:root {
  --bg: #05040b;
  --bg2: #060515;
  --panel: rgba(10, 8, 22, 0.94);
  --panel-soft: rgba(12, 8, 26, 0.86);
  --border-soft: rgba(255, 255, 255, 0.18);
  --border-strong: rgba(255, 255, 255, 0.26);
  --text: rgba(245, 246, 255, 0.95);
  --muted: rgba(225, 228, 255, 0.78);
  --pink: #ff4fd8;
  --violet: #8a5bff;
  --cyan: #4cf2ff;
  --gold: #ffd76a;
  --shadow-deep: 0 24px 80px rgba(0, 0, 0, 0.85);
  --radius-lg: 24px;
  --radius-md: 18px;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(138, 91, 255, 0.25), transparent 60%),
    radial-gradient(1000px 600px at 80% 20%, rgba(255, 79, 216, 0.22), transparent 55%),
    radial-gradient(900px 600px at 60% 90%, rgba(76, 242, 255, 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

/* ===== Typography ===== */

h1, h2, h3, h4 {
  margin: 0 0 0.6rem;
  font-weight: 900;
}

.page-title,
.entry-title,
.woocommerce-products-header__title {
  font-size: 2.1rem;
  text-align: center;
  margin-top: 2.2rem;
  margin-bottom: 1.4rem;
  background: linear-gradient(120deg, var(--gold), var(--pink), var(--violet), var(--cyan), var(--gold));
  background-size: 280% 280%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lumiTitle 7s ease-in-out infinite;
}

@keyframes lumiTitle {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Buttons */
    .btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:10px;
      padding: 12px 14px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.16);
      background: rgba(255,255,255,.06);
      color: var(--ink);
      font-weight: 950;
      font-size: 13px;
      letter-spacing: .18px;
      cursor:pointer;
      user-select:none;
      max-width:100%;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
      position: relative;
    }
    .btnPrimary{
      border-color: rgba(196,120,255,.36);
      background:
        radial-gradient(160px 90px at 30% 20%, rgba(196,120,255,.30), transparent 60%),
        radial-gradient(180px 100px at 80% 30%, rgba(120,210,255,.24), transparent 60%),
        rgba(255,255,255,.06);
      box-shadow: 0 0 26px rgba(196,120,255,.10), 0 0 36px rgba(120,210,255,.08);
      animation: buyPulse 1.9s ease-in-out infinite;
    }
    .btnPrimary::before{
      content:"";
      position:absolute;
      top:-45%;
      left:-60%;
      width:60%;
      height:190%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
      transform: rotate(18deg);
      animation: sheen 2.4s linear infinite;
      pointer-events:none;
    }
    @keyframes buyPulse{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-2px); } }
    @keyframes sheen{
      0%{ left:-60%; opacity:0; }
      15%{ opacity:.7; }
      40%{ opacity:.25; }
      60%{ opacity:0; }
      100%{ left:140%; opacity:0; }
    }

/* ===== Header & nav ===== */

header {
  position: sticky;
  top: 8px;
  z-index: 60;
  padding: 10px 0 8px;
}

header .container {
  border-radius: 999px;
  background:
    radial-gradient(600px 360px at 0 0, rgba(196, 120, 255, 0.22), transparent 60%),
    radial-gradient(600px 360px at 100% 0, rgba(120, 210, 255, 0.18), transparent 60%),
    rgba(5, 5, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.8);
}

/* layout row */
.navRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 10px;
  min-width: 0;
}

/* brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 0 auto;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(196, 120, 255, 0.95);
  box-shadow:
    0 0 18px rgba(196, 120, 255, 0.55),
    0 0 34px rgba(120, 210, 255, 0.18);
  flex: 0 0 auto;
}

.brandStack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brandStack strong {
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 0.35px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pillMini {
  width: fit-content;
  font-size: 12px;
  font-weight: 950;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.22);
}

/* center strip (Account / Cart / Login) */
.navCenter {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.navPill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.navPill-avatar .avatarBubble {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 900;
}

.navPill-cart .navCartCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--pink);
  color: #05040b;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0 6px;
}

.navPill-cart.navPill-cart-has-items {
  box-shadow: 0 0 0 0 rgba(255, 79, 216, 0.55);
  animation: navCartPulse 1.9s ease-out infinite;
}

@keyframes navCartPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 79, 216, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 79, 216, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 79, 216, 0); }
}

/* right side: AR / Buy + hamburger */
.navActions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.top-pill-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* hamburger */
.menuBtn {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(140px 90px at 30% 20%, rgba(196, 120, 255, 0.25), transparent 60%),
    radial-gradient(160px 90px at 80% 30%, rgba(120, 210, 255, 0.20), transparent 60%),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(196, 120, 255, 0.08);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.menuIcon {
  width: 22px;
  height: 18px;
  position: relative;
}

.menuIcon span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 10px rgba(196, 120, 255, 0.14);
  transition: transform 0.16s ease, top 0.16s ease, opacity 0.12s ease;
}

.menuIcon span:nth-child(1) { top: 2px; }
.menuIcon span:nth-child(2) { top: 8px; }
.menuIcon span:nth-child(3) { top: 14px; }

.menuBtn[data-open="true"] .menuIcon span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}
.menuBtn[data-open="true"] .menuIcon span:nth-child(2) {
  opacity: 0;
}
.menuBtn[data-open="true"] .menuIcon span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

/* ===== Drawer (mobile nav) ===== */

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
  z-index: 80;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(88vw, 360px);
  transform: translateX(110%);
  transition: transform 0.18s ease;
  z-index: 90;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background:
    radial-gradient(600px 360px at 25% 18%, rgba(196, 120, 255, 0.18), transparent 60%),
    radial-gradient(600px 360px at 80% 30%, rgba(120, 210, 255, 0.14), transparent 60%),
    rgba(8, 6, 20, 0.94);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.drawerHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 2px;
}

.drawerTitle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 1000;
  letter-spacing: 0.25px;
}

.drawerPill {
  font-size: 12px;
  font-weight: 950;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.22);
}

.navList {
  display: grid;
  gap: 10px;
}

.navItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 950;
  min-width: 0;
  color: inherit;
}

.navLeft {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.navGlyph {
  width: 28px;
  height: 28px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.navText {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navArrow {
  opacity: 0.7;
  flex: 0 0 auto;
}

.backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer.open {
  transform: translateX(0);
}

/* Hide AI orb on shop site */
#luminya-ai,
#luminya-ai-drawer {
  display: none !important;
}

/* ===== WooCommerce: products grid ===== */

.luminya-shop {
  padding-top: 2.4rem;
  padding-bottom: 3rem;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  padding: 14px 14px 16px;
  border-radius: 22px;
  background: var(--panel-soft);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-deep);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.9);
  border-color: var(--border-strong);
}

.woocommerce ul.products li.product img {
  border-radius: 18px;
  margin-bottom: 12px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.woocommerce ul.products li.product .price {
  margin-bottom: 8px;
}

/* Product buttons: default glow, not dark */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .add_to_cart_button {
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, #ff4fd8, #8f5bff);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .button:focus {
  box-shadow: 0 8px 30px rgba(180, 120, 255, 0.45);
  transform: translateY(-1px);
}

.woocommerce ul.products li.product .button:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(180, 120, 255, 0.35);
}

/* Center pagination */
.woocommerce nav.woocommerce-pagination {
  text-align: center;
  margin-top: 24px;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers {
  display: inline-flex;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li {
  list-style: none;
}

/* ===== Woo: single product ===== */

.single-product .product {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.9rem 1.8rem 2.1rem;
  border-radius: var(--radius-lg);
  background: var(--panel-soft);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-deep);
}

/* ===== Woo: cart ===== */

.woocommerce-cart .lumi-cart-shell {
  max-width: 1100px;
  margin: 0 auto;
}

.woocommerce-cart .lumi-cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 22px;
}

@media (max-width: 880px) {
  .woocommerce-cart .lumi-cart-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.woocommerce-cart .shop_table.cart {
  background: var(--panel-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  background: var(--panel-soft);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem 1.6rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-deep);
}

/* ===========================
   WooCommerce: Cart & Checkout
   Clean primary button styling
   =========================== */

/* Cart actions: coupon on left, Update Cart on right */
.woocommerce-cart-form .actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Coupon group pinned left */
.woocommerce-cart-form .actions .coupon {
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.woocommerce-cart-form .actions .coupon input.input-text {
  min-width: 180px;
}

/* Shared “primary pill” button styling */
.woocommerce-cart-form .actions .button[name="update_cart"],
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce a.checkout-button.button.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 0;

  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;

  background: linear-gradient(90deg, #35f0ff, #ff4fd8);
  color: #05040a;
  text-decoration: none;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

/* Hover state for primary buttons */
.woocommerce-cart-form .actions .button[name="update_cart"]:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce a.checkout-button.button.alt:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  filter: brightness(1.04);
}

/* Make checkout button full-width, keep Update Cart natural width */
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce a.checkout-button.button.alt {
  width: 100%;
  justify-content: center;
}

.woocommerce-cart-form .actions .button[name="update_cart"] {
  width: auto;
}

/* Cart table and totals shell (keeps your glassy panels consistent) */
.woocommerce-cart .shop_table.cart {
  background: var(--panel-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  background: var(--panel-soft);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem 1.6rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-deep);
}

/* Tweak spacing under cart table → cart totals */
.woocommerce-cart .cart-collaterals {
  margin-top: 1.5rem;
}

/* Mobile: stack actions nicely */
@media (max-width: 700px) {
  .woocommerce-cart-form .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .woocommerce-cart-form .actions .coupon {
    width: 100%;
    margin-right: 0;
    justify-content: stretch;
  }

  .woocommerce-cart-form .actions .coupon input.input-text {
    flex: 1 1 auto;
  }

  .woocommerce-cart-form .actions .button[name="update_cart"] {
    align-self: flex-end;
  }
}

/* ===== Woo: checkout layout ===== */

.woocommerce-checkout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}

#customer_details {
  width: 100%;
}

#order_review {
  width: 100%;
  position: sticky;
  top: 120px;
}

@media (max-width: 900px) {
  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
  }
  #order_review {
    position: static;
  }
}


/* Forms inside checkout */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  background: var(--panel-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.7rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-deep);
}

.woocommerce-checkout .lumi-order-summary,
.woocommerce-checkout #order_review {
  background: var(--panel-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.7rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-deep);
}

/* Normalize Woo form rows */
.woocommerce form .form-row {
  width: 100%;
}

.woocommerce form .form-row input,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  max-width: 100%;
  width: 100%;
}

/* Checkbox alignment */
.woocommerce form .form-row input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}

.woocommerce form .form-row label {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Order notes larger */
body.woocommerce-checkout .woocommerce #order_comments,
body.woocommerce-checkout .woocommerce textarea#order_comments {
  min-height: 200px;
  height: auto;
  resize: vertical;
  line-height: 1.6;
  padding: 16px 18px;
  border-radius: 14px;
}

/* ===== Woo: My Account ===== */

.woocommerce-account .woocommerce {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  float: left;
  width: 220px;
}

.woocommerce-account .woocommerce-MyAccount-content {
  margin-left: 250px;
}

@media (max-width: 880px) {
  .woocommerce-account .woocommerce-MyAccount-navigation {
    float: none;
    width: auto;
    margin-bottom: 18px;
  }
  .woocommerce-account .woocommerce-MyAccount-content {
    margin-left: 0;
  }
}

/* Nav list as Lumi pills */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.woocommerce-MyAccount-navigation li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation li a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 8, 22, 0.92);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.woocommerce-MyAccount-navigation li.is-active a {
  border-color: rgba(196, 120, 255, 0.5);
  background:
    radial-gradient(220px 120px at 20% 10%, rgba(196, 120, 255, 0.28), transparent 60%),
    rgba(255, 255, 255, 0.06);
}

/* My Account content card */
.woocommerce-MyAccount-content {
  background: var(--panel-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.7rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-deep);
}

/* ===== Woo: show / hide password toggle ===== */

.woocommerce .password-input {
  position: relative;
  display: block;
}

.woocommerce .password-input input[type="password"],
.woocommerce .password-input input[type="text"] {
  padding-right: 90px;
}

.woocommerce .show-password-input {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(10,8,22,0.92);
  color: rgba(245,246,255,0.85);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,0.6);
}

/* Use text labels instead of icon if Dashicons fail */
.woocommerce .show-password-input::before {
  content: "Show";
  font-family: inherit;
}

.woocommerce .show-password-input.display-password::before {
  content: "Hide";
}

@media (max-width: 820px) {
  header {
    top: 6px;
  }

  .navRow {
    gap: 8px;
    justify-content: space-between;
  }

  /* Hide brand pill (LumiNya / $LUMI) on mobile */
  .brand {
    display: none;
  }

  /* Keep Account / Cart / Login strip visible and let it expand */
  .navCenter {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-start;
  }

  /* Hide AR / Buy pills on mobile; drawer handles extras */
  .top-pill-nav {
    display: none;
  }

  .navActions {
    gap: 8px;
  }

  .menuBtn {
    width: 42px;
    height: 42px;
  }
}

/* ===== Misc responsiveness ===== */

@media (max-width: 768px) {
  .luminya-shop {
    padding-top: 1.8rem;
  }
}

/* Remove bullet dots from WooCommerce product grid */
.woocommerce ul.products,
.woocommerce ul.products li {
  list-style: none !important;
  padding-left: 0;
  margin-left: 0;
}
.woocommerce ul.products li::marker {
  content: none;
}

/* =========================
   LUMI ADD TO CART BUTTON
   ========================= */

button.single_add_to_cart_button,
button.add_to_cart_button,
a.button.add_to_cart_button {
  position: relative;
  border-radius: 999px !important;
  padding: 14px 28px !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #05040a !important;
  border: none !important;
  background: linear-gradient(90deg, #ff4fd8, #35f0ff) !important;
  box-shadow:
    0 12px 40px rgba(0,0,0,.45),
    0 0 25px rgba(196,120,255,.45);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

/* Subtle glow ring */
button.single_add_to_cart_button::before,
button.add_to_cart_button::before,
a.button.add_to_cart_button::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4fd8, #35f0ff);
  filter: blur(10px);
  opacity: 0.6;
  z-index: -1;
}

/* Hover = cosmic lift */
button.single_add_to_cart_button:hover,
button.add_to_cart_button:hover,
a.button.add_to_cart_button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 55px rgba(0,0,0,.6),
    0 0 35px rgba(196,120,255,.65);
  filter: brightness(1.05);
}

/* Active press */
button.single_add_to_cart_button:active,
button.add_to_cart_button:active,
a.button.add_to_cart_button:active {
  transform: translateY(0);
  box-shadow:
    0 8px 25px rgba(0,0,0,.45),
    0 0 20px rgba(196,120,255,.45);
}

/* LUMI cart row: qty LEFT, button RIGHT */
.single-product form.cart {
  display: flex;
  flex-direction: row-reverse;  /* <— this flips them */
  align-items: stretch;
  gap: 10px;
}

/* Make both controls equal-width pills */
.single-product form.cart .quantity,
.single-product form.cart .single_add_to_cart_button {
  flex: 1 1 0;
  float: none !important;    /* kill any theme floats */
}

.single-product form.cart .quantity {
  display: flex;
}

.single-product form.cart .quantity .qty {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: #05040a;
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  padding: 0 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  outline: none;
}

/* === Single product 2-column layout === */

.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  column-gap: 3rem;
  align-items: flex-start;
}

/* Left column: gallery / images */
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .images {
  grid-column: 1 / 2;
}

/* Right column: summary (title, price, add to cart, WooPay, etc.) */
.single-product div.product .summary {
  grid-column: 2 / 3;
}

/* Stuff that should drop back to full width under both columns:
   description/tabs, reviews, related products, etc. */
.single-product div.product .woocommerce-tabs,
.single-product div.product .woocommerce-Reviews,
.single-product div.product .upsells,
.single-product div.product .related {
  grid-column: 1 / -1;
  margin-top: 3rem;
}

/* remove number spinners */
.single-product form.cart .quantity .qty::-webkit-outer-spin-button,
.single-product form.cart .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.single-product form.cart .quantity .qty {
  -moz-appearance: textfield;
}
    /* Social icons in top nav */
.lumi-social-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
}

.lumi-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, #ff8cf8, #3b1a6f 60%, #060312 100%);
  box-shadow: 0 0 14px rgba(196, 120, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  color: #ffffff; /* so SVG using currentColor is white */
}

.lumi-social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Subtle brand tint differences */
.lumi-social-icon.youtube {
  color: #ffdddd;
}

.lumi-social-icon.facebook {
  color: #dfe9ff;
}

.lumi-social-icon:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 0 22px rgba(196, 120, 255, 0.95);
  filter: brightness(1.05);
}

.lumi-social-icon:active {
  transform: translateY(0);
  box-shadow: 0 0 10px rgba(196, 120, 255, 0.7);
}
/* Base product card button styling */
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 0;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;

  background: linear-gradient(90deg, #35f0ff, #ff4fd8);
  color: #05040a;
  text-decoration: none;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.12s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease,
    filter 0.15s ease;
}

/* Hover / focus state */
.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:focus-visible,
.woocommerce ul.products li.product .button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  filter: brightness(1.04);
  outline: none;
}

/* Disabled / loading safety */
.woocommerce ul.products li.product a.button[disabled],
.woocommerce ul.products li.product .button[disabled] {
  opacity: 0.55;
  cursor: default;
  transform: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Make sure we don't get weird double-lines like "Select\noptions" */
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .button {
  white-space: nowrap;
}


@media (max-width: 768px) {
  /* Hide only the big pill buttons */
  .top-pill-nav .btn {
    display: none;
  }

  /* Keep icons visible */
  .lumi-social-links {
    display: inline-flex;
  }
}
/* ============================
   Woo shop grid – Lumi layout
   ============================ */

/* Base: use flex rows for the product loop */
.woocommerce ul.products {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;   /* small negative margin to balance gaps */
  margin-right: -10px;
}

/* 4 per row on normal desktops when columns-4 is set */
.woocommerce ul.products.columns-4 li.product {
  box-sizing: border-box;
  width: 25%;
  padding: 0 10px 30px;
  float: none !important;      /* kill theme floats */
  clear: none !important;
}

/* Just in case some theme set all products to full width */
.woocommerce ul.products li.product {
  max-width: 100%;
}

/* Tablet: 2 per row */
@media (max-width: 1024px) {
  .woocommerce ul.products.columns-4 li.product {
    width: 50%;
  }
}

/* Mobile: 1 per row */
@media (max-width: 640px) {
  .woocommerce ul.products.columns-4 li.product {
    width: 100%;
  }
}
/* ===== LUMI SHOP GRID – FORCE 4 PER ROW (DESKTOP) ===== */

/* Make product list a flex grid everywhere */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: flex;
  flex-wrap: wrap;
  }
}
/* 4 per row on bigger screens, no matter what the theme thinks */
@media (min-width: 1025px) {
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    box-sizing: border-box;
    width: 25% !important;
    float: none !important;
    clear: none !important;
    padding: 0 10px 30px;
  }
}

/* Tablet: 2 per row */
@media (min-width: 641px) and (max-width: 1024px) {
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: 50% !important;
  }
}

/* Mobile: 1 per row */
@media (max-width: 640px) {
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: 100% !important;
  }
}

/* === Cart row product name: allow wrapping, constrain width === */
.woocommerce-cart .shop_table.cart td.product-name,
.woocommerce-cart .shop_table.cart td.product-name a {
  white-space: normal;      /* allow line breaks */
  word-wrap: break-word;    /* just in case of very long words */
}

/* Optional: keep the product column from eating the whole row */
.woocommerce-cart .shop_table.cart td.product-name {
  max-width: 40vw;
}

/* === Cart actions clean-up: button to the right === */
.woocommerce table.cart td.actions {
  /* Turn the actions cell into a flex row */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

/* If coupons are enabled, keep them on the left and push the button right */
.woocommerce table.cart td.actions .coupon {
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Make sure Update Cart isn't full width and looks like a pill */
.woocommerce table.cart td.actions .button[name="update_cart"] {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================
   CART TABLE HARD RESET
   (desktop layout)
   ========================== */

@media (min-width: 769px) {
  /* Make sure Woo cart table is actually a table on desktop */
  .woocommerce-cart-form table.shop_table.cart {
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
  }

  .woocommerce-cart-form table.shop_table.cart thead,
  .woocommerce-cart-form table.shop_table.cart tbody {
    display: table-row-group;
  }

  .woocommerce-cart-form table.shop_table.cart tr {
    display: table-row;
  }

  .woocommerce-cart-form table.shop_table.cart th,
  .woocommerce-cart-form table.shop_table.cart td {
    display: table-cell;
    vertical-align: middle;
    white-space: normal;
  }
}

/* Product name: allow wrapping, don't eat the whole row */
.woocommerce-cart .shop_table.cart td.product-name,
.woocommerce-cart .shop_table.cart td.product-name a {
  white-space: normal !important;
  word-wrap: break-word;
}

.woocommerce-cart .shop_table.cart td.product-name {
  max-width: 45vw;
}

/* ==========================
   CART ACTIONS: UPDATE CART
   ========================== */

/* Turn the actions cell into a flex row */
.woocommerce-cart-form table.shop_table.cart td.actions {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  border-top: none;
  padding-top: 1.5rem;
}

/* Coupon block pinned left (if present) */
.woocommerce-cart-form table.shop_table.cart td.actions .coupon {
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Ensure Update Cart is a normal-sized pill, not full width */
.woocommerce-cart-form table.shop_table.cart td.actions .button[name="update_cart"] {
  width: auto !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Keep the input from stretching weirdly next to the button */
.woocommerce-cart-form table.shop_table.cart td.actions .coupon input.input-text {
  min-width: 180px;
}

/* Mobile: stack things so they don't explode */
@media (max-width: 768px) {
  .woocommerce-cart-form table.shop_table.cart td.actions {
    flex-direction: column;
    align-items: stretch;
  }

  .woocommerce-cart-form table.shop_table.cart td.actions .coupon {
    margin-right: 0;
    width: 100%;
  }

  .woocommerce-cart-form table.shop_table.cart td.actions .button[name="update_cart"] {
    align-self: flex-end;
  }
}
