/* Shop & Online Order */

.cs-orders-closed-banner {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: #fff4f0;
    border: 1px solid #f0c4b8;
    color: #8a2e1f;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
}

#shop-checkout-btn.is-orders-closed,
#shop-cart-page-checkout.is-orders-closed,
.cs-checkout__submit.is-orders-closed {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.shop-home__category {
    margin-bottom: 64px;
}

.shop-home__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.shop-home__title {
    font-size: 28px;
    margin: 0;
    font-family: 'Playfair Display', serif;
    color: #222;
}

.shop-home__cta {
    text-align: center;
    margin-top: 20px;
}

.shop-grid {
    display: grid;
    gap: 24px;
}

.shop-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shop-card {
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.3s, transform 0.3s;
}

.shop-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.shop-card__image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin: 0;
    background: #f7f7f7;
    position: relative;
}

.shop-card--unavailable {
    opacity: 0.88;
}

.shop-card--unavailable .shop-card__image img {
    filter: grayscale(0.35);
}

.shop-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
}

.shop-card__badge--out {
    background: rgba(34, 34, 34, 0.88);
    color: #fff;
}

/* ---- İndirimli ürün kartı ---- */

.shop-card--sale {
    border-color: rgba(229, 57, 53, 0.28);
    box-shadow: 0 10px 32px rgba(198, 40, 40, 0.1);
    position: relative;
    overflow: hidden;
}

.shop-card--sale::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c62828, #e53935, #ff7043);
    z-index: 4;
}

.shop-card--sale .shop-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, transparent 42%);
    pointer-events: none;
    z-index: 1;
}

.shop-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: calc(100% - 24px);
    padding: 7px 12px 7px 9px;
    background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 45%, #ef5350 100%);
    color: #fff;
    border-radius: 12px;
    box-shadow:
        0 8px 22px rgba(183, 28, 28, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-transform: none;
    backdrop-filter: blur(4px);
}

.shop-sale-badge__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.shop-sale-badge__icon .material-icons {
    font-size: 16px;
}

.shop-sale-badge__text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.shop-price-block--sale {
    gap: 1px;
}

.shop-card__price--old,
.shop-product-modal__price-value.shop-card__price--old,
.shop-price-block .shop-card__price--old {
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    color: #b0b0b0 !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.shop-card__price--sale,
.shop-product-modal__price-value.shop-card__price--sale,
.shop-price-block .shop-card__price--sale {
    color: #c62828 !important;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.shop-card--sale .shop-card__footer {
    align-items: end;
}

.shop-card--sale .shop-detail-btn {
    border-color: #c62828 !important;
    color: #c62828 !important;
}

.shop-card--sale .shop-add-btn {
    background: linear-gradient(135deg, #c62828, #d32f2f) !important;
    border-color: #c62828 !important;
}

.shop-card--sale .shop-add-btn:hover {
    background: linear-gradient(135deg, #b71c1c, #c62828) !important;
    border-color: #b71c1c !important;
}

.shop-filter--sale.is-active {
    background: linear-gradient(135deg, #fdecea, #fff5f5);
    border-color: rgba(198, 40, 40, 0.35);
    color: #c62828;
    font-weight: 700;
}

.shop-filter--sale:not(.is-active):hover {
    border-color: rgba(198, 40, 40, 0.25);
    color: #c62828;
}

.shop-product-modal__media .shop-card__image {
    position: relative;
    margin: 0;
    height: 220px;
    aspect-ratio: auto;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}

.shop-product-modal__media .shop-card__image img {
    border-radius: 0;
}

.menu-spec-unavailable {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    padding: 8px 0;
}

.shop-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a9b43;
}

.shop-card__body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.shop-card__title {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 8px;
    color: #222;
}

.shop-card__desc {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-card__footer {
    margin-top: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 8px 10px;
}

.shop-card__price {
    font-size: 18px;
    font-weight: 600;
    color: #3a9b43;
}

.shop-add-btn.btn,
.shop-add-btn {
    background: #3a9b43 !important;
    color: #fff !important;
    border: 2px solid #3a9b43 !important;
    border-radius: 999px !important;
    box-shadow: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    flex: 0 0 auto;
    width: auto !important;
    max-width: none;
    font-size: 0.82rem !important;
    padding: 2px 12px !important;
    line-height: 1.85rem !important;
}

.shop-add-btn.btn:hover,
.shop-add-btn:hover {
    background: #2d7a34 !important;
    border-color: #2d7a34 !important;
    color: #fff !important;
}

.shop-add-btn.is-added {
    background: #1f5c28 !important;
    color: #fff !important;
    border-color: #1f5c28 !important;
    transform: scale(1.03);
}

.shop-fab-cart {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    background: #3a9b43;
    color: #fff;
    box-shadow: 0 8px 24px rgba(58, 155, 67, 0.45);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shop-fab-cart:hover {
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 12px 28px rgba(58, 155, 67, 0.5);
}

.shop-fab-cart.is-pulse {
    animation: shopFabPulse 0.7s ease;
}

.shop-fab-cart .material-icons {
    font-size: 26px;
}

.shop-fab-cart__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #222;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
    padding: 0 5px;
    border: 2px solid #fff;
}

.shop-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.shop-cart-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

body.shop-cart-open {
    overflow: hidden;
}

.shop-toast {
    position: fixed;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%) translateY(20px);
    background: #222;
    color: #fff;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.shop-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@keyframes shopFabPulse {
    0% { transform: translateY(-50%) scale(1); }
    35% { transform: translateY(-50%) scale(1.15); }
    100% { transform: translateY(-50%) scale(1); }
}

.shop-cart-toggle {
    position: relative;
}

.shop-cart-toggle .mad-item-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.shop-cart-toggle [data-cart-count] {
    position: absolute;
    top: -2px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #3a9b43;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.shop-page-intro {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: #7a7879;
    font-size: 1.125rem;
    line-height: 1.6;
}

.shop-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.shop-categories {
    width: 100%;
}

.shop-sidebar__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 14px;
    color: #222;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Shared horizontal category carousel (menu + shop) */
.chinastix-cat-carousel,
.menu-page .menu-tabs-nav-carousel {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    position: relative;
}

.chinastix-cat-wrap,
.menu-page .menu-tabs-nav-wrap {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
    cursor: grab;
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.chinastix-cat-wrap::-webkit-scrollbar,
.menu-page .menu-tabs-nav-wrap::-webkit-scrollbar {
    display: none;
}

.chinastix-cat-wrap.is-dragging,
.menu-page .menu-tabs-nav-wrap.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.chinastix-cat-wrap.is-dragging .shop-filter,
.menu-page .menu-tabs-nav-wrap.is-dragging .mad-tab-link {
    pointer-events: none;
}

.chinastix-cat-arrow,
.menu-page .menu-tabs-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid #3a9b43;
    border-radius: 50%;
    background: #fff;
    color: #3a9b43;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, opacity 0.2s, border-color 0.2s;
    padding: 0;
}

.chinastix-cat-arrow .material-icons,
.menu-page .menu-tabs-arrow .material-icons {
    font-size: 22px;
    line-height: 1;
}

.chinastix-cat-arrow:hover:not(:disabled):not(.is-disabled),
.menu-page .menu-tabs-arrow:hover:not(:disabled):not(.is-disabled) {
    background: #3a9b43;
    color: #fff;
}

.chinastix-cat-arrow:disabled,
.chinastix-cat-arrow.is-disabled,
.menu-page .menu-tabs-arrow:disabled,
.menu-page .menu-tabs-arrow.is-disabled {
    opacity: 0.35;
    cursor: default;
}

.shop-filters,
.menu-page .menu-tabs-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center;
    width: max-content !important;
    min-width: 100%;
    gap: 10px;
    margin: 0;
    padding: 4px 2px;
}

.shop-filter,
.menu-page .menu-tabs-nav > span > a,
.menu-page .menu-tabs-nav > span > a.mad-tab-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    text-align: center;
    border: 1.5px solid #3a9b43;
    border-radius: 10px;
    background: #fff;
    padding: 10px 18px !important;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    color: #3a9b43 !important;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
}

.menu-page .menu-tabs-nav > span {
    flex-shrink: 0;
    margin: 0 !important;
    white-space: nowrap;
}

.shop-filter:hover,
.menu-page .menu-tabs-nav > span > a:hover {
    background: #f3faf4;
    border-color: #2d7a34;
    color: #1f5c28 !important;
}

.shop-filter.is-active,
.menu-page .menu-tabs-nav > span.mad-active > a,
.menu-page .menu-tabs-nav > span > a.mad-active {
    border-color: #3a9b43 !important;
    background: #3a9b43 !important;
    color: #fff !important;
    font-weight: 600;
}

.shop-category-select,
.menu-page .menu-category-select {
    display: none !important;
}

.menu-page .menu-load-status {
    text-align: center;
    margin-top: 12px;
    color: #888;
    font-size: 14px;
}

@media (max-width: 992px) {
    .shop-filter,
    .menu-page .menu-tabs-nav > span > a,
    .menu-page .menu-tabs-nav > span > a.mad-tab-link {
        padding: 8px 14px !important;
        font-size: 12px;
        border-radius: 8px;
    }

    .chinastix-cat-arrow,
    .menu-page .menu-tabs-arrow {
        width: 34px;
        height: 34px;
    }
}

.shop-main {
    min-width: 0;
}

.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 28px;
}

.shop-search {
    width: 100%;
    max-width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    font-size: 15px;
}

.shop-empty {
    text-align: center;
    padding: 40px 0;
    color: #777;
}

.shop-load-sentinel {
    height: 1px;
    width: 100%;
}

.shop-load-status {
    text-align: center;
    color: #888;
    padding: 24px 0 40px;
    font-size: 14px;
    min-height: 20px;
}

.shop-cart-toggle {
    position: relative;
}

.shop-cart-toggle [data-cart-count] {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #3a9b43;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    padding: 0 4px;
}

.shop-cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.shop-cart-panel.is-open {
    transform: translateX(0);
}

.shop-cart-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shop-cart-panel__header button {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.shop-cart-panel__header,
.shop-cart-panel__footer {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.shop-cart-panel__footer {
    border-bottom: 0;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.shop-cart-panel__body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.shop-cart-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.shop-cart-item__info strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.shop-cart-item__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-cart-item__actions button {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}

.shop-cart-remove {
    color: #999;
    font-size: 18px;
    line-height: 1;
}

.menu-spec-item .menu-spec-actions {
  margin-top: 10px;
}

.menu-spec-add {
  border-radius: 999px !important;
  font-size: 12px;
  padding: 6px 14px !important;
}

.menu-tab-order-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.menu-order-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: #3a9b43;
  text-decoration: none;
  font-size: 0.92rem;
}

.menu-order-cat-link:hover {
  text-decoration: underline;
}

.shop-add-btn.is-added {
  background: #3a9b43;
  color: #fff;
}

.shop-card__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.shop-card__image[data-open-product],
.shop-card__title[data-open-product] {
  cursor: pointer;
}

.shop-detail-btn.btn,
.shop-detail-btn {
  border-radius: 999px !important;
  border: 2px solid #3a9b43 !important;
  background: #fff !important;
  color: #2d7a34 !important;
  white-space: nowrap;
  flex: 0 0 auto;
  width: auto !important;
  max-width: none;
  font-size: 0.82rem !important;
  padding: 2px 12px !important;
  line-height: 1.85rem !important;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.shop-detail-btn.btn:hover,
.shop-detail-btn:hover {
  background: #f0faf1 !important;
  border-color: #2d7a34 !important;
  color: #2d7a34 !important;
}

.shop-product-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 10050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.shop-product-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.shop-product-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%);
  z-index: 10060;
  width: min(92vw, 420px);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.shop-product-modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.shop-product-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.shop-product-modal__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}

.shop-product-modal__body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.shop-product-modal__title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.shop-product-modal__desc {
  margin: 0 0 0.75rem;
  color: #666;
  font-size: 0.92rem;
  line-height: 1.5;
}

.shop-product-modal__price {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.shop-product-modal__qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 12px;
}

.shop-product-modal__add {
  width: 100%;
  border-radius: 999px !important;
}

body.shop-modal-open {
  overflow: hidden;
}

.shop-cart-empty {
    color: #777;
    text-align: center;
    padding: 40px 0;
}

.cs-cart-page__list .shop-cart-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.cs-cart-page__list .shop-cart-item:last-child {
    border-bottom: 0;
}

.shop-cart-item__thumb {
    margin: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
}

.shop-cart-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-cart-page__empty {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
}

.cs-cart-page__empty .material-icons {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 0.5rem;
}

.cs-cart-page__empty p {
    color: #777;
    margin: 0 0 1rem;
}

.cs-cart-page__notice {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: #fff8e6;
    color: #8a6d00;
    font-size: 0.9rem;
}

.cs-cart-page__actions .btn.is-disabled {
    pointer-events: none;
    opacity: 0.45;
}

.shop-cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.shop-cart-note {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}

@media (max-width: 992px) {
    .shop-layout {
        gap: 20px;
    }

    .shop-filter {
        padding: 8px 12px;
        font-size: 12px;
    }
}

@media (max-width: 1200px) {
    .shop-grid--4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .shop-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .shop-fab-cart {
        right: 16px;
        width: 52px;
        height: 52px;
    }

    .shop-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .shop-card__body {
        padding: 10px;
    }

    .shop-card__title {
        font-size: 13px;
        line-height: 1.3;
    }

    .shop-card__desc {
        display: none;
    }

    .shop-card__footer {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .shop-card__actions {
        width: 100%;
        justify-content: stretch;
    }

    .shop-card__actions .shop-detail-btn,
    .shop-card__actions .shop-add-btn {
        flex: 1 1 0;
        min-width: 0;
        width: auto !important;
    }

    .shop-card__price {
        font-size: 15px;
    }

    .shop-home__head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Menu page – original theme tabs layout */

.menu-page #menu-tabs .mad-tabs-container .mad-tab {
    display: none;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100%;
    padding-top: 2rem;
}

.menu-page #menu-tabs .mad-tabs-container .mad-tab.mad-active {
    display: block;
}

.menu-page #menu-tabs .mad-tabs-container {
    position: relative;
}

.menu-page-loading {
    padding: 48px 0;
    color: #888;
}

/* Breadcrumb: white page bg + dark text */

.mad-breadcrumb.with-bg.with-header {
  min-height: 14rem;
  padding-top: 9rem;
  padding-bottom: 2.5rem;
  align-items: flex-end;
  background-image: none !important;
  background-color: #fff !important;
  color: #666;
}

.mad-breadcrumb.with-bg[data-bg-image-src] {
  background-image: none !important;
}

.mad-breadcrumb.with-bg:after {
  display: none !important;
}

.mad-breadcrumb-path {
  font-style: normal;
  position: relative;
  z-index: 2;
  color: #666;
}

.mad-breadcrumb .mad-page-title {
  position: relative;
  z-index: 2;
  color: #1a1a1a !important;
}

.mad-breadcrumb a {
  color: #1a1a1a !important;
}

.mad-breadcrumb a:hover {
  color: #3a9b43 !important;
}

.mad-breadcrumb-path > span + span::before {
  content: '>';
  display: inline-block;
  margin-right: 0.45rem;
  margin-left: 0.1rem;
  opacity: 0.55;
  font-style: normal;
  color: #888;
}

/* Light breadcrumb: header text must stay dark/readable */
.chinastix-header.header-white .mad-navigation > li > a,
.chinastix-header.header-white .mad-actions .mad-item-link,
.chinastix-header.header-white .lang-switcher__btn,
.chinastix-header.header-white .lang-switcher__sep {
  color: #1a1a1a !important;
}

.chinastix-header.header-white .lang-switcher__btn.is-active {
  color: #3a9b43 !important;
}

.chinastix-header.header-white [class*="mad-header-section--sticky"].mad-header-section--sticked {
  background: #fff !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.chinastix-header.header-white .mad-navigation > li > a:before {
  background: #1a1a1a !important;
}

.chinastix-header.header-white .chinastix-nav-btn--reservation {
  color: #1f5c28 !important;
  border-color: #1f5c28 !important;
  background: rgba(255, 255, 255, 0.9) !important;
}

.chinastix-header.header-white .chinastix-nav-btn--reservation:hover,
.chinastix-header.header-white .chinastix-nav-btn--reservation.is-active {
  background: #1f5c28 !important;
  color: #fff !important;
  border-color: #1f5c28 !important;
}

.chinastix-header.header-white .mad-mobile-nav-btn {
  background: #fff !important;
  border-color: #3a9b43 !important;
  color: #1a1a1a !important;
}

@media (max-width: 1199px) {
  .mad-breadcrumb.with-bg.with-header {
    min-height: 12rem;
    padding-top: 7.5rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 769px) {
  .mad-breadcrumb.with-bg.with-header {
    min-height: 6rem;
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
  }

  .mad-breadcrumb .mad-page-title {
    font-size: 2.1rem;
  }
}


.gallery-page .mad-content.mad-content--no-pt {
  padding-top: 3.5rem;
}

.gallery-page .chinastix-gallery-wrap {
  max-width: 1400px;
  padding-bottom: 48px;
}

.chinastix-gallery {
  column-count: 4;
  column-gap: 18px;
}

.chinastix-gallery__item {
  break-inside: avoid;
  margin: 0 0 18px;
  padding: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chinastix-gallery__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.chinastix-gallery__link {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  line-height: 0;
  text-decoration: none;
}

.chinastix-gallery__link img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

@media (max-width: 1200px) {
  .chinastix-gallery {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .gallery-page .mad-content.mad-content--no-pt {
    padding-top: 2.5rem;
  }

  .chinastix-gallery {
    column-count: 2;
    column-gap: 12px;
  }

  .chinastix-gallery__item {
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .chinastix-gallery {
    column-count: 1;
  }
}

/* ------------------------------------------------------------------
   Mobile header + navigation (ChinaStix)
   ------------------------------------------------------------------ */

@media (max-width: 1199px) {
  .chinastix-header .mad-header-item {
    width: auto !important;
    text-align: left !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 1024px) {
  .chinastix-header .mad-navigation-container {
    flex-direction: row !important;
    width: auto !important;
    justify-content: flex-end !important;
  }

  .chinastix-header .mad-actions {
    padding-top: 0 !important;
    justify-content: flex-end !important;
  }
}

@media (max-width: 769px) {
  .shop-fab-cart {
    display: none !important;
  }

  /* Same light header on every page (homepage + inner pages) */
  .chinastix-header.mad-header--transparent.header-white,
  .chinastix-header.mad-header--transparent:not(.header-white),
  .chinastix-header[class*="mad-header-section--sticky"],
  .chinastix-header [class*="mad-header-section--sticky"] {
    background: #fff !important;
    position: relative !important;
    color: #1a1a1a !important;
  }

  .chinastix-header [class*="mad-header-section--sticky"].mad-header-section--sticked {
    background: #fff !important;
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08) !important;
  }

  .chinastix-header .lang-switcher__btn,
  .chinastix-header .lang-switcher__sep,
  .chinastix-header .mad-actions .mad-item-link,
  .chinastix-header.header-white .lang-switcher__btn,
  .chinastix-header.header-white .lang-switcher__sep,
  .chinastix-header.header-white .mad-actions .mad-item-link,
  .chinastix-header:not(.header-white) .lang-switcher__btn,
  .chinastix-header:not(.header-white) .mad-actions .mad-item-link,
  .chinastix-header.header-white [class*="mad-header-section--sticky"].mad-header-section--sticked .lang-switcher__btn,
  .chinastix-header.header-white [class*="mad-header-section--sticky"].mad-header-section--sticked .lang-switcher__sep,
  .chinastix-header.header-white [class*="mad-header-section--sticky"].mad-header-section--sticked .mad-actions .mad-item-link {
    color: #1a1a1a !important;
  }

  .chinastix-header .lang-switcher__btn.is-active {
    color: #3a9b43 !important;
  }

  .chinastix-header .mad-mobile-nav-btn,
  .chinastix-header.header-white .mad-mobile-nav-btn,
  .chinastix-header.header-white [class*="mad-header-section--sticky"].mad-header-section--sticked .mad-mobile-nav-btn {
    background: #fff !important;
    border: 2px solid #3a9b43 !important;
    color: #1a1a1a !important;
  }

  .chinastix-header .mad-mobile-nav-btn.mad-opened,
  .chinastix-header.header-white .mad-mobile-nav-btn.mad-opened {
    background: #3a9b43 !important;
    border-color: #3a9b43 !important;
    color: #fff !important;
  }

  .chinastix-header .mad-header-section--sticky-xl .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .chinastix-header .mad-header-items {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 0;
    padding: 10px 0;
  }

  .chinastix-header .mad-header-item {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    justify-self: center;
    text-align: center !important;
    width: auto !important;
    margin-bottom: 0 !important;
  }

  .chinastix-header .mad-logo {
    display: inline-block;
  }

  .chinastix-header .mad-logo img {
    width: 150px;
    max-width: 100%;
    height: auto;
  }

  .chinastix-header-nav {
    display: contents;
  }

  .chinastix-header .mad-actions {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 !important;
    margin: 0 !important;
    justify-self: start;
  }

  .chinastix-header .mad-actions > .mad-item {
    margin: 0;
  }

  .chinastix-header .lang-switcher {
    font-size: 0.8125rem;
  }

  .chinastix-header .mad-mobile-nav-btn {
    grid-column: 3;
    grid-row: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin: 0;
    padding: 0;
    border-radius: 10px;
    flex-shrink: 0;
    cursor: pointer;
    z-index: 20;
    justify-self: end;
  }

  .chinastix-header .mad-mobile-nav-btn::after {
    display: none !important;
    content: none !important;
  }

  .chinastix-hamburger__bars,
  .chinastix-hamburger__bars::before,
  .chinastix-hamburger__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .chinastix-hamburger__bars {
    position: relative;
  }

  .chinastix-hamburger__bars::before,
  .chinastix-hamburger__bars::after {
    content: '';
    position: absolute;
    left: 0;
  }

  .chinastix-hamburger__bars::before {
    top: -6px;
  }

  .chinastix-hamburger__bars::after {
    top: 6px;
  }

  .chinastix-header .mad-mobile-nav-btn.mad-opened .chinastix-hamburger__bars {
    background: transparent;
  }

  .chinastix-header .mad-mobile-nav-btn.mad-opened .chinastix-hamburger__bars::before {
    top: 0;
    transform: rotate(45deg);
  }

  .chinastix-header .mad-mobile-nav-btn.mad-opened .chinastix-hamburger__bars::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .chinastix-header .chinastix-main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    margin: 10px 0 0;
    padding: 0;
    background: #fff !important;
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
    overflow: hidden;
    text-align: left;
    display: none !important;
  }

  .chinastix-header .chinastix-main-nav.is-open {
    display: block !important;
  }

  .chinastix-header .chinastix-main-nav.is-open + .chinastix-header-cta.is-open,
  .chinastix-header .mad-header-items:has(.chinastix-header-cta.is-open) .chinastix-main-nav.is-open {
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
    box-shadow: none;
  }

  .chinastix-header .mad-navigation--vertical-sm {
    background: transparent !important;
  }

  .chinastix-header .mad-navigation--vertical-sm > li,
  .chinastix-header .mad-navigation:not(.side-menu) > li {
    display: block;
    margin: 0;
  }

  .chinastix-header .mad-navigation--vertical-sm > li > a,
  .chinastix-header .mad-navigation:not(.side-menu) > li > a,
  .chinastix-header.header-white .mad-navigation > li > a {
    display: block;
    padding: 15px 18px;
    background: transparent !important;
    color: #1a1a1a !important;
    border-bottom: 1px solid #eef0f2;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .chinastix-header .mad-navigation--vertical-sm > li:last-child > a {
    border-bottom: none;
  }

  .chinastix-header .mad-navigation:not(.side-menu) > li:hover > a,
  .chinastix-header .mad-navigation:not(.side-menu) > li.current-menu-item > a,
  .chinastix-header .mad-navigation:not(.side-menu) > li.mad-tapped > a {
    background: #f3faf4 !important;
    color: #1f5c28 !important;
  }

  .chinastix-header .mad-navigation > li > a::before {
    display: none !important;
  }

  .chinastix-header .chinastix-header-cta {
    display: none !important;
    grid-column: 1 / -1;
    grid-row: 3;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px 16px;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
    margin-top: -12px;
  }

  .chinastix-header .chinastix-header-cta.is-open {
    display: flex !important;
  }

  .chinastix-header .chinastix-nav-btn {
    width: 100%;
    min-height: 46px;
    animation: none !important;
  }

  .chinastix-header .shop-cart-toggle [data-cart-count] {
    top: -5px;
    right: -6px;
  }
}

@media (max-width: 480px) {
  .chinastix-header .mad-logo img {
    width: 136px;
  }

  .chinastix-header .mad-mobile-nav-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}
