/* 
 * OddFind Store - 跨境电商独立站样式表
 * 基于EcoFlow风格的现代简约设计
 * 移动端优化版本
 */

:root {
    /* 主色调 */
    --primary-color: #2563EB;      /* 科技蓝 */
    --secondary-color: #10B981;    /* 生态绿 */
    --accent-color: #F59E0B;       /* 活力橙 */
    
    /* 文字颜色 */
    --text-dark: #1F2937;          /* 深灰 - 标题 */
    --text-medium: #4B5563;        /* 中灰 - 正文 */
    --text-light: #9CA3AF;         /* 浅灰 - 辅助文字 */
    
    /* 背景色 */
    --bg-white: #FFFFFF;           /* 白色背景 */
    --bg-light: #F9FAFB;           /* 浅灰背景 */
    --bg-dark: #111827;            /* 深色背景 */
    
    /* 边框和阴影 */
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    /* 圆角 */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    
    /* 间距 */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    
    /* 移动端优化变量 */
    --mobile-tap-target: 44px;     /* 最小触摸目标大小 */
    --mobile-font-base: 16px;      /* 移动端基础字体大小 */
    --mobile-line-height: 1.6;     /* 移动端行高 */
    --mobile-container-padding: 1rem; /* 移动端容器内边距 */
}

/* 基础重置 - 移动端优化 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* 移除移动端点击高亮 */
}

html {
    font-size: 16px; /* 确保基础字体大小 */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-medium);
    background-color: var(--bg-white);
    line-height: var(--mobile-line-height);
    -webkit-font-smoothing: antialiased; /* 字体抗锯齿 */
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%; /* 防止字体自动调整 */
}

/* 移动端触摸友好元素 */
a, button, input, select, textarea {
    font-size: var(--mobile-font-base); /* 确保移动端字体大小合适 */
}

/* 触摸目标最小尺寸 */
button, 
input[type="button"], 
input[type="submit"],
input[type="reset"],
a.btn {
    min-height: var(--mobile-tap-target);
    min-width: var(--mobile-tap-target);
}

/* 移除移动端输入框默认样式 */
input, textarea, select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: var(--radius-md);
}

/* 移动端优化滚动 */
body {
    -webkit-overflow-scrolling: touch; /* 平滑滚动 */
    overflow-scrolling: touch;
}

/* 容器 - 移动端优化 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--mobile-container-padding);
    width: 100%;
}

/* 移动端全宽容器 */
.container-fluid {
    width: 100%;
    padding: 0 var(--mobile-container-padding);
}

/* 移动端安全区域 */
.safe-area-inset {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

/* 移动端布局助手 */
.mobile-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-grid {
    display: grid;
    gap: var(--space-md);
}

/* 顶部通知栏 */
.top-notice {
    background: linear-gradient(90deg, var(--primary-color), #3B82F6);
    font-size: 0.875rem;
}

.top-notice i {
    font-size: 0.75rem;
}

/* 导航栏 - 移动端优化 */
.navbar {
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--bg-white);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), #60A5FA);
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: rotate(15deg);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: var(--space-sm) var(--space-md) !important;
    transition: color 0.2s ease;
    font-size: var(--mobile-font-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* 移动端导航优化 */
.navbar-toggler {
    border: none;
    background: transparent;
    padding: var(--space-sm);
    min-width: var(--mobile-tap-target);
    min-height: var(--mobile-tap-target);
}

.navbar-toggler-icon {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    position: relative;
    display: block;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    left: 0;
}

.navbar-toggler-icon::before {
    top: -6px;
}

.navbar-toggler-icon::after {
    bottom: -6px;
}

/* 移动端下拉菜单优化 */
.navbar-collapse {
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
}

/* 移动端购物车图标优化 */
.cart-icon-mobile {
    position: relative;
    display: inline-block;
}

.cart-badge-mobile {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 搜索栏 */
.search-bar {
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.search-suggestions {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-height: 300px;
    overflow-y: auto;
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    padding: var(--space-xl) 0;
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, transparent 50%, rgba(37, 99, 235, 0.05) 50%);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: var(--space-lg);
    max-width: 600px;
}

.hero-buttons .btn {
    padding: var(--space-md) var(--space-xl);
    font-weight: 600;
    border-radius: var(--radius-md);
    margin-right: var(--space-md);
}

/* 产品卡片 - 移动端优化 */
.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #F3F4F6, #E5E7EB);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: var(--accent-color);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.product-info {
    padding: var(--space-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-price {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 0.875rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.discount-badge {
    background: var(--secondary-color);
    color: white;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.stars {
    color: #F59E0B;
}

.rating-count {
    font-size: 0.875rem;
    color: var(--text-light);
}

.product-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: auto; /* 将按钮推到卡片底部 */
}

.btn-add-to-cart,
.btn-buy-now {
    flex: 1;
    padding: var(--space-sm);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    min-height: var(--mobile-tap-target);
    font-size: var(--mobile-font-base);
}

.btn-add-to-cart {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-add-to-cart:hover {
    background: var(--border-color);
}

.btn-buy-now {
    background: var(--primary-color);
    color: white;
    border: none;
}

.btn-buy-now:hover {
    background: #1D4ED8;
    transform: translateY(-1px);
}

/* 移动端快速购买 */
.quick-buy-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: var(--space-md);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1040;
    display: none;
}

.quick-buy-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.quick-buy-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.quick-buy-button {
    flex-grow: 1;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    min-height: var(--mobile-tap-target);
}

/* 分类展示 */
.category-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #60A5FA);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: white;
    font-size: 1.5rem;
}

.category-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.category-count {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* 支付方式展示 */
.payment-methods {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
}

.payment-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.payment-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.payment-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.payment-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.payment-card.traditional .payment-icon {
    color: var(--primary-color);
}

.payment-card.crypto .payment-icon {
    color: var(--secondary-color);
}

.payment-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
}

.payment-features {
    list-style: none;
    padding: 0;
}

.payment-features li {
    padding: var(--space-xs) 0;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.payment-features li i {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.crypto-discount-badge {
    background: var(--secondary-color);
    color: white;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: var(--space-sm);
}

/* 页脚 */
footer {
    background: var(--bg-dark);
    color: white;
}

footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

footer a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: white;
}

.social-links a {
    display: inline-block;
    transition: transform 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

/* 加密货币徽章 */
.crypto-badge {
    background: linear-gradient(135deg, #1F2937, #374151);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.crypto-badge i {
    font-size: 0.75rem;
}

/* 响应式设计 - 移动端优先 */
/* 超小屏幕手机 (320px-374px) */
@media (max-width: 374px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
    
    .product-image {
        height: 140px;
    }
    
    .btn-add-to-cart,
    .btn-buy-now {
        font-size: 0.875rem;
        padding: var(--space-sm) var(--space-xs);
    }
}

/* 小屏幕手机 (375px-424px) */
@media (min-width: 375px) and (max-width: 424px) {
    html {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .product-image {
        height: 150px;
    }
}

/* 中等屏幕手机 (425px-767px) */
@media (min-width: 425px) and (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-actions {
        flex-direction: row; /* 在稍大手机上保持横排 */
    }
}

/* 平板设备 (768px-1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        max-width: 720px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-image {
        height: 180px;
    }
}

/* 桌面设备 (1024px+) */
@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 移动端通用优化 */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: var(--space-md);
        min-height: var(--mobile-tap-target);
    }
    
    .product-actions {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .payment-grid {
        grid-template-columns: 1fr;
    }
    
    /* 移动端隐藏不需要的元素 */
    .desktop-only {
        display: none !important;
    }
    
    /* 移动端显示特定元素 */
    .mobile-only {
        display: block !important;
    }
    
    /* 移动端表格优化 */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* 移动端图片优化 */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* 移动端表单优化 */
    input, textarea, select {
        font-size: var(--mobile-font-base);
    }
    
    /* 移动端按钮优化 */
    button, .btn {
        touch-action: manipulation; /* 减少触摸延迟 */
    }
}

/* 平板优化 */
@media (min-width: 768px) and (max-width: 1023px) {
    .tablet-only {
        display: block !important;
    }
    
    .desktop-only {
        display: none !important;
    }
}

/* 桌面优化 */
@media (min-width: 1024px) {
    .mobile-only,
    .tablet-only {
        display: none !important;
    }
    
    .desktop-only {
        display: block !important;
    }
}

/* 横屏模式优化 */
@media (orientation: landscape) and (max-width: 767px) {
    .hero-section {
        padding: var(--space-md) 0;
    }
    
    .product-image {
        height: 120px;
    }
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #F9FAFB;
        --text-medium: #D1D5DB;
        --text-light: #9CA3AF;
        --bg-white: #1F2937;
        --bg-light: #111827;
        --border-color: #374151;
    }
    
    body {
        color-scheme: dark;
    }
}

/* 减少动画（对于有运动敏感的用户） */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* 加载动画 */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* 工具类 */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.rounded-lg {
    border-radius: var(--radius-lg) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* 移动端优化工具类 */
.touch-target {
    min-width: var(--mobile-tap-target);
    min-height: var(--mobile-tap-target);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.text-balance {
    text-wrap: balance;
}

.text-pretty {
    text-wrap: pretty;
}

/* 移动端优化图片 */
.responsive-image {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image.loaded {
    opacity: 1;
}

/* 移动端优化容器 */
.scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

/* 移动端手势优化 */
.gesture-area {
    touch-action: pan-y pinch-zoom;
}

.no-touch-action {
    touch-action: none;
}

/* 移动端性能优化 */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

/* 移动端安全区域 */
.padding-safe-top {
    padding-top: env(safe-area-inset-top);
}

.padding-safe-bottom {
    padding-bottom: env(safe-area-inset-bottom);
}

.padding-safe-left {
    padding-left: env(safe-area-inset-left);
}

.padding-safe-right {
    padding-right: env(safe-area-inset-right);
}

.margin-safe-top {
    margin-top: env(safe-area-inset-top);
}

.margin-safe-bottom {
    margin-bottom: env(safe-area-inset-bottom);
}

/* 移动端加载状态 */
.loading-skeleton {
    background: linear-gradient(90deg, var(--bg-light) 25%, var(--border-color) 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 移动端触摸反馈 */
.touch-feedback:active {
    opacity: 0.7;
    transform: scale(0.98);
}

/* 移动端优化过渡 */
.fast-transition {
    transition: all 0.2s ease;
}

.slow-transition {
    transition: all 0.5s ease;
}

/* 移动端优化阴影 */
.mobile-shadow {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-shadow-lg {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* 移动端优化边框 */
.mobile-border {
    border: 1px solid var(--border-color);
}

.mobile-border-top {
    border-top: 1px solid var(--border-color);
}

.mobile-border-bottom {
    border-bottom: 1px solid var(--border-color);
}

/* 移动端优化间距 */
.mobile-gap-sm {
    gap: var(--space-sm);
}

.mobile-gap-md {
    gap: var(--space-md);
}

.mobile-gap-lg {
    gap: var(--space-lg);
}

/* 移动端优化弹性布局 */
.mobile-flex-column {
    display: flex;
    flex-direction: column;
}

.mobile-flex-row {
    display: flex;
    flex-direction: row;
}

.mobile-flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.mobile-justify-between {
    display: flex;
    justify-content: space-between;
}

.mobile-align-center {
    display: flex;
    align-items: center;
}

/* 移动端优化网格 */
.mobile-grid-1 {
    display: grid;
    grid-template-columns: 1fr;
}

.mobile-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

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

/* 移动端优化文本 */
.mobile-text-center {
    text-align: center;
}

.mobile-text-left {
    text-align: left;
}

.mobile-text-right {
    text-align: right;
}

.mobile-text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-text-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobile-text-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobile-text-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}