/* ========================================================================
   style.css - VARIANTA 2 (COMPACT, DOUĂ COLOANE)
   ======================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1550px;
  margin: 10px auto;
  padding: 10px 15px;
}

h1 {
  text-align: center;
  font-family: 'Bebas Neue', cursive, sans-serif;
  font-size: 40px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #222;
}

.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  font-size: 15px;
}

/* LAYOUT PRINCIPAL */
.main-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.left-panel,
.right-panel {
  background: white;
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  width: 400px;
}

.center-preview {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

/* SECȚIUNI */
.section {
  margin-bottom: 15px;
}

.left-panel>.section {
  margin-bottom: 5px;
}

.right-panel .section {
  margin-bottom: 5px;
}

.right-panel h3 {
  margin-bottom: 15px;
  text-align: center;
}

.left-panel h3,
.right-panel h3 {
  margin-bottom: 5px;
  text-align: center;
  font-size: 20px;
}

/* CULORI */
.colors-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 10px 0;
}

.mini-tshirt {
  width: 68px;
  height: 78px;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  position: relative;
}

.mini-tshirt img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mini-tshirt:hover {
  transform: scale(1.08);
}

.mini-tshirt.active {
  transform: scale(1.15);
  box-shadow: 0 0 0 3px #007bff, 0 8px 25px rgba(0, 123, 255, 0.4);
}

.color-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 10px;
  text-align: center;
  padding: 3px 2px;
  border-radius: 0 0 8px 8px;
  opacity: 0;
  transition: opacity 0.3s;
}

.mini-tshirt:hover .color-label,
.mini-tshirt.active .color-label {
  opacity: 1;
}

.mini-tshirt.active .color-label {
  background: rgba(0, 123, 255, 0.8);
}

@media (max-width: 767px) {
  .mini-tshirt.active .color-label {
    opacity: 1;
  }
}

.color-display {
  border: 2px solid #007bff;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

#selected-color-name {
  font-weight: bold;
  color: #007bff;
  font-size: 18px;
}

/* BUTOANE ADAUGARE */
.add-btn {
  background: white;
  color: black;
  width: 100%;
  padding: 12px 10px;
  font-size: 18px;
  font-weight: bold;
  border: 2px solid #ddd;
  border-radius: 12px;
  margin: 8px 0;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.add-btn:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.add-btn.selected {
  background: #007bff;
  color: white;
  border-color: #007bff;
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
}

.add-btn:disabled {
  background: #6c757d !important;
  opacity: 0.6;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: 0 3px 10px rgba(108, 117, 125, 0.3) !important;
}

/* PREȚURI - VERSIUNE COMPACTĂ */
.price-box {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 15px 20px;
  border-radius: 12px;
  text-align: left;
  font-size: 16px;
  line-height: 1.3;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.25);
}

.price-box .price-line {
  margin: 8px 0;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-box .quantity-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  font-size: 16px;
}

.price-box .quantity-line label {
  font-weight: normal;
}

#quantity {
  width: 80px;
  padding: 8px;
  font-size: 18px;
  border-radius: 8px;
  border: none;
  text-align: center;
  background: white;
  color: #333;
  font-weight: bold;
}

.price-box .price-line strong {
  font-weight: 700;
  font-size: 20px;
}

.price-box .total-line {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  font-size: 20px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-box .total-line strong {
  font-size: 24px;
  color: #fff;
}

#generate-pdf {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
  width: 100%;
  padding: 12px 10px;
  margin-top: 15px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  box-shadow: 0 8px 15px rgba(220, 53, 69, 0.3);
}

#generate-pdf:hover {
  background: linear-gradient(135deg, #c82333, #a71d2a);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(220, 53, 69, 0.4);
}

.delivery-info {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 14px;
  line-height: 1.4;
}

.delivery-info p {
  margin: 3px 0;
}

.delivery-info strong {
  font-weight: 600;
}

/* PREVIZUALIZARE CENTRALĂ */
#canvas-container {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

#tshirt-base {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

#design-area {
  position: absolute;
  border: 2px dashed rgba(0, 0, 0, 0.25);
  pointer-events: all;
  overflow: hidden;
  background: transparent;
  contain: layout style paint;
}

#printable-zone {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: auto;
}

/* VIEW BUTOANE - MODIFICAT PENTRU RESPONSIVITATE COMPLETĂ */
.views-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.orientative-text {
  font-style: italic;
  color: #666;
  font-size: 16px;
  padding: 10px 15px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #007bff;
  border-right: 4px solid #007bff;
  text-align: center;
  flex: 1;
  min-width: 180px;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.view-btn {
  background: #f8f9fa;
  border: 2px solid #ddd;
  padding: 10px 15px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  flex: 1;
  min-width: 80px;
  max-width: 120px;
  transition: all 0.3s;
  text-align: center;
  white-space: nowrap;
}

.view-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.view-btn.active {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border-color: #007bff;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

/* MĂRIMI */
.sizes-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.size-grid-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.size-buttons-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.size-buttons-row.single-row {
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.size-buttons-row.single-row .size-btn.simple {
  flex: 1;
  min-width: 55px;
  max-width: 80px;
  padding: 12px 5px;
  font-size: 22px;
}

.size-btn.simple {
  padding: 10px 5px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  font-weight: 700;
  transition: all 0.3s ease;
  text-align: center;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-btn.simple:hover {
  border-color: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.size-btn.simple.selected {
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-color: #007bff;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3);
}

/* SILUETĂ */
.silhouette-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px solid #dee2e6;
  margin-top: 10px;
}

.silhouette-img {
  max-width: 100%;
  height: auto;
  opacity: 0.9;
}

.clickable-silhouette {
  cursor: zoom-in;
  transition: all 0.3s ease;
  border: 3px solid transparent;
  border-radius: 12px;
}

.clickable-silhouette:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: #007bff;
}

/* DESIGN ITEMS */
.design-item {
  position: absolute;
  background: transparent;
  border: 2px dashed transparent;
  cursor: move;
  user-select: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.design-item.active {
  border: 2px dashed #007bff;
  background: rgba(0, 123, 255, 0.05);
}

.design-item:hover {
  border: 2px dashed #007bff;
}

/* BUTOANE ACTION - DOAR DELETE ȘI RESIZE */
.action-btn {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: white;
  font-size: 16px;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  user-select: none;
  display: none;
}

.design-item.active .action-btn {
  display: block;
}

.delete-btn {
  top: -10px;
  left: -10px;
  background: #dc3545;
  font-weight: bold;
}

.resize-btn {
  bottom: -10px;
  right: -10px;
  background: #17a2b8;
  font-size: 14px;
  line-height: 26px;
}

.resize-btn::after {
  content: '↔';
  display: block;
  transform: rotate(45deg);
}

/* Ascunde mânerele vechi de resize */
.resize-handle-old {
  display: none !important;
}

/* MODALE */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-modal.active {
  display: flex;
}

.silueta-modal-content {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 16px;
  max-width: 90%;
  max-height: 90vh;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.silueta-modal-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.gallery-content {
  background: white;
  width: 90%;
  max-width: 1000px;
  max-height: 95vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.gallery-header {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 20px;
  font-size: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  font-size: 40px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  transition: all 0.3s;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: rotate(90deg);
}

/* CATEGORII */
.categories-container {
  max-height: calc(90vh - 90px);
  overflow-y: auto;
  padding: 20px;
}

.category,
.customization-category {
  margin-bottom: 15px;
  border: 2px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  transition: all 0.3s ease;
}

.category.open,
.customization-category.open {
  border-color: #007bff;
  box-shadow: 0 5px 20px rgba(0, 123, 255, 0.15);
}

.category-header {
  background: #f8f9fa;
  padding: 16px 20px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.category-header.active {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
}

.category-title {
  flex: 1;
  font-weight: 700;
  font-size: 20px;
}

.category-arrow {
  font-size: 16px;
  transition: transform 0.3s;
}

.category.open .category-arrow,
.customization-category.open .category-arrow {
  transform: rotate(180deg);
}

#categories-container {
  max-height: 400px;
  overflow-y: auto;
}

#categories-container::-webkit-scrollbar {
  width: 8px;
}

#categories-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

#categories-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

#categories-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.thumbnails-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.thumbnails-container.open {
  max-height: 450px;
  overflow-y: auto;
  overflow-x: hidden;
}

.thumbnails-container::-webkit-scrollbar {
  width: 8px;
}

.thumbnails-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.thumbnails-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.thumbnails-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* GALERIE THUMBNAILS - grid cu derulare verticală */
.thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 15px;
}

.thumbnail {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
  cursor: pointer;
  background: #f8f9fa;
}

.thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
}

/* SCROLLBAR */
.categories-container::-webkit-scrollbar {
  width: 8px;
}

.categories-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.categories-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.categories-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* PRINT STYLES */
@media print {
  body>*:not(#print-container) {
    display: none !important;
  }

  #print-container {
    display: block !important;
    position: static !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
  }
}

/* ========================================================================
   RESPONSIVE DESIGN - TABLET & MOBILE
   ======================================================================== */

@media (max-width: 1024px) {
  .container {
    padding: 10px;
  }

  h1 {
    font-size: 36px;
    margin-top: 15px;
  }

  .subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

  /* ORDINE NOUĂ PE TABLETĂ: meniu → preview → preț */
  .main-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .left-panel {
    order: 1;
    width: 100%;
    position: static;
  }

  .center-preview {
    order: 2;
    width: 100%;
  }

  .right-panel {
    order: 3;
    width: 100%;
    position: static;
  }

  #tshirt-base {
    max-width: 500px;
  }

  .colors-mini {
    grid-template-columns: repeat(6, 1fr);
    gap: 3px;
  }

  .mini-tshirt {
    width: 60px;
    height: 70px;
  }

  .sizes-layout {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
  }

  .gallery-content {
    width: 95%;
  }

  /* VIEW BUTOANE PE TABLETĂ - TOATE PE ACELAȘI RÂND CU DIMENSIUNI ADAPTIVE */
  .views-container {
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .orientative-text {
    font-size: 14px;
    padding: 8px 10px;
    flex: 2;
    min-width: 0;
    max-width: none;
    white-space: normal;
    order: 1;
  }

  .view-btn {
    padding: 10px 12px;
    font-size: 15px;
    flex: 1;
    min-width: 70px;
    max-width: 100px;
    order: 0;
  }

  .view-btn[data-view="back"] {
    order: 2;
  }

  /* Galeria pe tabletă: 3 imagini pe rând */
  .thumbnails {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 12px;
  }

  /* Butoane action mai mari pe tabletă */
  .action-btn {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 18px;
  }

  .delete-btn {
    left: -12px;
    top: -12px;
  }

  .resize-btn {
    right: -12px;
    bottom: -12px;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 5px;
  }

  h1 {
    font-size: 30px;
    margin-top: 10px;
    margin-bottom: 5px;
  }

  .subtitle {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .main-wrapper {
    gap: 12px;
  }

  /* ORDINE SPECIFICĂ PE MOBIL: MENIU → PREVIEW → PREȚ */
  .left-panel {
    order: 1;
    width: 100%;
    position: static;
    padding: 5px;
  }

  .center-preview {
    order: 2;
    width: 100%;
  }

  .right-panel {
    order: 3;
    width: 100%;
    position: static;
    padding: 5px;
  }

  .section {
    margin-bottom: 15px;
  }

  .colors-mini {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .mini-tshirt {
    width: 55px;
    height: 65px;
  }

  .add-btn {
    padding: 10px 8px;
    font-size: 16px;
    margin: 5px 0;
  }

  /* CASETA PREȚ - COMPACTĂ CU TEXT MIC */
  .price-box {
    padding: 10px 12px;
  }

  .price-box .price-line,
  .price-box .quantity-line {
    font-size: 13px;
    margin: 5px 0;
  }

  .price-box .price-line strong,
  .price-box .total-line strong {
    font-size: 16px;
  }

  .price-box .total-line {
    font-size: 16px;
    margin-top: 10px;
    padding-top: 10px;
  }

  #quantity {
    width: 60px;
    padding: 5px;
    font-size: 15px;
  }

  #generate-pdf {
    padding: 10px 8px;
    font-size: 16px;
    margin-top: 12px;
  }

  .delivery-info {
    font-size: 12px;
    margin-top: 8px;
    padding-top: 8px;
  }

  .delivery-info p {
    margin: 2px 0;
  }

  #tshirt-base {
    max-width: 100%;
  }

  /* VIEW BUTOANE PE MOBIL - TOATE PE ACELAȘI RÂND CU DIMENSIUNI COMPLETE */
  .views-container {
    gap: 5px;
    margin-top: 10px;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: visible;
    padding: 0 5px;
  }

  .orientative-text {
    font-size: 12px;
    padding: 6px 8px;
    flex: 3;
    min-width: 0;
    max-width: none;
    white-space: normal;
    order: 1;
    flex-shrink: 1;
  }

  .view-btn {
    padding: 8px 10px;
    font-size: 14px;
    flex: 1;
    min-width: 60px;
    max-width: 90px;
    margin: 0;
    order: 0;
    flex-shrink: 0;
  }

  .view-btn[data-view="back"] {
    order: 2;
  }

  .sizes-layout {
    flex-direction: column;
    gap: 5px;
  }

  .size-buttons-row.single-row .size-btn.simple {
    min-width: 40px;
    padding: 8px 2px;
    font-size: 20px;
    height: 40px;
  }

  .silhouette-container {
    padding: 5px;
  }

  /* Galeria pe mobil: 2 imagini pe rând */
  .thumbnails {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px;
  }

  /* Butoane action pe mobil */
  .action-btn {
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 16px;
  }

  .delete-btn {
    left: -10px;
    top: -10px;
  }

  .resize-btn {
    right: -10px;
    bottom: -10px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 26px;
  }

  .colors-mini {
    grid-template-columns: repeat(3, 1fr);
  }

  .mini-tshirt {
    width: 50px;
    height: 60px;
  }

  .size-buttons-row.single-row .size-btn.simple {
    min-width: 40px;
    font-size: 18px;
    height: 40px;
  }

  .thumbnails {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px;
  }

  .price-box {
    padding: 8px 10px;
  }

  .price-box .price-line,
  .price-box .quantity-line {
    font-size: 12px;
    margin: 4px 0;
  }

  .price-box .total-line {
    font-size: 15px;
  }

  /* VIEW BUTOANE PE ECRANE FOARTE MICI - DIMENSIUNI OPTIMIZATE */
  .views-container {
    gap: 3px;
    padding: 0 3px;
  }

  .orientative-text {
    font-size: 11px;
    padding: 5px 6px;
    flex: 4;
  }

  .view-btn {
    padding: 6px 8px;
    font-size: 12px;
    min-width: 50px;
    max-width: 70px;
  }
}

@media (max-width: 360px) {
  /* VIEW BUTOANE PE ECRANE FOARTE MICI - VERSIUNE ULTRA-COMPACTĂ */
  .views-container {
    gap: 2px;
  }

  .orientative-text {
    font-size: 10px;
    padding: 4px 5px;
    flex: 5;
  }

  .view-btn {
    padding: 5px 6px;
    font-size: 11px;
    min-width: 45px;
    max-width: 60px;
  }
}

@media (max-height: 600px) and (orientation: landscape) {
  .container {
    padding: 3px;
  }

  h1 {
    font-size: 24px;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .subtitle {
    display: none;
  }

  .main-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .left-panel,
  .right-panel {
    width: 50%;
  }

  .center-preview {
    width: 100%;
    order: 0;
  }

  #tshirt-base {
    max-width: 300px;
  }

  /* VIEW BUTOANE PE LANDSCAPE - DIMENSIUNI OPTIMIZATE */
  .views-container {
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
  }

  .orientative-text {
    font-size: 12px;
    padding: 6px 8px;
    flex: 3;
  }

  .view-btn {
    padding: 8px 10px;
    font-size: 13px;
    flex: 1;
    min-width: 60px;
    max-width: 80px;
  }
}