/* Layout very close to provided design */

.wcp-grid {
  display: grid;
  gap: 24px;
  margin: 8px 0 20px; /* a bit tighter top space */
  align-items: stretch;
}
.wcp-grid.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .wcp-grid.columns-3 {
    grid-template-columns: 1fr;
  }
}

/* HERO HEADER (matches PHP: wcp-hero-title, wcp-hero-subtitle, wcp-hero-badge) */

.wcp-hero {
  text-align: center;
  margin: 0 0 24px;   /* more bottom space than before */
}

.wcp-hero-title {
  margin: 0 0 4px !important;      /* override theme h2 margins */
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .02em;
  color: #111827 !important;
}

.wcp-hero-subtitle {
  margin: 2px 0 8px;
  font-size: 14px;
  color: #6b7280 !important;
}

.wcp-hero-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 18px;
  border-radius: 999px;
  background: #facc15 !important; /* yellow pill */
  color: #111827 !important;
  font-size: 12px;
  font-weight: 700;
}

/* small tweak on mobile */
@media (max-width: 600px) {
  .wcp-hero-title {
    font-size: 24px;
  }
}

/* Softer "Vertė / Sutaupote" row */
.wcp-price-promo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 6px;
  font-size: 12px;
}

/* "Vertė: 55,80 €" */
.wcp-price-promo-strike {
  color: #9ca3af;
  text-decoration: line-through;
}

/* "Sutaupote ~23%" – light pill, subtle border */
.wcp-price-promo-save {
  padding: 3px 9px;
  border-radius: 999px;
  background: #ecfdf5;          /* very light green */
  border: 1px solid #16a34a;    /* thin green outline */
  color: #166534;               /* dark green text */
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}



/* Pricing cards */

.wcp-card {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 28px 22px 20px; /* extra top for ribbon */
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  color: #111827;
  z-index: 0;
}

.wcp-card-featured {
  border-color: #2563eb;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.16);
}

/* Ribbons */

.wcp-ribbon {
  position: absolute;
  top: 8px;
  right: 20px;
  padding: 4px 12px;
  font-size: 10px;
  line-height: 1.3;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 600;
  z-index: 1;
}
.ribbon-popular { background: #2563eb; }
.ribbon-best    { background: #16a34a; }

/* Titles & subtitles */

.wcp-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #111827;
}
.wcp-card .wcp-title,
.wcp-card-featured .wcp-title {
  color: #111827 !important;
}

.wcp-subtitle {
  margin: 4px 0 12px;
  font-size: 13px;
  color: #6b7280;
}

/* Price area */

.wcp-price-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wcp-price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.wcp-price-current {
  font-size: 26px;
  font-weight: 700;
  color: #2563eb;
}
.wcp-per {
  font-size: 14px;
  color: #6b7280;
}
.wcp-price-extra {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wcp-price-regular {
  font-size: 13px;
  color: #9ca3af;
  text-decoration: line-through;
}

/* "Vertė / Sutaupote" row above main price (matches PHP classes) */

.wcp-value-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 8px;
  font-size: 12px;
}

.wcp-value-label,
.wcp-value-amount {
  color: #9ca3af;
  text-decoration: line-through;
}

.wcp-value-save {
  padding: 3px 12px;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(22,163,74,0.14);
}

/* Older saving pill (kept but usually not used now) */

.wcp-saving {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #15803d;
  font-weight: 600;
}

/* Features area */

.wcp-features {
  margin-top: 10px;
}
.wcp-features-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.wcp-features-title {
  font-weight: 600;
  font-size: 14px;
  color: #111827;
}
.wcp-toggle {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font-size: 12px;
  color: #2563eb;
  display: flex;
  align-items: center;
  gap: 4px;
}
.wcp-toggle-ico {
  font-size: 9px;
}

.wcp-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wcp-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0;
  font-size: 13px;
}

/* Included / excluded lines */

.wcp-li-inc .wcp-li-text {
  color: #111827;
}
.wcp-li-exc .wcp-li-text {
  color: #9ca3af;
  text-decoration: line-through;
}

/* Icons & mini-prices */

.wcp-icon-check {
  color: #16a34a;
  margin-top: 2px;
}
.wcp-icon-x {
  color: #9ca3af;
  margin-top: 2px;
}
.wcp-mini {
  margin-left: 6px;
  font-size: 11px;
}
.wcp-mini-was {
  color: #9ca3af;
  text-decoration: line-through;
  margin-right: 3px;
}
.wcp-mini-now {
  color: #16a34a;
  font-weight: 600;
}

/* Quantity + Add to cart */

.wcp-qty-label {
  margin-top: 12px;
  font-size: 13px;
  color: #6b7280;
}

.wcp-cart-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.wcp-cart-form .quantity {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 4px 8px;
}
.wcp-cart-form .qty {
  width: 40px;
  border: none;
  text-align: center;
  font-size: 14px;
  padding: 0;
  outline: none;
}
.wcp-qty-minus,
.wcp-qty-plus {
  border: none;
  background: none;
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}
.wcp-atc-button {
  flex: 1;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.wcp-atc-button:hover {
  background: #1d4ed8;
}

/* Dynamic total / discount preview under quantity */

.wcp-price-summary {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #e5e7eb;
  font-size: 13px;
  color: #4b5563;
}

.wcp-price-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}

.wcp-total-label {
  font-weight: 500;
}

.wcp-total-value {
  font-weight: 700;
  color: #111827;
}

.wcp-discount-label {
  font-size: 12px;
  color: #6b7280;
}

.wcp-discount-value {
  font-size: 12px;
  font-weight: 600;
  color: #16a34a;
}

/* Volume discount banner */

.wcp-volume-banner {
  margin: 10px 0 24px;
  padding: 18px 32px 16px;
  border-radius: 18px;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  font-family: inherit;
  color: #111827;
}
.wcp-volume-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.wcp-volume-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #2563eb;
  color: #2563eb;
  font-size: 13px;
}
.wcp-volume-title {
  font-weight: 600;
  font-size: 16px;
  color: #111827;
}
.wcp-volume-text {
  font-size: 14px;
  color: #4b5563;
}
.wcp-volume-text strong {
  color: #2563eb;
  font-weight: 600;
}
.wcp-volume-text strong:last-child {
  color: #16a34a;
}
.wcp-volume-sub {
  margin-top: 2px;
  font-size: 12px;
  color: #9ca3af;
}

/* "Other services" section */

.wcp-other-products {
  margin-top: 40px;
}
.wcp-other-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 16px;
  color: #111827;
}
.wcp-other-products .woocommerce ul.products {
  margin-top: 0;
}

/* Force readable colors */

.wcp-other-title {
  background: transparent !important;
  color: #111827 !important;
}
.wcp-other-products,
.wcp-other-products .woocommerce,
.wcp-other-products .products li.product {
  color: #111827;
}
.wcp-other-products .products li.product .woocommerce-loop-product__title,
.wcp-other-products .products li.product .woocommerce-loop-product__title a,
.wcp-other-products .products li.product .price,
.wcp-other-products .products li.product .woocommerce-Price-amount,
.wcp-other-products .products li.product .star-rating,
.wcp-other-products .products li.product .star-rating span,
.wcp-other-products .products li.product .woocommerce-loop-category__title,
.wcp-other-products .products li.product .posted_in,
.wcp-other-products .products li.product .product_meta,
.wcp-other-products .products li.product a {
  color: #111827 !important;
}
.wcp-other-products .products li.product a.button,
.wcp-other-products .products li.product a.added_to_cart {
  color: inherit;
}

/* AJAX add-to-cart feedback */

.wcp-card.wcp-loading .wcp-atc-button,
.wcp-cart-form.wcp-loading .wcp-atc-button,
.wcp-atc-button.wcp-loading {
  opacity: 0.6;
  pointer-events: none;
}

.wcp-atc-notice {
  margin-top: 6px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #166534;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.wcp-atc-notice .wcp-atc-text {
  color: #166534;
}
.wcp-atc-notice .wcp-cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #111827 !important;
  padding: 0 !important;
}
.wcp-atc-notice .wcp-cart-link:hover {
  transform: scale(1.1);
}

/* Shop page as clean white landing – only for Woo shop archive */
body.post-type-archive-product {
  background:#ffffff;
}

/* Wrapper around our shortcode content */
.wcp-shop-landing-wrapper {
  background:#ffffff;
  padding:40px 0 60px;
}

.wcp-shop-landing-inner {
  max-width:1200px;
  margin:0 auto;
  padding:0 16px;
}

/* Contact box under cards */
.wcp-contact-box {
  margin-top:40px;
  padding:20px 24px;
  border-radius:18px;
  border:1px dashed #e5e7eb;
  background:#ffffff;
  text-align:center;
  color:#111827;
}
.wcp-contact-title {
  margin:0 0 8px;
  font-size:18px;
  font-weight:700;
}
.wcp-contact-text {
  margin:0;
  font-size:14px;
}
.wcp-contact-text a {
  color:#2563eb;
  text-decoration:none;
}
.wcp-contact-text a:hover {
  text-decoration:underline;
}

