/* Overlay "Ver mais" */
.overlay-more {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.overlay-more:hover {
    background: rgba(0, 0, 0, 0.75);
}

@media (min-width: 769px) {
    .gallery-grid {
        height: 430px;
    }
    .gallery-grid .main-img {
        height: 100%;
        object-fit: cover;
    }
    .gallery-grid .small-img {
        height: calc(430px / 3 - 6px);
    }
    .gallery-grid img {
        object-fit: cover;
    }
    .overlay-more {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        font-weight: bold;
        font-size: 1.2rem;
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.3s;
    }
    .overlay-more:hover {
        background: rgba(0, 0, 0, 0.75);
    }
}
/* 📱 Mobile */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* stack tudo em 1 coluna */
        max-height: none; /* remove limite */
    }

    .gallery-grid .main-img {
        grid-row: auto;
        height: 250px; /* altura controlada */
    }

    .gallery-grid .small-img {
        height: 120px; /* menor para mobile */
    }
    .price-box-bar .cart-and-bay-btn{
        width: 100%;
    }
     .price-box-bar .cart-and-bay-btn a{
        width:100%;
        margin:2px 0px;
     }
}

/* 📱 Muito pequeno (até 480px) */
@media (max-width: 480px) {
    .gallery-grid .main-img {
        height: 200px;
    }
    .gallery-grid .small-img {
        height: 100px;
    }
    .overlay-more {
        font-size: 1rem;
    }
}

.agenda-container {
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.agenda-container::-webkit-scrollbar {
  height: 6px;
}
.agenda-container::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 3px;
}
.agenda-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.agenda-header {
  display: flex;
  border-bottom: 2px solid #ddd;
  padding: 10px 0;
  background: #fafafa;
  position: sticky;
  top: 0;
  z-index: 10;
}

.agenda-header div {
  flex: 1;
  min-width: 150px;
  text-align: center;
  font-weight: bold;
  font-size: 0.95rem;
}

.agenda-body {
  display: flex;
  flex-wrap: nowrap;
}

.agenda-day {
  flex: 1;
  min-width: 150px;
  border-right: 1px solid #eee;
  padding: 10px;
  background: #fff;
  transition: background 0.3s;
}
.agenda-day:hover {
  background: #f9f9f9;
}

.evento {
  background: #cfb47b;
  color: #fff;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.evento:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* 🔹 Responsividade */
@media (max-width: 992px) { /* Tablets */
  .agenda-header div, 
  .agenda-day {
    min-width: 120px;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) { /* Celulares médios */
  .agenda-header div, 
  .agenda-day {
    min-width: 100px;
  }
  .evento {
    font-size: 0.8rem;
    padding: 6px;
  }
}

@media (max-width: 576px) { /* Celulares pequenos */
  .agenda-container {
    display: block;
    overflow-x: auto;
  }

  .agenda-header {
    display: grid;
    grid-template-columns: repeat(7, minmax(80px, 1fr));
    font-size: 0.75rem;
  }

  .agenda-body {
    display: grid;
    grid-template-columns: repeat(7, minmax(80px, 1fr));
  }

  .agenda-day {
    min-width: auto;
    padding: 6px;
  }

  .evento {
    font-size: 0.7rem;
    padding: 4px;
    margin-bottom: 6px;
  }
}

    .small-img {
    width: 100%;
    height: 120px; /* mobile */
    overflow: hidden;
    border-radius: 10px;
}

.small-img-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* CRUCIAL */
    object-position: center;
}

/* Tablet */
@media (min-width: 768px) {
    .small-img {
        height: 180px;
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .small-img {
        height: 200px;
    }
}


/* ---------- Base ---------- */
.single-product-details {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 0.5rem 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* ---------- Title ---------- */
.product-title {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-heading, #1a1a2e);
    margin: 0;
}

/* ---------- Meta (store / location) ---------- */
.product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.8rem;
    font-size: 0.875rem;
    color: #555;
}
.meta-item { display: flex; align-items: center; gap: 0.35rem; }
.meta-item i { color: var(--color-destaque, #e05c1a); font-size: 0.85rem; }
.meta-item a { color: var(--color-destaque, #e05c1a); font-weight: 600; text-decoration: none; }
.meta-item a:hover { text-decoration: underline; }
.meta-divider { color: #ccc; }

/* ---------- Engagement ---------- */
.product-engagement {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.engagement-btn,
.engagement-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}
.like-btn:hover, .like-btn.liked { color: #e74c3c; }
.like-btn i { font-size: 1rem; }

/* ---------- Price ---------- */
.product-price-block {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    background: #f7f8fc;
    border-left: 3px solid var(--color-destaque, #e05c1a);
    border-radius: 0 8px 8px 0;
    padding: 0.65rem 1rem;
}
.price-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    font-weight: 600;
}
.price-value {
    font-size: 1.55rem;
    font-weight: 700;
    color: #1a1a2e;
}
.price-value small { font-size: 0.85rem; font-weight: 500; color: #555; }

/* Promo variant */
.product-price-block.promo {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}
.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #e74c3c;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    letter-spacing: 0.03em;
}
.price-row { display: flex; align-items: baseline; gap: 0.75rem; }
.price-old { color: #aaa; font-size: 1rem; }

/* ---------- Social Proof ---------- */
.social-proof {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    background: #fff8f0;
    border: 1px solid #fde3c4;
    border-radius: 8px;
    padding: 0.5rem 0.85rem;
    color: #555;
}
.proof-divider { color: #ccc; }
.proof-link { color: var(--color-destaque, #e05c1a); font-weight: 600; text-decoration: none; }
.proof-link:hover { text-decoration: underline; }

/* ---------- Description ---------- */
.product-description {
    border-top: 1px solid #eee;
    padding-top: 0.9rem;
}
.description-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 700;
    color: #aaa;
    margin-bottom: 0.3rem;
}
.product-description p:last-child {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #444;
    margin: 0;
}

/* ---------- Feature List ---------- */
.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.product-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #444;
}
.product-features li i { color: #27ae60; font-size: 0.9rem; }

/* ---------- Action Buttons ---------- */
.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-top: 0.5rem;
}
.btn { border-radius: 8px; font-size: 0.88rem; font-weight: 600; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.6rem 1.1rem; }

.btn-primary-action {
    background: var(--color-destaque, #e05c1a);
    color: #fff;
    flex: 1 1 auto;
    justify-content: center;
}
.btn-primary-action:hover { filter: brightness(1.1); transform: translateY(-1px); color: #fff; }

.btn-secondary-action {
    background: #f0f2f5;
    color: #333;
    flex: 1 1 auto;
    justify-content: center;
}
.btn-secondary-action:hover { background: #e2e5ea; transform: translateY(-1px); color: #111; }

.btn-icon-action {
    background: #f0f2f5;
    color: #333;
    padding: 0.6rem 0.85rem;
    flex: 0 0 auto;
}
.btn-icon-action:hover { background: #e2e5ea; transform: translateY(-1px); color: #111; }

/* ---------- Share ---------- */
.product-share {
    border-top: 1px solid #eee;
    padding-top: 0.85rem;
}

/* ---------- Video ---------- */
.product-video-wrapper {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.10);
    line-height: 0;
}
.product-video-wrapper iframe {
    display: block;
    width: 100%;
    border-radius: 14px;
}

/* ---------- Section Shell ---------- */
.comments-section {
    font-family: 'Segoe UI', system-ui, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ---------- Header ---------- */
.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.75rem;
}
.comments-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
}
.comments-title i { color: var(--color-destaque, #e05c1a); }
.comments-count {
    font-size: 0.82rem;
    font-weight: 600;
    color: #999;
    background: #f4f4f4;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
}

/* ---------- Grid ---------- */
.comments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

/* ---------- Card ---------- */
.comment-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
    transition: box-shadow 0.2s, transform 0.2s;
}
.comment-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.comment-text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #444;
    margin: 0;
    flex: 1;
}
.comment-footer {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f4f4f4;
}
.comment-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-destaque, #e05c1a);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.comment-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.comment-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: #222;
}
.comment-date {
    font-size: 0.75rem;
    color: #aaa;
}

/* ---------- Empty state ---------- */
.comments-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #bbb;
    background: #fafafa;
    border: 2px dashed #eee;
    border-radius: 14px;
}
.comments-empty i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
}
.comments-empty p {
    font-size: 0.9rem;
    margin: 0;
}

/* ---------- Comment Form ---------- */
.comment-form-wrapper {
    background: #f9f9fb;
    border: 1px solid #efefef;
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.form-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}
.comment-textarea {
    width: 100%;
    border: 1.5px solid #e5e5e5;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    font-family: inherit;
    color: #333;
    background: #fff;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}
.comment-textarea:focus {
    border-color: var(--color-destaque, #e05c1a);
    box-shadow: 0 0 0 3px rgba(224, 92, 26, .12);
}
.comment-submit {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--color-destaque, #e05c1a);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.65rem 1.4rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s, transform 0.2s;
}
.comment-submit:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* ---------- Responsive ---------- */
@media (max-width: 576px) {
    .comments-grid { grid-template-columns: 1fr; }
    .comment-submit { width: 100%; justify-content: center; }
}