/**
 * AestheProd Blocks Frontend Styles
 */

/* Review Block */
.aestheprod-review-block {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  .aestheprod-review-block .review-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.8em;
    color: var(--color-primary, #3498db);
  }
  
  .aestheprod-review-block .review-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .aestheprod-review-block .stars-container {
    display: flex;
    margin-right: 15px;
  }
  
  .aestheprod-review-block .star {
    font-size: 28px;
    color: #ddd;
    margin-right: 2px;
  }
  
  .aestheprod-review-block .star.filled {
    color: #ffb900;
  }
  
  .aestheprod-review-block .rating-text {
    font-weight: bold;
    font-size: 1.2em;
  }
  
  .aestheprod-review-block .review-content {
    margin-bottom: 25px;
    line-height: 1.6;
  }
  
  .aestheprod-review-block .review-pros-cons {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
  }
  
  .aestheprod-review-block .review-pros,
  .aestheprod-review-block .review-cons {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    border-radius: 6px;
  }
  
  .aestheprod-review-block .review-pros {
    background-color: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4caf50;
  }
  
  .aestheprod-review-block .review-cons {
    background-color: rgba(244, 67, 54, 0.1);
    border-left: 4px solid #f44336;
  }
  
  .aestheprod-review-block .review-pros h4,
  .aestheprod-review-block .review-cons h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3em;
  }
  
  .aestheprod-review-block .review-pros h4 {
    color: #4caf50;
  }
  
  .aestheprod-review-block .review-cons h4 {
    color: #f44336;
  }
  
  .aestheprod-review-block .review-pros ul,
  .aestheprod-review-block .review-cons ul {
    margin: 0;
    padding-left: 20px;
  }
  
  .aestheprod-review-block .review-pros li,
  .aestheprod-review-block .review-cons li {
    margin-bottom: 8px;
    line-height: 1.5;
  }
  
  /* Responsive styles */
  @media screen and (max-width: 768px) {
    .aestheprod-review-block {
      padding: 20px;
    }
  
    .aestheprod-review-block .review-pros-cons {
      gap: 20px;
    }
  }
  
  /* Ranking Block */
  .aestheprod-ranking-block {
    margin-bottom: 40px;
  }
  
  .aestheprod-ranking-block .ranking-title {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.8em;
    color: var(--color-primary, #3498db);
    text-align: center;
  }
  
  .aestheprod-ranking-block .ranking-list {
    list-style-position: outside;
    padding-left: 0;
    counter-reset: ranking-counter;
  }
  
  .aestheprod-ranking-block .ranking-item {
    position: relative;
    margin-bottom: 30px;
    padding: 25px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    counter-increment: ranking-counter;
  }
  
  .aestheprod-ranking-block .ranking-item::before {
    content: counter(ranking-counter);
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary, #3498db);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    z-index: 1;
  }
  
  .aestheprod-ranking-block .ranking-item-content {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
  }
  
  .aestheprod-ranking-block .ranking-item-image {
    flex: 0 0 200px;
  }
  
  .aestheprod-ranking-block .ranking-item-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .aestheprod-ranking-block .ranking-item-details {
    flex: 1;
    min-width: 250px;
  }
  
  .aestheprod-ranking-block .ranking-item-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
    color: var(--color-text, #333);
  }
  
  .aestheprod-ranking-block .ranking-item-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
  }
  
  .aestheprod-ranking-block .ranking-item-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .aestheprod-ranking-block .stars-container {
    display: flex;
    margin-right: 10px;
  }
  
  .aestheprod-ranking-block .star {
    font-size: 20px;
    color: #ddd;
    margin-right: 2px;
  }
  
  .aestheprod-ranking-block .star.filled {
    color: #ffb900;
  }
  
  .aestheprod-ranking-block .rating-text {
    font-weight: bold;
  }
  
  .aestheprod-ranking-block .ranking-item-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--color-primary, #3498db);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.2s ease;
  }
  
  .aestheprod-ranking-block .ranking-item-link:hover {
    background-color: var(--color-accent, #e74c3c);
  }
  
  /* Responsive styles */
  @media screen and (max-width: 768px) {
    .aestheprod-ranking-block .ranking-item {
      padding: 20px;
    }
  
    .aestheprod-ranking-block .ranking-item-image {
      flex: 0 0 100%;
      margin-bottom: 15px;
    }
  
    .aestheprod-ranking-block .ranking-item-image img {
      width: 100%;
    }
  }
  
  /* Code Block */
  .aestheprod-code-block {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .aestheprod-code-block .code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #2d2d2d;
    color: white;
  }
  
  .aestheprod-code-block .code-language {
    font-family: monospace;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
  }
  
  .aestheprod-code-block .copy-button {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .aestheprod-code-block .copy-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }
  
  .aestheprod-code-block .copy-button.copied {
    background-color: #4caf50;
  }
  
  .aestheprod-code-block pre {
    margin: 0;
    padding: 20px;
    background-color: #f8f8f8;
    overflow-x: auto;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
    tab-size: 2;
  }
  
  .aestheprod-code-block pre.line-numbers {
    padding-left: 3.8em;
    counter-reset: line;
    position: relative;
  }
  
  .aestheprod-code-block pre.line-numbers > code {
    position: relative;
    white-space: inherit;
  }
  
  .aestheprod-code-block .line-numbers-rows {
    position: absolute;
    pointer-events: none;
    top: 20px;
    left: 0;
    width: 3em;
    letter-spacing: -1px;
    border-right: 1px solid #ddd;
    user-select: none;
  }
  
  .aestheprod-code-block .line-numbers-rows > span {
    display: block;
    counter-increment: line;
    pointer-events: none;
  }
  
  .aestheprod-code-block .line-numbers-rows > span:before {
    content: counter(line);
    color: #999;
    display: block;
    padding-right: 0.8em;
    text-align: right;
  }
  
  /* Ad Block */
  .aestheprod-ad-block {
    margin: 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    clear: both;
  }
  
  .aestheprod-ad-block.ad-position-center {
    text-align: center;
  }
  
  .aestheprod-ad-block.ad-position-left {
    text-align: left;
  }
  
  .aestheprod-ad-block.ad-position-right {
    text-align: right;
  }
  
  .aestheprod-ad-block.ad-position-full-width {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  
  /* Responsive styles */
  @media screen and (max-width: 480px) {
    .aestheprod-ad-block {
      padding: 15px;
    }
  }
  
  