/* ═══════════════════════════════════════════════════
   KYAN Store System — WooCommerce Visual Overrides
   Covers: Shop/Archives, Product, Cart, Checkout, Account
   ═══════════════════════════════════════════════════ */

/* ── Global WC page background ── */
body.woocommerce-page,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag {
    background:
        radial-gradient(circle at 20% 0%, rgba(0,229,255,.10), transparent 32%),
        radial-gradient(circle at 85% 15%, rgba(255,46,166,.07), transparent 28%),
        linear-gradient(180deg, #030814, #050B15) !important;
    color: #fff !important;
}

body.woocommerce-page .site-content,
body.woocommerce-page .ast-container,
body.woocommerce-page #content,
body.woocommerce-page #primary,
body.woocommerce-page .content-area {
    background: transparent !important;
    color: #fff !important;
}

/* ── Global Typography ── */
body.woocommerce-page h1, body.woocommerce-page h2,
body.woocommerce-page h3, body.woocommerce-page h4,
body.woocommerce-page label, body.woocommerce-page legend {
    color: #fff !important;
}

/* ── WC Container full-width fix ── */
body.woocommerce-page .ast-container {
    max-width: 1280px !important;
    margin: 0 auto;
}

/* ══════════════════════════════════
   SHOP / ARCHIVE PAGES
   ══════════════════════════════════ */

/* Hide default ugly page title */
body.post-type-archive-product .page-title,
body.post-type-archive-product .woocommerce-products-header__title,
body.post-type-archive-product .ast-archive-description,
body.tax-product_cat .page-title,
body.tax-product_cat .ast-archive-description,
body.tax-product_tag .ast-archive-description,
.woocommerce-result-count + .woocommerce-ordering ~ .page-title {
    display: none !important;
}

/* Result count + ordering bar */
.woocommerce-result-count,
.woocommerce-ordering select {
    color: #9FB4C8 !important;
    background: rgba(11,28,46,.6) !important;
    border: 1px solid rgba(0,229,255,.15) !important;
    border-radius: 10px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
}

/* Product grid — balanced center */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 24px !important;
    justify-items: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 30px 0 !important;
}

/* Product card */
ul.products li.product {
    background: rgba(13,31,51,.85) !important;
    border: 1px solid rgba(0,229,255,.12) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    transition: all .3s ease !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 !important;
    float: none !important;
    padding: 0 !important;
}

ul.products li.product:hover {
    border-color: rgba(0,229,255,.5) !important;
    box-shadow: 0 0 25px rgba(0,229,255,.18) !important;
    transform: translateY(-4px);
}

/* Product image in archive */
ul.products li.product a img,
ul.products li.product .woocommerce-LoopProduct-link img {
    border-radius: 0 !important;
    aspect-ratio: 16/10;
    object-fit: cover !important;
    width: 100% !important;
    display: block;
    transition: transform .5s ease;
}

ul.products li.product:hover a img {
    transform: scale(1.08);
}

/* Product title in archive */
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2 {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 14px 16px 4px !important;
    margin: 0 !important;
    line-height: 1.5;
}

/* Product price in archive */
ul.products li.product .price {
    padding: 0 16px 10px !important;
    color: #00E5FF !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

ul.products li.product .price del {
    color: #7890a8 !important;
    font-size: 13px !important;
}

ul.products li.product .price ins {
    text-decoration: none;
    color: #00E5FF !important;
}

/* Add to cart button in archive */
ul.products li.product .button,
ul.products li.product a.add_to_cart_button,
ul.products li.product a.product_type_variable {
    background: linear-gradient(135deg,#00E5FF,#00B8D4) !important;
    color: #03121f !important;
    border: none !important;
    border-radius: 0 0 18px 18px !important;
    padding: 12px 20px !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    transition: all .3s !important;
}

ul.products li.product .button:hover {
    box-shadow: 0 0 20px rgba(0,229,255,.4) !important;
}

/* Star ratings in archive */
ul.products li.product .star-rating {
    margin: 4px 16px !important;
    color: #facc15 !important;
}

/* WC pagination */
.woocommerce-pagination .page-numbers {
    display: flex; gap: 8px; justify-content: center; align-items: center;
    list-style: none; padding: 30px 0;
}
.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 12px;
    background: rgba(11,28,46,.7); border: 1px solid rgba(0,229,255,.2);
    color: #d7e8f7; text-decoration: none; font-weight: 700;
    transition: all .3s;
}
.woocommerce-pagination .page-numbers li span.current,
.woocommerce-pagination .page-numbers li a:hover {
    background: #00E5FF; color: #03121f; border-color: #00E5FF;
    box-shadow: 0 0 15px rgba(0,229,255,.3);
}

/* ══════════════════════════════════
   SINGLE PRODUCT
   ══════════════════════════════════ */
body.single-product .ast-container { max-width: 1200px !important; }

body.single-product .woocommerce-product-gallery {
    background: rgba(11,28,46,.5); border-radius: 20px;
    border: 1px solid rgba(0,229,255,.12); overflow: hidden;
}
body.single-product .woocommerce-product-gallery img {
    border-radius: 16px; object-fit: cover;
}
body.single-product .product_title {
    color: #fff !important; font-size: 32px !important;
    font-weight: 900 !important; line-height: 1.3;
}
body.single-product .price { color: #00E5FF !important; font-size: 28px !important; font-weight: 900 !important; }
body.single-product .price del { color: #7890a8 !important; font-size: 18px !important; }
body.single-product .woocommerce-product-details__short-description {
    color: #c8d8e9 !important; line-height: 1.9; font-size: 15px;
    padding: 16px 0; border-top: 1px solid rgba(0,229,255,.1);
}

/* Product tabs */
.woocommerce-tabs { margin-top: 40px !important; }
.woocommerce-tabs ul.tabs {
    display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 -1px;
    border-bottom: 1px solid rgba(0,229,255,.15); background: transparent !important;
}
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after { display: none !important; }
.woocommerce-tabs ul.tabs li {
    margin: 0 !important; padding: 0 !important;
    background: transparent !important; border: none !important; border-radius: 12px 12px 0 0;
}
.woocommerce-tabs ul.tabs li a {
    padding: 12px 24px !important; color: #9FB4C8 !important;
    font-weight: 700 !important; text-decoration: none;
    background: transparent !important; border: none !important;
}
.woocommerce-tabs ul.tabs li.active {
    background: rgba(0,229,255,.08) !important;
    border-bottom: 2px solid #00E5FF !important;
}
.woocommerce-tabs ul.tabs li.active a { color: #00E5FF !important; }
.woocommerce-tabs .panel {
    background: rgba(11,28,46,.5) !important; border: 1px solid rgba(0,229,255,.1);
    border-radius: 0 0 16px 16px; padding: 30px !important; color: #d7e8f7 !important;
    line-height: 2; font-size: 15px;
}
.woocommerce-tabs .panel h2 { color: #00E5FF !important; margin-bottom: 16px; }

/* Quantity input */
.woocommerce .quantity .qty {
    background: rgba(8,24,39,.7) !important; border: 1px solid rgba(0,229,255,.2) !important;
    border-radius: 10px !important; color: #fff !important;
    width: 70px; height: 46px; text-align: center; font-size: 16px; font-weight: 700;
}

/* Single add to cart */
body.single-product .single_add_to_cart_button {
    background: linear-gradient(135deg,#00E5FF,#00B8D4) !important;
    color: #03121f !important; border: none !important;
    border-radius: 14px !important; padding: 14px 40px !important;
    font-weight: 900 !important; font-size: 16px !important;
    box-shadow: 0 0 25px rgba(0,229,255,.3) !important;
    transition: all .3s !important;
}
body.single-product .single_add_to_cart_button:hover {
    transform: translateY(-2px); box-shadow: 0 0 35px rgba(0,229,255,.5) !important;
}

/* Related / Upsells */
body.single-product .related.products > h2,
body.single-product .upsells.products > h2 {
    color: #fff !important; font-size: 24px; font-weight: 900;
    border-right: 4px solid #00E5FF; padding-right: 14px; margin-bottom: 20px;
}

/* ══════════════════════════════════
   CART (1.0.13 — DESKTOP ALIGNMENT FIX)
   ══════════════════════════════════ */
body.woocommerce-cart .entry-title,
body.woocommerce-cart .page-header { display: none !important; }

/* Astra/WooCommerce Override Cleanup */
body.woocommerce-cart {
  overflow-x: hidden !important;
}

body.woocommerce-cart #page,
body.woocommerce-cart .site,
body.woocommerce-cart .site-content,
body.woocommerce-cart .ast-container,
body.woocommerce-cart .content-area,
body.woocommerce-cart .site-main,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .woocommerce,
body.woocommerce-cart .kyan-cart-page {
  overflow-x: clip !important;
}

/* Hide leaking off-canvas/mini-cart widgets on cart page only */
body.woocommerce-cart .ast-site-header-cart .widget_shopping_cart,
body.woocommerce-cart .ast-site-header-cart-data .widget_shopping_cart,
body.woocommerce-cart .woocommerce-mini-cart__buttons,
body.woocommerce-cart .elementor-menu-cart__container,
body.woocommerce-cart .elementor-menu-cart__toggle,
body.woocommerce-cart .elementor-menu-cart__main {
  display: none !important;
}

/* Prevent cart badge from leaking off screen */
body.woocommerce-cart .ast-cart-menu-wrap .count,
body.woocommerce-cart .ast-site-header-cart-data .count {
  position: absolute !important;
  top: -6px !important;
  right: -6px !important;
  overflow: visible !important;
}
body.woocommerce-cart .site-content,
body.woocommerce-cart .ast-container,
body.woocommerce-cart .content-area,
body.woocommerce-cart .site-main,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .woocommerce {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
  clear: none !important;
  display: block !important;
}
body.woocommerce-cart .woocommerce::before,
body.woocommerce-cart .woocommerce::after {
    content: none !important;
    display: none !important;
}

/* ── 1. Page ── */
body.woocommerce-cart .kyan-cart-page {
  position: relative !important;
  left: 50% !important;
  right: auto !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
  padding: 92px 0 72px !important;
  overflow-x: clip !important;
  box-sizing: border-box !important;
}

/* ── 2. Container ── */
body.woocommerce-cart .kyan-cart-container {
  width: min(1180px, calc(100vw - 64px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* ── 3. Header ── */
body.woocommerce-cart .kyan-cart-header {
    width: 100%;
    margin: 0 0 32px;
    text-align: right;
}
body.woocommerce-cart .kyan-cart-breadcrumb { font-size: 14px; color: #6B8299; margin-bottom: 8px; }
body.woocommerce-cart .kyan-cart-breadcrumb a { color: #6B8299; text-decoration: none; }
body.woocommerce-cart .kyan-cart-breadcrumb a:hover { color: #00E5FF; }
body.woocommerce-cart .kyan-cart-breadcrumb .kyan-crumb-sep { margin: 0 8px; color: #3A5068; }
body.woocommerce-cart .kyan-cart-title {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  margin: 0;
}

body.woocommerce-cart .kyan-cart-count {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  min-width: auto !important;
  margin-inline-start: 10px !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: rgba(0, 229, 255, 0.12) !important;
  border: 1px solid rgba(0, 229, 255, 0.35) !important;
  color: #00E5FF !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  vertical-align: middle !important;
  inset: auto !important;
  transform: none !important;
}

/* ── 4. Layout ── */
body.woocommerce-cart .kyan-cart-layout {
  display: grid !important;
  grid-template-columns: 360px minmax(0, 1fr) !important;
  gap: 36px !important;
  align-items: start !important;
  direction: ltr !important;
  width: 100% !important;
}

body.woocommerce-cart .kyan-cart-sidebar {
  grid-column: 1 !important;
  direction: rtl !important;
}

body.woocommerce-cart .kyan-cart-main {
  grid-column: 2 !important;
  direction: rtl !important;
  min-width: 0 !important;
}

/* ── 5. Summary Card ── */
body.woocommerce-cart .kyan-cart-summary {
    width: 100%;
    position: sticky;
    top: 110px;
    background: rgba(11,28,46,.55); backdrop-filter: blur(12px); border: 1px solid rgba(0,229,255,.12); border-radius: 20px; padding: 26px;
}
body.woocommerce-cart .kyan-cart-summary *, body.woocommerce-cart .kyan-cart-summary table, body.woocommerce-cart .kyan-cart-summary tr, body.woocommerce-cart .kyan-cart-summary th, body.woocommerce-cart .kyan-cart-summary td { background: transparent !important; }
body.woocommerce-cart .kyan-cart-summary > h2 { color: #fff; font-size: 19px; font-weight: 900; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(0,229,255,.12); }
body.woocommerce-cart .kyan-cart-summary table.shop_table { width: 100%; border: none !important; margin: 0 0 20px; border-collapse: collapse; }
body.woocommerce-cart .kyan-cart-summary table.shop_table tr { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
body.woocommerce-cart .kyan-cart-summary table.shop_table tr.order-total { border-bottom: none; padding-top: 18px; margin-top: 4px; border-top: 1px dashed rgba(0,229,255,.18); }
body.woocommerce-cart .kyan-cart-summary table.shop_table th { border: none !important; padding: 0 !important; color: #9FB4C8; font-size: 14px; font-weight: 600; text-align: right; width: auto; }
body.woocommerce-cart .kyan-cart-summary table.shop_table td { border: none !important; padding: 0 !important; color: #fff; font-size: 16px; font-weight: 800; text-align: left; width: auto; }
body.woocommerce-cart .kyan-cart-summary table.shop_table tr.order-total th { color: #fff; font-size: 17px; font-weight: 900; }
body.woocommerce-cart .kyan-cart-summary table.shop_table tr.order-total td .woocommerce-Price-amount { color: #00E5FF; font-size: 22px; font-weight: 900; text-shadow: 0 0 10px rgba(0,229,255,.12); }
body.woocommerce-cart .kyan-cart-summary .wc-proceed-to-checkout { padding: 0; margin: 0; }
body.woocommerce-cart .kyan-cart-summary .wc-proceed-to-checkout a.checkout-button { background: linear-gradient(135deg,#00E5FF,#00B8D4) !important; color: #03121f !important; border: none !important; border-radius: 14px !important; padding: 16px !important; font-weight: 900 !important; font-size: 16px !important; width: 100% !important; display: block !important; text-align: center !important; box-shadow: 0 0 22px rgba(0,229,255,.22) !important; transition: all .3s !important; margin: 0; }
body.woocommerce-cart .kyan-cart-summary .wc-proceed-to-checkout a.checkout-button:hover { transform: translateY(-2px) !important; box-shadow: 0 0 32px rgba(0,229,255,.4) !important; }
body.woocommerce-cart .kyan-cart-trust { text-align: center; margin-top: 14px; font-size: 13px; }
body.woocommerce-cart .kyan-cart-trust .kyan-trust-text { display: flex; align-items: center; justify-content: center; gap: 6px; color: #5eead4; }

/* ── 6. Product Cards ── */
body.woocommerce-cart .kyan-cart-items { display: flex; flex-direction: column; gap: 18px; }
body.woocommerce-cart .kyan-cart-card {
    width: 100%; margin: 0 0 18px;
    display: grid !important; grid-template-columns: 96px 1fr auto; grid-template-rows: auto auto;
    grid-template-areas: "image info remove" "image qty subtotal";
    gap: 8px 16px; padding: 18px;
    background: rgba(11,28,46,.55); backdrop-filter: blur(12px);
    border: 1px solid rgba(0,229,255,.10); border-radius: 16px;
    align-items: center; transition: border-color .3s, box-shadow .3s;
}
body.woocommerce-cart .kyan-cart-card:hover { border-color: rgba(0,229,255,.25); box-shadow: 0 0 18px rgba(0,229,255,.06); }
body.woocommerce-cart .kyan-cart-card__image { grid-area: image; }
body.woocommerce-cart .kyan-cart-card__image img { width: 96px !important; height: 96px !important; border-radius: 12px; border: 1px solid rgba(0,229,255,.10); object-fit: cover; display: block; }
body.woocommerce-cart .kyan-cart-card__image a { display: block; line-height: 0; }
body.woocommerce-cart .kyan-cart-card__info { grid-area: info; align-self: start; }
body.woocommerce-cart .kyan-cart-card__name a { font-size: 15px !important; font-weight: 800; color: #fff; text-decoration: none; line-height: 1.4; display: block; }
body.woocommerce-cart .kyan-cart-card__name a:hover { color: #00E5FF; }
body.woocommerce-cart .kyan-cart-card__name dl.variation { margin: 4px 0 0; color: #6B8299; font-size: 12px; }
body.woocommerce-cart .kyan-cart-card__price-single { color: #6B8299; font-size: 13px; margin-top: 3px; }
body.woocommerce-cart .kyan-cart-card__remove { grid-area: remove; align-self: start; justify-self: end; }
body.woocommerce-cart .kyan-cart-card__remove a.remove { display: flex !important; align-items: center; justify-content: center; width: 30px; height: 30px; background: rgba(255,46,166,.08); color: #FF2EA6 !important; border-radius: 50%; font-size: 18px; text-decoration: none; transition: all .3s; line-height: 1; }
body.woocommerce-cart .kyan-cart-card__remove a.remove:hover { background: #FF2EA6; color: #fff !important; }
body.woocommerce-cart .kyan-cart-card__qty { grid-area: qty; align-self: end; }
body.woocommerce-cart .quantity { display: inline-flex !important; align-items: center; background: rgba(8,24,39,.7); border: 1px solid rgba(0,229,255,.15); border-radius: 10px; overflow: hidden; }
body.woocommerce-cart .quantity input.qty { width: 50px; height: 36px; border: none; background: transparent; color: #fff; font-weight: 700; font-size: 15px; text-align: center; padding: 0; margin: 0; -moz-appearance: textfield; }
body.woocommerce-cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; }
body.woocommerce-cart .kyan-cart-card__subtotal { grid-area: subtotal; align-self: end; justify-self: end; }
body.woocommerce-cart .kyan-cart-card__subtotal .woocommerce-Price-amount, body.woocommerce-cart .kyan-cart-card__subtotal .amount { font-size: 19px !important; font-weight: 900; color: #00E5FF; }

/* ── 7. Coupon/Actions ── */
body.woocommerce-cart .kyan-cart-actions { width: 100%; margin-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
body.woocommerce-cart .coupon { display: flex !important; gap: 8px; flex: 1; align-items: center; }
body.woocommerce-cart .coupon label { display: none !important; }
body.woocommerce-cart .coupon input.input-text { flex: 1; max-width: 200px; background: rgba(11,28,46,.55); border: 1px solid rgba(0,229,255,.15); border-radius: 12px; color: #fff; padding: 0 14px; height: 44px; font-size: 14px; }
body.woocommerce-cart .coupon input.input-text:focus { border-color: #00E5FF; box-shadow: 0 0 10px rgba(0,229,255,.12); outline: none; }
body.woocommerce-cart .coupon button.button, body.woocommerce-cart button[name="update_cart"] { height: 44px; border-radius: 12px; background: rgba(0,229,255,.06) !important; color: #00E5FF !important; border: 1px solid rgba(0,229,255,.20) !important; font-weight: 700; padding: 0 18px; font-size: 14px; transition: all .3s; box-shadow: none !important; }
body.woocommerce-cart .coupon button.button:hover, body.woocommerce-cart button[name="update_cart"]:hover { background: #00E5FF !important; color: #03121f !important; }

/* Hide Cross Sells */
body.woocommerce-cart .cross-sells { display: none; }

/* Responsive Cart Sizing System */
@media (min-width: 993px) {
  body.woocommerce-cart .kyan-cart-container {
    width: min(1180px, calc(100vw - 72px)) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
  }
  body.woocommerce-cart .kyan-cart-layout {
    display: grid !important;
    grid-template-columns: 360px minmax(0, 1fr) !important;
    gap: 36px !important;
    align-items: start !important;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  body.woocommerce-cart .kyan-cart-container {
    width: min(100% - 40px, 760px) !important;
    max-width: 760px !important;
    margin-inline: auto !important;
  }
  body.woocommerce-cart .kyan-cart-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }
  body.woocommerce-cart .kyan-cart-main,
  body.woocommerce-cart .kyan-cart-sidebar {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.woocommerce-cart .kyan-cart-card {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  body.woocommerce-cart .kyan-cart-page {
    padding-top: 36px !important;
    padding-bottom: 40px !important;
    overflow-x: hidden !important;
  }
  body.woocommerce-cart .kyan-cart-container {
    width: min(100% - 24px, 420px) !important;
    max-width: 420px !important;
    margin-inline: auto !important;
    padding: 0 !important;
  }
  body.woocommerce-cart .kyan-cart-header {
    margin-bottom: 18px !important;
    text-align: right !important;
  }
  body.woocommerce-cart .kyan-cart-title {
    font-size: clamp(22px, 6vw, 30px) !important;
    line-height: 1.25 !important;
  }
  body.woocommerce-cart .kyan-cart-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    width: 100% !important;
  }
  body.woocommerce-cart .kyan-cart-main,
  body.woocommerce-cart .kyan-cart-sidebar {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.woocommerce-cart .kyan-cart-main {
    order: 1 !important;
  }
  body.woocommerce-cart .kyan-cart-sidebar {
    order: 2 !important;
  }
  body.woocommerce-cart .kyan-cart-card {
    width: 100% !important;
    min-height: 112px !important;
    padding: 14px !important;
    border-radius: 18px !important;
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) 54px !important;
    gap: 12px !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }
  body.woocommerce-cart .kyan-cart-card img {
    width: 76px !important;
    height: 76px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
  }
  body.woocommerce-cart .kyan-cart-card .product-name,
  body.woocommerce-cart .kyan-cart-card .kyan-cart-item-title {
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 800 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }
  body.woocommerce-cart .kyan-cart-card .product-subtotal,
  body.woocommerce-cart .kyan-cart-card .kyan-cart-item-subtotal {
    font-size: 16px !important;
    font-weight: 900 !important;
    color: #00E5FF !important;
  }
  body.woocommerce-cart .kyan-cart-card .quantity input,
  body.woocommerce-cart .kyan-cart-card input.qty {
    width: 44px !important;
    height: 38px !important;
    border-radius: 12px !important;
    text-align: center !important;
  }
  body.woocommerce-cart .kyan-cart-card .remove {
    width: 28px !important;
    height: 28px !important;
    border-radius: 999px !important;
  }
  body.woocommerce-cart .kyan-cart-actions {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 12px !important;
  }
  body.woocommerce-cart .kyan-cart-coupon,
  body.woocommerce-cart .coupon {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  body.woocommerce-cart input[name="coupon_code"] {
    width: 100% !important;
    min-height: 46px !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    text-align: center !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
  }
  body.woocommerce-cart button[name="apply_coupon"],
  body.woocommerce-cart button[name="update_cart"] {
    width: 100% !important;
    min-height: 46px !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
  }
  body.woocommerce-cart .woocommerce-error,
  body.woocommerce-cart .woocommerce-message,
  body.woocommerce-cart .woocommerce-info {
    width: 100% !important;
    margin: 12px 0 !important;
    padding: 13px 14px !important;
    border-radius: 16px !important;
    background: rgba(11, 28, 46, 0.9) !important;
    border: 1px solid rgba(236, 72, 153, 0.45) !important;
    color: #fff !important;
    text-align: center !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    font-weight: 700 !important;
    box-shadow: 0 0 18px rgba(236,72,153,.14) !important;
    box-sizing: border-box !important;
  }
  body.woocommerce-cart .kyan-cart-summary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 22px 18px !important;
    border-radius: 20px !important;
    margin: 4px 0 0 !important;
    box-sizing: border-box !important;
  }
  body.woocommerce-cart .kyan-cart-summary .checkout-button,
  body.woocommerce-cart .kyan-cart-summary a.checkout-button {
    width: 100% !important;
    min-height: 52px !important;
    border-radius: 16px !important;
    font-size: 15px !important;
    font-weight: 900 !important;
  }
  body.woocommerce-cart .kyan-footer {
    padding-top: 34px !important;
    padding-bottom: 22px !important;
  }
  body.woocommerce-cart .kyan-footer .kyan-footer-grid,
  body.woocommerce-cart .kyan-footer-grid {
    gap: 28px !important;
  }
  body.woocommerce-cart .kyan-footer h3,
  body.woocommerce-cart .kyan-footer h4 {
    margin-bottom: 12px !important;
  }
  body.woocommerce-cart .kyan-footer a,
  body.woocommerce-cart .kyan-footer p {
    line-height: 1.8 !important;
  }
}

/* ══════════════════════════════════
   CHECKOUT
   ══════════════════════════════════ */
.woocommerce-checkout .woocommerce { max-width: 1200px; }

/* Two-column layout */
@media(min-width: 769px) {
    .woocommerce-checkout .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* Checkout panels */
#customer_details, #order_review, .woocommerce-checkout-review-order {
    background: rgba(11,28,46,.55) !important; backdrop-filter: blur(12px);
    border: 1px solid rgba(0,229,255,.1) !important; border-radius: 18px;
    padding: 28px !important; margin-bottom: 24px;
}

/* Checkout headings */
.woocommerce-checkout h3, .woocommerce-checkout h3#ship-to-different-address {
    color: #00E5FF !important; font-size: 22px !important; font-weight: 900 !important;
    margin-bottom: 24px !important; padding-bottom: 14px;
    border-bottom: 1px solid rgba(0,229,255,.12);
}

/* All checkout inputs */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
#billing_state_field select,
.select2-container--default .select2-selection--single {
    width: 100% !important; box-sizing: border-box;
    background: rgba(8,24,39,.7) !important;
    border: 1px solid rgba(0,229,255,.18) !important;
    border-radius: 12px !important; height: 50px !important;
    padding: 0 16px !important; color: #fff !important;
    font-size: 14px; transition: all .3s;
}
.woocommerce-checkout textarea { height: 120px !important; padding: 14px 16px !important; }

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus,
.woocommerce form .form-row input.input-text:focus {
    border-color: #00E5FF !important; box-shadow: 0 0 15px rgba(0,229,255,.15) !important; outline: none;
}

/* Labels */
.woocommerce-checkout label,
.woocommerce form .form-row label {
    color: #c8d8e9 !important; font-weight: 600; font-size: 14px; margin-bottom: 6px; display: block;
}
.woocommerce-checkout .required { color: #FF2EA6 !important; }

/* Select2 dropdown */
.select2-container--default .select2-selection--single .select2-selection__rendered { color: #fff !important; line-height: 50px !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 12px !important; }
.select2-dropdown { background: #0B1C2E !important; border: 1px solid rgba(0,229,255,.2) !important; border-radius: 12px !important; }
.select2-results__option { color: #d7e8f7 !important; padding: 10px 16px !important; }
.select2-results__option--highlighted { background: rgba(0,229,255,.15) !important; color: #00E5FF !important; }

/* Payment section */
#payment { background: rgba(11,28,46,.55) !important; border: 1px solid rgba(0,229,255,.1) !important; border-radius: 18px !important; padding: 24px !important; }
#payment ul.payment_methods { border-bottom: 1px solid rgba(0,229,255,.1) !important; padding: 0 0 16px !important; margin: 0 0 16px !important; }
#payment ul.payment_methods li { background: transparent !important; color: #fff !important; }
#payment ul.payment_methods li label { color: #fff !important; font-weight: 700; cursor: pointer; }
#payment .payment_box { background: rgba(0,229,255,.05) !important; color: #c8d8e9 !important; border-radius: 12px; padding: 16px !important; }
#payment .payment_box::before { border-bottom-color: rgba(0,229,255,.05) !important; }

/* Place order button */
#place_order {
    background: linear-gradient(135deg,#00E5FF,#00B8D4) !important;
    color: #03121f !important; border: none !important;
    border-radius: 14px !important; padding: 16px 40px !important;
    font-weight: 900 !important; font-size: 17px !important;
    width: 100% !important; margin-top: 16px;
    box-shadow: 0 0 25px rgba(0,229,255,.3) !important;
    transition: all .3s !important; cursor: pointer;
}
#place_order:hover { transform: translateY(-2px); box-shadow: 0 0 35px rgba(0,229,255,.5) !important; }

/* Order review table in checkout */
.woocommerce-checkout-review-order-table th { color: #00E5FF !important; }
.woocommerce-checkout-review-order-table td { color: #d7e8f7 !important; }

/* ══════════════════════════════════
   MY ACCOUNT
   ══════════════════════════════════ */
.woocommerce-account .woocommerce { max-width: 1200px; }

/* Account layout — flex layout handled by account.php inline styles via .kyan-account-wrapper */

/* Navigation */
.woocommerce-MyAccount-navigation {
    background: rgba(11,28,46,.55) !important; backdrop-filter: blur(12px);
    border: 1px solid rgba(0,229,255,.1) !important; border-radius: 18px;
    padding: 20px !important; margin-bottom: 24px;
}
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; }
.woocommerce-MyAccount-navigation ul li { margin-bottom: 6px; }
.woocommerce-MyAccount-navigation ul li a {
    display: block; padding: 12px 16px; border-radius: 12px;
    background: rgba(0,229,255,.04); color: #c8d8e9; text-decoration: none;
    font-weight: 700; transition: all .3s; font-size: 14px;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    background: #00E5FF; color: #03121f; font-weight: 900;
    box-shadow: 0 0 15px rgba(0,229,255,.25);
}

/* Account content */
.woocommerce-MyAccount-content {
    background: rgba(11,28,46,.55) !important; backdrop-filter: blur(12px);
    border: 1px solid rgba(0,229,255,.1) !important; border-radius: 18px;
    padding: 28px !important;
}
.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3 { color: #00E5FF !important; }
.woocommerce-MyAccount-content p { color: #c8d8e9 !important; line-height: 1.8; }
.woocommerce-MyAccount-content a { color: #00E5FF !important; }

/* Account forms (edit account, addresses) */
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content select {
    background: rgba(8,24,39,.7) !important; border: 1px solid rgba(0,229,255,.18) !important;
    border-radius: 12px !important; height: 48px; padding: 0 16px; color: #fff !important;
    width: 100%; box-sizing: border-box;
}

/* Address boxes */
.woocommerce-MyAccount-content .woocommerce-Address {
    background: rgba(0,229,255,.04); border: 1px solid rgba(0,229,255,.1);
    border-radius: 14px; padding: 20px; margin-bottom: 16px;
}
.woocommerce-MyAccount-content .woocommerce-Address address { color: #c8d8e9 !important; line-height: 1.9; }

/* ══════════════════════════════════
   NOTICES
   ══════════════════════════════════ */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
    background: rgba(11,28,46,.85) !important; border-top: 3px solid #00E5FF !important;
    color: #fff !important; border-radius: 12px; backdrop-filter: blur(8px); padding: 14px 20px !important;
}
.woocommerce-error { border-top-color: #FF2EA6 !important; }
.woocommerce-message::before { color: #00E5FF !important; }
.woocommerce-info::before { color: #00E5FF !important; }
.woocommerce-message a, .woocommerce-info a { color: #00E5FF !important; }

/* ══════════════════════════════════
   ORDER RECEIVED / THANK YOU
   ══════════════════════════════════ */
.woocommerce-order-received .woocommerce-thankyou-order-received {
    color: #00E5FF !important; font-size: 24px; font-weight: 900; text-align: center; padding: 20px;
}
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
    background: rgba(11,28,46,.55); border: 1px solid rgba(0,229,255,.1);
    border-radius: 16px; padding: 24px; margin-bottom: 20px;
}

/* ══════════════════════════════════
   GLOBAL WC BUTTONS
   ══════════════════════════════════ */
.woocommerce button.button, .woocommerce input.button, .woocommerce a.button,
.woocommerce #respond input#submit {
    background: linear-gradient(135deg,#00E5FF,#00B8D4) !important;
    color: #03121f !important; border: none !important; border-radius: 12px !important;
    padding: 12px 24px !important; font-weight: 900 !important;
    box-shadow: 0 0 18px rgba(0,229,255,.25) !important;
    transition: all .3s !important; cursor: pointer;
}
.woocommerce button.button:hover, .woocommerce a.button:hover {
    transform: translateY(-2px); box-shadow: 0 0 30px rgba(0,229,255,.45) !important;
}
.woocommerce button.button:disabled { opacity: .5 !important; pointer-events: none; }
.woocommerce a.button.alt { background: linear-gradient(135deg,#FF2EA6,#ff66c4) !important; color: #fff !important; }

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */
@media(max-width: 768px) {
    .woocommerce { padding: 12px; }
    ul.products { grid-template-columns: 1fr 1fr !important; gap: 14px !important; }
    ul.products li.product { max-width: 100% !important; }
    .woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content { padding: 16px !important; }
    .woocommerce-account .woocommerce-MyAccount-navigation { float: none; width: 100%; }
    .woocommerce-account .woocommerce-MyAccount-content { margin-right: 0; }
    .woocommerce-checkout .col2-set { display: block; }
}

@media(max-width: 480px) {
    ul.products { grid-template-columns: 1fr !important; }
}
