/* CSS for image upload and Review Modal */

#product-comment-image-upload {
  border: 2px dashed #ddd;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  background: #f9f9f9;
  margin-bottom: 15px;
}

#product-comment-image-upload.dragover {
  background: #eef;
  border-color: #aaf;
}

.upload-drop-zone p {
  margin: 0;
  color: #666;
}

.upload-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  justify-content: center;
}

.preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border: 1px solid #ddd;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-item img {
  max-width: 100%;
  max-height: 100%;
}

.preview-item .remove-image {
  position: absolute;
  top: -5px;
  right: -5px;
  background: red;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  line-height: 18px;
  cursor: pointer;
  font-weight: bold;
}

.preview-item.uploading .spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#upload-errors {
  color: red;
  margin-top: 5px;
  font-size: 0.9em;
}

/* Close Button Styling */
#post-product-comment-modal .modal-header .close {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
  background: transparent;
  border: 0;
  padding: 1rem;
  margin: -1rem -1rem -1rem auto;
  cursor: pointer;
}

#post-product-comment-modal .modal-header .close:hover {
  opacity: .75;
}

/* Previous Revws CSS content (Appended) */
/* Revws-inspired Gallery Styles */
.revws-images {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 10px -10px 0px -10px;
}

.revws-image {
  margin: 10px;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #f5f5f5;
  transition: all 250ms linear;
  overflow: hidden;
}

.revws-image:hover {
  border: 1px solid #222;
  opacity: 0.8;
  cursor: pointer;
}

.revws-image img {
  max-width: 100px;
  max-height: 100px;
  padding: 0px;
  object-fit: contain;
}

/* Additional Lightbox Styles */
#gallery-modal {
  backdrop-filter: blur(5px);
}

#gallery-modal img {
  border: 5px solid #fff;
  border-radius: 4px;
}

/* ... (I will append the rest of Revws CSS content here via separate command if needed, or just keep what I have) */
/* Actually, user said "ostyluj przycisk X". I added it above. */
/* The previous huge Revws content was appended to upload-gallery.css. I should PRESERVE it. */#product-comment-image-upload {
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background: #f9f9f9;
    margin-bottom: 15px;
}

#product-comment-image-upload.dragover {
    background: #eef;
    border-color: #aaf;
}

.upload-drop-zone p {
    margin: 0;
    color: #666;
}

.upload-preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-item img {
    max-width: 100%;
    max-height: 100%;
}

.preview-item .remove-image {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    line-height: 18px;
    cursor: pointer;
    font-weight: bold;
}

.preview-item.uploading .spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#upload-errors {
    color: red;
    margin-top: 5px;
    font-size: 0.9em;
}

/* Revws-inspired Gallery Styles */
.product-comment-images {
    display: flex;
    flex-wrap: wrap;
    margin: 10px -10px 0px -10px;
    /* Exact Revws margin */
}

.product-comment-image-thumb {
    margin: 10px;
    /* Exact Revws margin */
    width: 120px;
    /* Exact Revws size */
    height: 120px;
    /* Exact Revws size */
    border: 1px solid #f5f5f5;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: all 250ms linear;
}

.product-comment-image-thumb:hover {
    border: 1px solid #222;
    opacity: 0.8;
    box-shadow: none;
    /* remove my custom shadow to match flat Revws style if that's what user wants, or keep it subtle? I'll remove it to be "like revws" */
}

/* Ensure the link inside takes up space correctly if needed, usually just centering */
.product-comment-image-thumb a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-comment-image-thumb img {
    max-width: 100px;
    /* Exact Revws max size */
    max-height: 100px;
    padding: 0;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Lightbox styles (if not inline) */
#gallery-modal {
    backdrop-filter: blur(5px);
}

#gallery-modal img {
    border: 5px solid #fff;
    border-radius: 4px;
}/* Automatically generated file - DO NOT EDIT, YOUR CHANGES WOULD BE LOST */


/* begin modules/revws/views/templates/front/css.tpl */
.revws-hidden {
  display: none;
}

.revws-grading {
  display: flex;
  cursor: default;
  touch-action: none;
}
a .revws-grading {
  cursor: pointer;
}

.revws-grade-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.revws-grading-product .revws-grade-wrap {
  padding-left: 2px;
  padding-right: 2px;
}

.revws-grading-criterion .revws-grade-wrap {
  padding-left: 1.75px;
  padding-right: 1.75px;
}

.revws-grading-list .revws-grade-wrap {
  padding-left: 2px;
  padding-right: 2px;
}

.revws-grading-create .revws-grade-wrap {
  padding-left: 10px;
  padding-right: 10px;
}

.revws-grading-product .revws-grade {
  width: 16px;
  height: 16px;
}

.revws-grading-criterion .revws-grade {
  width: 14px;
  height: 14px;
}

.revws-grading-list .revws-grade {
  width: 16px;
  height: 16px;
}

.revws-grading-create .revws-grade {
  width: 80px;
  height: 80px;
}

.revws-grade {
  transition: all 200ms linear;
  stroke-width: 1;
}

.revws-grade path {
  transition: fill 250ms ease;
}

.revws-grade-off path {
  fill: transparent;
  stroke: #d5d5d5;
}

.revws-grade-on path {
  fill: #ffd055;
  stroke: #ffd055;
}

.revws-grade-highlight path {
  fill: #bf9c3f;
  stroke: #bf9c3f;
}

/* review layout */
.revws-review-list {
  position: relative;
  overflow-x: auto;
}

.revws-loading {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0.5;
}
.revws-loading-spinner {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center
}

.revws-under-review {
  color: red;
  font-size: 12px;
  margin-top: -10px;
}

.revws-review {
  position: relative;
  display: flex;
  flex-direction: row;
  margin: 10px 0px;
  padding: 10px;
  border-top: 1px solid #e5e5e5;
}

.revws-review:first-child {
  border-top: none;
}

.revws-review-author {
  min-width: 120px;
}

.revws-review-author-name {
  color: #222;
  font-size: 12px;
}

.revws-verified-buyer-badge {
  display: flex;
  margin-top: 5px;
  font-weight: 500;
  color: green;
  font-size: 12px;
  line-height: 16px;
}

.revws-verified-buyer-badge:before {
  content: '';
  background:url('../img/verified-buyer-badge.svg');
  width: 14px;
  height: 14px;
  margin-right: 5px;
  display: inline-block;
}

.revws-review-date {
  color: #999;
  font-size: 12px;
}

.revws-review-review {
  display: flex;
  justify-content: space-between;
}

.revws-review-box {
  width: 100%;
}

.revws-review-title {
  color: #222;
  font-weight: bold;
  font-size: 16px;
  word-break: break-word;
}

.revws-review-title a {
  cursor: pointer;
}

.revws-review-content {
  color: #666;
  padding: 10px 0px;
  font-size: 14px;
  word-break: break-word;
}

.revws-review-criteria {
  color: #999;
  font-size: 14px;
  font-weight: 400;
}

.revws-review-criteria-block {
  padding-left: 15px;
}

.revws-review-criteria-block table {
  border-spacing: 0;
  border-collapse: collapse;
}

.revws-review-criteria-block td {
  padding: 0px 10px;
}

.revws-review-criteria-inline {
  width: 100%;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
}

.revws-review-criterion {
  display: flex;
}

.revws-review-criteria-inline .revws-criterion-label {
  margin-right: 10px;
}

.revws-review-criteria-inline .revws-review-criterion:not(:last-child) {
  border-right: 1px solid #f5f5f5;
  padding-right: 20px;
  margin-right: 20px;
}

.revws-actions {
  display: flex;
  color: #999;
  font-size: 12px;
}

.revws-actions .btn {
  color: #999;
  font-size: 12px;
  padding: 3px 6px;
}

.revws-actions .btn:hover {
  color: #222;
  text-decoration: none;
}

.revws-actions .revws-report:first-child .btn,
.revws-actions .revws-delete:first-child .btn {
  padding-left: 0px;
}

.revws-action:not(:last-child) {
  border-right: 1px solid #f5f5f5;
  padding-right: 10px;
  margin-right: 10px;
}

.revws-paging {
  display: flex;
  flex-direction: row;
  justify-content: center;
  height: 48px;
}

.revws-page-prev, .revws-page-next {
  cursor: pointer;
  width: 48px;
  height: 48px;
}

.revws-page-prev svg, .revws-page-next svg {
  margin: 12px;
  fill: rgba(0, 0, 0, 0.54);
}

.revws-disabled svg {
  fill: rgba(0, 0, 0, 0.26);
}

/* product extra - right panel */
 #revws-product-extra,
 #revws-product-buttons,
 #revws-product-custom-placement,
 .revws-product-extra-link,
 .revws-product-custom-placement-link,
 .revws-product-buttons-link {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#revws-product-extra b,
#revws-product-buttons b,
#revws-product-custom-placement b,
.revws-product-list .revws-grading,
.revws-comparison .revws-grading,
.revws-product-buttons-link .revws-grading,
.revws-product-custom-placement-link .revws-grading,
.revws-product-extra-link .revws-grading {
  margin-right: 10px;
  flex-grow: 0;
  flex-shrink: 0;
}

.revws-count-text {
  flex-grow: 1;
  flex-shrink: 1;
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
}

.revws-product-list, .revws-product-list a, .revws-comparison {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.revws-product-list a {
  max-width: 100%;
  overflow: hidden;
}

.revws-product-list-empty {
    display: none;
  }

.revws-replies {
  width: 100%;
  padding: 20px;
  background-color: #EBF3F8;
  margin-top: 10px;
  font-size: 90%;
  color: #777;
}

.revws-reply-title {
  font-weight: 500;
  color: #444;
  margin-bottom: 10px;
}

.revws-review-with-product {
  display: flex;
  margin-bottom: 40px;
  padding-left: 20px;
  padding-right: 20px;
}

.revws-review-with-product .revws-review-wrapper {
  flex-shrink: 1;
  flex-grow: 1;
}

.revws-review-with-product img {
  max-width: 200px;
  padding-right: 40px;
  flex-shrink: 0;
  flex-grow: 0;
}

.revws-review-with-product .revws-review {
  margin-top: 30px;
  border: 1px solid #f5f5f5;
}

.revws-review-requests {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding: 40px;
}

.revws-review-request {
  padding: 20px;
  cursor: pointer;
  transition: all 350ms ease;
  transform: scale(0.9);
}

.revws-review-request:hover {
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 6px, rgba(0, 0, 0, 0.12) 0px 1px 4px;
  transform: scale(1);
}

.revws-review-request-name {
  margin-top: 10px;
  text-align: center;
}

@media (min-width: 768px) {
  .revws-review-author {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .revws-review .revws-grading-product {
    margin: 20px 0px;
  }

  .revws-review-details {
    width: 80%;
    border-left: 1px solid #f5f5f5;
    padding-left: 30px;
  }
}

@media (max-width: 768px) {
  .revws-review {
    flex-direction: column;
  }
  .revws-review-author {
    width: 100%;
    display: flex;
    flex-direction: row;
  }
  .revws-review-details {
    width: 100%;
  }
  .revws-review .revws-grading-product {
    margin: 0px 20px;
  }
  .revws-review .revws-verified-buyer-badge {
    margin: 0px 5px;
  }
  .revws-review-details {
    margin: 30px 0px;
  }
  .revws-review-content {
    margin-top: 10px;
  }
  .revws-review-review {
    flex-direction: column;
  }
  .revws-review-criteria {
    padding: 20px 0px;
  }
  .revws-review-criteria .revws-criterion-label {
    padding-left: 0px;
  }
  .revws-review-with-product {
    flex-wrap: wrap;
    justify-content: center;
  }
  .revws-review-with-site img,
  .revws-review-with-product img {
    padding-right: 0;
  }
  .revws-review-entity-name {
    text-align: center;
  }
}

.revws-reset label {
  text-align: left;
}

.revws-dialog {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
}

.revws-dialog h2 {
  padding-bottom: 3rem;
  font-size: 1.5em;
  color: #999;
}

.revws-product-image  {
  max-width: 250px;
  max-height: 250px;
}

.revws-product-image-small  {
  max-width: 150px;
  max-height: 150px;
}

.revws-dialog-slides-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.revws-dialog-slides {
  display: flex;
  position: relative;
  transition: left 300ms ease;
  top: 0px;
  left: 0px;
}

.revws-dialog-slide {
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  display: flex;
  overflow: hidden;
  text-align: center;
}

.revws-dots {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.revws-dot {
  width: 6px;
  height: 6px;
  margin: 0 5px;
  padding: 5px;
  cursor: pointer;
}

.revws-dot::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ddd;
  transition: box-shadow 0.5s;
}

.revws-dot:hover::after,
.revws-dot:focus::after,
.revws-dot-active::after,
.revws-dot-active:hover::after,
.revws-dot-action:focus::after {
  box-shadow: 0 0 0 2px #ddd;
}

.revws-review-form .revws-review-form-input {
  margin-top: 3rem;
}

.revws-review-form .revws-review-form-criterion {
  display: flex;
  flex-direction: row;
}

.revws-review-form-criterion-label {
  margin-right: 1rem;
  font-weight: bold;
  color: #999;
  width: 120px;
  overflow-x: hidden;
  text-overflow: ellipsis;
}

.revws-review-form-author {
  color: #999;
  margin-bottom: 1rem;
}
.revws-review-form-author a {
  cursor: pointer;
  color: #666;
}
.revws-review-form-author a:hover {
  color: #222;
  text-decoration: underline;
}

.revws-review-form-author-input {
  margin-bottom: 1rem;
}

.revws-review-form-consent {
  color: #999;
}
.revws-review-form-consent * {
  margin: 0;
  padding: 0;
}

.revws-review-form-image-text {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: #999;
  cursor: pointer;
  font-weight: normal;
}

.revws-review-form-image-text svg {
  display: none !important;
}

.revws-review-form-image-text:before {
  content: "add_photo_alternate";
  font-size: 1.5rem;
  font-family: "Material Icons";
  padding-right: 5px;
  vertical-align: middle;
}

.revws-review-form-image-text:hover {
  color: #222;
}


.revws-images {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 10px -10px 0px -10px;
}

.revws-image {
  margin: 10px;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #f5f5f5;
  transition: all 250ms linear;
}

.revws-image:hover {
  border: 1px solid #222;
  opacity: 0.8;
  cursor: pointer;
}

.revws-image img {
  max-width: 100px;
  max-height: 100px;
  padding: 0px;
}

.revws-image svg {
  stroke: #aaa;
  fill: #aaa;
}

.revws-entity-image-wrapper {
    display: flex;
    align-items: center;
}

.revws-entity-image {
  max-width: 100%;
}

.revws-review-entity-name a {
  text-decoration: none;
}

.revws-review-entity-name a:hover {
  text-decoration: underline;
}

.revws-review-without-details {
  color: #999;
  font-style: italic;
  font-size: 85%;
}

/* Informacja o regulaminie akcji */
.revws-terms-notice {
  margin-top: 15px;
  padding: 10px;
  background-color: #f8f9fa;
  border-left: 3px solid #007bff;
  font-size: 0.9rem;
  color: #666;
}

.revws-terms-notice a {
  color: #007bff;
  text-decoration: underline;
  font-weight: bold;
}

.revws-terms-notice a:hover {
  color: #0056b3;
}

/* Stylowanie strony "Moje recenzje" */
.revws-review-requests {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.revws-review-request {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  cursor: pointer;
}

.revws-review-request:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  border-color: #007bff;
}

.revws-review-request img {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 4px;
}

.revws-review-request-name {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  margin: 0;
  line-height: 1.4;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsywność dla mniejszych ekranów */
@media (max-width: 768px) {
  .revws-review-requests {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }
  
  .revws-review-request {
    padding: 15px;
  }
  
  .revws-review-request img {
    max-height: 150px;
  }
  
  .revws-review-request-name {
    font-size: 0.9rem;
    min-height: 35px;
  }
}

@media (max-width: 480px) {
  .revws-review-requests {
    grid-template-columns: 1fr;
  }
}


/* end modules/revws/views/templates/front/css.tpl */


/* begin modules/revws/views/templates/front/css-extend.tpl */
/* Nadpisanie stylów dla strony "Moje recenzje" */

/* Resetowanie domyślnego układu */
#myreviews .revws-review-with-product,
.revws-review-list .revws-review-with-product {
  display: block !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  flex-direction: column !important;
}

/* Kontener całej recenzji z produktem */
#myreviews > div,
.revws-review-list > div {
  margin-bottom: 30px !important;
}

/* Nagłówek z nazwą produktu - górna część z zaokrąglonymi górnymi rogami */
#myreviews .revws-review-entity-name,
.revws-review-list .revws-review-entity-name {
  background-color: #f8f9fa !important;
  padding: 15px 20px !important;
  margin: 0 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #333 !important;
  border: 1px solid #e0e0e0 !important;
  border-bottom: none !important;
  border-radius: 8px 8px 0 0 !important;
}

/* Kontener recenzji - dolna część z zaokrąglonymi dolnymi rogami */
#myreviews .revws-review-with-product,
.revws-review-list .revws-review-with-product {
  border: 1px solid #e0e0e0 !important;
  border-top: none !important;
  border-radius: 0 0 8px 8px !important;
  overflow: hidden !important;
  background: #fff !important;
  margin-bottom: 0 !important;
}

#myreviews .revws-review-entity-name a,
.revws-review-list .revws-review-entity-name a {
  color: #333 !important;
  text-decoration: none !important;
}

#myreviews .revws-review-entity-name a:hover,
.revws-review-list .revws-review-entity-name a:hover {
  color: #007bff !important;
  text-decoration: underline !important;
}

/* Główny kontener z 3 kolumnami */
#myreviews .revws-review-with-product .revws-entity-image-wrapper,
#myreviews .revws-review-with-product .revws-review-wrapper,
.revws-review-list .revws-review-with-product .revws-entity-image-wrapper,
.revws-review-list .revws-review-with-product .revws-review-wrapper {
  display: inline-block !important;
  vertical-align: top !important;
}

/* Reset domyślnych stylów dla kontenera recenzji */
#myreviews .revws-review-with-product > *,
.revws-review-list .revws-review-with-product > * {
  padding: 0 !important;
}

/* Wrapper obrazka - pierwsza kolumna */
#myreviews .revws-review-with-product .revws-entity-image-wrapper,
.revws-review-list .revws-review-with-product .revws-entity-image-wrapper {
  width: 150px !important;
  flex: 0 0 150px !important;
  padding: 20px !important;
  display: inline-block !important;
  vertical-align: top !important;
}

#myreviews .revws-review-with-product .revws-entity-image-wrapper img,
.revws-review-list .revws-review-with-product .revws-entity-image-wrapper img {
  max-width: 150px !important;
  max-height: 150px !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Wrapper recenzji - zawiera autora i treść */
#myreviews .revws-review-with-product .revws-review-wrapper,
.revws-review-list .revws-review-with-product .revws-review-wrapper {
  width: calc(100% - 150px) !important;
  display: inline-block !important;
  vertical-align: top !important;
  padding: 20px 20px 20px 0 !important;
}

/* Recenzja wewnątrz wrapper - layout horyzontalny */
#myreviews .revws-review-with-product .revws-review,
.revws-review-list .revws-review-with-product .revws-review {
  display: flex !important;
  flex-direction: row !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-top: none !important;
}

/* Sekcja autora - druga kolumna */
#myreviews .revws-review-with-product .revws-review-author,
.revws-review-list .revws-review-with-product .revws-review-author {
  width: 200px !important;
  min-width: 200px !important;
  flex: 0 0 200px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 0 20px !important;
  border-right: 1px solid #e0e0e0 !important;
  border-left: none !important;
  gap: 10px !important;
}

#myreviews .revws-review-with-product .revws-review-author-name,
.revws-review-list .revws-review-with-product .revws-review-author-name {
  font-weight: 600 !important;
  color: #333 !important;
  font-size: 1rem !important;
  margin: 0 !important;
}

#myreviews .revws-review-with-product .revws-verified-buyer-badge,
.revws-review-list .revws-review-with-product .revws-verified-buyer-badge {
  margin: 0 !important;
}

#myreviews .revws-review-with-product .revws-review .revws-grading-product,
.revws-review-list .revws-review-with-product .revws-review .revws-grading-product {
  margin: 5px 0 !important;
}

#myreviews .revws-review-with-product .revws-review-date,
.revws-review-list .revws-review-with-product .revws-review-date {
  color: #999 !important;
  font-size: 0.85rem !important;
  margin: 0 !important;
}

/* Sekcja treści - trzecia kolumna */
#myreviews .revws-review-with-product .revws-review-details,
.revws-review-list .revws-review-with-product .revws-review-details {
  flex: 1 !important;
  width: auto !important;
  border-left: none !important;
  padding: 0 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

#myreviews .revws-review-with-product .revws-review-title,
.revws-review-list .revws-review-with-product .revws-review-title {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: #333 !important;
  margin: 0 0 10px 0 !important;
}

#myreviews .revws-review-with-product .revws-review-content,
.revws-review-list .revws-review-with-product .revws-review-content {
  color: #666 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#myreviews .revws-review-with-product .revws-review-box,
.revws-review-list .revws-review-with-product .revws-review-box {
  width: 100% !important;
}

/* Miniaturki zdjęć pod treścią */
#myreviews .revws-review-with-product .revws-images,
.revws-review-list .revws-review-with-product .revws-images {
  margin: 10px 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

#myreviews .revws-review-with-product .revws-image,
.revws-review-list .revws-review-with-product .revws-image {
  margin: 0 !important;
  border: none !important;
}

#myreviews .revws-review-with-product .revws-image img,
.revws-review-list .revws-review-with-product .revws-image img {
  border: none !important;
  padding: 0 !important;
}

/* Akcje (edytuj/usuń) */
#myreviews .revws-review-with-product .revws-actions,
.revws-review-list .revws-review-with-product .revws-actions {
  margin-top: 10px !important;
  padding-top: 10px !important;
  border-top: 1px solid #f0f0f0 !important;
  display: flex !important;
  gap: 10px !important;
}

/* Odpowiedzi sklepu */
#myreviews .revws-review-with-product .revws-replies,
.revws-review-list .revws-review-with-product .revws-replies {
  margin-top: 15px !important;
  width: 100% !important;
}

/* Responsywność dla średnich ekranów (tablety) */
@media (max-width: 992px) {
  #myreviews .revws-review-with-product .revws-entity-image-wrapper,
  .revws-review-list .revws-review-with-product .revws-entity-image-wrapper {
    width: 120px !important;
    flex: 0 0 120px !important;
  }
  
  #myreviews .revws-review-with-product .revws-entity-image-wrapper img,
  .revws-review-list .revws-review-with-product .revws-entity-image-wrapper img {
    max-width: 120px !important;
    max-height: 120px !important;
    border: none !important;
  }
  
  #myreviews .revws-review-with-product .revws-review-wrapper,
  .revws-review-list .revws-review-with-product .revws-review-wrapper {
    width: calc(100% - 120px) !important;
  }
  
  #myreviews .revws-review-with-product .revws-review-author,
  .revws-review-list .revws-review-with-product .revws-review-author {
    width: 180px !important;
    min-width: 180px !important;
    flex: 0 0 180px !important;
    padding: 0 15px !important;
  }
}

/* Responsywność dla małych ekranów (mobile) */
@media (max-width: 768px) {
  /* Układ pionowy dla mobile */
  #myreviews .revws-review-with-product .revws-entity-image-wrapper,
  .revws-review-list .revws-review-with-product .revws-entity-image-wrapper {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    padding: 20px !important;
  }
  
  #myreviews .revws-review-with-product .revws-entity-image-wrapper img,
  .revws-review-list .revws-review-with-product .revws-entity-image-wrapper img {
    max-width: 200px !important;
    max-height: 200px !important;
    border: none !important;
  }
  
  #myreviews .revws-review-with-product .revws-review-wrapper,
  .revws-review-list .revws-review-with-product .revws-review-wrapper {
    width: 100% !important;
    display: block !important;
    padding: 0 20px 20px 20px !important;
  }
  
  #myreviews .revws-review-with-product .revws-review,
  .revws-review-list .revws-review-with-product .revws-review {
    flex-direction: column !important;
  }
  
  #myreviews .revws-review-with-product .revws-review-author,
  .revws-review-list .revws-review-with-product .revws-review-author {
    width: 100% !important;
    min-width: auto !important;
    flex: 0 0 auto !important;
    border-right: none !important;
    border-left: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
    padding: 0 0 15px 0 !important;
    align-items: center !important;
    text-align: center !important;
    margin-bottom: 15px !important;
  }
  
  #myreviews .revws-review-with-product .revws-review-details,
  .revws-review-list .revws-review-with-product .revws-review-details {
    width: 100% !important;
    padding: 0 !important;
  }
}

/* Usunięcie marginesu dolnego z tytułu opinii */
#revws-portal-product-reviews .revws-review-author-name {
    font-size: 14px !important;
    font-weight: 600 !important;
}
#revws-portal-product-reviews .revws-review-content {
    margin-bottom: 0 !important;
}
#revws-portal-product-reviews .revws-review-title {
  margin-bottom: 0 !important;
}
.revws-images {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}
.revws-image {
border: none !important;
margin: 0 0 0 10px !important;
width: 100px !important;
height: 100px !important;
}
.revws-image img {
border-radius: .2rem !important;
}

/* Znaczek "Zweryfikowany klient" - dodawany przez JavaScript */
.revws-verified-customer-badge {
  display: flex !important;
  align-items: center !important;
  margin-top: 5px !important;
  font-weight: 500 !important;
  color: green !important;
  font-size: 12px !important;
  line-height: 16px !important;
}

.revws-verified-customer-badge:before {
  content: '' !important;
  background: url('../img/verified-customer-badge.svg?v=2') !important;
  width: 14px !important;
  height: 14px !important;
  margin-right: 5px !important;
  display: inline-block !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}

#myreviews .revws-review-with-product .revws-verified-customer-badge,
.revws-review-list .revws-review-with-product .revws-verified-customer-badge {
  margin: 0 !important;
}


/* end modules/revws/views/templates/front/css-extend.tpl */
