.cafe-detail-sec h2 {
  text-align: center;
  margin-bottom: 30px;
}
.cafe-detail-sec .tabs .tab-header-inner {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  cursor: grab;
  /* Smooth scrolling optimizations */
  will-change: scroll-position;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  /* Prevent scroll chaining */
  overscroll-behavior-x: contain;
  cursor: default;
  /* Center the inline-flex tab-header */
  text-align: center;
}

.cafe-detail-sec .tabs .tab-header-inner:active {
  cursor: grabbing;
}

/* Custom scrollbar similar to Become A Seller popup - horizontal version */
.cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar {
  height: 6px;
}

.cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-track {
  background: transparent;
  margin: 12px 0;
}

.cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-thumb {
  background: #d9d9d9;
  border-radius: 3px;
}

.cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}

/* Hide ALL scrollbar buttons/arrows */
.cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-button:start:decrement,
.cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-button:end:increment {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-corner {
  display: none !important;
}

/* For Firefox - thin scrollbar with NO buttons */
.cafe-detail-sec .tabs .tab-header-inner {
  scrollbar-width: thin;
  scrollbar-color: #d9d9d9 transparent;
}

/* Ensure scrollbar colors remain consistent across all screen sizes */
@media (max-width: 1399px) {
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar {
    height: 6px;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-track {
    background: transparent;
    margin: 12px 0;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 3px;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-thumb:hover {
    background: #bbb;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner {
    scrollbar-width: thin;
    scrollbar-color: #d9d9d9 transparent;
  }
}

@media (max-width: 1199px) {
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar {
    height: 6px;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-track {
    background: transparent;
    margin: 12px 0;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 3px;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-thumb:hover {
    background: #bbb;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner {
    scrollbar-width: thin;
    scrollbar-color: #d9d9d9 transparent;
  }
}

@media (max-width: 991px) {
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar {
    height: 6px;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-track {
    background: transparent;
    margin: 12px 0;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 3px;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-thumb:hover {
    background: #bbb;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner {
    scrollbar-width: thin;
    scrollbar-color: #d9d9d9 transparent;
  }
}

@media (max-width: 767px) {
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar {
    height: 6px;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-track {
    background: transparent;
    margin: 12px 0;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 3px;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-thumb:hover {
    background: #bbb;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner {
    scrollbar-width: thin;
    scrollbar-color: #d9d9d9 transparent;
  }
}

@media (max-width: 575px) {
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar {
    height: 6px;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-track {
    background: transparent;
    margin: 12px 0;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 3px;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner::-webkit-scrollbar-thumb:hover {
    background: #bbb;
  }
  
  .cafe-detail-sec .tabs .tab-header-inner {
    scrollbar-width: thin;
    scrollbar-color: #d9d9d9 transparent;
  }
}

.cafe-detail-sec .tabs .tab-header-inner .tab-header {
  display: inline-flex;
  justify-content: flex-start;
  gap: 25px;
  margin: 0;
  flex-wrap: nowrap;
  min-width: fit-content;
  width: max-content;
}
@media (max-width: 1399px) {
  .cafe-detail-sec .tabs .tab-header-inner .tab-header {
    gap: 22px;
  }
}
@media (max-width: 575px) {
  .cafe-detail-sec .tabs .tab-header-inner .tab-header {
    gap: 10px;
  }
}
.cafe-detail-sec .tabs .tab {
  cursor: pointer;
  text-align: center;
  width: auto;
  min-width: 130px;
  max-width: 200px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.cafe-detail-sec .tabs .tab figure {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  margin-bottom: 15px;
  box-shadow: none;
  overflow: hidden;
}
.cafe-detail-sec .tabs .tab.active-tab figure {
  background: #E8F4F5;
  box-shadow: none;
}
@media (max-width: 1399px) {
  .cafe-detail-sec .tabs .tab figure {
    width: 80px;
    height: 80px;
    padding: 0;
  }
}
@media (max-width: 575px) {
  .cafe-detail-sec .tabs .tab figure {
    width: 60px;
    height: 60px;
    padding: 0;
  }
}
.cafe-detail-sec .tabs .tab img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.3s ease;
}
.cafe-detail-sec .tabs .tab.active-tab img {
  filter: grayscale(0);
}
.cafe-detail-sec .tabs .tab span {
  font-size: 16px;
  font-weight: 500;
  color: #222;
  display: block;
  width: 100%;
  margin: 0 auto;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.3;
  text-align: center;
  padding: 0 5px;
  transition: color 0.3s ease;
}
.cafe-detail-sec .tabs .tab.active-tab span {
  color: #055D62;
  font-weight: 600;
}
@media (max-width: 575px) {
  .cafe-detail-sec .tabs .tab span {
    font-size: 14px;
    line-height: 1.2;
    padding: 0 3px;
  }
  
  .cafe-detail-sec .tabs .tab {
    min-width: 100px;
    max-width: 150px;
  }
}

/* Main Categories Styling */
.cafe-detail-sec .tabs.main-categories {
  margin-bottom: 20px;
}

/* Subcategories Styling */
.cafe-detail-sec .tabs.subcategories {
  margin-top: 20px;
  padding-top: 25px;
  border-top: 1px solid #E0E0E0;
}

/* Sub-Sub Categories Styling */
.cafe-detail-sec .tabs.sub-subcategories {
  margin-top: 20px;
  padding-top: 25px;
  border-top: 1px solid #E0E0E0;
}
.cafe-detail-sec .food-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: stretch;
}
@media (max-width: 991px) {
  .cafe-detail-sec .food-content {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 1399px) {
  .cafe-detail-sec .food-content {
    gap: 20px;
  }
}
.cafe-detail-sec .food-card {
  display: flex;
  flex: 1 1 calc(50% - 15px);
  max-width: calc(50% - 15px);
  min-width: 320px;
  max-width: calc(50% - 15px);
  background: #fff;
  border-radius: 10px;
  border: 1px solid #C8E1E3;
  transition: box-shadow 0.2s, border 0.2s;
  position: relative;
  padding: 15px;
  align-items: flex-start;
  gap: 20px;
  height: 228px;
  max-height: 228px;
  overflow: hidden;
  box-sizing: border-box;
}

.cafe-detail-sec .food-card.cafe-card-clickable {
  cursor: pointer;
}

.cafe-detail-sec .food-card.cafe-card-clickable:hover {
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
}
@media (max-width: 1199px) {
  .cafe-detail-sec .food-card {
    flex: 1 1 100%;
    height: auto;
    max-height: none;
    min-height: auto;
    overflow: visible;
    min-width: 100%;
    gap: 15px;
  }
  .cafe-detail-sec .food-card .food-details {
    height: auto;
    min-height: auto;
  }
}
@media (max-width: 991px) {
  .cafe-detail-sec .food-card {
    margin-bottom: 20px;
  }
}
@media (max-width: 575px) {
  .cafe-detail-sec .food-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .cafe-detail-sec .food-card {
    min-width: 100%;
    max-width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    height: auto;
    max-height: none;
    min-height: auto;
    overflow: hidden;
    padding: 0 !important;
    gap: 0;
    align-items: stretch;
    border-radius: 10px;
    display: flex;
    position: relative;
  }
  
  .cafe-detail-sec .food-card img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 10px 10px 0 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    flex-shrink: 0;
    max-height: none !important;
  }
  
  .cafe-detail-sec .food-card .food-details {
    padding: 10px;
    gap: 6px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .cafe-detail-sec .food-card .food-details h4 {
    font-size: 15px;
    margin-bottom: 4px;
    margin-top: 0;
    min-height: auto;
    line-height: 1.3;
    font-weight: 600;
    padding-left: 8px;
    padding-right: 8px;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-height: calc(1.3em * 2);
  }
  
  .cafe-detail-sec .food-card .food-details p,
  .cafe-detail-sec .food-card .food-details .item-description-wrapper {
    display: none;
  }
  
  .cafe-detail-sec .food-card .food-details .food-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 6px;
    justify-content: flex-start;
    width: 100%;
  }
  
  .cafe-detail-sec .food-card .food-details .food-footer .price {
    font-size: 16px;
    margin: 0;
    text-align: left !important;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    display: block;
  }
  
  .cafe-detail-sec .food-card .food-details .food-footer .add-button,
  .cafe-detail-sec .food-card .food-details .food-footer .add-button:disabled {
    font-size: 12px;
    height: 34px;
    padding: 0 10px;
    min-width: calc(100% - 20px);
    width: calc(100% - 20px);
    margin: 0 10px;
    align-self: center;
  }
}
@media (max-width: 1399px) and (min-width: 1200px) {
  .cafe-detail-sec .food-card {
    height: 228px;
    max-width: calc(50% - 10px);
    flex: 1 1 calc(50% - 10px);
  }
}
.cafe-detail-sec .food-card img {
  border-radius: 8px;
  background: #f7f7f7;
  flex-shrink: 0;
  width: 198px;
  height: 198px;
  object-fit: cover;
}
@media (max-width: 1399px) {
  .cafe-detail-sec .food-card img {
    width: 175px;
    height: 175px;
  }
}
@media (max-width: 1199px) {
  .cafe-detail-sec .food-card img {
    width: 135px;
    height: 135px;
  }
}
@media (max-width: 479px) {
  .cafe-detail-sec .food-card img {
    width: 100px;
    height: 100px;
  }
}
.cafe-detail-sec .food-card .food-details {
  flex: 1;
  padding: 0 10px 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  min-height: 0;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
@media (max-width: 479px) {
  .cafe-detail-sec .food-card .food-details {
    padding: 0 0 0 4px;
    gap: 5px;
  }
  .cafe-detail-sec .food-card .food-details h4 {
    margin-bottom: 3px;
    margin-top: 0;
    min-height: 24px;
  }
  .cafe-detail-sec .food-card .food-details p {
    margin-bottom: 5px;
    margin-top: 0;
  }
  .cafe-detail-sec .food-card .food-details .item-description-wrapper {
    margin-bottom: 3px;
    margin-top: 0;
    max-height: 65px;
  }
  .cafe-detail-sec .food-card .food-details .food-footer {
    margin-top: 4px;
    gap: 9px;
  }
}
.cafe-detail-sec .food-card .food-details h4 {
  font-size: 26px;
  margin-bottom: 5px;
  line-height: 1.3;
  min-height: 34px;
  flex-shrink: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  max-width: 100%;
  max-height: calc(1.3em * 2);
}
@media (max-width: 1399px) {
  .cafe-detail-sec .food-card .food-details h4 {
    font-size: 22px;
    margin-bottom: 5px;
    min-height: 29px;
  }
}
@media (max-width: 1199px) {
  .cafe-detail-sec .food-card .food-details h4 {
    font-size: 20px;
    min-height: 26px;
  }
}
@media (max-width: 479px) {
  .cafe-detail-sec .food-card .food-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
    min-height: 24px;
  }
}
.cafe-detail-sec .food-card .food-details p {
  line-height: 22px;
  color: #242A2E;
  font-weight: 300;
  margin: 0;
  margin-bottom: 15px;
}
@media (max-width: 1199px) {
  .cafe-detail-sec .food-card .food-details p {
    font-size: 14px;
    line-height: 20px;
  }
}

/* Item Description Wrapper - Constrain height to prevent layout shifts */
.cafe-detail-sec .food-card .food-details .item-description-wrapper {
  margin-bottom: 5px;
  max-height: 110px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  flex-shrink: 1;
  min-height: 0;
  width: 100%;
  max-width: 100%;
}
.cafe-detail-sec .food-card .food-details .item-description-wrapper::-webkit-scrollbar {
  width: 4px;
}
.cafe-detail-sec .food-card .food-details .item-description-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}
.cafe-detail-sec .food-card .food-details .item-description-wrapper::-webkit-scrollbar-thumb {
  background: #C8E1E3;
  border-radius: 2px;
}
.cafe-detail-sec .food-card .food-details .item-description-wrapper::-webkit-scrollbar-thumb:hover {
  background: #055D62;
}
@media (max-width: 1199px) {
  .cafe-detail-sec .food-card .food-details .item-description-wrapper {
    max-height: 100px;
  }
}
@media (max-width: 479px) {
  .cafe-detail-sec .food-card .food-details .item-description-wrapper {
    max-height: 80px;
  }
}

.cafe-detail-sec .food-card .food-details .item-description {
  font-size: 14px;
  font-weight: 300;
  color: #242A2E;
  line-height: 22px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 100%;
  max-width: 100%;
}

.cafe-detail-sec .food-card .food-details .item-description .description-preview,
.cafe-detail-sec .food-card .food-details .item-description .description-full {
  display: inline;
  max-width: 100%;
  word-break: break-word;
}

/* Read More/Less Button */
.cafe-detail-sec .food-card .food-details .read-more-btn {
  background: none;
  border: none;
  color: #7C7C7C;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-left: 0;
  text-decoration: underline;
  transition: color 0.2s ease;
  display: inline;
  vertical-align: baseline;
  white-space: nowrap;
}

.cafe-detail-sec .food-card .food-details .read-more-btn:hover {
  color: rgb(5, 93, 98);
}

.cafe-detail-sec .food-card .food-details .read-more-btn:focus {
  outline: none;
  color: #7C7C7C;
}

.cafe-detail-sec .food-card .food-details .read-more-btn:hover:focus {
  color: rgb(5, 93, 98);
}

.cafe-detail-sec .food-card .food-details .read-more-btn:active {
  color: rgb(5, 93, 98);
}
@media (max-width: 479px) {
  .cafe-detail-sec .food-card .food-details p {
    margin-bottom: 10px;
  }
  .cafe-detail-sec .food-card .food-details .read-more-btn {
    font-size: 11px;
  }
}

.cafe-detail-sec .food-card .food-details .food-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: auto;
}
.cafe-detail-sec .food-card .food-details .food-footer .price {
  font-size: 20px;
  font-weight: 600;
  line-height: 20px;
  color: #055D62;
}
.cafe-detail-sec .food-card .food-details .food-footer .add-button,
.cafe-detail-sec .food-card .food-details .food-footer .add-button:disabled {
  border-radius: 30px;
  border: 1px solid #D9D9D9;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  font-weight: 500;
  color: #000;
  font-size: 14px;
  text-transform: capitalize;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  height: 36px;
  line-height: 1;
  padding: 0 16px;
  min-width: 130px;
}
.cafe-detail-sec .food-card .food-details .food-footer .add-button:selected {
  cursor: not-allowed;
}
@media (max-width: 1199px) {
  .cafe-detail-sec .food-card .food-details .food-footer .add-button,
  .cafe-detail-sec .food-card .food-details .food-footer .add-button:disabled {
    height: 34px;
    padding: 0 14px;
  }
}
@media (max-width: 575px) {
  .cafe-detail-sec .food-card .food-details .food-footer .add-button,
  .cafe-detail-sec .food-card .food-details .food-footer .add-button:disabled {
    font-size: 13px;
    height: 32px;
    padding: 0 12px;
  }
  .cafe-detail-sec .food-card .food-details .food-footer {
    gap: 10px;
  }
}
.cafe-detail-sec .food-card .food-details .food-footer .add-button.disabled {
  border: 1px solid #055D62;
  color: #000000;
  cursor: not-allowed !important;
  opacity: 0.8;
}

.cafe-detail-sec .food-card .food-details .food-footer .add-button:disabled {
  cursor: not-allowed;
}
.cafe-detail-sec .food-card .food-details .food-footer .add-button.out-of-stock {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #D9D9D9;
  color: #242A2E;
  cursor: not-allowed;
  opacity: 0.5;
}
.cafe-detail-sec .food-card .food-details .food-footer .add-button.out-of-stock:hover {
  background: #D9D9D9;
  border: 1px solid #D9D9D9;
  color: #242A2E;
  opacity: 0.5;
  cursor: not-allowed;
}
.cafe-detail-sec .food-card .food-details .food-footer .add-button svg {
  margin-right: 5px;
}
.cafe-detail-sec .food-grid {
  background: #fff;
  padding: 60px 0;
}
@media (max-width: 1399px) {
  .cafe-detail-sec .food-grid {
    padding: 50px 0;
  }
}
.cafe-detail-sec .food-grid .link-btn {
  margin: 0 auto;
  cursor: pointer;
  color: #000000;
  margin-top: 50px;
  /* Prevent text selection on click (mobile and desktop) */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(5, 93, 98, 0.3);
  -webkit-touch-callout: none;
  /* Smooth transitions for better UX */
  transition: background 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  -webkit-transition: background 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
@media (max-width: 1199px) {
  .cafe-detail-sec .food-grid .link-btn {
    margin-top: 30px;
  }
}
/* Hover effect only for desktop (non-touch devices) */
@media (hover: hover) and (pointer: fine) {
  .cafe-detail-sec .food-grid .link-btn:hover {
    color: #fff !important;
    background: #055D62 !important;
    background-color: #055D62 !important;
    border-color: #055D62 !important;
    /* Prevent text selection on hover - especially important for RTL languages */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
}
.cafe-detail-sec .food-grid .link-btn:active,
.cafe-detail-sec .food-grid .link-btn:focus {
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #000000;
  -webkit-tap-highlight-color: transparent;
}
.cafe-detail-sec .food-grid .link-btn:active {
  color: #000000 !important;
  background: rgba(255, 255, 255, 0.2) !important;
}
.cafe-detail-sec .food-grid .link-btn::selection {
  background: transparent;
  color: #000000;
}
.cafe-detail-sec .food-grid .link-btn::-moz-selection {
  background: transparent;
  color: #000000;
}
/* Prevent text highlighting on mobile for Load More button */
.cafe-detail-sec .food-grid .link-btn * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* Additional RTL-specific rules to prevent text selection on hover */
.cafe-detail-rtl .cafe-detail-sec .food-grid .link-btn,
.cafe-detail-rtl .cafe-detail-sec .food-grid .link-btn:hover,
.cafe-detail-rtl .cafe-detail-sec .food-grid .link-btn:focus,
.cafe-detail-rtl .cafe-detail-sec .food-grid .link-btn:active {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
  pointer-events: auto;
}
.cafe-detail-rtl .cafe-detail-sec .food-grid .link-btn *,
.cafe-detail-rtl .cafe-detail-sec .food-grid .link-btn:hover *,
.cafe-detail-rtl .cafe-detail-sec .food-grid .link-btn:focus *,
.cafe-detail-rtl .cafe-detail-sec .food-grid .link-btn:active * {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}
/* Prevent text selection for Google Translate wrapped content */
.cafe-detail-rtl .cafe-detail-sec .food-grid .link-btn [class*="goog"],
.cafe-detail-rtl .cafe-detail-sec .food-grid .link-btn [class*="goog"]:hover,
.cafe-detail-rtl .cafe-detail-sec .food-grid .link-btn [class*="goog"] * {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}
/* Make any selection that does happen completely invisible */
#loadMoreBtn::selection,
#loadMoreBtn *::selection,
.cafe-detail-rtl #loadMoreBtn::selection,
.cafe-detail-rtl #loadMoreBtn *::selection,
.cafe-detail-rtl #loadMoreBtn [class*="goog"]::selection,
.cafe-detail-rtl #loadMoreBtn [class*="goog"] *::selection {
  background: transparent !important;
  color: inherit !important;
}
#loadMoreBtn::-moz-selection,
#loadMoreBtn *::-moz-selection,
.cafe-detail-rtl #loadMoreBtn::-moz-selection,
.cafe-detail-rtl #loadMoreBtn *::-moz-selection,
.cafe-detail-rtl #loadMoreBtn [class*="goog"]::-moz-selection,
.cafe-detail-rtl #loadMoreBtn [class*="goog"] *::-moz-selection {
  background: transparent !important;
  color: inherit !important;
}
/* Additional aggressive rules for RTL languages - target all possible selectors */
body[dir="rtl"] #loadMoreBtn,
html[dir="rtl"] #loadMoreBtn,
.cafe-detail-wrapper[data-lang="ar"] #loadMoreBtn,
.cafe-detail-wrapper[data-lang="ckb"] #loadMoreBtn {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}
body[dir="rtl"] #loadMoreBtn *,
html[dir="rtl"] #loadMoreBtn *,
.cafe-detail-wrapper[data-lang="ar"] #loadMoreBtn *,
.cafe-detail-wrapper[data-lang="ckb"] #loadMoreBtn * {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}
/* Style for the load more text content span */
#loadMoreBtn .load-more-text-content,
.cafe-detail-rtl #loadMoreBtn .load-more-text-content,
body[dir="rtl"] #loadMoreBtn .load-more-text-content,
html[dir="rtl"] #loadMoreBtn .load-more-text-content {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  pointer-events: none;
  display: inline-block;
  color: #000000 !important;
}
#loadMoreBtn .load-more-text-content::selection,
.cafe-detail-rtl #loadMoreBtn .load-more-text-content::selection,
body[dir="rtl"] #loadMoreBtn .load-more-text-content::selection {
  background: transparent !important;
  color: inherit !important;
}
#loadMoreBtn .load-more-text-content::-moz-selection,
.cafe-detail-rtl #loadMoreBtn .load-more-text-content::-moz-selection,
body[dir="rtl"] #loadMoreBtn .load-more-text-content::-moz-selection {
  background: transparent !important;
  color: inherit !important;
}
/* Mobile styles - allow blue on click/tap, but default to white */
@media (max-width: 768px) {
  .cafe-detail-sec .food-grid .link-btn {
    background: rgba(255, 255, 255, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #000000 !important;
    border-color: #055D62 !important;
    -webkit-tap-highlight-color: rgba(5, 93, 98, 0.3);
    /* Add smooth transition for touch feedback */
    transition: background 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    -webkit-transition: background 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }
  /* Blue background on click/tap (active state) */
  .cafe-detail-sec .food-grid .link-btn:active {
    background: #055D62 !important;
    background-color: #055D62 !important;
    color: #fff !important;
    border-color: #055D62 !important;
    /* Ensure active state is visible */
    transition: background 0s, background-color 0s, color 0s, border-color 0s;
    -webkit-transition: background 0s, background-color 0s, color 0s, border-color 0s;
    /* Add a subtle scale effect for better tactile feedback */
    transform: scale(0.98);
    -webkit-transform: scale(0.98);
  }
  /* Disable hover on mobile - button should stay white when not clicked */
  .cafe-detail-sec .food-grid .link-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #000000 !important;
    border-color: #055D62 !important;
  }
  /* Focus state should also be white (not blue) */
  .cafe-detail-sec .food-grid .link-btn:focus,
  .cafe-detail-sec .food-grid .link-btn:focus-visible {
    background: rgba(255, 255, 255, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #000000 !important;
    border-color: #055D62 !important;
  }
  /* Additional support for touch devices with .touching class */
  .cafe-detail-sec .food-grid .link-btn.touching {
    background: #055D62 !important;
    background-color: #055D62 !important;
    color: #fff !important;
    border-color: #055D62 !important;
    /* Add a subtle scale effect for better tactile feedback */
    transform: scale(0.98);
    -webkit-transform: scale(0.98);
  }
}
.cafe-detail-sec .cafe-tab-header {
  background: #F8F8F8;
  padding-bottom: 15px;
}

.contact-section.cafe-detail-contact {
  background: #F8F8F8;
  padding-top: 60px;
}

/* Mobile Horizontal/Landscape View - Reduce Spacing */
@media screen and (max-width: 991px) and (orientation: landscape) {
  .cafe-detail-sec .food-grid {
    padding: 30px 0;
  }
  
  .cafe-detail-sec .food-content {
    gap: 15px;
  }
  
  .cafe-detail-sec .food-card {
    padding: 12px;
    gap: 12px;
    height: auto;
    max-height: none;
    min-height: auto;
    margin-bottom: 15px;
  }
  
  .cafe-detail-sec .food-card img {
    width: 120px;
    height: 120px;
  }
  
  .cafe-detail-sec .food-card .food-details {
    padding: 0 0px 0 12px;
    gap: 8px;
    height: auto;
    min-height: auto;
  }
  
  .cafe-detail-sec .food-card .food-details h4 {
    font-size: 18px;
    margin-bottom: 6px;
    min-height: 24px;
  }
  
  .cafe-detail-sec .food-card .food-details p {
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 8px;
  }
  
  .cafe-detail-sec .food-card .food-details .item-description-wrapper {
    max-height: 70px;
    margin-bottom: 4px;
  }
  
  .cafe-detail-sec .food-card .food-details .food-footer {
    gap: 12px;
    margin-top: 8px;
  }
  
  .cafe-detail-sec .food-card .food-details .food-footer .price {
    font-size: 18px;
  }
  
  .cafe-detail-sec .food-card .food-details .food-footer .add-button,
  .cafe-detail-sec .food-card .food-details .food-footer .add-button:disabled {
    font-size: 12px;
    height: 30px;
    padding: 0 10px;
    min-width: 110px;
  }
  
  .cafe-detail-sec h2 {
    margin-bottom: 20px;
  }
  
  .cafe-detail-sec .cafe-tab-header {
    padding-bottom: 30px;
  }
  
  .contact-section.cafe-detail-contact {
    padding-top: 40px;
  }
  
  .cafe-detail-sec .food-grid .link-btn {
    margin-top: 25px;
  }
}

/* Mobile Vertical/Portrait View - Reduce Spacing */
@media screen and (max-width: 575px) and (orientation: portrait) {
  .cafe-detail-sec .food-grid {
    padding: 25px 0;
  }
  
  .cafe-detail-sec .food-content {
    gap: 12px;
  }
  
  .cafe-detail-sec .food-card {
    padding: 10px;
    gap: 10px;
    margin-bottom: 12px;
    height: auto;
    max-height: none;
    min-height: auto;
  }
  
  .cafe-detail-sec .food-card img {
    width: 100px;
    height: 100px;
  }
  
  .cafe-detail-sec .food-card .food-details {
    padding: 0 0 0 4px;
    gap: 2px;
    padding-bottom: 0;
    height: auto;
    min-height: auto;
  }
  
  .cafe-detail-sec .food-card .food-details h4 {
    font-size: 16px;
    margin-top: 0;
    min-height: 21px;
    padding-left: 10px;
  }
  
  .cafe-detail-sec .food-card .food-details p {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 6px;
    margin-top: 0;
  }
  
  .cafe-detail-sec .food-card .food-details .item-description-wrapper {
    max-height: 70px;
    margin-bottom: 4px;
    margin-top: 0;
  }
  
  .cafe-detail-sec .food-card .food-details .food-footer {
    gap: 10px;
    margin-top: 6px;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  .cafe-detail-sec .food-card .food-details .food-footer .price {
    font-size: 16px;
    margin: 0;
  }
  
  .cafe-detail-sec .food-card .food-details .food-footer .add-button,
  .cafe-detail-sec .food-card .food-details .food-footer .add-button:disabled {
    font-size: 11px;
    height: 28px;
    padding: 0 8px;
    min-width: 100px;
    max-width: 200px;
    margin: 0;
    margin-bottom: 11px;
  }
  
  .cafe-detail-sec h2 {
    margin-bottom: 15px;
  }
  
  .cafe-detail-sec .cafe-tab-header {
    padding-bottom: 15px;
  }
  
  .contact-section.cafe-detail-contact {
    padding-top: 35px;
  }
  
  .cafe-detail-sec .food-grid .link-btn {
    margin-top: 20px;
  }
  
  .cafe-detail-sec .food-card .food-details .read-more-btn {
    font-size: 10px;
  }
}

/* ========================================
   Compact Sticky Category Bar (Scroll Only)
   ======================================== */

.compact-sticky-category-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  border-bottom: 1px solid #9c9c9c;
}

.compact-sticky-category-bar.visible {
  transform: translateY(0);
}

.sticky-category-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sticky-category-breadcrumb::-webkit-scrollbar {
  display: none;
}

.sticky-main-category {
  font-weight: 600;
  color: #055D62;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: #e6f7f8;
  border-radius: 25px;
  border: 1px solid #055D62;
  min-height: 48px;
}

.sticky-cat-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.sticky-separator {
  color: #666;
  flex-shrink: 0;
  font-weight: 500;
  font-size: 18px;
  margin: 0 5px;
}

.sticky-subcategories-scroll {
  display: flex;
  flex-shrink: 0;
}

.sticky-subcategories {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
}

.sticky-subcat-btn {
  padding: 8px 18px;
  background: #f5f5f5;
  border: 1px solid transparent;
  border-radius: 25px;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sticky-subcat-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
  transition: all 0.2s ease;
  padding: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.sticky-subcat-btn span {
  line-height: 1.3;
  font-weight: 500;
}

.sticky-subcat-btn:hover {
  background: #e8f5f6;
  border-color: #055D62;
  color: #055D62;
  box-shadow: 0 3px 8px rgba(5, 93, 98, 0.15);
}

.sticky-subcat-btn:hover .sticky-subcat-img {
  background: rgba(255, 255, 255, 0.3);
}

.sticky-subcat-btn.active {
  background: #055D62;
  border-color: #055D62;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(5, 93, 98, 0.3);
}

.sticky-subcat-btn.active .sticky-subcat-img {
  background: rgba(255, 255, 255, 0.95);
  padding: 5px;
}

/* RTL Support */
.cafe-detail-rtl .sticky-category-breadcrumb {
  direction: rtl;
}

.cafe-detail-rtl .sticky-separator {
  transform: scaleX(-1);
}

/* Responsive */
@media (max-width: 991px) {
  .compact-sticky-category-bar {
    padding: 12px 0;
  }
  
  .sticky-category-breadcrumb {
    font-size: 15px;
    gap: 10px;
  }
  
  .sticky-main-category {
    font-size: 15px;
    padding: 7px 16px;
    gap: 9px;
    min-height: 44px;
  }
  
  .sticky-cat-img {
    width: 28px;
    height: 28px;
  }
  
  .sticky-separator {
    font-size: 16px;
  }
  
  .sticky-subcat-btn {
    padding: 7px 16px;
    font-size: 14px;
    min-height: 44px;
    gap: 9px;
  }
  
  .sticky-subcat-img {
    width: 28px;
    height: 28px;
    padding: 3px;
  }
  
  .sticky-subcat-btn.active .sticky-subcat-img {
    padding: 4px;
  }
}

@media (max-width: 767px) {
  .compact-sticky-category-bar {
    padding: 10px 0;
  }
  
  .sticky-category-breadcrumb {
    font-size: 14px;
    gap: 8px;
  }
  
  .sticky-main-category {
    font-size: 14px;
    padding: 6px 14px;
    gap: 8px;
    min-height: 40px;
  }
  
  .sticky-cat-img {
    width: 26px;
    height: 26px;
  }
  
  .sticky-separator {
    font-size: 15px;
  }
  
  .sticky-subcat-btn {
    padding: 6px 14px;
    font-size: 13px;
    min-height: 40px;
    gap: 8px;
  }
  
  .sticky-subcat-img {
    width: 26px;
    height: 26px;
    padding: 3px;
  }
  
  .sticky-subcat-btn.active .sticky-subcat-img {
    padding: 4px;
  }
}

@media (max-width: 480px) {
  .compact-sticky-category-bar {
    padding: 8px 0;
  }
  
  .sticky-category-breadcrumb {
    font-size: 13px;
    gap: 6px;
  }
  
  .sticky-main-category {
    font-size: 13px;
    padding: 5px 12px;
    gap: 6px;
    min-height: 36px;
  }
  
  .sticky-cat-img {
    width: 24px;
    height: 24px;
  }
  
  .sticky-separator {
    font-size: 14px;
    margin: 0 3px;
  }
  
  .sticky-subcat-btn {
    padding: 5px 12px;
    font-size: 12px;
    min-height: 36px;
    gap: 6px;
  }
  
  .sticky-subcat-img {
    width: 24px;
    height: 24px;
    padding: 2px;
  }
  
  .sticky-subcat-btn.active .sticky-subcat-img {
    padding: 3px;
  }
}

/*# sourceMappingURL=cafe-detail.css.map */
