@media (min-width: 992px) {
  .h-100-desktop {
    height: 100% !important;
  }
}

.product-page {
  .price-amount {
    font-weight: 700;
    font-size: 1.15rem;

    &.success {
      color: #84b31c;
    }

    &.info {
      color: #4ac7ef;
    }

    &.warn {
      color: #fa9512;
    }

    &.muted {
      color: #999999;
    }
  }

  .widget-label-text {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid transparent;
    line-height: 1.2;

    &.muted {
      background: #eee;
      border-color: #ddd;
      color: #555;
    }

    &.info {
      background: #edf9ff;
      border-color: #4ac7ef;
      color: #001321;
    }

    &.success {
      background: #def4a6;
      border-color: #9fcc3b;
      color: #2c4700;
    }

    &.warn {
      background: #fff5e3;
      border-color: #ffca69;
      color: #814d00;
    }
  }

  .w-140 {
    width: 140px;
  }

  .w-120 {
    width: 120px;
  }

  .product-img-main-sm {
    max-height: 72px;
    width: auto;
    object-fit: contain;
  }

  .no-img-placeholder-sm {
    width: 90px;
    height: 72px;
  }

  .logo-img {
    max-height: 30px;
    width: auto;
  }

  .logo-img-sm {
    max-height: 24px;
  }

  .store-logo-sm {
    max-height: 24px;
    width: auto;
    object-fit: contain;
  }

  .store-link-section {
    .store-url-link {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.4;
      max-height: calc(1.4em * 2);
      word-break: break-all;
    }
  }

  .similar-img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
  }

  .hist-graph {
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    display: flex;
    gap: .5rem;
    margin-bottom: 31px;

    .scaleY {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      color: #666;
      font-size: 12px;

      > div {
        text-align: right;
      }
    }

    .bars {
      background-image: repeating-linear-gradient(#ddd 0 1px, transparent 1px 100%), repeating-linear-gradient(90deg, #ddd 0 1px, transparent 1px 100%);
      background-size: 52px 25px;
      background-position: left bottom;
      flex-grow: 1;
      display: flex;
      flex-direction: row;
      align-items: flex-end;
      height: 150px;
      position: relative;

      .bar {
        flex-grow: 1;
        position: relative;
        height: 100%;
        display: flex;
        align-items: flex-end;

        .bar-fill {
          width: 100%;
          background: rgba(80, 179, 234, 0.82);
          position: relative;
          transition: box-shadow .08s ease-in-out;

          .point {
            width: 6px;
            height: 6px;
            background: #33b7e1;
            border: 1px solid #0789b8;
            border-radius: 10px;
            position: absolute;
            top: -4px;
            left: -4px;

            &.hide {
              display: none;
            }
          }
        }

        @media (hover: hover) and (pointer: fine) {
          &:hover {
            .bar-fill {
              box-shadow: -1px 0 0 0 #333;

              .point {
                display: block;
                border-color: #333;
                background: rgba(0, 0, 0, 0.7);
                z-index: 1;
              }
            }
          }
        }

        &.hover {
          .bar-fill {
            box-shadow: -1px 0 0 0 #333;

            .point {
              display: block;
              border-color: #333;
              background: rgba(0, 0, 0, 0.7);
              z-index: 1;
            }
          }
        }
      }

      .cursor-tooltip {
        display: none;
        position: fixed;
        font-size: 12px;
        line-height: 13px;
        padding: 3px 5px;
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
        z-index: 9999;
        white-space: nowrap;
        text-align: left;
        border-radius: 5px;
        pointer-events: none;

        .date {
          color: #ccc;
        }

        .price {
          font-weight: bold;
        }
      }

      .legend-x {
        font-size: 12px;
        color: #666;
        display: flex;
        justify-content: space-between;
        position: absolute;
        margin-top: 5px;
        top: 100%;
        left: 0;
        right: 0;
      }
    }

  }

  .faq-item-modern {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, #4ac7ef, #84b31c, #fa9512);
      border-radius: 12px 12px 0 0;
    }

    &:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
      background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    }

    .faq-question {
      color: #2c3e50;
      font-weight: 600;
      font-size: 1.1rem;
      line-height: 1.4;
      margin-bottom: 1rem;
    }

    .faq-answer {
      color: #5a6c7d;
      line-height: 1.6;
      margin: 0;
      font-size: 0.95rem;
    }
  }

  .extension-cta-small {
    .extension-banner {
      background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
      border: 1px solid #dee2e6;
      border-radius: 8px;
      padding: 8px 12px;
      font-size: 0.75rem;
      color: #5783b3;
      display: flex;
      align-items: center;
      gap: 6px;
      position: relative;
      overflow: hidden;
      animation: slideIn 0.8s ease-out;

      &::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        animation: shimmer 2s infinite;
      }

      &:hover {
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border-color: #4ac7ef;
        transform: scale(1.02);
        transition: all 0.2s ease;
      }

      i.bi-puzzle-fill {
        color: #4ac7ef;
        font-size: 0.8rem;
        animation: pulse 2s infinite;
      }

      .extension-text {
        flex: 1;
        line-height: 1.2;
      }

      .btn-mini {
        width: 20px;
        height: 20px;
        padding: 0;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        transition: all 0.2s ease;
        text-decoration: none;

        i {
          font-size: 0.65rem;
        }

        &:hover {
          transform: scale(1.1);
        }

        &.btn-chrome {
          background: #4285f4;
          color: white;
          border: 1px solid #3367d6;
        }

        &.btn-firefox {
          background: #ff9500;
          color: white;
          border: 1px solid #e67700;
        }

        &.btn-edge {
          background: #0078d4;
          color: white;
          border: 1px solid #106ebe;
        }

        &.btn-opera {
          background: #ff1b2d;
          color: white;
          border: 1px solid #cc1528;
        }

        &.btn-default {
          background: #84b31c;
          color: white;
          border: 1px solid #6a9016;
        }
      }
    }

    @keyframes slideIn {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes shimmer {
      0% {
        left: -100%;
      }
      100% {
        left: 100%;
      }
    }

    @keyframes pulse {
      0%, 100% {
        opacity: 1;
      }
      50% {
        opacity: 0.6;
      }
    }
  }
}

@keyframes hl {
  0% {
    box-shadow: 0 0 0 7px #ffca69 inset;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) inset;
  }
}
