/* Akshaya Market — marketplace storefront */

:root {
  --ink: #131921;
  --ink-2: #232f3e;
  --paper: #f1f3f6;
  --card: #fff;
  --line: #e4e6eb;
  --muted: #767676;
  --text: #212121;
  --blue: #2874f0;
  --amber: #febd69;
  --yellow: #ffd814;
  --orange: #ffa41c;
  --green: #388e3c;
  --red: #ff6161;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --wrap: 1240px;
}

*,
*::before,
*::after { box-sizing: border-box; }

body.ak-market {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }

.ak-wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
}

.ak-skip {
  position: absolute;
  left: 8px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.ak-skip:focus { top: 8px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Header */
.ak-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  color: #fff;
}
body.admin-bar .ak-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .ak-header { top: 46px; }
}

.ak-topline { background: #0f1419; font-size: 12px; color: #d5d9d9; }
.ak-topline__in {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 32px;
}
.ak-topline p { margin: 0; }
.ak-topline nav { display: flex; gap: 14px; white-space: nowrap; }
.ak-topline a:hover { text-decoration: underline; }

.ak-bar { position: relative; }
.ak-bar__in {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.ak-logo { display: flex; align-items: center; gap: 8px; color: #fff; flex: 0 0 auto; text-decoration: none; }
.ak-logo img { height: 46px; width: auto; display: block; }
.ak-logo strong { display: block; font-size: 16px; letter-spacing: 0.06em; line-height: 1; font-weight: 800; }
.ak-logo__line2 { font-size: 11px; letter-spacing: 0.16em; color: #f3d48a; font-weight: 700; }
.ak-logo small { display: none; }
.ak-loc { display: flex; align-items: flex-end; gap: 4px; color: #fff; line-height: 1.1; flex: 0 0 auto; }
.ak-loc small { display: block; color: #ccc; font-size: 11px; font-weight: 400; }
.ak-loc strong { font-size: 13px; }
.ak-orders { flex-direction: column; align-items: flex-start; line-height: 1.15; }
.ak-orders small { display: block; color: #ccc; font-size: 11px; font-weight: 400; }
.ak-orders strong { font-size: 13px; }

.ak-search {
  flex: 1;
  display: flex;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  height: 42px;
  color: var(--text);
}
.ak-search input {
  flex: 1; border: 0; padding: 0 14px; outline: none; min-width: 0;
}
.ak-search select {
  border: 0; background: #f3f3f3; color: #111; padding: 0 8px; max-width: 140px;
  border-right: 1px solid #ddd; border-radius: 8px 0 0 8px;
}
.ak-search button {
  width: 48px; border: 0; background: var(--amber); color: var(--ink); cursor: pointer;
}
.ak-searchbtn { display: none; }

.ak-iconbtn {
  background: transparent; border: 0; color: #fff; cursor: pointer; padding: 6px;
}
.ak-burger { display: none; width: 36px; height: 36px; }
.ak-burger span {
  display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px;
}

.ak-account, .ak-orders, .ak-cart {
  color: #fff; display: flex; align-items: center; gap: 6px;
}
.ak-account small { display: block; font-size: 11px; color: #ddd; font-weight: 400; }
.ak-account strong, .ak-cart span:last-child { font-size: 13px; }
.ak-account span { line-height: 1.15; }

.ak-cartwrap { position: relative; }
.ak-cart { position: relative; }
.ak-cart-count {
  position: absolute; left: 14px; top: -6px;
  background: var(--amber); color: var(--ink);
  border-radius: 10px; min-width: 18px; height: 18px;
  font-size: 11px; font-weight: 700;
  display: grid; place-items: center; padding: 0 4px;
}
.ak-minicart {
  display: none;
  position: absolute; right: 0; top: calc(100% + 8px);
  width: 320px; background: #fff; color: var(--text);
  border-radius: 10px; box-shadow: 0 8px 28px rgba(0,0,0,.18);
  padding: 14px; z-index: 20;
}
.ak-cartwrap:hover .ak-minicart,
.ak-cartwrap:focus-within .ak-minicart,
.ak-cartwrap.is-open .ak-minicart { display: block; }
.ak-minicart__list { list-style: none; margin: 0 0 10px; padding: 0; }
.ak-minicart__list li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ak-minicart__list img { width: 52px; height: 52px; object-fit: contain; background: #fafafa; }
.ak-minicart__list a { color: var(--text); font-weight: 600; }
.ak-minicart__list small { display: block; color: var(--muted); font-weight: 400; }
.ak-minicart__empty { margin: 0 0 10px; }
.ak-minicart__total { display: flex; justify-content: space-between; margin: 8px 0; }
.ak-minicart__actions { display: flex; gap: 8px; }
.ak-minicart__actions .ak-btn { flex: 1; text-align: center; }
.ak-minicart__more { color: var(--muted); font-size: 12px; }

.ak-cats { background: var(--ink-2); }
.ak-cats__in { display: flex; gap: 4px; overflow-x: auto; min-height: 40px; align-items: center; }
.ak-cats a {
  color: #fff; padding: 8px 12px; white-space: nowrap; font-size: 14px; border-radius: 4px;
}
.ak-cats a:hover { background: rgba(255,255,255,.08); }

/* Hero */
.ak-hero { position: relative; color: #fff; overflow: hidden; min-height: 280px; }
.ak-hero__slide {
  display: none; min-height: 280px;
  background: radial-gradient(circle at 80% 20%, #f4a261, transparent 40%), linear-gradient(120deg, #7f1d1d, #9a3412 55%, #c2410c);
}
.ak-hero__slide:nth-child(2) {
  background: radial-gradient(circle at 85% 10%, #93c5fd, transparent 36%), linear-gradient(120deg, #0f172a, #1e3a8a 60%, #1d4ed8);
}
.ak-hero__slide:nth-child(3) {
  background: radial-gradient(circle at 80% 30%, #fde68a, transparent 35%), linear-gradient(120deg, #14532d, #166534 50%, #ca8a04);
}
.ak-hero__slide.is-on { display: block; }
.ak-hero__in { padding: 54px 0 48px; max-width: 640px; }
.ak-hero__kicker { letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.ak-hero h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin-bottom: 10px; }
.ak-hero p { font-size: 16px; max-width: 460px; }
.ak-hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 72px; border: 0; background: rgba(255,255,255,.85);
  color: var(--ink); font-size: 28px; cursor: pointer;
}
.ak-hero__prev { left: 0; border-radius: 0 6px 6px 0; }
.ak-hero__next { right: 0; border-radius: 6px 0 0 6px; }

/* Categories */
.ak-catrow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  background: #fff;
  margin-top: -28px;
  position: relative;
  border-radius: 10px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.ak-cat { text-align: center; color: var(--text); }
.ak-cat__img {
  width: 76px; height: 76px; margin: 0 auto 8px; border-radius: 50%;
  overflow: hidden; background: #f6f6f6; display: grid; place-items: center;
  border: 1px solid var(--line); font-weight: 700; font-size: 22px; color: var(--ink-2);
}
.ak-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.ak-cat strong { font-size: 13px; font-weight: 600; }

/* Panels and cards */
.ak-panel {
  background: #fff; border-radius: 8px; padding: 16px; margin-top: 16px;
}
.ak-panel__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.ak-panel__head h2 { margin: 0; font-size: 22px; }
.ak-panel__head a { color: var(--blue); font-weight: 600; }
.ak-kicker { margin: 4px 0 0; color: #c2410c; font-weight: 700; font-size: 13px; }

.ak-grid,
ul.products.ak-grid,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.products li.product,
.ak-grid > li {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

.ak-card {
  background: #fff; border: 1px solid #f0f0f0; border-radius: 6px;
  display: flex; flex-direction: column; min-width: 0; height: 100%;
  transition: box-shadow .15s ease;
}
.ak-card:hover { box-shadow: var(--shadow); }
.ak-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}
.woocommerce ul.products li.product a.ak-card__media img,
.ak-card__media img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px) !important;
  height: calc(100% - 24px) !important;
  max-width: none;
  margin: 0 !important;
  object-fit: contain;
  object-position: center;
}
.ak-badge {
  position: absolute; left: 8px; top: 8px; z-index: 2;
  background: var(--green); color: #fff; font-size: 12px; font-weight: 700;
  padding: 3px 7px; border-radius: 3px;
}
.ak-assured {
  position: absolute; right: 8px; top: 8px; z-index: 2;
  background: var(--ink); color: #ffe08a; font-size: 10px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; padding: 3px 6px; border-radius: 3px;
}
.ak-card__body { padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ak-card__title {
  font-weight: 500; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.6em;
}
.ak-card__title:hover { color: var(--blue); }
.ak-card__rate { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; min-height: 16px; }
.ak-card__price { font-weight: 700; font-size: 16px; }
.ak-card__price del, .ak-priceblock del { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 6px; }
.ak-card__price ins, .ak-priceblock ins { text-decoration: none; }
.ak-card__act { margin-top: auto; }

.ak-stars { position: relative; display: inline-block; color: #e0e0e0; letter-spacing: 1px; font-size: 13px; line-height: 1; }
.ak-stars::before { content: "★★★★★"; }
.ak-stars > span { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #ffb400; width: 0; }
.ak-stars > span::before { content: "★★★★★"; }

.ak-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 4px; padding: 10px 16px; font-weight: 600;
  cursor: pointer; text-align: center; line-height: 1.2;
}
.ak-btn--cart, a.ak-btn--cart { background: var(--yellow); color: #111; }
.ak-btn--buy, button.ak-btn--buy { background: var(--orange); color: #111; }
.ak-btn--ghost { background: #fff; color: var(--blue); border: 1px solid #d0d5dd; }
.ak-btn:hover { filter: brightness(.97); }
.add_to_cart_button.loading { opacity: .65; }
a.added_to_cart { display: block; margin-top: 6px; color: var(--blue); font-size: 12px; font-weight: 600; }

.ak-trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 28px;
}
.ak-trust article { background: #fff; border-radius: 8px; padding: 14px; }
.ak-trust strong { display: block; margin-bottom: 4px; }
.ak-trust span { color: var(--muted); font-size: 13px; }

/* Shop */
.ak-shop { padding: 16px 0 40px; }
.ak-crumbs { font-size: 13px; color: var(--muted); margin: 8px 0 12px; }
.ak-crumbs a { color: var(--blue); }
.ak-crumb-sep { margin: 0 6px; }
.ak-shop__head h1 { font-size: 24px; margin-bottom: 4px; }
.ak-shop__desc { color: var(--muted); margin-bottom: 12px; }
.ak-shop__layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 16px; align-items: start; }
.ak-filters { background: #fff; border-radius: 8px; padding: 14px; position: sticky; top: 120px; }
.ak-filters h2 { font-size: 14px; margin: 12px 0 8px; }
.ak-filters h2:first-child { margin-top: 0; }
.ak-filters ul { list-style: none; margin: 0; padding: 0; }
.ak-filters a { display: flex; justify-content: space-between; padding: 6px 0; color: var(--text); }
.ak-filters a.is-on { color: var(--blue); font-weight: 700; }
.ak-filters small { color: var(--muted); }
.ak-clear { display: inline-block; margin-top: 10px; color: var(--blue); font-weight: 600; }
.ak-toolbar {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  background: #fff; border-radius: 8px; padding: 8px 12px; margin-bottom: 12px;
}
.woocommerce-result-count { margin: 0 auto 0 0; color: var(--muted); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select {
  border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; background: #fff;
}
.ak-filter-toggle { display: none; }
.ak-empty { background: #fff; padding: 28px; border-radius: 8px; }
.woocommerce-pagination { margin-top: 16px; }
.woocommerce-pagination ul { display: flex; gap: 6px; list-style: none; padding: 0; }
.woocommerce-pagination a, .woocommerce-pagination span {
  display: grid; place-items: center; min-width: 36px; height: 36px;
  background: #fff; border-radius: 6px; border: 1px solid var(--line);
}
.woocommerce-pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Product page */
.ak-pdp-page { padding: 12px 0 40px; }
.ak-pdp__top {
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
  gap: 28px;
  background: #fff;
  border-radius: 8px;
  padding: 18px;
}
.ak-pdp__gallery { position: relative; }
.ak-pdp__gallery .ak-badge { left: 12px; top: 12px; }
.woocommerce div.product div.images,
.woocommerce-product-gallery { width: 100% !important; float: none !important; opacity: 1 !important; }
.woocommerce-product-gallery__image img { width: 100%; object-fit: contain; background: #fff; }
.ak-pdp__info .product_title { font-size: 24px; margin-bottom: 8px; }
.ak-pdp__rate { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ak-pdp__rate a { color: var(--blue); }
.ak-priceblock .price, .ak-priceblock > .price { font-size: 28px; font-weight: 700; }
.ak-off { color: var(--green); font-weight: 700; margin-left: 8px; font-size: 16px; }
.ak-mrp-note { color: var(--muted); font-size: 12px; }
.ak-pdp__info .woocommerce-product-details__short-description { color: #333; }
.ak-pdp form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0; }
.ak-pdp form.cart .quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.ak-pdp form.cart .qty {
  width: 48px; border: 0; text-align: center; height: 44px; -moz-appearance: textfield;
}
.ak-pdp form.cart .qty::-webkit-outer-spin-button,
.ak-pdp form.cart .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ak-qty { width: 32px; height: 44px; border: 0; background: #f3f4f6; cursor: pointer; font-size: 18px; }
.ak-pdp .single_add_to_cart_button,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
  background: var(--yellow) !important; color: #111 !important; border-radius: 4px !important;
  font-weight: 700; min-height: 44px; padding: 10px 18px; border: 0;
}
.ak-pdp .ak-btn--buy { min-height: 44px; min-width: 140px; }
table.variations { width: 100%; margin-bottom: 8px; }
table.variations td, table.variations th { padding: 4px 8px 4px 0; text-align: left; }
table.variations select, .ak-native-select {
  border: 1px solid var(--line); border-radius: 6px; padding: 8px;
}
.ak-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ak-pills button {
  border: 1px solid #c5c5c5; background: #fff; border-radius: 4px; min-width: 42px; padding: 8px 10px; cursor: pointer;
}
.ak-pills button.is-on { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.ak-native-select.is-hidden { position: absolute; opacity: 0; pointer-events: none; height: 0; }

.ak-delivery { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.ak-pdp .stock { color: var(--green); font-weight: 700; margin: 0 0 8px; }
.ak-stock { font-weight: 700; margin-bottom: 4px; }
.ak-stock.is-in { color: var(--green); }
.ak-stock.is-out { color: #b91c1c; }
.ak-soldby { margin: 0 0 10px; }
.ak-pin label { display: block; font-weight: 600; margin-bottom: 6px; }
.ak-pin div { display: flex; gap: 8px; }
.ak-pin input { border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; width: 140px; }
.ak-pin button { border: 0; background: var(--ink); color: #fff; border-radius: 4px; padding: 8px 12px; cursor: pointer; }
.ak-pin__msg { color: var(--muted); font-size: 13px; }
.ak-offers { margin: 10px 0 0; padding-left: 18px; }
.ak-offers li { margin: 4px 0; }
.product_meta { color: var(--muted); font-size: 13px; margin-top: 12px; }
.product_meta a { color: var(--blue); }

.ak-pdp__lower { margin-top: 16px; }
.woocommerce-tabs { background: #fff; border-radius: 8px; padding: 8px 16px 16px; }
.woocommerce-tabs ul.tabs { display: flex; gap: 8px; list-style: none; padding: 0; border-bottom: 1px solid var(--line); margin: 0 0 12px; }
.woocommerce-tabs ul.tabs li { background: transparent; border: 0; margin: 0; padding: 0; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 8px; font-weight: 600; color: var(--muted); }
.woocommerce-tabs ul.tabs li.active a { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
.woocommerce-tabs .panel { margin: 0; }
.ak-specs { width: 100%; border-collapse: collapse; max-width: 560px; }
.ak-specs th, .ak-specs td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.ak-specs th { width: 40%; color: var(--muted); font-weight: 600; }
.woocommerce-Tabs-panel h2 { font-size: 18px; }
.related, .upsells { margin-top: 16px; }
.related > h2, .upsells > h2 { font-size: 20px; }

/* Cart, checkout, account */
.ak-page { padding: 18px 0 48px; }
.ak-page__title { font-size: 26px; margin-bottom: 12px; }
.ak-prose, .is-commerce .woocommerce {
  background: #fff; border-radius: 8px; padding: 20px;
}
.ak-contact-desk {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin: 12px 0 18px;
}
.ak-contact-desk h2 { margin-bottom: 6px; }
.ak-auth-wrap { max-width: 480px; margin: 24px auto 40px; }
.ak-auth {
  background: #fff; border-radius: 8px; padding: 24px; display: grid; gap: 12px;
}
.ak-auth h1 { margin: 0; font-size: 28px; }
.ak-auth p { margin: 0; }
.ak-auth label { display: block; font-weight: 600; }
.ak-auth input[type="text"],
.ak-auth input[type="email"],
.ak-auth input[type="password"],
.ak-auth input[type="tel"] {
  width: 100%; margin-top: 4px; border: 1px solid #cfd4da; border-radius: 6px; padding: 12px; font-size: 16px;
}
.ak-auth .ak-check { font-weight: 500; display: flex; gap: 8px; align-items: center; }
.ak-auth .ak-btn { width: 100%; min-height: 48px; }
.ak-auth__links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ak-auth__links a { color: var(--blue); font-weight: 600; }
.ak-hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.ak-pass__row { position: relative; display: block; }
.ak-auth .ak-pass__row { margin-top: 4px; }
.ak-auth .ak-pass__row input { margin-top: 0; padding-right: 72px; }
.ak-pass__row > input { padding-right: 72px; }
.ak-pass__toggle {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--blue); font-weight: 700;
  font-size: 13px; cursor: pointer; padding: 8px; min-width: 56px; line-height: 1;
}
.ak-pass__toggle:hover, .ak-pass__toggle:focus-visible { text-decoration: underline; outline: none; }
.ak-desk__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.ak-desk__stat {
  display: flex; flex-direction: column; gap: 4px; background: #fafafa;
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; color: inherit;
}
.ak-desk__stat strong { font-size: 22px; line-height: 1.1; }
.ak-desk__stat span { color: var(--muted); font-size: 12px; }
.ak-desk__stat.is-on { border-color: var(--ink); background: #fff; }
.ak-desk__bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 12px; }
.ak-desk__bar input[type="search"] {
  border: 1px solid #cfd4da; border-radius: 6px; padding: 8px 10px; min-width: 180px;
}
.ak-desk__filters { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.ak-desk__filters a {
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; background: #fff;
}
.ak-desk__filters a.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ak-desk-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ak-desk-table th, .ak-desk-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ak-desk-table th { font-size: 12px; color: var(--muted); font-weight: 700; }
.ak-desk-table a { color: var(--blue); font-weight: 700; }
.ak-badge {
  display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #f3f4f6; color: #374151;
}
.ak-badge--processing, .ak-badge--wc-processing { background: #e8f4ff; color: #146eb4; }
.ak-badge--completed, .ak-badge--wc-completed { background: #e7f6ec; color: #067d3a; }
.ak-badge--pending, .ak-badge--wc-pending { background: #fff6e0; color: #9a6700; }
.ak-badge--on-hold, .ak-badge--wc-on-hold { background: #f3f4f6; color: #374151; }
.ak-badge--cancelled, .ak-badge--failed, .ak-badge--refunded,
.ak-badge--wc-cancelled, .ak-badge--wc-failed, .ak-badge--wc-refunded { background: #fde8e8; color: #b12704; }
.ak-desk__grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 16px; }
.ak-desk__card { border: 1px solid var(--line); border-radius: 8px; padding: 14px; margin-bottom: 12px; }
.ak-desk__card h3 { margin: 0 0 8px; font-size: 16px; }
.ak-desk__head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.ak-desk__head h2 { margin: 0; }
.ak-desk__pages { display: flex; gap: 8px; margin-top: 12px; }
.ak-desk__pages a, .ak-desk__pages span { padding: 6px 10px; border-radius: 6px; background: #fafafa; border: 1px solid var(--line); }
.ak-desk__pages .is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ak-desk-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ak-desk-notes li { font-size: 13px; }
.ak-desk-notes time { display: block; color: var(--muted); font-size: 12px; }
@media (max-width: 760px) {
  .ak-auth { padding: 16px; }
  .ak-auth h1 { font-size: 24px; }
}
.ak-prose h1 { font-size: 28px; margin-top: 0; }
.ak-prose h2 { font-size: 18px; margin-top: 22px; }
.is-commerce { background: transparent; padding: 0; }
.is-commerce .woocommerce { background: transparent; padding: 0; }

.woocommerce table.shop_table {
  background: #fff; border-radius: 8px; border-collapse: collapse; overflow: hidden; width: 100%;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td {
  border-top: 1px solid var(--line); padding: 14px;
}
.woocommerce table.shop_table img { width: 80px; height: 80px; object-fit: contain; }
.woocommerce a.remove { color: #b91c1c !important; font-size: 18px; }

body.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px 24px;
  align-items: start;
}
body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error { grid-column: 1 / -1; }
body.woocommerce-cart .woocommerce-cart-form { grid-column: 1; grid-row: 2; min-width: 0; }
body.woocommerce-cart .cart-collaterals {
  display: contents;
}
body.woocommerce-cart .cart_totals {
  grid-column: 2;
  grid-row: 2;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 16px 16px;
}
body.woocommerce-cart .cross-sells {
  grid-column: 1 / -1;
  grid-row: 3;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
}
body.woocommerce-cart .cross-sells > h2 { margin: 0 0 12px; font-size: 20px; }
body.woocommerce-cart .cross-sells ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
body.woocommerce-cart .cross-sells ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}
body.woocommerce-cart table.shop_table { background: #fff; }
body.woocommerce-cart td.product-name a { color: #007185; font-weight: 500; }
body.woocommerce-cart td.product-name { min-width: 160px; }
body.woocommerce-cart .quantity .qty {
  width: 68px;
  height: 36px;
  border: 1px solid #888;
  border-radius: 8px;
  text-align: center;
  background: #fff;
  color: #111;
  font-size: 16px;
}
body.woocommerce-cart .coupon { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
body.woocommerce-cart .coupon .input-text { width: 160px; margin: 0; }
body.woocommerce-cart button[name="update_cart"] { float: right; }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.ak-form input, .ak-form textarea {
  width: 100%; border: 1px solid #cfd4da; border-radius: 6px; padding: 10px 12px; background: #fff;
}
.woocommerce form .form-row label, .ak-form label { display: block; font-weight: 600; margin: 10px 0 4px; }
.ak-form { max-width: 560px; }
.ak-form--inline { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; max-width: none; }
.ak-form--inline label { flex: 1; min-width: 180px; }
.ak-alert { background: #fff4f4; border: 1px solid #fecaca; padding: 10px 12px; border-radius: 6px; }
.ak-alert--ok { background: #f0fdf4; border-color: #bbf7d0; }
.ak-track { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px; margin-top: 14px; }

.ak-co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 16px; align-items: start; }
.ak-steps { display: flex; gap: 8px; list-style: none; margin: 0 0 12px; padding: 0; }
.ak-steps li { flex: 1; }
.ak-steps button {
  width: 100%; border: 0; background: #fff; border-radius: 8px; padding: 10px 8px;
  font-weight: 700; cursor: pointer; color: #555;
}
.ak-steps .is-on button { background: var(--ink); color: #fff; }
.ak-step[hidden] { display: none !important; }
.ak-step h2, .ak-co__sum h2 { margin: 0 0 10px; font-size: 20px; }
.ak-step__nav { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.ak-step__note { color: var(--muted); font-size: 13px; }
.ak-co__sum { background: #fff; border-radius: 8px; padding: 16px; position: sticky; top: 96px; }
.ak-co .form-row { margin-bottom: 10px; }
.ak-co .woocommerce-checkout-review-order-table { width: 100%; }
#customer_details .col-1, #customer_details .col-2 { float: none; width: 100%; }
.ak-upi-pay {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}
.ak-upi-pay__qr {
  width: 200px;
  height: 200px;
  background: #fff;
}
.ak-upi-pay__qr svg { width: 100%; height: 100%; display: block; }
.ak-upi-pay h2 { margin: 0 0 8px; font-size: 22px; }
.ak-upi-apps { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.wc_payment_methods { list-style: none; margin: 0 0 12px; padding: 0; }
.wc_payment_method { border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin: 0 0 8px; }
.wc_payment_method label { font-weight: 700; cursor: pointer; }
.wc_payment_method:has(input:checked) { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.payment_box input, .payment_box select { width: 100%; max-width: 100%; }
#place_order { width: 100%; min-height: 48px; background: var(--orange) !important; color: #111 !important; font-size: 16px; }
.ak-co input, .ak-co select, .ak-co textarea { font-size: 16px; }
body.logged-in.woocommerce-account .woocommerce {
  display: grid !important;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  align-items: start;
  background: transparent;
  padding: 0;
}
body.woocommerce-account .woocommerce::before,
body.woocommerce-account .woocommerce::after { display: none !important; content: none !important; }
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
.woocommerce-MyAccount-navigation {
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  position: sticky;
  top: 96px;
}
.woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce-MyAccount-navigation li { margin: 0; }
.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 600;
  color: #212121;
}
.woocommerce-MyAccount-navigation a:hover { background: #f3f4f6; }
.woocommerce-MyAccount-navigation .is-active a,
.woocommerce-MyAccount-navigation .is-active a:hover { background: var(--ink); color: #fff; }
.woocommerce-MyAccount-content {
  background: #fff;
  border-radius: 8px;
  padding: 20px 24px;
  min-width: 0;
}
.woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.woocommerce-MyAccount-content table.shop_table { width: 100%; }
.woocommerce-MyAccount-content .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.woocommerce-MyAccount-content .col-1,
.woocommerce-MyAccount-content .col-2 { float: none; width: auto; }
.ak-acct__hello { font-size: 22px; font-weight: 700; margin: 0 0 4px; }
.ak-acct__role { margin: 0 0 14px; color: var(--muted); font-size: 13px; font-weight: 600; }
.ak-form .ak-check { font-weight: 600; display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.ak-pay { display: grid; gap: 12px; }
.ak-pay details { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: #fafafa; }
.ak-pay summary { cursor: pointer; font-weight: 700; }
.ak-pay__on { color: var(--green); font-size: 12px; font-weight: 700; margin-left: 8px; }
.ak-backup-list { display: grid; gap: 10px; margin: 12px 0; }
.ak-backup-list article {
  display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 8px; padding: 12px;
}
.ak-acct__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ak-acct__tile {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  min-height: 112px; border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: #fafafa;
}
.ak-acct__tile strong { font-size: 16px; }
.ak-acct__tile span { color: var(--muted); font-size: 13px; line-height: 1.4; }
body.woocommerce-account:not(.logged-in) .ak-page__inner { max-width: 520px; }
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review { background: transparent; padding: 0; }

.ak-page { padding: 18px 0 48px; }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
  background: #fff; border-top: 3px solid var(--blue); padding: 12px 16px; list-style: none;
}
.woocommerce-error { border-top-color: var(--red); }
.woocommerce-message { border-top-color: var(--green); }
.woocommerce-form-login, .woocommerce-form-register { border: 0; padding: 0; margin: 0; }

/* Footer */
.ak-backtop {
  display: block; text-align: center; background: #37475a; color: #fff; padding: 14px; font-weight: 600;
}
.ak-backtop:hover { background: #485769; }
.ak-footer { background: var(--ink-2); color: #ddd; padding-top: 28px; }
.ak-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; padding-bottom: 24px; }
.ak-footer strong { display: block; color: #fff; margin-bottom: 8px; }
.ak-footer a { display: block; padding: 4px 0; color: #ddd; }
.ak-footer a:hover { text-decoration: underline; }
.ak-footer p { color: #c5c9ce; font-size: 13px; }
.ak-footer__base { background: var(--ink); color: #999; padding: 14px 0; font-size: 12px; }

@media (max-width: 980px) {
  .ak-trust, .ak-footer__grid { grid-template-columns: 1fr 1fr; }
  .ak-shop__layout { grid-template-columns: 1fr; }
  .ak-filters { display: none; position: static; }
  .ak-filters.is-open { display: block; }
  .ak-filter-toggle { display: inline-flex; margin-right: auto; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; cursor: pointer; }
  .ak-co, .ak-acct__grid { grid-template-columns: 1fr; }
  .ak-co__sum { position: static; order: -1; }
  .ak-pdp__top { grid-template-columns: 1fr; }
}

.ak-drawer { display: none; background: #fff; color: var(--text); }
.ak-drawer a { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 600; }
.ak-tabbar { display: none; }

.ak-home { padding-top: 12px; }
.ak-mosaic, .ak-quads {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px;
}
.ak-dealcard {
  border-radius: 6px; padding: 14px 14px 12px; min-height: 320px;
  display: flex; flex-direction: column; color: #111;
}
.ak-dealcard h2 { font-size: 22px; line-height: 1.15; margin: 0 0 4px; }
.ak-dealcard p { margin: 0 0 10px; font-size: 13px; }
.ak-dealcard--rose { background: #f76b8a; }
.ak-dealcard--green { background: #3d8c40; color: #fff; }
.ak-dealcard--green p, .ak-dealcard--sky p { color: inherit; }
.ak-dealcard--sand { background: #f4efe6; }
.ak-dealcard--sky { background: #d6ebff; }
.ak-dealcard__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.ak-dealcard__grid a { background: rgba(255,255,255,.72); border-radius: 4px; overflow: hidden; aspect-ratio: 1; display: block; }
.ak-dealcard__grid img { width: 100%; height: 100%; object-fit: cover; }
.ak-dealcard__more { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; }
.ak-dealcard--green .ak-dealcard__more { color: #fff; }
.ak-quad { background: #fff; border-radius: 4px; padding: 14px 14px 16px; }
.ak-quad h2 { font-size: 20px; margin: 0 0 12px; }
.ak-quad h2 a { display: flex; justify-content: space-between; align-items: center; }
.ak-quad__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; }
.ak-quad__grid a { color: #111; font-size: 12px; line-height: 1.3; }
.ak-quad__grid img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f7f8f8; border-radius: 4px; display: block; margin-bottom: 4px; }

.ak-manage { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; margin-bottom: 16px; }
.ak-manage__card { background: #fff; border-radius: 8px; padding: 16px; }
.ak-manage__card h2 { margin-bottom: 6px; font-size: 18px; }
.ak-form select { width: 100%; border: 1px solid #cfd4da; border-radius: 6px; padding: 10px 12px; background: #fff; }
.ak-form__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ak-price-list { display: grid; gap: 10px; margin: 12px 0; }
.ak-price-list article {
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto 110px 110px; gap: 10px; align-items: end;
  border: 1px solid var(--line); border-radius: 8px; padding: 10px;
}
.ak-price-list strong { grid-column: 1; }
.ak-price-list a { color: var(--blue); font-size: 13px; font-weight: 600; }
.ak-price-list label { font-size: 12px; font-weight: 600; }
.ak-price-list input { width: 100%; margin-top: 4px; border: 1px solid #cfd4da; border-radius: 6px; padding: 8px; }

@media (max-width: 1100px) and (min-width: 761px) {
  .ak-grid, ul.products, ul.products.ak-grid,
  .ak-mosaic, .ak-quads {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .ak-pdp__top { grid-template-columns: minmax(240px, 1fr) minmax(0, 1fr); }
  .ak-hero h1 { font-size: 32px; }
  .ak-trust { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body.ak-market { padding-bottom: 64px; }
  .ak-topline nav, .ak-account span, .ak-orders, .ak-loc, .ak-search select, .ak-cart > span:last-child { display: none; }
  .ak-logo small { display: none; }
  .ak-logo img { height: 36px; }
  .ak-burger, .ak-searchbtn { display: inline-block; }
  .ak-search { display: none; }
  body.ak-searchopen .ak-search {
    display: flex; position: absolute; left: 8px; right: 8px; top: 58px; z-index: 30;
    box-shadow: var(--shadow);
  }
  .ak-cats__in { padding-bottom: 4px; }
  .ak-cats a { padding: 10px 12px; }
  body.ak-navopen .ak-drawer { display: block; }
  .ak-trust, .ak-footer__grid, .ak-manage, .ak-mosaic, .ak-quads,
  .ak-desk__stats, .ak-desk__grid { grid-template-columns: 1fr; }
  .ak-desk-table { display: block; overflow-x: auto; }
  .ak-hero { min-height: 0; }
  .ak-hero__slide, .ak-hero__in { min-height: 0; }
  .ak-hero__in { padding: 28px 36px 24px; max-width: none; }
  .ak-hero h1 { font-size: 26px; }
  .ak-hero__nav { width: 28px; height: 44px; font-size: 20px; top: 42%; }
  .ak-catrow {
    display: flex; overflow-x: auto; margin-top: 12px; gap: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .ak-cat { flex: 0 0 92px; }
  .ak-grid, ul.products, ul.products.ak-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }
  .ak-upi-pay { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .ak-upi-apps { justify-content: center; }
  .ak-card__body { padding: 4px 8px 8px; }
  .ak-card__title { font-size: 13px; min-height: 2.5em; }
  .ak-card__price { font-size: 14px; }
  .ak-card__act .ak-btn, .ak-card__act .add_to_cart_button { width: 100%; padding: 8px 6px; font-size: 12px; }
  .ak-panel { padding: 12px 8px; }
  .ak-panel__head h2 { font-size: 18px; }
  .ak-pdp__top { padding: 12px; gap: 12px; }
  .ak-pdp__info .product_title { font-size: 20px; }
  .ak-priceblock .price, .ak-priceblock > .price { font-size: 24px; }
  .ak-pdp form.cart { flex-direction: column; align-items: stretch; }
  .ak-pdp form.cart .quantity { width: 100%; justify-content: center; }
  .ak-pdp .single_add_to_cart_button, .ak-pdp .ak-btn--buy { width: 100%; }
  .ak-pin div { flex-wrap: wrap; }
  .ak-pin input { flex: 1; width: auto; }
  .ak-toolbar { flex-wrap: wrap; }
  .woocommerce-result-count { width: 100%; }
  body.woocommerce-cart table.shop_table thead { display: none; }
  body.woocommerce-cart table.shop_table,
  body.woocommerce-cart table.shop_table tbody,
  body.woocommerce-cart table.shop_table tr,
  body.woocommerce-cart table.shop_table td { display: block; width: 100% !important; }
  body.woocommerce-cart table.shop_table tr {
    margin-bottom: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 0;
  }
  body.woocommerce-cart table.shop_table td { border: 0; text-align: left !important; }
  .ak-co__sum table.shop_table,
  .ak-co__sum table.shop_table tbody,
  .ak-co__sum table.shop_table tr { display: table; width: 100%; }
  .ak-co__sum table.shop_table tr { display: table-row; margin: 0; border: 0; padding: 0; }
  .ak-co__sum table.shop_table th,
  .ak-co__sum table.shop_table td { display: table-cell; width: auto !important; border-top: 1px solid var(--line); }
  body.woocommerce-cart .woocommerce { grid-template-columns: 1fr; }
  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart_totals,
  body.woocommerce-cart .cross-sells { grid-column: 1; grid-row: auto; position: static; }
  body.woocommerce-cart .cross-sells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce-cart .cart_totals { width: 100%; }
  .ak-form__row, .ak-price-list article { grid-template-columns: 1fr 1fr; }
  .ak-price-list strong { grid-column: 1 / -1; }
  body.logged-in.woocommerce-account .woocommerce { grid-template-columns: 1fr !important; }
  .woocommerce-MyAccount-navigation { position: static; }
  .woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .woocommerce-MyAccount-navigation li { flex: 0 0 auto; }
  .woocommerce-MyAccount-navigation a { white-space: nowrap; }
  .ak-acct__grid,
  .woocommerce-MyAccount-content .col2-set { grid-template-columns: 1fr; }
  .ak-steps button { font-size: 12px; padding: 8px 4px; }
  .ak-co__sum { order: -1; }
  #place_order { position: sticky; bottom: 72px; z-index: 5; }
  .ak-minicart { position: fixed; left: 8px; right: 8px; top: auto; bottom: 72px; width: auto; }
  .ak-tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: #fff; border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .ak-tabbar a, .ak-tabbar button {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
    background: transparent; border: 0; color: #616161; font-size: 11px; font-weight: 600; padding: 4px 0; cursor: pointer;
  }
  .ak-tabbar .is-on { color: var(--blue); }
  .ak-tabbar .ak-cart-count { left: 50%; top: 0; margin-left: 6px; }
  .ak-topline p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
