/*
 * ViolFi Storefront v1.0.0
 * Applies the approved "ViolFi Store and Checkout — Sample" design to
 * WooCommerce pages on violfi.com. Palette and type taken from the
 * sample: near-black #0c0e06, lime #a8e10c / #8bc400, soft lime
 * #eef7d2, warm off-white background #f4f5f1, 14px radius.
 *
 * Every rule is scoped to body.violfi-storefront (added only on shop,
 * product, cart and checkout pages) so nothing leaks site-wide.
 * Presentation only — no layout of checkout fields is changed.
 */

body.violfi-storefront {
  --vfsf-bg: #f4f5f1;
  --vfsf-surface: #ffffff;
  --vfsf-surface-2: #eceee7;
  --vfsf-ink: #101208;
  --vfsf-ink-soft: #3c4033;
  --vfsf-ink-faint: #6d7261;
  --vfsf-line: #dde0d2;
  --vfsf-black: #0c0e06;
  --vfsf-black-2: #171a0e;
  --vfsf-lime: #a8e10c;
  --vfsf-lime-strong: #8bc400;
  --vfsf-lime-ink: #131603;
  --vfsf-lime-soft: #eef7d2;
  --vfsf-radius: 14px;
  --vfsf-shadow: 0 1px 2px rgba(16, 18, 8, .06), 0 8px 24px rgba(16, 18, 8, .06);
}

/* ---------- Shared pieces added by the plugin ---------- */

body.violfi-storefront .vfsf-trust-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

body.violfi-storefront .vfsf-trust-row li {
  background: var(--vfsf-lime-soft);
  color: var(--vfsf-lime-ink);
  border: 1px solid var(--vfsf-line);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 6px 12px;
}

body.violfi-storefront .vfsf-button,
body.violfi-storefront a.vfsf-button {
  display: inline-block;
  background: var(--vfsf-lime);
  color: var(--vfsf-lime-ink);
  font-weight: 800;
  text-decoration: none;
  border-radius: var(--vfsf-radius);
  padding: 12px 22px;
  min-height: 2.75rem;
}

body.violfi-storefront a.vfsf-button:hover {
  background: var(--vfsf-lime-strong);
  color: var(--vfsf-lime-ink);
}

/* ---------- Shop / archive ---------- */

body.violfi-storefront .vfsf-shop-intro {
  background: var(--vfsf-black);
  color: #f2f4e8;
  border-radius: var(--vfsf-radius);
  padding: 26px 26px 22px;
  margin: 0 0 26px;
  flex-basis: 100%;
}

body.violfi-storefront .vfsf-shop-intro-title {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}

body.violfi-storefront .vfsf-shop-intro-text {
  color: #c9cdbb;
  margin: 0 0 16px;
  max-width: 62ch;
}

body.violfi-storefront .vfsf-shop-intro .vfsf-trust-row li {
  background: var(--vfsf-black-2);
  color: var(--vfsf-lime);
  border-color: #343a22;
}

/* Product cards in the loop */
body.violfi-storefront ul.products li.product {
  background: var(--vfsf-surface);
  border: 1px solid var(--vfsf-line);
  border-radius: var(--vfsf-radius);
  box-shadow: var(--vfsf-shadow);
  padding: 18px;
  /* Clip anything that ever tries to slide out of a card: the
     theme's hover gallery is hidden by name below (v1.0.14), and
     this clip stays as a guard so the card's own box stays clean
     no matter what. Badges and the quick-view eye sit inside the
     box and are unaffected. */
  overflow: hidden;
}

/* Card image: the rendering's square picture area on black. */
body.violfi-storefront ul.products li.product .woo-entry-image img,
body.violfi-storefront ul.products li.product img.attachment-woocommerce_thumbnail,
body.violfi-storefront ul.products li.product img.attachment-shop_catalog {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--vfsf-black);
}

body.violfi-storefront ul.products li.product .price {
  color: var(--vfsf-ink);
  font-size: 1.5rem;
  font-weight: 900;
}

body.violfi-storefront ul.products li.product .button {
  background: var(--vfsf-lime);
  color: var(--vfsf-lime-ink);
  border-radius: 999px;
  font-weight: 800;
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 12px 10px;
}

body.violfi-storefront ul.products li.product .button:hover {
  background: var(--vfsf-lime-strong);
  color: var(--vfsf-lime-ink);
}

/* The black-background unit photo is never cropped in a loop card:
   it letterboxes onto the same black, so the whole unit shows. */
body.violfi-storefront ul.products li.product img.vfsf-loop-device-img {
  object-fit: contain;
}

/* The theme's hover swap pictures inside a loop card stay hidden:
   the cards are static, as in the rendering (the swap picture was
   seen peeking from the card edge in the v1.0.8/v1.0.9 checks). */
body.violfi-storefront ul.products li.product .woo-entry-image img.woo-entry-image-secondary,
body.violfi-storefront ul.products li.product .woo-entry-image a img ~ img {
  display: none !important;
}

/* The hover slide-out gallery (v1.0.14): the panel is OceanWP's
   <ul class="woo-product-gallery"> — identified by name in the
   Nov 26 live diagnostic after three structural guesses
   (v1.0.11–v1.0.13) missed it. On hover it slides out to the
   card's left and stays, blank because the v1.0.11 rule already
   hid its thumbnail links; its transit across the picture's left
   edge is the brief dark strip seen at hover onset. The cards
   are static, as in the rendering: the gallery never renders.
   (Single-product galleries use a different class and are
   untouched.) */
body.violfi-storefront ul.products li.product .woo-product-gallery {
  display: none !important;
}

/* Plan cards carry the first sample's explanations (v1.0.17): the
   three internet plans (Monthly 6983, 6-Month 9370, One Year 9315)
   get the sample's kind label, description, check-marked features,
   renewal note and Details link, injected by the plugin under the
   price; their category line is hidden (the kind label replaces
   it), their price takes the sample's big-amount format, and the
   6-month card gets the sample's highlighted border. */
body.violfi-storefront ul.products li.product.post-6983 .woo-product-info li.category,
body.violfi-storefront ul.products li.product.post-9370 .woo-product-info li.category,
body.violfi-storefront ul.products li.product.post-9315 .woo-product-info li.category {
  display: none;
}

body.violfi-storefront ul.products li.product.post-9370 {
  border: 2px solid var(--vfsf-lime-strong);
}

/* The One Year card carries the "Most value" tag (v1.0.36), so it
   gets the same lime frame as the Most Popular card. */
body.violfi-storefront ul.products li.product.post-9315 {
  border: 2px solid var(--vfsf-lime-strong);
}

body.violfi-storefront ul.products li.product .vfsf-plan-amount {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #f2f4ec;
}

body.violfi-storefront ul.products li.product .vfsf-plan-per {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f2f4ec;
}

body.violfi-storefront .vfsf-plan-info {
  margin-top: 10px;
}

body.violfi-storefront .vfsf-plan-kind {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--vfsf-ink-faint);
}

body.violfi-storefront .vfsf-plan-desc {
  margin: 6px 0 4px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--vfsf-ink-soft);
}

body.violfi-storefront .vfsf-plan-feats {
  list-style: none;
  margin: 10px 0;
  padding: 0;
}

body.violfi-storefront .vfsf-plan-feats li {
  position: relative;
  padding-left: 27px;
  margin-bottom: 7px;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--vfsf-ink);
}

body.violfi-storefront .vfsf-plan-feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--vfsf-lime);
  color: var(--vfsf-black);
  font-size: 11px;
  font-weight: 800;
  line-height: 19px;
  text-align: center;
}

body.violfi-storefront .vfsf-plan-note {
  margin: 8px 0 12px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--vfsf-ink-soft);
}

body.violfi-storefront .vfsf-plan-details {
  display: inline-block;
  border: 1px solid var(--vfsf-line);
  border-radius: 999px;
  padding: 9px 20px;
  font-weight: 700;
  color: var(--vfsf-ink);
  text-decoration: none;
}

body.violfi-storefront .vfsf-plan-details:hover {
  border-color: var(--vfsf-lime-strong);
  color: var(--vfsf-lime-strong);
}

/* v1.0.18–1.0.20 — the sample's plan cards carry no product photo
   and no second description line: David said the SIM card image
   can come off the plan cards and the cards should match the
   sample exactly, showing the sample's own description only.
   Only the photo (.woo-entry-image) is hidden: OceanWP renders
   the card's Add To Cart button inside the same image-wrap, and
   v1.0.18 hid the whole wrap, taking the button with it.
   v1.0.20 (David: "Make the plans cards dark"): the three plan
   cards are dark — near-black background, off-white text, muted
   secondary lines, the palette of the approved dark reviews —
   and the card reads in the sample's order. The theme prints its
   own title and price only after the plugin's block, and CSS
   order rules did not move them (v1.0.19, verified live), so the
   theme's title/price lines are hidden here and the block prints
   the plan name and price itself, at its top. The 6-month card
   keeps its lime border, and its block gets headroom so the
   "Limited time offer" badge no longer covers the first line.
   Scoped to the three plan products' loop cards; the device and
   bundle cards are untouched, and product pages keep their photos. */
body.violfi-storefront ul.products li.product.post-6983 .woo-entry-image,
body.violfi-storefront ul.products li.product.post-9370 .woo-entry-image,
body.violfi-storefront ul.products li.product.post-9315 .woo-entry-image,
body.violfi-storefront ul.products li.product.post-6983 .woo-product-info li.woo-desc,
body.violfi-storefront ul.products li.product.post-9370 .woo-product-info li.woo-desc,
body.violfi-storefront ul.products li.product.post-9315 .woo-product-info li.woo-desc,
body.violfi-storefront ul.products li.product.post-6983 .woo-product-info li.title,
body.violfi-storefront ul.products li.product.post-9370 .woo-product-info li.title,
body.violfi-storefront ul.products li.product.post-9315 .woo-product-info li.title,
body.violfi-storefront ul.products li.product.post-6983 .woo-product-info li.price-wrap,
body.violfi-storefront ul.products li.product.post-9370 .woo-product-info li.price-wrap,
body.violfi-storefront ul.products li.product.post-9315 .woo-product-info li.price-wrap,
body.violfi-storefront ul.products li.product.post-6983 .woo-entry-inner li.image-wrap,
body.violfi-storefront ul.products li.product.post-9370 .woo-entry-inner li.image-wrap,
body.violfi-storefront ul.products li.product.post-9315 .woo-entry-inner li.image-wrap {
  display: none !important;
}

body.violfi-storefront ul.products li.product.post-6983,
body.violfi-storefront ul.products li.product.post-9370,
body.violfi-storefront ul.products li.product.post-9315 {
  background: var(--vfsf-black);
}

body.violfi-storefront ul.products li.product.post-6983,
body.violfi-storefront ul.products li.product.post-9315 {
  border-color: #2e3125;
}

/* Light text on the dark loop cards only. The base .vfsf-plan-*
   colors above stay dark-on-light because the same classes build
   the product pages' details box, which sits on white — v1.0.20
   lightened the shared rules and washed that box out. */
body.violfi-storefront ul.products li.product .vfsf-plan-kind {
  color: #a9ae9e;
}

body.violfi-storefront ul.products li.product .vfsf-plan-desc {
  color: #f2f4ec;
}

body.violfi-storefront ul.products li.product .vfsf-plan-feats li {
  color: #f2f4ec;
}

body.violfi-storefront ul.products li.product .vfsf-plan-note {
  color: #a9ae9e;
}

body.violfi-storefront ul.products li.product .vfsf-plan-details {
  border-color: #3a3f2c;
  color: #f2f4ec;
}

body.violfi-storefront .vfsf-plan-name {
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 5px 0 2px;
}

body.violfi-storefront .vfsf-plan-name a {
  color: #f2f4ec;
  text-decoration: none;
}

body.violfi-storefront .vfsf-plan-cost {
  margin: 0 0 4px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #f2f4ec;
}

/* The "Most popular" tag straddles the 6-month card's top edge,
   as in the sample, so the plan cards do not clip their contents
   (the base card rule hides overflow as a hover guard). */
body.violfi-storefront ul.products li.product.post-6983,
body.violfi-storefront ul.products li.product.post-9370,
body.violfi-storefront ul.products li.product.post-9315 {
  overflow: visible;
}

/* The sample's feature checks are plain lime ticks, not circled
   badges — loop cards only; the product-page details list keeps
   its circled checks. */
body.violfi-storefront ul.products li.product .vfsf-plan-feats li::before {
  background: transparent;
  border-radius: 0;
  color: var(--vfsf-lime);
  font-size: 15px;
}

/* The sample's cards are left-aligned (the theme centres loop
   cards), and the card's own Add To Cart button — printed by the
   plugin inside its block since v1.0.23, the theme's button
   having gone with its hidden image wrap — is a full-width pill
   like the theme's. */
body.violfi-storefront ul.products li.product .vfsf-plan-info {
  text-align: left;
}

body.violfi-storefront ul.products li.product .vfsf-plan-atc {
  display: block;
  text-align: center;
  margin-top: 14px;
}

/* Dark hardware loop cards too (David, Nov 26, 2026): the FX2000
   and Bundle cards in the product loop match the dark plan cards —
   near-black background, light name and price, muted description.
   Their photos stay. */
body.violfi-storefront ul.products li.product.post-6991,
body.violfi-storefront ul.products li.product.post-9701 {
  background: var(--vfsf-black);
  border-color: #2e3125;
}

body.violfi-storefront ul.products li.product.post-6991 .woo-product-info li.title a,
body.violfi-storefront ul.products li.product.post-9701 .woo-product-info li.title a,
body.violfi-storefront ul.products li.product.post-6991 .woo-product-info li.price-wrap .price,
body.violfi-storefront ul.products li.product.post-9701 .woo-product-info li.price-wrap .price,
body.violfi-storefront ul.products li.product.post-6991 .woo-product-info li.price-wrap .amount,
body.violfi-storefront ul.products li.product.post-9701 .woo-product-info li.price-wrap .amount {
  color: #f2f4ec;
}

body.violfi-storefront ul.products li.product.post-6991 .woo-product-info li.woo-desc,
body.violfi-storefront ul.products li.product.post-9701 .woo-product-info li.woo-desc,
body.violfi-storefront ul.products li.product.post-6991 .woo-product-info li.category a,
body.violfi-storefront ul.products li.product.post-9701 .woo-product-info li.category a {
  color: #a9ae9e;
}

/* The sample's description and renewal note are part of the card;
   nothing may suppress them. */
body.violfi-storefront ul.products li.product .vfsf-plan-desc,
body.violfi-storefront ul.products li.product .vfsf-plan-note {
  display: block !important;
}

/* The sample's Details view on the plan's product page. */
body.violfi-storefront.single-product .vfsf-plan-details-box {
  margin-top: 18px;
  border-top: 1px solid var(--vfsf-line);
  padding-top: 16px;
}

body.violfi-storefront.single-product .vfsf-plan-fineprint {
  margin-top: 10px;
  font-size: 13px;
  color: var(--vfsf-ink-faint);
}

/* ---------- Single product ---------- */

/* Price up top, big and unmissable, as in the sample. */
body.violfi-storefront.single-product .summary .price {
  color: var(--vfsf-ink);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.01em;
  margin: 6px 0 10px;
}

body.violfi-storefront.single-product .summary .price .amount {
  color: var(--vfsf-ink);
}

body.violfi-storefront .vfsf-product-trust {
  border-top: 1px solid var(--vfsf-line);
  border-bottom: 1px solid var(--vfsf-line);
  padding: 12px 0 10px;
  margin: 4px 0 16px;
}

body.violfi-storefront .vfsf-product-note {
  color: var(--vfsf-ink-soft);
  font-size: .92rem;
  margin: 10px 0 0;
}

body.violfi-storefront .vfsf-product-note a {
  color: var(--vfsf-lime-strong);
  font-weight: 700;
}

/* Buy button: lime, full emphasis, next to the price block. */
body.violfi-storefront.single-product form.cart .single_add_to_cart_button,
body.violfi-storefront .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  background: var(--vfsf-lime);
  color: var(--vfsf-lime-ink);
  border-radius: 10px;
  font-weight: 800;
  padding: 13px 26px;
}

body.violfi-storefront.single-product form.cart .single_add_to_cart_button:hover {
  background: var(--vfsf-lime-strong);
  color: var(--vfsf-lime-ink);
}

body.violfi-storefront.single-product form.cart .quantity .qty {
  border: 1px solid var(--vfsf-line);
  border-radius: 10px;
  min-height: 2.75rem;
}

/* Coverage-check section added under the product summary. */
body.violfi-storefront .vfsf-coverage {
  background: var(--vfsf-black);
  color: #f2f4e8;
  border-radius: var(--vfsf-radius);
  padding: 26px;
  margin: 30px 0;
  clear: both;
}

body.violfi-storefront .vfsf-coverage h2 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0 0 8px;
}

body.violfi-storefront .vfsf-coverage p {
  color: #c9cdbb;
  max-width: 62ch;
}

/* Product tabs / description panels */
body.violfi-storefront div.product .woocommerce-tabs ul.tabs li {
  border-radius: 10px 10px 0 0;
}

body.violfi-storefront div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--vfsf-lime-soft);
}

/* ---------- Cart ---------- */

body.violfi-storefront .vfsf-cart-trust {
  margin: 0 0 18px;
}

body.violfi-storefront .woocommerce table.shop_table {
  border: 1px solid var(--vfsf-line);
  border-radius: var(--vfsf-radius);
  background: var(--vfsf-surface);
}

body.violfi-storefront .woocommerce table.shop_table th {
  background: var(--vfsf-surface-2);
  color: var(--vfsf-ink);
}

body.violfi-storefront .cart-collaterals .cart_totals {
  background: var(--vfsf-surface);
  border: 1px solid var(--vfsf-line);
  border-radius: var(--vfsf-radius);
  padding: 8px 18px 18px;
  box-shadow: var(--vfsf-shadow);
}

body.violfi-storefront .wc-proceed-to-checkout a.checkout-button {
  background: var(--vfsf-lime);
  color: var(--vfsf-lime-ink);
  border-radius: 10px;
  font-weight: 800;
}

body.violfi-storefront .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--vfsf-lime-strong);
  color: var(--vfsf-lime-ink);
}

/* ---------- Checkout ---------- */

/* Three-step indicator (visual only; the form below is unchanged). */
body.violfi-storefront .vfsf-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
}

body.violfi-storefront .vfsf-steps li {
  background: var(--vfsf-black);
  color: #f2f4e8;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  padding: 8px 16px 8px 8px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

body.violfi-storefront .vfsf-step-num {
  background: var(--vfsf-lime);
  color: var(--vfsf-lime-ink);
  border-radius: 999px;
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

body.violfi-storefront form.checkout .col2-set,
body.violfi-storefront #order_review {
  background: var(--vfsf-surface);
  border: 1px solid var(--vfsf-line);
  border-radius: var(--vfsf-radius);
  padding: 20px;
  box-shadow: var(--vfsf-shadow);
}

body.violfi-storefront form.checkout h3 {
  color: var(--vfsf-ink);
  font-weight: 900;
}

body.violfi-storefront form.checkout input[type="text"],
body.violfi-storefront form.checkout input[type="email"],
body.violfi-storefront form.checkout input[type="tel"],
body.violfi-storefront form.checkout input[type="password"],
body.violfi-storefront form.checkout select,
body.violfi-storefront form.checkout textarea {
  border: 1px solid var(--vfsf-line);
  border-radius: 10px;
  min-height: 2.75rem;
}

body.violfi-storefront #payment {
  background: var(--vfsf-surface-2);
  border-radius: var(--vfsf-radius);
}

body.violfi-storefront #place_order {
  background: var(--vfsf-lime);
  color: var(--vfsf-lime-ink);
  border-radius: 10px;
  font-weight: 800;
  padding: 14px 28px;
}

body.violfi-storefront #place_order:hover {
  background: var(--vfsf-lime-strong);
  color: var(--vfsf-lime-ink);
}

/* "Before you order" box added under the checkout form. */
body.violfi-storefront .vfsf-before-order {
  background: var(--vfsf-lime-soft);
  border: 1px solid var(--vfsf-line);
  border-radius: var(--vfsf-radius);
  padding: 20px 24px;
  margin: 24px 0;
}

body.violfi-storefront .vfsf-before-order h2 {
  color: var(--vfsf-lime-ink);
  font-size: 1.15rem;
  font-weight: 900;
  margin: 0 0 8px;
}

body.violfi-storefront .vfsf-before-order ul {
  margin: 0;
  padding-left: 20px;
  color: var(--vfsf-ink-soft);
}

/* ---------- Order confirmation (thank you page) ---------- */

body.violfi-storefront .vfsf-next-steps {
  background: var(--vfsf-black);
  color: #f2f4e8;
  border-radius: var(--vfsf-radius);
  padding: 24px 26px;
  margin: 26px 0;
}

body.violfi-storefront .vfsf-next-steps h2 {
  color: #fff;
  font-weight: 900;
  margin: 0 0 12px;
}

body.violfi-storefront .vfsf-next-steps ol {
  margin: 0;
  padding-left: 22px;
  color: #c9cdbb;
}

body.violfi-storefront .vfsf-next-steps li {
  margin-bottom: 8px;
}

body.violfi-storefront .vfsf-next-steps strong {
  color: var(--vfsf-lime);
}

/* ---------- Small screens ---------- */

@media (max-width: 640px) {
  body.violfi-storefront .vfsf-shop-intro {
    padding: 20px 18px 16px;
  }

  body.violfi-storefront .vfsf-shop-intro-title {
    font-size: 1.3rem;
  }

  body.violfi-storefront.single-product .summary .price {
    font-size: 1.65rem;
  }

  body.violfi-storefront form.checkout .col2-set,
  body.violfi-storefront #order_review {
    padding: 14px;
  }

  body.violfi-storefront #place_order {
    width: 100%;
  }
}

/* --- Limited time offer highlight (6-Month plan, added in v1.0.1) --- */
.violfi-storefront .products .product { position: relative; }
.violfi-storefront .vfsf-lto-badge {
    position: absolute;
    top: -14px;
    left: 18px;
    right: auto;
    z-index: 30;
    background: #a8e10c;
    color: #0c0e06;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(12, 14, 6, 0.35);
}
.violfi-storefront .vfsf-lto-banner {
    background: #eef7d2;
    border: 2px solid #a8e10c;
    color: #0c0e06;
    border-radius: 14px;
    padding: 10px 14px;
    margin: 0 0 12px;
    font-size: 15px;
}
.violfi-storefront .vfsf-lto-banner strong {
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* --- Need hardware? section + Recommended value (added in v1.0.2) --- */
.violfi-storefront .vfsf-hardware {
    margin: 18px 0 26px;
}
.violfi-storefront .vfsf-hw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 12px;
}
/* Hardware cards follow the rendering's card design (v1.0.7, David's
   request); dark since v1.0.23 (David: "Do dark card for hardware
   as well"): near-black card, the unit pictured in a square black
   area at the top, big bold price, full-width lime pill button,
   badge at the top-right. */
.violfi-storefront .vfsf-hw-card {
    position: relative;
    border: 1px solid #2e3125;
    border-radius: 14px;
    padding: 18px;
    background: #0c0e06;
    color: #a9ae9e;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(16, 18, 8, 0.06), 0 8px 24px rgba(16, 18, 8, 0.06);
}
.violfi-storefront .vfsf-hw-card h3 { color: #f2f4ec; }
.violfi-storefront .vfsf-hw-card .vfsf-rec-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    background: #a8e10c;
    color: #0c0e06;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(12, 14, 6, 0.35);
}
.violfi-storefront .vfsf-hw-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    background: #0c0e06;
    border-radius: 10px;
    display: block;
    margin: 0 0 10px;
}
.violfi-storefront .vfsf-hw-price {
    font-size: 24px;
    font-weight: 800;
    margin: 4px 0 8px;
    color: #f2f4ec;
}
.violfi-storefront .vfsf-hw-card .vfsf-hw-atc {
    display: block;
    text-align: center;
    background: var(--vfsf-lime);
    color: var(--vfsf-lime-ink);
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    border-radius: 999px;
    padding: 9px 16px;
    margin-top: 12px;
}
.violfi-storefront .vfsf-hw-card .vfsf-hw-atc:hover {
    background: var(--vfsf-lime-strong);
    color: var(--vfsf-lime-ink);
}
.violfi-storefront .vfsf-rec-badge {
    display: inline-block;
    background: #0c0e06;
    color: #a8e10c;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.violfi-storefront .vfsf-rec-badge--loop {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 30;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(12, 14, 6, 0.35);
}
.violfi-storefront .vfsf-rec-banner {
    background: #0c0e06;
    color: #eef7d2;
    border-radius: 14px;
    padding: 10px 14px;
    margin: 0 0 12px;
    font-size: 15px;
}
.violfi-storefront .vfsf-rec-banner strong {
    color: #a8e10c;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ---------- v1.0.24 ----------
   David's three asks (Nov 26, 2026, from his phone screenshots):
   the white strip off the plan cards, the device cards FULL dark
   with white letters to match the plans, and bolder white letters
   on the plan cards. The plan cards are reduced to the plugin's
   block alone — the theme's image list and info list go entirely,
   since every element they held on a plan card is hidden or
   replaced and an empty white band kept surviving the individual
   hides. Device cards keep their lists, but the lists' backgrounds
   are forced transparent and their letters forced light. */

/* Plan cards: the theme's two lists never render. */
body.violfi-storefront ul.products li.product.post-6983 .woo-entry-inner,
body.violfi-storefront ul.products li.product.post-9370 .woo-entry-inner,
body.violfi-storefront ul.products li.product.post-9315 .woo-entry-inner,
body.violfi-storefront ul.products li.product.post-6983 .woo-product-info,
body.violfi-storefront ul.products li.product.post-9370 .woo-product-info,
body.violfi-storefront ul.products li.product.post-9315 .woo-product-info {
  display: none !important;
}

/* Bolder, whiter plan letters; the plan name aligns left with the
   rest of the block (the theme centres card headings). */
body.violfi-storefront ul.products li.product .vfsf-plan-name {
  text-align: left !important;
}

body.violfi-storefront ul.products li.product .vfsf-plan-name a {
  color: #ffffff;
}

body.violfi-storefront ul.products li.product .vfsf-plan-desc {
  color: #ffffff;
  font-weight: 600;
}

body.violfi-storefront ul.products li.product .vfsf-plan-feats li {
  color: #ffffff;
  font-weight: 600;
}

body.violfi-storefront ul.products li.product .vfsf-plan-kind {
  color: #c9cebb;
}

body.violfi-storefront ul.products li.product .vfsf-plan-note {
  font-weight: 500;
}

body.violfi-storefront .vfsf-plan-cost {
  position: relative;
  z-index: 6;
}

/* Device loop cards: no white band anywhere inside the card, and
   the letters are white like the plans'. */
body.violfi-storefront ul.products li.product.post-6991 .product-inner,
body.violfi-storefront ul.products li.product.post-9701 .product-inner,
body.violfi-storefront ul.products li.product.post-6991 .woo-entry-inner,
body.violfi-storefront ul.products li.product.post-9701 .woo-entry-inner,
body.violfi-storefront ul.products li.product.post-6991 .woo-product-info,
body.violfi-storefront ul.products li.product.post-9701 .woo-product-info {
  background: transparent !important;
}

body.violfi-storefront ul.products li.product.post-6991 .woo-product-info li.title a,
body.violfi-storefront ul.products li.product.post-9701 .woo-product-info li.title a,
body.violfi-storefront ul.products li.product.post-6991 .woo-product-info li.price-wrap .price,
body.violfi-storefront ul.products li.product.post-9701 .woo-product-info li.price-wrap .price,
body.violfi-storefront ul.products li.product.post-6991 .woo-product-info li.price-wrap .amount,
body.violfi-storefront ul.products li.product.post-9701 .woo-product-info li.price-wrap .amount {
  color: #ffffff !important;
}

body.violfi-storefront ul.products li.product.post-6991 .woo-product-info li.woo-desc,
body.violfi-storefront ul.products li.product.post-9701 .woo-product-info li.woo-desc,
body.violfi-storefront ul.products li.product.post-6991 .woo-product-info li.category a,
body.violfi-storefront ul.products li.product.post-9701 .woo-product-info li.category a {
  color: #f2f4ec !important;
}

/* Diagnostic outlines — only with ?vfsf_diag=1 (the vfsf-diag body
   class exists only then): magenta price line, green image list,
   yellow info list, orange plugin button, blue card inner, white
   card edge. A screenshot in this mode names every box. */
body.vfsf-diag.violfi-storefront ul.products li.product {
  outline: 2px solid #ffffff !important;
  outline-offset: -2px;
}

body.vfsf-diag.violfi-storefront ul.products li.product .product-inner {
  outline: 3px solid #0080ff !important;
  outline-offset: -3px;
}

body.vfsf-diag.violfi-storefront ul.products li.product .woo-entry-inner {
  outline: 4px solid #00ff00 !important;
  outline-offset: -4px;
}

body.vfsf-diag.violfi-storefront ul.products li.product .woo-product-info {
  outline: 4px solid #ffff00 !important;
  outline-offset: -4px;
}

body.vfsf-diag.violfi-storefront ul.products li.product .vfsf-plan-cost {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #ff00ff !important;
  color: #000000 !important;
  outline: 3px solid #ff0000 !important;
}

body.vfsf-diag.violfi-storefront ul.products li.product .vfsf-plan-atc {
  outline: 4px solid #ff8000 !important;
  outline-offset: -4px;
}

/* Device cards' check-marked explanation list (v1.0.27): the
   plans' feature list, printed at the end of the FX2000 and
   Bundle cards, under the photo, name and price, with a hairline
   above it to set it apart from the description. */
body.violfi-storefront ul.products li.product .vfsf-device-feats {
  margin: 12px 0 2px;
  padding-top: 12px;
  border-top: 1px solid #2e3125;
}

/* Add To Cart buttons (David, Nov 26, 2026): the LENGTH was
   shortened in v1.0.34/35 (heights were fine; the buttons hug
   their words instead of stretching the full card width — the
   grid rules needed !important + fit-content to take live).
   v1.0.37: David asked for the buttons CENTERED and a little
   LARGER, and for the plan/device buttons to MATCH the hardware
   buttons, which he called cleaner and sharper — solid lime,
   full-round pill, bold, no border. All three button kinds now
   share that one look, centred in their cards. */
body.violfi-storefront ul.products li.product .vfsf-plan-atc {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: fit-content;
  margin-left: auto !important;
  margin-right: auto !important;
  background: var(--vfsf-lime);
  color: var(--vfsf-lime-ink);
  border: none !important;
  border-radius: 999px;
  font-weight: 700;
  text-align: center !important;
  font-size: 14px;
  padding: 9px 26px !important;
  line-height: 1.2 !important;
}
body.violfi-storefront ul.products li.product.post-6991 .add_to_cart_button,
body.violfi-storefront ul.products li.product.post-9701 .add_to_cart_button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: fit-content;
  margin-left: auto !important;
  margin-right: auto !important;
  background: var(--vfsf-lime);
  color: var(--vfsf-lime-ink);
  border: none !important;
  border-radius: 999px;
  font-weight: 700;
  text-align: center !important;
  font-size: 14px;
  padding: 8px 24px !important;
  line-height: 1.2 !important;
}
.violfi-storefront .vfsf-hw-card .vfsf-hw-atc {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  margin-left: auto;
  margin-right: auto;
  text-align: center !important;
  font-size: 14px;
  padding: 8px 24px !important;
  line-height: 1.2 !important;
}

/* Shop grid visual order (v1.0.39, David: "Put in order all shop
   product in line with the store front"): the products' Menu
   orders are set (Monthly 0, One Year 1, 6 Months 2, FX2000 3,
   Bundle 4) and the loop prints in that order, but on screen the
   One Year card rendered last regardless — so the shop loop is
   made a flex row with the plan order pinned, the same technique
   the homepage Plans grid uses. */
body.violfi-storefront ul.products {
  display: flex;
  flex-wrap: wrap;
}
body.violfi-storefront ul.products li.product.post-6983 {
  order: 1;
}
body.violfi-storefront ul.products li.product.post-9315 {
  order: 2;
}
body.violfi-storefront ul.products li.product.post-9370 {
  order: 3;
}
