/* Product image - consolidated definition moved below */

.prg-product-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.3;
}

.prg-product-manufacturer {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.prg-product-price {
  font-size: 20px;
  font-weight: 700;
  color: #e74c3c;
  margin-bottom: 10px;
}

.prg-price-status {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #f3f4f6;
  color: #4b5563;
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 6px;
}

.prg-price-status-stale {
  background: #fff4d6;
  color: #8a6d1d;
}

.prg-price-status-failed {
  background: #fde8e8;
  color: #b91c1c;
}

.prg-price-status-pending {
  background: #e0f2fe;
  color: #0369a1;
}

.prg-product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 5px;
}

.prg-rating-stars {
  color: #f39c12;
  font-size: 16px;
}

.prg-rating-text {
  font-size: 14px;
  color: #666;
}

.prg-product-summary {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
}

.prg-product-actions {
  display: flex;
  gap: 10px;
}

.prg-btn-primary {
  background: #3498db;
  color: white;
}

.prg-btn-primary:hover {
  background: #2980b9;
}

.prg-btn-secondary {
  background: #95a5a6;
  color: white;
}

.prg-btn-secondary:hover {
  background: #7f8c8d;
}

.prg-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.prg-pagination-btn {
  padding: 8px 12px;
  border: 1px solid #ddd;
  background: white;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.prg-pagination-btn:hover {
  background: #f8f9fa;
  border-color: #999;
}

.prg-pagination-btn.current {
  background: #3498db;
  color: white;
  border-color: #3498db;
}

.prg-pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.prg-loading {
  text-align: center;
  padding: 40px;
  color: #666;
}

.prg-no-results {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 16px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .prg-browse-container {
    padding: 10px;
  }

  .prg-browse-filters {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .prg-browse-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .prg-products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .prg-product-card {
    padding: 15px;
  }

  .prg-product-actions {
    flex-direction: column;
  }

  .prg-pagination {
    flex-wrap: wrap;
  }
}
*/

/* ----------------------------------------------
 * Automated Money Table
 * ---------------------------------------------- */

/* Image Fallback */
.ama-image-placeholder {
  height: 200px;
  border: 1px solid #000;
  background-color: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Base styles */
.product-review-table__title {
  font-size: 2em;
  font-weight: 600;
  line-height: 1;
  font-family: "Oswald";
  text-transform: capitalize;
}

.product-review-table__wrapper .wp-block-group__inner-container {
  padding: 0;
}
.table.product-review-table caption {
  font-size: 1.9em;
  font-weight: 600;
  line-height: 1 !important;
  color: #1d1d23;
  font-family: Oswald;
  margin-bottom: 0.8rem;
}

.product-review-table .product-review-table__product-content-wrapper img {
  width: 160px;
  max-width: 100%;
}

.product-review-table__second-rw {
  font-size: 14px;
}

/* Mobile styles */
@media (max-width: 900px) {
  .product-review-table thead {
    display: none;
  }

  .product-review-table tbody tr {
    display: block;
    margin-bottom: 1.5rem;
    border: none;
  }

  .product-review-table tbody td {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .product-review-table tbody td:first-child {
    margin-bottom: 1rem;
  }

  .product-review-table tbody td:nth-child(2) {
    text-align: left;
  }

  /* Nested tables */
  .product-review-table .product-review-table__product-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .product-review-table .product-review-table__product-content-wrapper img {
    max-width: 100%;
    height: auto;
  }

  /* Title */
  .product-review-table__table-title {
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: "Oswald";
    line-height: 1.2;
  }

  /* Rating */
  .product-review-table__table-rating {
    display: flex;
    font-size: 20px;
    align-items: baseline;
    justify-content: center;
  }

  .product-review-table__table-rating::before {
    content: url(/wp-content/assets/star.svg);
    width: 22px;
    display: block;
    margin-right: 3px;
  }

  /* CTAs */
  .product-review-table__ctas-tab {
    min-width: unset;
    display: flex;
  }

  .product-review-table__ctas-tab a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .product-review-table__fourth-rw a {
    justify-content: center;
    max-width: fit-content;
    margin: auto !important;
  }

  .product-review-table tbody td:nth-child(4) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 2.5rem;
  }

  .product-review-table tbody td {
    border: unset;
  }

  table.product-review-table {
    border-width: 1px;
  }
}

/* Medium screens */
@media (min-width: 902px) and (max-width: 965px) {
  .product-review-table__ctas-tab {
    min-width: 11rem;
  }

  .product-review-table__table-title {
    font-size: 1.2rem;
    line-height: 1.2;
    margin-top: 5px;
    font-family: Oswald;
    font-weight: 600;
    text-transform: capitalize;
  }

  .product-review-table__second-rw ul {
    margin: 0 0 1em 2em;
  }

  .product-review-table__table-rating {
    display: flex;
    font-size: 20px;
    align-items: baseline;
    justify-content: center;
  }

  .product-review-table__table-rating::before {
    content: url(/wp-content/assets/star.svg);
    width: 22px;
    display: block;
    margin-right: 3px;
  }
}

/* Desktop styles */
@media (min-width: 966px) {
  .product-review-table__first-rw {
    text-align: center;
  }

  .product-review-table__second-rw {
    text-align: start;
  }

  .product-review-table__second-rw ul {
    margin: 0 0 1em 2em !important;
  }

  .product-review-table__third-rw {
    text-align: center;
  }

  .product-review-table__table-rating::before {
    content: url(/wp-content/assets/star.svg);
    width: 22px;
    display: block;
    margin-right: 3px;
  }

  .product-review-table__table-rating {
    display: flex;
    font-size: 20px;
    align-items: baseline;
    justify-content: center;
  }

  .product-review-table__fourth-rw a {
    padding: 15px 30px;
    font-size: 14px;
  }

  .product-review-table__fourth-rw {
    text-align: center;
  }

  .product-review-table__rating-tab {
    min-width: 6rem;
  }

  .product-review-table__product-content-wrapper {
    padding-bottom: 1.5rem;
  }

  .product-review-table__table-title {
    font-size: 1.2rem;
    line-height: 1.2;
    margin-top: 5px;
    font-family: "Oswald";
    font-weight: 600;
    text-transform: capitalize;
  }

  th#col-purchase {
    width: 235px;
  }
}

/* List Styles */
.product-review-list {
  padding-left: 20px;
}

.product-review-list a {
  color: #231fe7;
  text-decoration: none;
}

.product-review-list a:hover {
  text-decoration: underline;
}

/* Common Styles */
.prg-no-products {
  background-color: #f8d7da;
  color: #721c24;
  padding: 10px;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  margin-bottom: 20px;
}

/* Where to Buy Table Styles */
.prg-buy-options-wrapper {
  margin: 30px 0;
  clear: both;
  .prg-product-quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 15px;
  }

  .prg-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: #eef2ff;
    color: #1f2937;
  }

  .prg-chip-goal {
    background: #dcfce7;
    color: #166534;
  }

  .prg-chip-skill {
    background: #ede9fe;
    color: #5b21b6;
  }

  .prg-chip-space {
    background: #cffafe;
    color: #0f766e;
  }

  .prg-chip-usecase {
    background: #fef3c7;
    color: #92400e;
  }
}

.prg-buy-options-title {
  font-size: 24px;
  margin-bottom: 15px;
}

.prg-buy-options-image {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
  max-width: 150px;
}

.prg-buy-options-image img {
  max-width: 100%;
  height: auto;
}

.prg-buy-options-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  clear: both;
}

.prg-buy-options-table th,
.prg-buy-options-table td {
  padding: 12px 15px;
  text-align: center;
  border: 1px solid #ddd;
}

.prg-buy-options-table th {
  background-color: #f7f7f7;
  font-weight: bold;
}

.prg-buy-options-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.prg-vendor-name {
  font-weight: 600;
}

.prg-vendor-price {
  font-weight: 600;
  color: #e91e63;
}

/* Updated Buy Button Styles to match shopindoor-cta-block */
.prg-buy-button {
  color: #ffffff !important;
  cursor: pointer;
  font-size: 0.9rem !important;
  left: 0px;
  margin-bottom: 1rem;
  margin-top: 1.5rem !important;
  padding: 0.775rem 2rem !important;
  position: relative;
  right: 0px;
  text-decoration: none;
  top: 0px;
  transition: all 0.3s ease 0s;
  user-select: none;
  z-index: 3;
  text-transform: capitalize;
  line-height: 1.5rem;
  font-weight: 500;
  display: inline-block;
}

.prg-buy-button:hover {
  animation: pulse 1s;
  transition: 0.3s;
  color: #fff !important;
  text-decoration: none;
}

.prg-buy-button::after {
  background: linear-gradient(180deg, #ff4040, #ea0000) repeat scroll 0 0
    transparent !important;
  border-radius: 3px;
  content: "";
  display: inline-block;
  height: 100%;
  left: 0px;
  position: absolute;
  top: 0px;
  transition: all 0.3s ease 0s;
  width: 100%;
  z-index: -1;
}

.prg-buy-button::before {
  background: linear-gradient(180deg, #ff4040, #c10b0b) repeat scroll 0 0
    transparent !important;
  border-radius: 3px;
  box-shadow: #74c4db 0px 3px 25px;
  content: "";
  display: inline-block;
  height: 100%;
  left: 0px;
  position: absolute;
  top: 4px;
  transition: all 0.3s ease 0s;
  width: 100%;
  z-index: -1;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 64, 64, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 64, 64, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 64, 64, 0);
  }
}

.prg-vendor-notes {
  margin-top: 8px;
  font-size: 0.9em;
  color: #666;
  font-style: italic;
}

/* Price disclaimer */
.prg-price-disclaimer {
  font-size: 11px;
  color: #777;
  font-style: italic;
  text-align: right;
  margin-top: 8px;
  margin-bottom: 15px;
}

/* Sticky CTA block */
.product-review__wrapper {
  position: relative;
  padding-bottom: 60px;
}

.product__showcase {
  padding: 30px;
  margin-bottom: 45px;
  box-shadow: 0 4px 10px rgba(72, 69, 69, 0.17);
  border-radius: 10px;
}

.shopindoor-cta-block {
  position: relative;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  transition: none;
}

.shopindoor-cta-block .cta-thumb {
  display: none;
  width: 43px;
  height: 43px;
  margin-right: 12px;
  flex-shrink: 0;
}

.shopindoor-cta-block .cta-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.shopindoor-cta-block.is-sticky {
  position: fixed;
  padding-top: 10px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(72, 69, 69, 0.17);
  border-radius: 0 0 10px 10px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: unset;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1000;
  -webkit-perspective: 1000;
}

.shopindoor-cta-block.is-sticky .inner-container {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 16px;
  align-items: flex-start;
}

.shopindoor-cta-block.is-sticky .cta-thumb {
  display: block;
}

.shopindoor-cta-block.is-sticky .gb-button {
  padding: 6px 16px !important;
  font-size: 14px !important;
  flex-grow: 1;
  justify-content: center;
  white-space: nowrap;
  min-height: 36px;
  max-width: 360px;
  margin-top: 0 !important;
}

/* Amazon Check Price */
.prg-check-price {
  font-style: italic;
  color: #555;
  font-size: 16px;
}

/* Responsive styles for the table */
@media screen and (max-width: 600px) {
  .prg-buy-options-table {
    border: 0;
  }

  .prg-buy-options-table thead {
    display: none;
  }

  .prg-buy-options-table tr {
    margin-bottom: 15px;
    display: block;
    border: 1px solid #ddd;
  }

  .prg-buy-options-table td {
    display: block;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
    border-top: 0;
    border-left: 0;
    border-right: 0;
  }

  .prg-buy-options-table td:last-child {
    border-bottom: 0;
  }

  .prg-buy-options-table td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
  }
}


/* ==========================================================================
   BROWSE PAGE STYLES
   ========================================================================== */
/* Browse page styles have been extracted to prg-browse.css for better
   organization and performance. The browse CSS is now conditionally loaded
   only on /products/ pages.
   
   @see assets/css/prg-browse.css
*/

/* =================================================================
   Vendor Perks & Financing Styles
   ================================================================= */
.prg-product-financing {
  margin-bottom: 1px;
}

.prg-product-financing .prg-financing-label {
  font-size: 0.85em;
  color: #6b7280;
  margin-right: 5px;
}

.prg-product-financing .prg-financing-value {
  font-weight: 500;
  color: #6366f1;
  font-size: 0.7em;
}

.prg-product-perk {
  margin-bottom: 8px;
}

.prg-product-perk .prg-perk-label {
  font-size: 0.85em;
  color: #6b7280;
  margin-right: 5px;
}

.prg-product-perk .prg-perk-value {
  font-weight: 500;
  color: #10b981;
  font-size: 0.7em;
}

.prg-vendor-benefits {
  margin: 24px 0;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.prg-benefits-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  text-align: center;
}

.prg-benefits-heading span {
  display: inline-block;
}

.prg-benefits-logo {
  width: 50px;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  background-color: #ffffff;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.08);
}

/* =================================================================
   Editorial Recognition Styles
   ================================================================= */
.prg-editorial-recognition {
  margin: 24px 0;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.prg-editorial-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.prg-editorial-heading .dashicons {
  color: #f59e0b;
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.prg-editorial-primary {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.prg-editorial-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #374151;
}

.prg-editorial-item .dashicons {
  flex-shrink: 0;
  font-size: 25px;
  width: 25px;
  height: 25px;
}

.prg-editorial-item .dashicons-media-document {
  color: #6b7280;
}

.prg-editorial-ranking {
  font-weight: 600;
}

.prg-editorial-link,
.prg-editorial-item a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s ease;
}

.prg-editorial-link:hover,
.prg-editorial-item a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.prg-editorial-toggle {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.prg-editorial-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.2s ease;
}

.prg-editorial-toggle-btn:hover,
.prg-editorial-toggle-btn:focus,
.prg-editorial-toggle-btn:active {
  color: #6b7280;
  background-color: transparent;
  outline: none;
  box-shadow: none;
}

.prg-editorial-toggle-btn .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.prg-editorial-list {
  list-style: none;
  margin: 12px 0 0 0;
  padding: 0;
}

.prg-editorial-list li {
  margin-bottom: 8px;
}

.prg-editorial-list li:last-child {
  margin-bottom: 0;
}

.prg-editorial-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f9fafb;
  border-radius: 6px;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
}

.prg-editorial-list a:hover {
  background: #f3f4f6;
  color: #111827;
}

.prg-editorial-list .dashicons {
  flex-shrink: 0;
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.prg-editorial-source-title {
  flex: 1;
  font-size: 13px;
}

.prg-editorial-source-rank {
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
}

@media (max-width: 768px) {
  .prg-editorial-recognition {
    padding: 16px;
    margin: 16px 0;
  }

  .prg-editorial-primary {
    gap: 10px;
  }

  .prg-editorial-item {
    font-size: 13px;
  }

  .prg-editorial-list a {
    padding: 6px 10px;
  }
}

@media (prefers-color-scheme: dark) {
  .prg-editorial-recognition {
    background: #ffffff;
    border-color: #e5e7eb;
  }

  .prg-editorial-heading {
    color: #111827;
  }

  .prg-editorial-item {
    color: #374151;
  }

  .prg-editorial-list a {
    background: #f9fafb;
    color: #374151;
  }

  .prg-editorial-list a:hover {
    background: #f3f4f6;
    color: #111827;
  }
}

.prg-benefit-financing {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.prg-benefit-financing .dashicons {
  color: #6366f1;
  font-size: 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.prg-financing-details {
  flex: 1;
}

.prg-financing-details strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #111827;
}

.prg-financing-options {
  list-style: none;
  margin: 8px 0;
  padding: 0;
}

.prg-financing-options li {
  padding: 4px 0;
  font-size: 13px;
  color: #374151;
}

.prg-financing-options li::before {
  content: "\2713";
  color: #10b981;
  font-weight: bold;
  margin-right: 6px;
}

.prg-financing-disclaimer {
  display: block;
  margin-top: 8px;
  color: #6b7280;
  font-size: 11px;
  font-style: italic;
}

.prg-benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.prg-benefits-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-size: 14px;
  color: #374151;
}

.prg-benefits-list li:first-child {
  padding-top: 0;
}

.prg-benefits-list li .dashicons {
  color: #10b981;
  font-size: 18px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.prg-benefits-disclaimer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .prg-vendor-benefits {
    padding: 16px;
    margin: 16px 0;
  }

  .prg-benefit-financing {
    flex-direction: column;
    gap: 8px;
  }

  .prg-financing-details {
    width: 100%;
  }

  .prg-benefits-list {
    flex-direction: column;
    gap: 8px;
  }

  .prg-benefits-list li {
    padding: 8px 0;
  }
}

/* ==========================================================================
   Product Navigation List Styles (used in articles via [prg_list] shortcode)
   ========================================================================== */
.prg-product-navigation {
  margin: 2em 0;
  padding: 1.5em;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background-color: #f9f9f9;
}

.prg-product-nav-title {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
}

.prg-product-nav-description {
  margin-bottom: 1em;
  font-size: 0.9em;
  color: #555;
}

.prg-product-nav {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.prg-product-nav li {
  margin-bottom: 0.5em;
  padding: 0;
}

.prg-product-nav a {
  display: block;
  padding: 0.5em 0.8em;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  text-decoration: none;
  color: #0073aa;
  font-weight: 500;
  transition: all 0.2s ease;
}

.prg-product-nav a:hover {
  background-color: #f0f0f0;
  border-color: #bbb;
  text-decoration: none;
}

/* ==========================================================================
   Where to Buy Widget Styles (Sidebar Widget)
   ========================================================================== */
.prg-sidebar-widget {
  padding: 15px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  transition: none;
}

/* Reset other sticky elements when our widget is present */
body.has-sticky-buy-widget .sticky:not(.prg-sidebar-widget),
body.has-sticky-buy-widget .is-sticky:not(.prg-sidebar-widget) {
  position: static !important;
  top: auto !important;
}

.prg-sidebar-widget-title {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 17px;
  text-align: center;
  text-transform: capitalize;
  line-height: normal;
}

.prg-featured-image {
  text-align: center;
  margin-bottom: 12px;
}

.prg-featured-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.prg-sidebar-widget-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prg-sidebar-buy-button {
  color: #ffffff !important;
  cursor: pointer;
  font-size: 0.8rem !important;
  left: 0px;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
  padding: 0.775rem 2rem !important;
  position: relative;
  right: 0px;
  text-decoration: none;
  top: 0px;
  transition: all 0.3s ease 0s;
  user-select: none;
  z-index: 3;
  text-transform: capitalize;
  line-height: 1rem;
  font-weight: 500;
  display: block;
  text-align: center;
  box-sizing: border-box;
}

.prg-sidebar-buy-button:hover {
  animation: pulse 1s;
  transition: 0.3s;
  color: #fff !important;
  text-decoration: none;
}

.prg-sidebar-buy-button::after {
  background: linear-gradient(180deg, #ff4040, #ea0000) repeat scroll 0 0
    transparent !important;
  border-radius: 3px;
  content: "";
  display: inline-block;
  height: 100%;
  left: 0px;
  position: absolute;
  top: 0px;
  transition: all 0.3s ease 0s;
  width: 100%;
  z-index: -1;
}

.prg-sidebar-buy-button::before {
  background: linear-gradient(180deg, #ff4040, #c10b0b) repeat scroll 0 0
    transparent !important;
  border-radius: 3px;
  box-shadow: #74c4db 0px 3px 25px;
  content: "";
  display: inline-block;
  height: 100%;
  left: 0px;
  position: absolute;
  top: 4px;
  transition: all 0.3s ease 0s;
  width: 100%;
  z-index: -1;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 64, 64, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 64, 64, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 64, 64, 0);
  }
}

/* Mobile Sticky PRG Widget */
@media (max-width: 993px) {
  .prg-sidebar-widget.is-mobile-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100 !important;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  /* Smooth animation when appearing/disappearing */
  .prg-sidebar-widget.is-mobile-sticky.prg-widget-entering {
    opacity: 0;
    transform: translateY(-30px);
  }

  .prg-sidebar-widget.is-mobile-sticky.prg-widget-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .prg-sidebar-widget.is-mobile-sticky .prg-sidebar-widget-title {
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
  }

  .prg-sidebar-widget.is-mobile-sticky .prg-featured-image {
    display: none;
  }

  .prg-sidebar-widget.is-mobile-sticky .prg-sidebar-widget-options {
    flex-direction: row;
    gap: 10px;
    justify-content: center;
  }

  .prg-sidebar-widget.is-mobile-sticky
    .prg-sidebar-buy-button:not(:first-child) {
    display: none;
  }

  .prg-sidebar-widget.is-mobile-sticky .prg-sidebar-buy-button {
    margin: 0;
    padding: 8px 16px !important;
    font-size: 0.75rem !important;
    flex: 1;
    max-width: 200px;
  }
}

/* Editorial Transparency Log */

.prg-table-disclaimer {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #495261;
}

.prg-transparency-log-block {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #d8dee8;
}

.prg-transparency-log-block__intro {
  margin-bottom: 16px;
}

.prg-transparency-log-block__blurb,
.prg-table-disclaimer--inline {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
}

.prg-table-disclaimer--inline {
  margin-top: 8px;
}

.prg-transparency-log-block__box {
  background: #fbfcfe;
  border: 1px solid #d9e2ec;
  border-left: 4px dashed #8ba0b6;
  border-radius: 14px;
  padding: 18px 20px;
}

.prg-transparency-log-block__title {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.25;
  color: #17324d;
}

.prg-transparency-log-block__entries,
.prg-transparency-log-block__older {
  display: grid;
  gap: 14px;
}

.prg-transparency-log-block__older {
  margin-top: 14px;
}

.prg-transparency-log-entry {
  padding-bottom: 14px;
  border-bottom: 1px solid #e7edf4;
}

.prg-transparency-log-entry:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.prg-transparency-log-entry__headline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #1f2937;
}

.prg-transparency-log-entry__date {
  min-width: 84px;
  font-weight: 600;
  color: #52606d;
}

.prg-transparency-log-entry__removed,
.prg-transparency-log-entry__label,
.prg-transparency-log-entry__added {
  font-weight: 600;
}

.prg-transparency-log-entry__arrow {
  color: #64748b;
}

.prg-transparency-log-entry__reason {
  margin: 4px 0 0 92px;
  font-size: 14px;
  line-height: 1.7;
  color: #52606d;
}

.prg-transparency-log-block__toggle {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.prg-transparency-log-block__toggle:hover,
.prg-transparency-log-block__toggle:focus {
  color: #1e40af;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .prg-transparency-log-block__box {
    padding: 16px;
  }

  .prg-transparency-log-entry__headline {
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
  }

  .prg-transparency-log-entry__date {
    min-width: 0;
  }

  .prg-transparency-log-entry__reason {
    margin-left: 0;
  }
}
