

/* OPINIONS MODULE CSS - Essential Styles (Legacy) */
div.n68503_main1 { width: 100%; }
div.n68503_sub { width: 100%; }
div.n68503_stats_info { display: block; margin-bottom: 15px; }
div.n68503_stats { padding: 10px 0; }
span.n68503_stats_amount { margin-right: 20px; font-weight: bold; }
span.n68503_stats_average { font-weight: bold; }
b.n56197_ratting { margin-right: 5px; }

/* =================================================================== */
/* NEW OPINION MODULE CSS - Feature 004: Modern Responsive Design     */
/* =================================================================== */

/* ------------------------------------------------------------------- */
/* Core Container Styles - T020: Main Container */
/* ------------------------------------------------------------------- */

.product-opinions-new {
    /* Layout */
    max-width: 100%;
    margin: 2rem 0;
    padding: 1.5rem;
    
    /* Visual */
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    
    /* Typography */
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
}

.opinions-header {
    /* Layout */
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.opinions-title {
    /* Typography */
    font-size: 1.5rem;
    font-weight: 600;
    color: #333333;
    margin: 0 0 0.5rem 0;
}

.opinions-summary {
    /* Layout */
    display: flex;
    gap: 2rem;
    margin-top: 0.75rem;
    
    /* Typography */
    font-size: 0.95rem;
    color: #666666;
}

.opinions-count,
.opinions-average {
    /* Layout */
    flex: 0 0 auto;
}

/* ------------------------------------------------------------------- */
/* Opinion List Styles - T021: List Container */
/* ------------------------------------------------------------------- */

.opinions-list {
    /* Layout */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

/* ------------------------------------------------------------------- */
/* Individual Opinion Styles - T022: Opinion Item */
/* ------------------------------------------------------------------- */

.opinion-item {
    /* Layout */
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 1rem;
    
    /* Visual */
    padding: 1.25rem;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    transition: box-shadow 0.2s ease;
}

.opinion-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ------------------------------------------------------------------- */
/* Opinion Header Styles - T023: Header Components */
/* ------------------------------------------------------------------- */

.opinion-header {
    /* Layout */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    
    /* Visual */
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 0.75rem;
}

.opinion-author {
    /* Typography */
    font-size: 0.95rem;
    font-weight: 600;
    color: #333333;
    margin: 0;
    
    /* Layout */
    flex: 1 1 auto;
    min-width: 120px;
}

.opinion-date {
    /* Typography */
    font-size: 0.875rem;
    color: #666666;
    
    /* Layout */
    flex: 0 0 auto;
    white-space: nowrap;
}

.opinion-rating {
    /* Layout */
    flex: 0 0 auto;
}

/* ------------------------------------------------------------------- */
/* Star Rating Styles - T023: Rating Component */
/* ------------------------------------------------------------------- */

.opinion-stars {
    /* Layout */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.star-rating {
    /* Layout */
    display: flex;
    gap: 2px;
}

.icon-star {
    /* Visual */
    color: #d0d0d0; /* Empty star color */
    font-size: 1rem;
    transition: color 0.2s ease;
}

.icon-star.active {
    color: #ffa500; /* Filled star color - orange */
}

.rating-text {
    /* Typography */
    font-size: 0.875rem;
    color: #666666;
    font-weight: 500;
    margin-left: 0.25rem;
}

/* ------------------------------------------------------------------- */
/* Opinion Content Styles - T024: Content Area */
/* ------------------------------------------------------------------- */

.opinion-content {
    /* Layout */
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: flex-start;
}

.opinion-content.has-image {
    grid-template-columns: 1fr auto;
}

.opinion-text {
    /* Typography */
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333333;
    
    /* Layout */
    grid-column: 1;
    min-width: 0; /* Allow text to wrap */
    
    /* Text handling */
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.opinion-text p {
    margin: 0 0 1rem 0;
}

.opinion-text p:last-child {
    margin-bottom: 0;
}

/* ------------------------------------------------------------------- */
/* Opinion Image Styles - T025: Image Display */
/* ------------------------------------------------------------------- */

.opinion-image {
    /* Layout */
    grid-column: 2;
    justify-self: end;
    
    /* Size constraints */
    max-width: 120px;
    max-height: 120px;
}

.opinion-image img {
    /* Visual */
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    
    /* Interaction */
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.opinion-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ------------------------------------------------------------------- */
/* Empty State Styles - T026: Empty State */
/* ------------------------------------------------------------------- */

.opinions-empty-state {
    /* Layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    
    /* Visual */
    padding: 3rem 2rem;
    background: #f9f9f9;
    border-radius: 8px;
    border: 2px dashed #d0d0d0;
}

.empty-state-icon {
    /* Typography */
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.empty-state-message h4 {
    /* Typography */
    font-size: 1.125rem;
    font-weight: 600;
    color: #555555;
    margin: 0;
}

.empty-state-message p {
    /* Typography */
    font-size: 0.95rem;
    color: #777777;
    margin: 0.5rem 0 0 0;
}

.btn-add-opinion {
    /* Visual */
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #007cba;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.btn-add-opinion:hover {
    background: #005a87;
    color: #ffffff;
    text-decoration: none;
}

.opinions-footer {
    /* Layout */
    margin-top: 1.5rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.opinions-show-all {
    /* Visual */
    display: inline-block;
    padding: 0.5rem 1rem;
    color: #007cba;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.opinions-show-all:hover {
    color: #005a87;
}

/* ------------------------------------------------------------------- */
/* Mobile & Responsive Styles - T027: Mobile Optimization */
/* ------------------------------------------------------------------- */

@media (max-width: 1023px) {
    .opinions-list {
        gap: 1.25rem;
    }
    
    .product-opinions-new {
        margin: 1.5rem 0;
        padding: 1.25rem;
        border-radius: 6px;
    }
}

@media (max-width: 767px) {
    .product-opinions-new {
        margin: 1rem 0;
        padding: 1rem;
        border-radius: 4px;
        border-left: none;
        border-right: none;
    }
    
    .opinions-list {
        gap: 1rem;
        margin: 1rem 0;
    }
    
    .opinion-item {
        padding: 1rem;
        border-radius: 4px;
        gap: 0.75rem;
    }
    
    .opinion-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .opinion-date {
        font-size: 0.8rem;
        order: -1; /* Display first on mobile */
    }
    
    .opinion-content.has-image {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .opinion-image {
        grid-column: 1;
        justify-self: start;
        max-width: 80px;
        max-height: 80px;
    }
    
    .opinion-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .opinions-summary {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .opinions-title {
        font-size: 1.25rem;
    }
    
    .opinion-stars {
        gap: 0.25rem;
    }
    
    .icon-star {
        font-size: 0.9rem;
    }
    
    .rating-text {
        font-size: 0.8rem;
    }
    
    .opinions-empty-state {
        padding: 2rem 1rem;
        gap: 0.75rem;
    }
    
    .empty-state-message h4 {
        font-size: 1rem;
    }
    
    .empty-state-message p {
        font-size: 0.875rem;
    }
}

/* ------------------------------------------------------------------- */
/* Accessibility Styles - T028: Focus & Screen Reader Support */
/* ------------------------------------------------------------------- */

.opinion-item:focus-within {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.opinion-stars[role="img"] {
    /* Ensure screen reader compatibility */
}

.btn-add-opinion:focus,
.opinions-show-all:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .opinion-item {
        border-color: #000000;
    }
    
    .icon-star.active {
        color: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .opinion-item,
    .opinion-image img,
    .btn-add-opinion,
    .opinions-show-all {
        transition: none;
    }
}
div.n56197_all_opinions { margin-top: 15px; }
a.n56197_all_opinions { color: #333; text-decoration: underline; }
a.n56197_all_opinions:hover { color: #000; }
div.n68503_opinions.even { background-color: #f9f9f9; }
div.n68503_opinions { background-color: #fff; }

/* ------------------------------------------------------------------- */
/* T023: Smart Opinion Display Styles */
/* ------------------------------------------------------------------- */

.product-opinions-new {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.product-opinions-new h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #007cba;
    padding-bottom: 0.5rem;
}

.opinions-summary {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #007cba;
}

.opinions_list__item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.opinion-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.opinion-rating .stars {
    color: #ffc107;
    font-size: 1.2rem;
    line-height: 1;
}

.opinion-rating .rating-text {
    color: #6c757d;
    font-weight: 500;
}

.opinion-author strong {
    color: #333;
    font-size: 1rem;
}

.opinion-date {
    font-size: 0.875rem;
    color: #6c757d !important;
}

.opinion-text p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 0;
}

.opinion-image img {
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.opinion-image img:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.no-opinions {
    text-align: center;
    padding: 3rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.no-opinions strong {
    color: #495057;
    font-size: 1.1rem;
}

.no-opinions small {
    color: #6c757d;
    font-size: 0.875rem;
    line-height: 1.4;
}

/* ------------------------------------------------------------------- */
/* T027: Real IdoSell Opinion Structure Styles */
/* ------------------------------------------------------------------- */

.badge-success {
    background-color: #28a745;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.opinion-product-info {
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 4px;
    border-left: 3px solid #007cba;
}

.opinion-product-info small {
    font-size: 0.8rem;
    color: #495057 !important;
}

.opinions-summary p {
    color: #495057;
    font-weight: 500;
    margin-bottom: 0;
}

/* === KOMODOTY-STYLE Product Grid Layout === */

.product-grid-container,
#projector_form.product-grid-container {
  display: grid;
  grid-template-columns: 6fr 4fr; /* 6:4 proportions */
  gap: 30px;
  grid-template-areas:
    "gallery main-info"
    "tabs tabs";
  align-items: start;
  margin: 0;
}

/* Grid Areas */
.product-gallery-area { 
  grid-area: gallery;
  padding-right: 15px;
}

.product-main-info-area { 
  grid-area: main-info;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 15px;
}

/* Outer container - simple responsive width */
.projector-form-wrapper {
  width: 80%;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 1920px) {
  .projector-form-wrapper {
    width: 85%;
  }
}

@media (max-width: 1440px) {
  .projector-form-wrapper {
    width: 90%;
  }
}

@media (max-width: 1200px) {
  .projector-form-wrapper {
    width: 95%;
  }
}

/* Grid container overrides */
#projector_form.product-grid-container {
  width: 100% !important;
  display: grid !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Minimal overrides - only what's essential for grid layout */
#projector_form.product-grid-container div.product_section {
  display: block !important;
}

/* Hide unwanted price sections */
#projector_price_srp_wrapper,
#projector_bundle_price_gross {
  display: none !important;
}

/* Tabs area spans full width */
.product-tabs-area { 
  grid-area: tabs; 
  grid-column: 1 / -1; 
}

/* Mobile responsive */
@media (max-width: 768px) {
  .product-grid-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Mobile responsive improvements - Override style.css compressed rules */
@media only screen and (max-width: 757px) {
  /* Better projector page mobile padding */
  #container.projector_page {
    padding: 10px 15px 0 !important;
  }
  
  /* Improved mobile header for product pages */
  body.projector_page header {
    position: relative;
    margin: 0 -15px 10px !important;
    width: calc(100% + 30px) !important;
  }
  
  /* Better mobile grid behavior */
  .product-grid-container {
    gap: 1rem !important;
    margin: 0 -5px !important;
  }
  
  .product-gallery-area,
  .product-main-info-area {
    padding: 0 5px !important;
  }
}

/* Root grid to include form (columns) + tabs as next row */

/* Allow form's children to be grid items without wrapper depth */
#projector_form.product-grid-container { display: contents; }

/* === Bootstrap Neutralization for Grid Items === */
/* Prevent Bootstrap classes from interfering with grid layout */
.product-grid-container.row {
  margin-left: 0;
  margin-right: 0;
}

#projector_form.product-grid-container > .product-gallery-area,
#projector_form.product-grid-container > .product-main-info-area,
.product-grid-container.disable > .product-gallery-area,
.product-grid-container.disable > .product-main-info-area,
.product-grid-container > .product-gallery-area,
.product-grid-container > .product-main-info-area {
  float: none;
  width: auto !important;
  max-width: none !important;
  margin: 0;
}

/* === Product Section Layout Improvements === */
/* Fix stretching issues in main-info column */
.product-main-info-area .product_section {
  /* Override default table display that causes stretching */
  display: block !important;
  width: auto !important;
  /* Better spacing between sections */
  margin-bottom: 5px;
}

/* Product sections should not stretch to fill vertical space */
.product-main-info-area .product_section > * {
  display: inline-block;
  vertical-align: top;
}

/* Specific fixes for common stretching elements */
.product-main-info-area .product_section.sizes,
.product-main-info-area .product_section.versions,
.product-main-info-area .product_section.prices {
  display: block !important;
  width: auto !important;
}

/* Ensure labels don't stretch */
.product-main-info-area .product_section label.projector_label {
  display: inline-block !important;
  width: auto !important;
  margin-right: 10px;
  vertical-align: top;
}

/* Fix button width in new grid layout */
.product-main-info-area button.projector_butttons_buy {
  width: 100% !important;
  display: block !important;
}

/* Responsive breakpoints - unified and consolidated */

/* Tabs form (ask for product) two-column layout */
.product-tabs-area .form-group { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 12px; align-items: center; }
.product-tabs-area label.control-label { justify-self: end; }
.product-tabs-area .form-control, .product-tabs-area textarea.form-control { width: 100%; }

/* Ensure tabs take full width and proper spacing even if outside Grid container */
.product-tabs-area { width: 100%; max-width: none; clear: both; margin-top: 20px; }
.product-tabs-area .n56173_main, /* dictionary wrapper */
.product-tabs-area .n68503_main1, /* opinions list wrapper */
.product-tabs-area .product_questions_list, /* questions */
.product-tabs-area .n61389_main /* ask-for-product */
{ width: 100%; }

/* Harmonize gallery/content spacing similar to original layout */
#projector_form.product-grid-container .product-gallery-area { text-align: left; padding: 60px 0 30px; }
#projector_form.product-grid-container .product-main-info-area { padding: 30px 20px 0 30px; }

/* Form layout inside tabs (ask for product) after Bootstrap classes removal */
.product-tabs-area .form-group { margin-bottom: 14px; }
.product-tabs-area .form-group .form-control-feedback { display: none; }

/* ================================================
   PRODUCT GALLERY MODULE
   ================================================
   1. Container & Grid Layout
   2. Main Image Area  
   3. Thumbnails
   4. Navigation Controls
   5. Responsive Breakpoints
   ================================================ */

/* 1. CONTAINER & GRID LAYOUT
   ================================================ */
#projector_form .photos.gallery-container {
  display: block;
  text-align: left;
  padding: 60px 0 30px;
  margin-left: auto;
  width: fit-content;
  justify-self: end;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  grid-template-areas: 
    "main"
    "thumbnails";
  gap: 20px;
  max-width: 100%;
}

.gallery-main-area {
  grid-area: main;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* 2. MAIN IMAGE AREA
   ================================================ */
.gallery-image-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  width: 500px;
  height: 500px;
  max-width: min(500px, 60vh);
  max-height: min(500px, 60vh);
  aspect-ratio: 1;
}

.gallery-slider {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-image-container .bx-wrapper {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  position: relative;
}

.gallery-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 4. NAVIGATION CONTROLS
   ================================================ */
.gallery-image-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.gallery-dots-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.gallery-dot:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: scale(1.1);
}

.gallery-dot.active {
  width: 12px;
  height: 12px;
  background: rgba(0, 0, 0, 0.8);
}

.gallery-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #333;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-nav-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-nav-btn:active {
  transform: translateY(0);
}

.gallery-nav-icon {
  width: 20px;
  height: 20px;
}

.gallery-position-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gallery-slide-separator {
  opacity: 0.7;
  margin: 0 2px;
}

/* 3. THUMBNAILS
   ================================================ */
.gallery-thumbnails-container {
  grid-area: thumbnails;
  width: 100%;
}

.gallery-thumbnails {
  display: flex;
  gap: 12px;
  padding: 0 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-thumbnails::-webkit-scrollbar {
  display: none;
}

.gallery-thumbnail-item {
  flex-shrink: 0;
  display: block;
  width: 64px;
  height: 64px;
  border: 1px solid #ddd;
  border-radius: 0;
  overflow: hidden;
  opacity: 0.7;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.gallery-thumbnail-item:hover {
  opacity: 1;
  border-color: #999;
}

.gallery-thumbnail-item.active {
  opacity: 1;
  border-color: #333;
  z-index: 5;
}

.gallery-thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: inherit;
  position: relative;
  z-index: 1;
}

/* Video Thumbnail Styling */
.gallery-video-thumb {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-video-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  width: 24px;
  height: 24px;
}

.gallery-play-icon {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* 5. RESPONSIVE BREAKPOINTS
   ================================================
   Tablet Layout (768px+) */
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "thumbnails main";
    gap: 0;
    align-items: start;
    justify-items: stretch;
  }
  
  .gallery-main-area {
    align-items: flex-start;
  }
  
  .gallery-image-container {
    width: 600px;
    height: 600px;
    max-width: min(600px, 60vh);
    max-height: min(600px, 60vh);
  }
  
  /* Switch to vertical thumbnails */
  .gallery-thumbnails-container {
    width: 80px;
    margin-right: 8px;
  }
  
  .gallery-thumbnails {
    flex-direction: column;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 600px;
  }
  
  .gallery-thumbnail-item {
    width: 72px;
    height: 72px;
    margin-bottom: 0;
  }
  
  /* Custom scrollbar for thumbnails */
  .gallery-thumbnails::-webkit-scrollbar {
    display: block;
    width: 6px;
  }
  
  .gallery-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
  }
  
  .gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
  }
  
  .gallery-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #999;
  }
}

/* Desktop Layout */
@media (min-width: 1024px) {
  #projector_form .photos.gallery-container {
    padding: 60px 0 30px;
  }
  
  .gallery-grid {
    gap: 32px;
  }
  
  .gallery-image-container {
    width: 700px;
    height: 700px;
    max-width: min(700px, 60vh);
    max-height: min(700px, 60vh);
  }
  
  .gallery-thumbnails-container {
    width: 96px;
    margin-right: 12px;
  }
  
  .gallery-thumbnail-item {
    width: 80px;
    height: 80px;
  }
  
  .gallery-nav-controls {
    padding: 10px 18px;
  }
  
  .gallery-nav-btn {
    width: 36px;
    height: 36px;
  }
  
  .gallery-nav-icon {
    width: 22px;
    height: 22px;
  }
  
  .gallery-position-indicator {
    font-size: 15px;
    min-width: 45px;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .gallery-grid {
    gap: 40px;
  }
  
  .gallery-image-container {
    width: 700px;
    height: 700px;
    max-width: min(700px, 60vh);
    max-height: min(700px, 60vh);
  }
  
  .gallery-thumbnails-container {
    width: 112px;
    margin-right: 16px;
  }
  
  .gallery-thumbnail-item {
    width: 96px;
    height: 96px;
  }
}

/* Touch and Animation Enhancements */
.gallery-thumbnail-item {
  touch-action: manipulation;
}

.gallery-nav-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Ensure smooth transitions */
.gallery-slider .bx-wrapper {
  margin-bottom: 0 !important;
}

.gallery-slider .bx-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Hide default bxSlider controls - we use our custom overlay */
.gallery-container .bx-wrapper .bx-controls-direction {
  display: none !important;
}

.gallery-container .bx-wrapper .bx-controls-auto {
  display: none !important;
}

/* Override existing projector form styling for Nike gallery */
#projector_form .photos.gallery-container div.enclosures {
  display: none !important;
}

/* Associated products zones (zone1/zone2) layout without Bootstrap cols */
.product-tabs-area.main_hotspot { width: 100%; }
.main_hotspot_sub .products_wrapper { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.main_hotspot_sub .product_wrapper { float: none; width: auto; }
.main_hotspot_sub .product-icon img { width: 100%; height: auto; }

/* ===== Bulk neutralization of Bootstrap layout classes inside projector scope ===== */
#projector_form .row,
.product-tabs-area .row,
.main_hotspot .row {
  margin-left: 0;
  margin-right: 0;
}

#projector_form [class*="col-"],
.product-tabs-area [class*="col-"],
.main_hotspot [class*="col-"] {
  float: none;
  width: auto !important;
  max-width: none !important;
  padding-left: 0;
  padding-right: 0;
}

#projector_form .clearfix,
.product-tabs-area .clearfix,
.main_hotspot .clearfix {
  display: contents;
}

/* ===== Layout grid for aside + #content (feature-flag on #layout) ===== */
#layout.layout-grid { display: grid; grid-template-columns: minmax(220px, 280px) 1fr; gap: 24px; grid-template-areas: "aside content"; align-items: start; }
#layout.layout-grid.row { margin-left: 0; margin-right: 0; }
#layout.layout-grid > aside { grid-area: aside; float: none; width: auto !important; }
#layout.layout-grid > #content { grid-area: content; float: none; width: auto !important; }
/* neutralize bootstrap cols/spans under grid */
#layout.layout-grid > aside[class*="col-"],
#layout.layout-grid > #content[class*="col-"],
#layout.layout-grid > aside.span3,
#layout.layout-grid > #content.span9 { width: auto !important; float: none !important; }

@media (max-width: 992px) {
  #layout.layout-grid { grid-template-columns: 1fr; grid-template-areas: "content" "aside"; }
}

/* ===== Plain layout container on projector (no Bootstrap grid) ===== */
#layout.layout-shell { display: block; }
#layout.layout-shell > .aside-shell { float: none; width: auto; }
#layout.layout-shell > #content.content-shell { float: none; width: auto; }

/* Bundles: remove layout float artifacts */
.bundled_multi_versions { display: block; }

/* ===============================================
   PRICING STYLES (moved from style.css)
   =============================================== */

/* Price gross info */
div.price_gross_info { display: none; }
.price_gross_info { line-height: 1.4; display: inline; }

/* Projector price points wrapper */
div.projector_price_points_wrapper { margin-bottom: 5px; }
#projector_price_points_wrapper span.projector_price { font-weight: 600; }
#projector_price_points_recive_wrapper span.projector_price { font-weight: 600; }
span.projector_price_points { display: inline-block; padding-right: 10px; text-align: right; width: 50%; }

/* Projector price elements */
span.projector_price_srp { letter-spacing: 2px; font-size: 1.8em; font-weight: 300; }
span.projector_price_yousave { display: none !important; }
strong.projector_price_value { color: #c3282c; font-size: 2.7em; line-height: 1.1; vertical-align: middle; }
del.projector_price_maxprice { color: #9c9893; display: inline-block; font-size: 1.2em; font-weight: 400; margin-right: 10px; }
small.projector_price_unit_sellby { margin-right: 5px; }

/* Projector prices wrapper */
#projector_prices_wrapper { overflow: hidden; margin-bottom: 0; }
#projector_prices_wrapper label { padding-top: 4px; vertical-align: top; display: none; }
#projector_price_value_wrapper { margin-bottom: 0px; }
#projector_price_srp_wrapper { display: none !important; }
#projector_price_value_wrapper .price_gross_info span { line-height: 1.5; }

/* Projector form price sections */
#projector_form div.product_section.prices { line-height: 1; }
#projector_form div.product_section.prices label.projector_label { display: block; }

/* Bundle price */
#projector_bundle_price_gross { display: none; }

/* Responsive pricing styles */
@media (max-width: 992px) {
  span.projector_price_srp { letter-spacing: 0; font-weight: 300; }
  span.projector_price_yousave { font-size: 1em; }
  strong.projector_price_value { letter-spacing: 0; }
  del.projector_price_maxprice { font-size: 1.6em; letter-spacing: 0; }
  #projector_prices_wrapper { float: right; margin: 0; display: flex; justify-content: center; align-items: center; }
  #projector_prices_wrapper label { margin-bottom: 0; }
}

/* ===============================================
   OMNIBUS COMPLIANCE STYLES
   =============================================== */

/* Omnibus Compliance Styling - Integration with pricing section */
.omnibus-compliance {
    margin: 15px 0 0 0;
    padding: 8px 0;
    border-top: 1px solid #e1e1e1;
}

.omnibus-reference-price {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9em;
    line-height: 1.3;
}

.omnibus-label {
    color: #666;
    margin-right: 5px;
    font-weight: normal;
}

.omnibus-price {
    color: #333;
    font-weight: 600;
    font-size: 1.1em;
}

.omnibus-savings {
    display: block !important;
    margin-top: 3px;
    font-size: 0.85em;
    color: #c3282c;
    clear: both;
    width: 100%;
}

.savings-label {
    margin-right: 3px;
}

.savings-amount {
    font-weight: 600;
}

/* Responsive styles for Omnibus - matches existing mobile breakpoints */
@media only screen and (max-width:757px) {
    .omnibus-compliance {
        margin: 10px 0 0 0;
        padding: 6px 0;
    }
    
    .omnibus-reference-price {
        font-size: 0.85em;
        margin-bottom: 3px;
    }
    
    .omnibus-price {
        font-size: 1.0em;
    }
    
    .omnibus-savings {
        font-size: 0.8em;
    }
}


/* === PRODUCT RATINGS COMPONENT (RIVYO STYLE) === */

.product-ratings {
    margin: 10px 0 15px 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0; /* Eliminuje białe znaki */
}

.rating-stars-container {
    display: flex;
    align-items: center;
    gap: 3px;
    line-height: 0;
}

.rating-star {
    width: 18px;
    height: 18px;
    position: relative;
    display: inline-block;
}

.rating-star svg {
    width: 18px;
    height: 18px;
    fill: #333 !important;
}

.rating-star.empty svg {
    fill: #e0e0e0 !important;
}

.rating-star.partial {
    position: relative;
    overflow: hidden;
}

.rating-star.partial .star-fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.rating-average {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    line-height: 1.2;
    margin-left: 4px;
}

.rating-average-count {
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.rating-count-wrapper {
    color: #666;
    font-size: 13px;
}

.rating-count-bracket {
    color: #999;
}

.rating-count-number {
    font-weight: 500;
    color: #666;
}

.rating-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rating-link:hover {
    color: #0066cc;
}

.rating-link:hover .rating-count-number {
    color: #0066cc;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .product-ratings {
        margin: 6px 0 10px 0;
    }
    
    .rating-stars {
        font-size: 13px;
        gap: 6px;
    }
    
    .stars i {
        font-size: 15px;
    }
    
    .rating-value,
    .rating-link {
        font-size: 13px;
    }
}

/* =================================================================== */
/* ENHANCED OPINION COMPONENT CSS (Feature 005 - T008)               */
/* Based on analyzed opinie_standard_4_v3/style.css patterns         */
/* Modern responsive design with improved visual hierarchy             */
/* =================================================================== */

/* ------------------------------------------------------------------- */
/* Main Container - Enhanced Bootstrap Grid Layout */
/* ------------------------------------------------------------------- */
#product-opinions-new {
    margin: 20px 0 30px 0;
    padding: 0;
    max-width: 100%;
}

#opinions_section {
    margin-bottom: 20px;
}

#opinions_section .row {
    margin-left: -12px;
    margin-right: -12px;
}

#opinions_section .col-12 {
    padding-left: 12px;
    padding-right: 12px;
}

/* ------------------------------------------------------------------- */
/* Opinion Summary Container - Left Column */
/* ------------------------------------------------------------------- */
.average_opinions_container {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.opinions-summary-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 8px;
}

/* Average Rating Display */
.average-rating-display {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
}

.average-rating-value {
    font-size: 36px;
    font-weight: 700;
    color: #0066cc;
    line-height: 1;
    margin-bottom: 5px;
}

.average-rating-stars {
    font-size: 18px;
    margin-bottom: 8px;
}

.average-rating-stars .star-filled {
    color: #ffc107;
}

.average-rating-stars .star-empty {
    color: #ddd;
}

.average-rating-count {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Rating Distribution Chart */
.rating-distribution {
    margin-bottom: 20px;
}

.rating-distribution-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
}

.rating-bar-stars {
    width: 60px;
    flex-shrink: 0;
    color: #ffc107;
    font-size: 12px;
}

.rating-bar-chart {
    flex: 1;
    margin: 0 10px;
    height: 18px;
    background: #f0f0f0;
    border-radius: 9px;
    overflow: hidden;
    position: relative;
}

.rating-bar-fill {
    height: 100%;
    background: linear-gradient(to right, #ffc107, #ffb300);
    border-radius: 9px;
    transition: width 0.3s ease;
}

.rating-bar-count {
    width: 30px;
    text-align: right;
    color: #666;
    font-weight: 500;
    flex-shrink: 0;
}

/* Rating Filters */
.rating-filters {
    margin-bottom: 15px;
}

.rating-filters-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.rating-filter-btn {
    display: inline-block;
    padding: 6px 12px;
    margin: 2px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.rating-filter-btn:hover {
    background: #f8f9fa;
    border-color: #0066cc;
    color: #0066cc;
    text-decoration: none;
}

.rating-filter-btn.active {
    background: #0066cc;
    border-color: #0066cc;
    color: #fff;
}

.photo-filter-btn {
    display: inline-block;
    padding: 6px 12px;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.photo-filter-btn:hover {
    background: #f8f9fa;
    border-color: #17a2b8;
    color: #17a2b8;
    text-decoration: none;
}

.photo-filter-btn.active {
    background: #17a2b8;
    border-color: #17a2b8;
    color: #fff;
}

.photo-filter-btn:before {
    content: "📷 ";
    margin-right: 4px;
}

/* ------------------------------------------------------------------- */
/* Opinion List Container - Right Column */
/* ------------------------------------------------------------------- */
.opinions_list {
    /* No additional styles needed - using Bootstrap grid */
}

.opinions-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.opinions-list-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.opinions-count-display {
    font-size: 14px;
    color: #666;
}

.visible-count {
    font-weight: 600;
    color: #0066cc;
}

/* ------------------------------------------------------------------- */
/* Individual Opinion Items */
/* ------------------------------------------------------------------- */
.opinion-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.opinion-item:hover {
    border-color: #ccc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.opinion-item.even {
    background: #fafafa;
}

.opinion-item.odd {
    background: #fff;
}

/* Opinion Header */
.opinion-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.opinion-author-info {
    flex: 1;
    min-width: 200px;
}

.opinion-author {
    font-weight: 600;
    color: #333;
    font-size: 15px;
    margin-bottom: 2px;
}

.opinion-date {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.opinion-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.opinion-stars {
    font-size: 16px;
    line-height: 1;
}

.opinion-stars .star-filled {
    color: #ffc107;
}

.opinion-stars .star-empty {
    color: #ddd;
}

.opinion-rating-text {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* Opinion Actions */
.opinion-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.opinion-helpful {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #666;
}

.opinion-vote-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 11px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
}

.opinion-vote-btn:hover {
    background: #f8f9fa;
    border-color: #0066cc;
    color: #0066cc;
}

.opinion-vote-btn.voted {
    background: #0066cc;
    border-color: #0066cc;
    color: #fff;
}

/* Opinion Content */
.opinion-content {
    margin-bottom: 15px;
}

.opinion-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.opinion-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    word-wrap: break-word;
}

.opinion-text p {
    margin-bottom: 10px;
}

.opinion-text p:last-child {
    margin-bottom: 0;
}

/* Opinion Photos */
.opinion-photos {
    margin-top: 15px;
}

.opinion-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    max-width: 300px;
}

.opinion-photo {
    position: relative;
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.opinion-photo:hover {
    border-color: #0066cc;
    transform: scale(1.05);
}

.opinion-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Photo Lightbox */
.opinion-photo-lightbox {
    background: rgba(0,0,0,0.9);
    z-index: 9999;
}

.opinion-photo-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* ------------------------------------------------------------------- */
/* Opinion Form Integration */
/* ------------------------------------------------------------------- */
.opinion-form-section {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.opinion-form-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 8px;
}

/* ------------------------------------------------------------------- */
/* Responsive Design - Mobile First */
/* ------------------------------------------------------------------- */

/* Large tablets and small desktops */
@media (max-width: 992px) {
    .average_opinions_container {
        margin-bottom: 25px;
    }
    
    .opinion-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .opinion-actions {
        align-self: flex-end;
        width: 100%;
        justify-content: flex-end;
    }
}

/* Tablets */
@media (max-width: 768px) {
    #opinions_section .row {
        margin-left: -8px;
        margin-right: -8px;
    }
    
    #opinions_section .col-12 {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .average_opinions_container,
    .opinion-item {
        padding: 15px;
    }
    
    .opinion-item {
        margin-bottom: 12px;
    }
    
    .opinions-summary-title,
    .opinions-list-title {
        font-size: 16px;
    }
    
    .average-rating-value {
        font-size: 28px;
    }
    
    .opinion-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 6px;
    }
    
    .rating-filter-btn,
    .photo-filter-btn {
        padding: 5px 10px;
        font-size: 12px;
        margin: 1px;
    }
}

/* Mobile phones */
@media (max-width: 576px) {
    #product-opinions-new {
        margin: 15px 0 20px 0;
    }
    
    #opinions_section .row {
        margin-left: -5px;
        margin-right: -5px;
    }
    
    #opinions_section .col-12 {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .average_opinions_container,
    .opinion-item {
        padding: 12px;
    }
    
    .opinions-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .opinions-summary-title,
    .opinions-list-title {
        font-size: 15px;
    }
    
    .average-rating-value {
        font-size: 24px;
    }
    
    .opinion-title {
        font-size: 15px;
    }
    
    .opinion-text {
        font-size: 13px;
    }
    
    .opinion-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 4px;
    }
    
    .rating-bar-item {
        font-size: 12px;
    }
    
    .rating-bar-stars {
        width: 50px;
        font-size: 11px;
    }
    
    .rating-bar-count {
        width: 25px;
        font-size: 12px;
    }
}

/* ------------------------------------------------------------------- */
/* Animation and Loading States */
/* ------------------------------------------------------------------- */
.opinion-item {
    animation: fadeIn 0.3s ease-in;
}

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

/* Loading state for opinion items */
.opinion-item.loading {
    opacity: 0.6;
    pointer-events: none;
}

.opinion-item.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0066cc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ------------------------------------------------------------------- */
/* Print Styles */
/* ------------------------------------------------------------------- */
@media print {
    .rating-filters,
    .photo-filter-btn,
    .opinion-vote-btn,
    .opinion-actions {
        display: none !important;
    }
    
    .opinion-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .opinion-photos-grid {
        display: none;
    }
}

/* =================================================================== */
/* PAGE/PROJECTOR OPINION MODULE CSS - Feature 006                    */
/* =================================================================== */

/* Main container for new PAGE/PROJECTOR opinions */
.opinions-new {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Header section */
.opinions-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.opinions-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
}

.opinions-summary {
    display: flex;
    align-items: center;
    gap: 15px;
}

.opinions-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-value {
    font-size: 28px;
    font-weight: bold;
    color: #ff6b00;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 18px;
    color: #ddd;
}

.star.full {
    color: #ff6b00;
}

.star.half {
    color: #ff6b00;
    opacity: 0.5;
}

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

/* Opinion list */
.opinions-list {
    margin-bottom: 30px;
}

.opinion-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
    position: relative;
}

.opinion-item:last-child {
    border-bottom: none;
}

.opinion-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 15px;
}

.opinion-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.opinion-rating .stars {
    display: flex;
    gap: 1px;
}

.rating-number {
    font-weight: bold;
    color: #ff6b00;
    font-size: 14px;
}

.opinion-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.opinion-author {
    font-weight: 600;
    color: #333;
}

.opinion-date {
    color: #999;
}

.opinion-verified {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.opinion-content {
    margin: 15px 0;
    line-height: 1.6;
    color: #444;
}

.opinion-content p {
    margin: 0;
}

/* Helpfulness section */
.opinion-helpfulness {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f5f5f5;
}

.helpfulness-question {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.helpfulness-buttons {
    display: flex;
    gap: 10px;
}

.btn-helpful {
    background: none;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    transition: all 0.2s;
}

.btn-helpful:hover {
    background: #f8f8f8;
    border-color: #ccc;
}

.btn-helpful.voted {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #1976d2;
}

/* Shop response */
.shop-response {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 15px;
    margin-top: 15px;
    border-radius: 0 4px 4px 0;
}

.response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.response-header strong {
    color: #007bff;
    font-size: 14px;
}

.response-date {
    font-size: 12px;
    color: #666;
}

.response-content {
    color: #444;
    line-height: 1.5;
}

/* Show more button */
.opinions-more {
    text-align: center;
    margin: 20px 0;
}

.btn-show-more {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

.btn-show-more:hover {
    background: #0056b3;
}

/* Empty state */
.opinions-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

/* Opinion form */
.opinions-form-section {
    border-top: 2px solid #f0f0f0;
    padding-top: 30px;
    margin-top: 30px;
}

.opinion-form {
    max-width: 600px;
}

.form-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.opinion-status {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.opinion-status.approved {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.opinion-status.pending {
    background: #fff3e0;
    color: #f57c00;
    border: 1px solid #ffcc02;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.rating-group {
    margin-bottom: 25px;
}

.rating-stars-input {
    display: flex;
    align-items: center;
    gap: 15px;
}

.star-input {
    cursor: pointer;
    transition: transform 0.1s;
}

.star-input:hover {
    transform: scale(1.1);
}

.star-input input[type="radio"] {
    display: none;
}

.star-input .star {
    font-size: 24px;
    color: #ddd;
    transition: color 0.2s;
}

.star-input input[type="radio"]:checked ~ .star,
.star-input:hover .star {
    color: #ff6b00;
}

.rating-display {
    font-weight: 600;
    color: #ff6b00;
}

.current-rating {
    font-size: 18px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.form-help {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.points-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
}

.points-info p {
    margin: 5px 0;
    color: #495057;
}

.form-actions {
    margin-top: 25px;
}

.btn-submit-opinion {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-submit-opinion:hover {
    background: #218838;
}

/* Responsive design */
@media (max-width: 768px) {
    .opinions-new {
        padding: 15px;
        margin: 20px 0;
    }
    
    .opinions-header {
        padding-bottom: 15px;
    }
    
    .opinions-title {
        font-size: 20px;
    }
    
    .opinion-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .opinion-meta {
        flex-wrap: wrap;
    }
    
    .rating-stars-input {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .helpfulness-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-helpful {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .opinions-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .star-input .star {
        font-size: 20px;
    }
    
    .rating-value {
        font-size: 24px;
    }
}


