/* Cache cleared: 2025-08-07 16:40:59 */
/* Cache cleared: 2025-07-20 13:08:19 */
/* CSS for section section:catalog */
@import "../css-edit/shop-edit.css";
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: var(--shop-color-background-light);
}

/* CSS from section:menu */
/* Start of Selection */
#menu-list-section {
  padding-top: 180px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

/* Mobile menu section adjustments */
@media (max-width: 768px) {
  #menu-list-section {
    padding-top: 120px;
    padding-left: 15px;
    padding-right: 15px;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  #menu-list-section {
    padding-top: 100px;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
}
/* End of Selection */

.menu-list-container {
  /* style_1 from figma_html node 529:1405 */
  max-width: 290px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 35.9px;
}

/* Mobile menu container adjustments */
@media (max-width: 768px) {
  .menu-list-container {
    max-width: none;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .menu-list-container {
    flex-direction: column;
    gap: 10px;
  }
}

.view-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 20px;
}

/* Mobile view controls adjustments */
@media (max-width: 768px) {
  .view-controls {
    margin-right: 10px;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .view-controls {
    margin-right: 0;
    justify-content: center;
  }
}

.view-controls .icon-button {
  background: none;
  border: 1px solid var(--shop-color-border);
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Mobile touch target improvements */
@media (max-width: 768px) {
  .view-controls .icon-button {
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.view-controls .icon-button:hover {
  background-color: var(--shop-color-background-hover);
}

.view-controls .icon-button.active {
  background-color: var(--shop-color-background-hover);
  border-color: var(--shop-color-border);
}

.view-controls .icon-button.active img {
  filter: brightness(0) invert(1);
}

/* Bootstrap Icons Styling */
.view-controls .icon-button i {
  font-size: 1.2rem;
  color: var(--shop-color-text-primary);
}

.view-controls .icon-button.active i {
  color: var(--shop-color-text-on-dark);
}

.checkmark {
  color: var(--shop-color-text-on-dark);
  font-size: 0.875rem;
}

.bi-toggle-on {
  color: var(--shop-color-background-dark) !important;
}

.bi-toggle-off {
  color: var(--shop-color-background-light) !important;
}

.icon-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 0; /* To remove extra space around img */
}

.icon-button img {
  display: block;
}

.sort-control {
  /* style_5 from figma_html node 528:1404 */
  width: 100%;
  border: 1.12px solid var(--shop-color-border);
  border-radius: 6.73px;
  flex-grow: 1;
}

/* Mobile sort control improvements */
@media (max-width: 768px) {
  .sort-control {
    min-height: 44px;
  }
}

.sort-button {
  /* style_6 from figma_html node 528:1403 */
  width: 100%;
  background-color: transparent;
  border: none;
  padding: 13.46px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Ensures text and arrow are spaced out */
  gap: 13.46px;
  cursor: pointer;
}

/* Mobile sort button improvements */
@media (max-width: 768px) {
  .sort-button {
    padding: 12px 16px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
}

.sort-text {
  /* style_7 from figma_html node 526:1400 */
  font-family: var(--shop-font-family-main);
  font-weight: 600;
  font-size: var(--shop-font-size-large);
  line-height: 21.73px;
  color: var(
    --shop-color-text-primary
  ); /* Adjusted from #333333 to be visible on dark background, matching image */
  white-space: nowrap;
}

.sort-button img {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 340px) {
  .menu-list-container {
    flex-direction: column;
    gap: 16px;
  }
  .sort-control {
    width: 100%;
  }
}

.catalog-section {
  width: 100%;
  max-width: 1192px;
  margin: 0 auto;
}

/* Mobile catalog section adjustments */
@media (max-width: 768px) {
  .catalog-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.catalog-container {
  display: flex;
  flex-direction: row;
  gap: 45px;
  min-height: 600px; /* Minimum height to prevent layout shift */
}

/* Mobile catalog container adjustments */
@media (max-width: 768px) {
  .catalog-container {
    flex-direction: column;
    gap: 20px;
    min-height: auto;
  }
}

.filters-sidebar {
  flex: 0 0 263px;
  display: flex;
  flex-direction: column;
}

/* Mobile filters sidebar adjustments */
@media (max-width: 768px) {
  .filters-sidebar {
    flex: none;
    width: 100%;
    max-width: none;
    order: 2; /* Move filters below products on mobile */
  }
}

/* Mobile filter toggle functionality */
@media (max-width: 768px) {
  .filters-sidebar {
    position: relative;
  }

  .filters-sidebar.collapsed .filters-content {
    display: none;
  }

  .filter-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px;
    background-color: var(--shop-color-background-dark);
    color: var(--shop-color-text-on-dark);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    font-size: 16px;
  }

  .filter-toggle-btn i {
    transition: transform 0.3s ease;
  }

  .filter-toggle-btn.expanded i {
    transform: rotate(180deg);
  }

  .filters-content {
    display: none;
  }
}

.sidebar-title {
  font-weight: 600;
  font-size: var(--shop-font-size-xlarge);
  line-height: 45px;
  color: var(--shop-color-text-primary);
}

/* Mobile sidebar title adjustments */
@media (max-width: 768px) {
  .sidebar-title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 15px;
  }
}

.divider {
  border: none;
  height: 1px;
  background-color: var(--shop-color-background-dark);
  margin: 28px 0;
}

/* Mobile divider adjustments */
@media (max-width: 768px) {
  .divider {
    margin: 20px 0;
  }
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Mobile filter group adjustments */
@media (max-width: 768px) {
  .filter-group {
    gap: 15px;
  }
}

.filter-title {
  font-weight: 600;
  font-size: var(--shop-font-size-large);
  line-height: 28px;
  color: var(--shop-color-text-primary);
}

/* Mobile filter title adjustments */
@media (max-width: 768px) {
  .filter-title {
    font-size: 16px;
    line-height: 24px;
  }
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Mobile filter list adjustments */
@media (max-width: 768px) {
  .filter-list {
    gap: 12px;
  }
}

.checkbox-container input[type="checkbox"] {
  display: none;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--shop-font-size-base);
  line-height: 22px;
  color: var(--shop-color-text-primary);
}

/* Mobile checkbox label improvements */
@media (max-width: 768px) {
  .checkbox-label {
    gap: 12px;
    font-size: 14px;
    line-height: 20px;
    padding: 8px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

.custom-checkbox {
  width: 26.5px;
  height: 26.5px;
  border: 1.15px solid gray;
  border-radius: 3.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Mobile checkbox improvements */
@media (max-width: 768px) {
  .custom-checkbox {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }
}

.custom-checkbox.checked {
  background-color: black;
  border-color: black;
}

.checkmark {
  width: 13.5px;
  height: 10.35px;
}

/* Mobile checkmark adjustments */
@media (max-width: 768px) {
  .checkmark {
    width: 12px;
    height: 9px;
  }
}

.stock-filter {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/* Mobile stock filter adjustments */
@media (max-width: 768px) {
  .stock-filter {
    padding: 12px 0;
  }
}

.stock-label {
  font-weight: 600;
  font-size: var(--shop-font-size-base);
  line-height: 19px;
  color: var(--shop-color-text-primary);
}

/* Mobile stock label adjustments */
@media (max-width: 768px) {
  .stock-label {
    font-size: 14px;
    line-height: 18px;
  }
}

.filter-actions {
  display: flex;
  gap: 12px;
  margin-top: 42px;
}

/* Mobile filter actions adjustments */
@media (max-width: 768px) {
  .filter-actions {
    margin-top: 25px;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .filter-actions {
    flex-direction: column;
  }
}

.filter-actions button {
  flex: 1;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: var(--shop-font-size-base);
  line-height: 18px;
  cursor: pointer;
  border: none;
}

/* Mobile filter action buttons improvements */
@media (max-width: 768px) {
  .filter-actions button {
    padding: 15px;
    font-size: 14px;
    min-height: 44px;
  }
}

.items-count-btn {
  background-color: var(--shop-color-background-button);
  color: var(--shop-color-text-on-dark);
}

.clear-btn {
  background-color: transparent;
  color: var(--shop-color-text-primary);
  border: 1px solid var(--shop-color-text-primary);
}

/* Default grid view */
.product-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  min-height: 400px;
  align-content: start;
  align-items: start;
}

/* Mobile product grid adjustments */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* List view styles */
.product-grid.list-view {
  grid-template-columns: 1fr;
}

.product-grid.list-view .product-card {
  display: flex;
  flex-direction: row;
  max-width: 100%;
  height: auto;
}

.product-grid.list-view .product-image-container {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
}

.product-grid.list-view .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-grid.list-view .product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-grid.list-view .product-name {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.product-grid.list-view .product-desc {
  display: block;
  margin-bottom: 15px;
  line-height: 1.5;
}

.product-grid.list-view .product-price {
  font-size: 1.3rem;
  margin-top: auto;
}

/* Hover effect adjustments for list view */
.product-grid.list-view .product-hover-overlay {
  width: 200px; /* Match image container width */
  height: 200px; /* Match image container height */
  left: 0;
  top: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid.list-view .product-card {
    flex-direction: column;
  }

  .product-grid.list-view .product-image-container {
    width: 100%;
    height: 250px;
  }

  .product-grid.list-view .product-hover-overlay {
    width: 100%;
    height: 250px;
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .view-controls {
    margin-right: 10px;
  }

  .product-grid.list-view .product-image-container {
    height: 200px;
  }

  .product-grid.list-view .product-hover-overlay {
    height: 200px;
  }
}

.product-card {
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: var(--shop-color-background-dark);
  height: fit-content; /* Allow cards to size naturally */
  align-self: start; /* Prevent stretching in grid */
}

/* Mobile product card improvements */
@media (max-width: 768px) {
  .product-card {
    border-radius: 8px;
  }
}

.product-image-container {
  position: relative;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: auto;
  display: block;
}

.sale-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: red;
  color: white;
  padding: 4px 7px;
  border-radius: 3px;
  font-weight: 500;
  font-size: var(--shop-font-size-base);
  line-height: 20px;
}

/* Mobile sale tag adjustments */
@media (max-width: 768px) {
  .sale-tag {
    top: 10px;
    left: 10px;
    padding: 3px 6px;
    font-size: 12px;
  }
}

.product-info {
  color: var(--shop-color-text-on-dark);
  padding: 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex-grow: 1;
}

/* Mobile product info adjustments */
@media (max-width: 768px) {
  .product-info {
    padding: 15px 20px;
    gap: 8px;
  }
}

.product-name {
  font-weight: 700;
  font-size: var(--shop-font-size-large);
  line-height: 21.3px;
}

/* Mobile product name adjustments */
@media (max-width: 768px) {
  .product-name {
    font-size: 16px;
    line-height: 20px;
  }
}

.product-desc {
  font-weight: 500;
  font-size: var(--shop-font-size-base);
  line-height: 16px;
  color: var(--shop-color-background-light);
}

/* Mobile product description adjustments */
@media (max-width: 768px) {
  .product-desc {
    font-size: 14px;
    line-height: 18px;
  }
}

.product-price {
  font-weight: 700;
  font-size: var(--shop-font-size-large);
  line-height: 21.3px;
}

/* Mobile product price adjustments */
@media (max-width: 768px) {
  .product-price {
    font-size: 16px;
    line-height: 20px;
  }
}

.original-price {
  font-weight: 500;
  color: var(--shop-color-background-light);
  text-decoration: line-through;
  margin-left: 8px;
}

/* Mobile original price adjustments */
@media (max-width: 768px) {
  .original-price {
    margin-left: 6px;
    font-size: 14px;
  }
}

.product-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* Allow clicks to pass through when not visible */
}

.product-card:hover .product-hover-overlay {
  opacity: 1;
  pointer-events: auto; /* Enable interaction when visible */
}

/* Mobile hover overlay adjustments */
@media (max-width: 768px) {
  .product-hover-overlay {
    opacity: 1;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.4);
  }
}

.hover-buttons {
  display: none; /* Hide by default */
  gap: 10px;
  padding: 0 20px;
  width: 100%;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Show buttons only on product card hover */
.product-card:hover .hover-buttons {
  display: flex;
}

/* Mobile hover buttons always visible */
@media (max-width: 768px) {
  .hover-buttons {
    display: flex;
    padding: 0 15px;
    gap: 8px;
  }
}

.buy-btn {
  background-color: var(--shop-color-background-button);
  color: var(--shop-color-text-on-dark);
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
  flex: 1;
  max-width: 120px;
  text-align: center;
  transition: background-color 0.2s;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  line-height: 1.5;
}

/* Mobile buy button improvements */
@media (max-width: 768px) {
  .buy-btn {
    padding: 10px 12px;
    font-size: 13px;
    max-width: none;
    min-height: 40px;
  }
}

.buy-btn:hover {
  background-color: var(--shop-color-background-hover);
  color: var(--shop-color-text-on-dark);
  text-decoration: none;
}

.cart-btn {
  background-color: var(--shop-color-background-button);
  border: 1px solid var(--shop-color-border);
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
  width: 40px;
  height: 40px;
  color: var(--shop-color-text-on-dark);
}

/* Mobile cart button improvements */
@media (max-width: 768px) {
  .cart-btn {
    width: 40px;
    height: 40px;
    padding: 8px;
  }
}

.cart-btn:hover {
  background-color: var(--shop-color-background-hover);
}

.cart-btn img {
  width: 20px;
  height: 20px;
}

.interactive .info-hover {
  display: none;
}

.interactive:hover .info-default {
  display: none;
}

.interactive:hover .info-hover {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 15px;
}

@media (max-width: 1024px) {
  .catalog-container {
    flex-direction: column;
    align-items: center;
  }

  .filters-sidebar {
    width: 100%;
    max-width: 500px;
    flex: 0 0 auto;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    align-items: start; /* Prevent items from stretching vertically */
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
    align-items: start; /* Prevent items from stretching vertically */
  }

  .filter-actions {
    flex-direction: column;
  }
}

/* Style for no products message */
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  background-color: rgb(230, 229, 229);
  border-radius: 9px;
  margin: 20px 0;
}

/* Mobile no products message adjustments */
@media (max-width: 768px) {
  .no-products {
    padding: 30px 20px;
    margin: 15px 0;
  }
}

/* Additional mobile improvements */
@media (max-width: 768px) {
  /* Improve touch targets */
  .product-card {
    cursor: pointer;
  }

  /* Better spacing for mobile */
  .catalog-section {
    margin-bottom: 60px;
  }

  /* Improve text readability */
  .product-name,
  .product-desc,
  .product-price {
    word-wrap: break-word;
  }

  /* Better image loading on mobile */
  .product-image {
    aspect-ratio: 1;
    object-fit: cover;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .catalog-container {
    gap: 15px;
  }

  .product-grid {
    gap: 12px;
  }

  .product-info {
    padding: 12px 16px;
  }

  .hover-buttons {
    padding: 0 12px;
    gap: 6px;
  }

  .buy-btn {
    padding: 8px 10px;
    font-size: 12px;
  }

  .cart-btn {
    width: 36px;
    height: 36px;
  }

  /* Improve touch targets for very small screens */
  .view-controls .icon-button {
    min-width: 48px;
    min-height: 48px;
    padding: 14px;
  }

  .sort-button {
    padding: 14px 16px;
  }

  .filter-actions button {
    padding: 16px;
    min-height: 48px;
  }
}

/* Landscape mobile improvements */
@media (max-width: 768px) and (orientation: landscape) {
  .catalog-container {
    flex-direction: row;
    gap: 20px;
  }

  .filters-sidebar {
    flex: 0 0 250px;
    order: 1;
  }

  .product-grid {
    flex: 1;
  }
}

/* High DPI mobile devices */
@media (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px) {
  .product-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}
