:root {
  --ci-emerald: #065f46;
  --ci-emerald-dark: #043e30;
  --ci-mint: #a7f3d0;
  --ci-bg: #f7faf6;
  --ci-paper: #fff;
  --ci-ink: #063f32;
  --ci-muted: #5b7568;
  --ci-subtle: #a0a6a3;
  --ci-line: rgba(6, 95, 70, .16);
  --ci-price: #067064;
  --ci-discount-bg: #ffe4e6;
  --ci-discount: #be123c;
  --ci-radius: 8px;
  --ci-content: 1180px;
  --ci-shadow: 0 8px 22px rgba(4, 62, 48, .08);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--ci-bg);
  color: var(--ci-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body.admin-bar .ci-mobile-topbar {
  top: 32px;
}

a {
  color: var(--ci-emerald);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

:focus-visible {
  outline: 3px solid rgba(6, 95, 70, .32);
  outline-offset: 2px;
}

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

.ci-site-header,
.ci-site-footer,
.ci-content-shell {
  width: min(100%, var(--ci-content));
  margin-inline: auto;
}

.ci-site-header {
  min-height: 76px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--ci-paper);
  border-bottom: 1px solid var(--ci-line);
}

.ci-site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ci-ink);
  text-decoration: none;
}

.ci-site-brand strong,
.ci-site-brand small {
  display: block;
}

.ci-site-brand small {
  color: var(--ci-muted);
  font-size: 12px;
}

.ci-site-mark,
.ci-shop-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ci-emerald);
  color: #fff;
  font-weight: 850;
}

.ci-site-nav ul,
.ci-site-footer ul {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  list-style: none;
}

.ci-content-band {
  margin: 20px;
  padding: clamp(20px, 4vw, 48px);
  background: var(--ci-paper);
  border: 1px solid var(--ci-line);
  border-radius: var(--ci-radius);
}

.ci-entry h1 {
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.15;
}

.ci-site-footer {
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
  color: var(--ci-muted);
  font-size: 13px;
}

body.ci-sandbox-page {
  padding-bottom: env(safe-area-inset-bottom);
}

.ci-sandbox-shell {
  width: min(100%, var(--ci-content));
  min-height: 100vh;
  margin-inline: auto;
  background: var(--ci-paper);
}

.ci-mobile-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 54px;
  padding: 5px 10px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px 44px;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--ci-line);
}

.ci-icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ci-line);
  border-radius: 50%;
  color: var(--ci-ink);
  background: var(--ci-paper);
}

.ci-icon-btn svg,
.ci-top-search svg {
  width: 19px;
  height: 19px;
}

.ci-top-search {
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ci-line);
  border-radius: 23px;
  background: var(--ci-bg);
}

.ci-top-search input[type="search"] {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ci-ink);
  font-size: 12px;
  font-weight: 700;
}

.ci-shop-head {
  padding: 18px 16px;
  border-bottom: 1px solid var(--ci-line);
}

.ci-shop-store {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ci-shop-store strong,
.ci-shop-store span {
  display: block;
}

.ci-shop-store strong {
  font-size: 17px;
}

.ci-shop-store span {
  margin-top: 2px;
  color: var(--ci-muted);
  font-size: 12px;
  font-weight: 700;
}

.ci-shop-chips {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ci-shop-chips::-webkit-scrollbar {
  display: none;
}

.ci-shop-chips a {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--ci-line);
  border-radius: 22px;
  color: var(--ci-ink);
  background: var(--ci-paper);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.ci-shop-chips a.is-active {
  border-color: var(--ci-emerald);
  background: var(--ci-emerald);
  color: #fff;
}

.ci-sandbox-grid {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ci-sandbox-card {
  min-width: 0;
  min-height: 390px;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--ci-line);
  border-radius: var(--ci-radius);
  background: var(--ci-paper);
}

.ci-card-image {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ci-bg);
}

.ci-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ci-card-body {
  min-width: 0;
  padding: 12px;
  display: grid;
  grid-template-rows: 44px minmax(58px, auto) 26px 44px;
  gap: 8px;
}

.ci-card-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--ci-ink);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.42;
  font-weight: 800;
}

.ci-card-price {
  min-width: 0;
  align-self: start;
  display: flex;
  align-items: flex-end;
  align-content: flex-start;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--ci-price);
}

.ci-card-price strong,
.ci-card-price .price {
  min-width: 0;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
}

.ci-card-price del {
  display: block;
  color: #7b9185;
  font-size: 11px;
  font-weight: 650;
}

.ci-card-price ins {
  text-decoration: none;
}

.ci-discount-pill {
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--ci-discount-bg);
  color: var(--ci-discount);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 850;
}

.ci-card-meta {
  align-self: end;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ci-muted);
  font-size: 12px;
  font-weight: 750;
}

.ci-card-cta,
.ci-bar-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ci-emerald);
  border-radius: var(--ci-radius);
  text-decoration: none;
  text-align: center;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.ci-card-cta {
  align-self: end;
  background: var(--ci-emerald);
  color: #fff;
}

.ci-pagination {
  padding: 8px 16px 28px;
}

.ci-pagination ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
}

.ci-product-layout {
  display: grid;
  gap: 0;
}

.ci-product-gallery {
  padding: 0;
  min-width: 0;
  background: var(--ci-paper);
}

.ci-product-main-image {
  width: 100%;
  height: min(390px, 46vh);
  min-height: 320px;
  display: block;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: var(--ci-paper);
}

.ci-product-thumbnails {
  margin-top: 0;
  padding: 7px 10px 9px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.ci-product-thumbnails button {
  width: 48px;
  height: 48px;
  padding: 0;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--ci-line);
  border-radius: var(--ci-radius);
  background: var(--ci-paper);
  cursor: pointer;
}

.ci-product-thumbnails button.is-active {
  border: 2px solid var(--ci-emerald);
}

.ci-product-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ci-product-panel {
  margin-top: 8px;
  padding: 14px 16px;
  border-top: 1px solid var(--ci-line);
  border-bottom: 1px solid var(--ci-line);
  background: var(--ci-paper);
}

.ci-product-panel h1,
.ci-product-panel h2 {
  margin: 0;
  color: var(--ci-ink);
  line-height: 1.3;
}

.ci-product-panel h1 {
  margin-top: 7px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.32;
  font-weight: 750;
}

.ci-product-panel h2 {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.25;
}

.ci-product-price {
  color: var(--ci-price);
  font-size: 22px;
  line-height: 1.05;
  font-weight: 850;
}

.ci-price-prefix {
  color: var(--ci-muted);
  font-size: 11px;
  font-weight: 750;
}

.ci-product-price del {
  color: #7b9185;
  font-size: 14px;
  font-weight: 650;
}

.ci-product-price ins {
  text-decoration: none;
}

.ci-product-proof {
  margin-top: 8px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--ci-muted);
  border-bottom: 1px solid var(--ci-line);
  font-size: 11.5px;
  font-weight: 750;
}

.ci-product-proof strong {
  color: var(--ci-ink);
  font-size: 17px;
  line-height: 1;
}

.ci-proof-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ci-star,
.ci-rating-total > span:first-child,
.ci-review-stars {
  color: #f7b500;
}

.ci-short-description,
.ci-product-description {
  color: var(--ci-muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.ci-short-description p {
  margin: 9px 0 0;
}

.ci-product-description-lede {
  margin: 0 0 10px;
  color: var(--ci-muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.ci-purchase-panel {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--ci-line);
  border-radius: var(--ci-radius);
  background: var(--ci-bg);
}

.ci-purchase-panel form.cart,
.ci-purchase-panel .woocommerce-variation-add-to-cart {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ci-purchase-panel table.variations {
  width: 100%;
  margin: 0;
  border: 0;
}

.ci-purchase-panel table.variations th,
.ci-purchase-panel table.variations td {
  padding: 5px 0;
  border: 0;
  text-align: left;
}

.ci-purchase-panel select,
.ci-purchase-panel input.qty,
.ci-flow-panel input,
.ci-flow-panel select,
.ci-flow-panel textarea {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--ci-line);
  border-radius: var(--ci-radius);
  background: #fff;
  color: var(--ci-ink);
}

.ci-purchase-panel input.qty {
  width: 72px;
}

.ci-purchase-panel .single_add_to_cart_button,
.ci-flow-panel .button,
.ci-flow-panel button,
.ci-flow-panel .wc-block-components-button {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--ci-emerald);
  border-radius: var(--ci-radius);
  background: var(--ci-emerald);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.ci-spec-list {
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: minmax(100px, .7fr) 1.5fr;
  gap: 8px 12px;
  font-size: 11.5px;
}

.ci-spec-list dt {
  font-weight: 850;
}

.ci-spec-list dd {
  margin: 0;
  color: var(--ci-muted);
}

.ci-description-disclosure {
  margin-top: 14px;
  border-top: 1px solid var(--ci-line);
}

.ci-description-disclosure summary {
  padding: 12px 0 4px;
  color: var(--ci-emerald);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.ci-description-disclosure .ci-product-description {
  padding-top: 8px;
}

.ci-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ci-section-head button,
.ci-section-head a {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ci-emerald);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.ci-rating-total {
  margin: 10px 0 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ci-muted);
  font-size: 13px;
  font-weight: 750;
}

.ci-rating-total > span:first-child,
.ci-rating-total strong {
  font-size: 22px;
  line-height: 1;
}

.ci-rating-total strong {
  color: var(--ci-ink);
}

.ci-inline-review,
.ci-review-card {
  padding: 2px 0 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ci-review-card + .ci-review-card {
  margin-top: 12px;
}

.ci-review-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf3ef;
  color: var(--ci-muted);
  font-weight: 850;
}

.ci-review-content {
  min-width: 0;
  padding: 10px 12px 12px;
  border: 1px solid var(--ci-line);
  border-radius: var(--ci-radius);
  background: var(--ci-paper);
  box-shadow: 0 8px 18px rgba(18, 28, 22, .06);
}

.ci-review-content > strong {
  display: block;
  font-size: 13px;
}

.ci-review-media {
  margin: 10px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ci-review-media a {
  display: block;
}

.ci-review-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  border: 1px solid var(--ci-line);
  border-radius: var(--ci-radius);
}

.ci-review-stars {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 0;
}

.ci-review-stars span {
  margin-left: 8px;
  color: var(--ci-muted);
  font-size: 12px;
  font-weight: 750;
}

.ci-review-variant {
  margin-top: 12px;
  padding-top: 10px;
  overflow: hidden;
  border-top: 1px solid var(--ci-line);
  color: var(--ci-subtle);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ci-review-content p {
  margin: 13px 0 0;
  color: var(--ci-ink);
  font-size: 13.5px;
  line-height: 1.55;
}

.ci-empty-review,
.ci-empty-state {
  min-height: 140px;
  padding: 24px;
  display: grid;
  place-content: center;
  gap: 4px;
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ci-muted);
}

.ci-empty-review strong,
.ci-empty-state strong {
  color: var(--ci-ink);
}

.ci-review-preview .woocommerce-Reviews-title,
.ci-review-preview .woocommerce-noreviews {
  display: none;
}

.ci-review-preview #review_form_wrapper {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--ci-line);
}

.ci-review-preview #reply-title {
  color: var(--ci-ink);
  font-size: 15px;
  font-weight: 850;
}

.ci-review-preview .comment-form-rating,
.ci-review-preview .comment-form-comment {
  display: grid;
  gap: 7px;
  color: var(--ci-muted);
  font-size: 13px;
  font-weight: 750;
}

.ci-review-preview textarea {
  width: 100%;
  min-height: 120px;
  padding: 10px 12px;
  border: 1px solid var(--ci-line);
  border-radius: var(--ci-radius);
}

.ci-review-preview .form-submit input {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--ci-emerald);
  border-radius: var(--ci-radius);
  background: var(--ci-emerald);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.ci-review-sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 120;
  width: min(100%, 640px);
  max-height: 78vh;
  overflow: auto;
  transform: translate(-50%, 105%);
  transition: transform .22s ease;
  border-radius: 18px 18px 0 0;
  background: var(--ci-paper);
  box-shadow: 0 -18px 38px rgba(18, 28, 22, .2);
}

.ci-review-sheet.open {
  transform: translate(-50%, 0);
}

.ci-review-sheet-head {
  position: sticky;
  top: 0;
  min-height: 58px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ci-line);
  background: var(--ci-paper);
}

.ci-review-sheet-head button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--ci-line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.ci-review-sheet-body {
  padding: 14px;
}

.ci-related-grid {
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ci-sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: .7fr 1fr 1.35fr;
  gap: 8px;
  border-top: 1px solid var(--ci-line);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 -8px 22px rgba(18, 28, 22, .08);
}

.ci-sticky-buy-two {
  grid-template-columns: 1fr 1.35fr;
}

.ci-bar-outline,
.ci-bar-soft {
  background: var(--ci-paper);
  color: var(--ci-emerald);
}

.ci-bar-primary {
  background: var(--ci-emerald);
  color: #fff;
}

body.ci-sandbox-product {
  padding-bottom: 72px;
}

.ci-flow-panel {
  min-height: calc(100vh - 54px);
  padding: 20px 16px 100px;
}

.ci-flow-panel > h1 {
  margin: 0 0 18px;
  font-size: 21px;
}

.ci-flow-panel .woocommerce,
.ci-flow-panel .wc-block-cart,
.ci-flow-panel .wc-block-checkout,
.ci-flow-panel form.checkout,
.ci-flow-panel .woocommerce-MyAccount-navigation,
.ci-flow-panel .woocommerce-MyAccount-content,
.ci-flow-panel table.shop_table,
.ci-flow-panel .cart_totals,
.ci-flow-panel #order_review {
  max-width: 100%;
}

.ci-flow-panel table.shop_table,
.ci-flow-panel .cart_totals,
.ci-flow-panel #order_review,
.ci-flow-panel .woocommerce-MyAccount-navigation,
.ci-flow-panel .woocommerce-MyAccount-content,
.ci-flow-panel .wc-block-components-sidebar-layout > div {
  padding: 14px;
  border: 1px solid var(--ci-line);
  border-radius: var(--ci-radius);
  background: var(--ci-paper);
}

.ci-flow-panel table.shop_table {
  width: 100%;
  border-collapse: collapse;
}

.ci-flow-panel table.shop_table th,
.ci-flow-panel table.shop_table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--ci-line);
  text-align: left;
}

.ci-flow-panel .coupon {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ci-flow-panel .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  list-style: none;
}

.ci-flow-panel .woocommerce-MyAccount-navigation a {
  white-space: nowrap;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  margin: 12px 16px;
  padding: 12px 14px;
  border: 1px solid var(--ci-line);
  border-radius: var(--ci-radius);
  background: var(--ci-paper);
  color: var(--ci-ink);
  list-style: none;
}

@media (max-width: 782px) {
  body.admin-bar .ci-mobile-topbar {
    top: 46px;
  }
}

@media (max-width: 390px) {
  .ci-mobile-topbar {
    grid-template-columns: 42px minmax(0, 1fr) 42px 42px;
    gap: 6px;
    padding-inline: 8px;
  }

  .ci-icon-btn {
    width: 42px;
    height: 42px;
  }

  .ci-top-search {
    height: 42px;
    padding-inline: 10px;
  }

  .ci-sandbox-grid {
    gap: 8px;
    padding: 12px;
  }

  .ci-card-body {
    padding: 10px;
  }

  .ci-card-price strong,
  .ci-card-price .price {
    font-size: 15px;
  }
}

@media (min-width: 720px) {
  .ci-sandbox-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 22px;
  }

  .ci-product-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    align-items: start;
  }

  .ci-product-gallery,
  .ci-product-summary {
    padding: 28px;
  }

  .ci-product-summary {
    border-top: 0;
    border-left: 1px solid var(--ci-line);
  }

  .ci-product-panel {
    padding: 28px;
  }

  .ci-flow-panel {
    padding: 28px 36px 110px;
  }

  .ci-sticky-buy {
    left: 50%;
    right: auto;
    width: min(100%, var(--ci-content));
    transform: translateX(-50%);
  }
}

@media (min-width: 1024px) {
  .ci-sandbox-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ci-sandbox-card {
    min-height: 430px;
  }

  .ci-card-body {
    grid-template-rows: 44px minmax(62px, auto) 26px 44px;
  }

  .ci-flow-panel {
    padding-inline: 64px;
  }
}
