@media (max-width: 992px) {
.navbar {
width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.nav-container {
position: relative;
    padding: 0.6rem 1.1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    width: 100%;
    max-width: 100%;
    gap: 0;
}
.mobile-menu-btn {
display: flex !important;
    position: static;
    z-index: 10;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
}
.hamburger-line {
display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.25s ease;
}
.logo,
  .logo:hover,
  .logo:focus,
  .logo:active {
position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    gap: 0.1rem;
    z-index: 5;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}
.logo-img {
height: 30px; 
    -webkit-user-drag: none;
    pointer-events: none;
}
.logo-zh {
font-size: 0.75rem;
    letter-spacing: 2px;
    text-indent: 2px;
    line-height: 1;
}
.nav-actions {
position: static;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    z-index: 10;
    transform: none;
}
.nav-links,
  .desktop-only {
display: none !important;
}
.contact-info-grid {
grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.map-wrapper-center {
height: 420px;
}
.shop-page {
padding-left: 1.2rem;
    padding-right: 1.2rem;
}
.shop-layout {
flex-direction: column;
    gap: 1.8rem;
}
.shop-sidebar {
width: 100%;
    position: static;
}
.product-grid {
grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
}
.step-card:not(:last-child)::after {
display: none;
}
.course-grid {
grid-template-columns: repeat(2, 1fr);
}
.footer-grid {
grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

}
@media (max-width: 768px) {
.mob-br {
display: inline !important;
}
.container {
padding-left: 1.1rem !important;
    padding-right: 1.1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.slide {
border-radius: 0;
    box-shadow: none;
}
.slide.prev,
  .slide.next {
display: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
}
.prev-btn {
left: 10px;
}
.next-btn {
right: 10px;
}
.works-grid,
  .course-grid {
display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.2rem;
    padding: 0.5rem 1.2rem 1.2rem 1.2rem;
    scrollbar-width: none;
}
.works-grid::-webkit-scrollbar,
  .course-grid::-webkit-scrollbar {
display: none;
}
.works-grid .card,
  .course-card {
flex: 0 0 82%;
    max-width: 320px;
    width: 82%;
    scroll-snap-align: center;
}
.works-swipe-hint,
  .course-swipe-hint {
display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 0.4rem;
}
.works-swipe-hint .hint-arrow,
  .course-swipe-hint .hint-arrow {
color: var(--accent-color);
    font-size: 1.4rem;
    line-height: 1;
    opacity: 0.75;
    cursor: pointer;
    user-select: none;
    padding: 4px 6px;
}
.works-swipe-hint .hint-bars,
  .course-swipe-hint .hint-bars {
display: flex;
    align-items: center;
    gap: 6px;
}
.works-swipe-hint .hint-bar,
  .course-swipe-hint .hint-bar {
display: inline-block;
    width: 16px;
    height: 2.5px;
    background-color: var(--accent-color);
    border-radius: 2px;
    opacity: 0.25;
    transition: all 0.3s ease;
}
.works-swipe-hint .hint-bar.active,
  .course-swipe-hint .hint-bar.active {
width: 32px;
    height: 3.5px;
    opacity: 1;
    background-color: var(--primary-color);
}
.step-card {
padding: 1.4rem 1.2rem;
}
.step-card h3 {
font-size: 1.1rem;
    margin-bottom: 0.4rem;
}
.step-card p {
font-size: 0.86rem;
    line-height: 1.6;
}
.step-card:not(:last-child)::after {
display: block;
    content: "↓";
    left: 50%;
    right: auto;
    top: auto;
    bottom: -1.6rem;
    transform: translateX(-50%);
    font-size: 1.2rem;
    line-height: 1;
}
.contact-info-grid {
grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}
.map-wrapper-center {
height: 340px;
    border-radius: 14px;
}
.shop-page {
padding-top: 1.2rem;
}
.shop-page .section-header {
margin-bottom: 1.5rem;
    text-align: center;
}
.shop-page .section-header h1,
  .shop-page .section-header h2 {
font-size: 1.35rem;
    letter-spacing: 2px;
}
.shop-layout {
display: block; 
    width: 100%; 
    margin-top: 0;
}
.shop-sidebar {
width: 100%; 
    position: static; 
    margin-bottom: 1.5rem;
    clear: both;
}
.sidebar-title {
display: none;
}
.category-menu {
display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    gap: 0.6rem;
    padding: 0.2rem 0.2rem 0.6rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
}
.category-menu::-webkit-scrollbar {
display: none;
}
.category-all-btn, .category-group {
flex-shrink: 0;
}
.category-all-btn, .category-group-header {
padding: 0.4rem 0.9rem;
    border-radius: 20px;
    background-color: #f7f5f2;
    font-size: 0.82rem;
    color: var(--text-main);
    border: 1px solid #ebe5dc;
}
.category-arrow, .subcategory-list {
display: none;
}
.mobile-sub-bar {
display: flex;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    gap: 0.5rem;
    padding: 0.3rem 0 0.8rem;
    scrollbar-width: none;
}
.mobile-sub-bar:empty {
display: none;
}
.mobile-sub-bar::-webkit-scrollbar {
display: none;
}
.mobile-sub-item {
padding: 0.3rem 0.8rem;
    background: #ffffff;
    border: 1px solid #e0d8ce;
    border-radius: 15px;
    font-size: 0.78rem;
    color: #665b53;
}
.mobile-sub-item.active {
background: #ede2d5;
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}
.shop-content {
width: 100%; 
    display: block; 
    margin-top: 0.5rem; 
    clear: both;
}
.product-grid {
display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 2rem 0.9rem !important; 
    width: 100% !important; 
    padding: 0 0.2rem;
}
.product-grid .product-card,
  .product-grid .card {
border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex;
    flex-direction: column;
}
.product-grid .product-img-box,
  .product-grid .card-img-box {
width: 100%;
    padding-top: 75% !important; 
    aspect-ratio: auto !important;
    height: auto !important;
    background-color: #f5f2ed;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    position: relative;
}
.product-grid .product-slider-img,
  .product-grid .card-img-box img {
width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-grid .product-details,
  .product-grid .card-info {
padding: 0 !important;
    text-align: left;
}
.product-grid .product-title,
  .product-grid .card-info h3 {
font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--text-color, #443c36);
    line-height: 1.4;
    margin: 0 0 0.25rem 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-grid .product-price {
font-size: 0.88rem !important;
    color: #7d7065 !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px;
}
.product-detail-layout {
grid-template-columns: 1fr; gap: 2.5rem;
}
.product-detail-img-box {
height: 380px;
}
.product-action-box {
flex-direction: column; align-items: stretch; text-align: center;
}
.course-badge,
  #detail-badge,
  .course-detail-header-wrap .course-badge {
display: inline-block !important;
}
.course-slider-wrapper {
margin-left: -1rem;
    margin-right: -1rem;
    margin-bottom: 2.5rem;
}
.course-img-box {
height: 190px;
}
.course-body {
padding: 1.1rem;
}
.course-title {
font-size: 1.15rem;
    margin-bottom: 0.6rem;
}
.course-meta {
margin-bottom: 0;
    padding-top: 0.8rem;
    font-size: 0.84rem;
}
.course-meta li {
display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.4rem;
}
.course-meta li > span:first-child {
white-space: nowrap;
    flex-shrink: 0;
    min-width: 4.6rem;
    color: #888;
}
.course-meta li > span:last-child {
text-align: right;
    word-break: break-word;
}
.course-swipe-hint {
margin-top: 0.8rem;
}
.course-detail-page {
padding-top: 1rem !important;
    padding-bottom: 3.5rem !important;
}
.course-detail-layout {
grid-template-columns: 100% !important;
    gap: 1.8rem !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}
.course-gallery-col,
  .course-detail-content {
min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}
.course-detail-title {
font-size: 1.55rem !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
    margin-bottom: 0.6rem !important;
}
.course-detail-subtitle {
font-size: 0.92rem !important;
    line-height: 1.6 !important;
    word-break: break-word !important;
    margin-bottom: 1rem !important;
}
.course-highlights-grid {
display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.65rem !important;
    margin-top: 1rem !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.highlight-chip {
display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
}
.chip-title {
font-size: 0.92rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
}
.course-specs-card {
padding: 1rem 1.15rem !important;
    border-radius: 8px !important;
    margin-bottom: 1.3rem !important;
}
.course-spec-item {
align-items: flex-start !important;
    gap: 0.8rem !important;
    padding: 0.35rem 0 !important;
}
.spec-label {
min-width: 88px !important;
    flex-shrink: 0 !important;
    font-size: 0.86rem !important;
}
.spec-val {
flex-grow: 1 !important;
    text-align: right !important;
    word-break: break-word !important;
    font-size: 0.86rem !important;
    line-height: 1.55 !important;
}
.course-detail-desc {
font-size: 0.92rem !important;
    line-height: 1.75 !important;
    word-break: break-word !important;
    margin-bottom: 1.4rem !important;
}
.breadcrumb {
font-size: 0.82rem !important;
    white-space: nowrap !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    padding-bottom: 0.2rem !important;
}
.breadcrumb::-webkit-scrollbar {
display: none !important;
}
.care-modal-overlay {
align-items: flex-end; 
    padding: 0;
}
.care-modal-box {
max-height: 75vh;
    max-height: 75dvh; 
    border-radius: 16px 16px 0 0; 
    transform: translateY(100%);
}
.care-modal-overlay.open .care-modal-box {
transform: translateY(0);
}
.about-hero {
padding: 3rem 1.2rem 2rem;
}
.about-hero .page-title {
font-size: 1.5rem;
}
.timeline-section {
padding: 2.5rem 1.2rem;
}
.timeline-container {
gap: 3.2rem;
}
.timeline-row,
  .timeline-row.reverse {
flex-direction: column !important; 
    gap: 1.5rem !important; 
    align-items: center !important;
}
.timeline-img-box {
width: 100% !important; 
    max-width: 380px;
    margin: 0 auto;
}
.timeline-img {
width: 100% !important;
    height: auto !important;
    max-height: 380px !important;
    object-fit: contain !important;
}
.timeline-content {
width: 100% !important;
    padding: 0.5rem 0.5rem !important;
    text-align: center !important;
}
.timeline-content .step-title {
font-size: 1.25rem;
}
.timeline-content .step-desc {
font-size: 0.92rem;
    line-height: 1.9;
    text-align: center;
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
}
.features-grid {
grid-template-columns: 1fr; gap: 1.2rem;
}
.cta-actions {
flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}
.btn-cta-primary,
  .btn-cta-outline {
width: 100%;
    max-width: 260px;
}
.footer-grid {
grid-template-columns: 1fr; gap: 2.2rem;
}
.search-modal-overlay {
padding: 0;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    align-items: stretch;
}
.search-modal-box {
max-width: 100vw;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}
.search-input-wrapper {
padding: 0.9rem 1rem;
    border-bottom: 1px solid #ebe5dc;
    background: #faf8f5;
}
.search-input-wrapper input {
font-size: 0.95rem;
}
.search-modal-close {
font-size: 2rem;
    padding: 0 0.5rem;
}
.search-results-wrapper {
max-height: none;
    flex: 1;
    padding: 0.8rem 1rem 3rem;
}

}
