@import url('tokens.css');
@import url('chrome.css');

*, *::before, *::after { margin: 0; padding: 0; }

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: var(--leading);
    font-size: var(--text-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ========== 首页 Hero ========== */
.hero {
    background: var(--brand-gradient-soft);
    border-bottom: 1px solid var(--border);
    padding: 48px 0 36px;
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}

.hero-title {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.hero-desc {
    margin-top: 10px;
    font-size: var(--text-md);
    color: var(--text-secondary);
}

.search-form {
    display: flex;
    max-width: 480px;
    margin: 24px auto 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.search-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 18px;
    font-size: var(--text-base);
    outline: none;
    color: var(--text);
}

.search-form input::placeholder { color: var(--text-muted); }

.search-form button {
    border: none;
    background: var(--brand-gradient);
    color: #fff;
    padding: 0 24px;
    font-size: var(--text-sm);
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.search-form button:hover {
    filter: brightness(1.05);
    box-shadow: var(--shadow-brand);
}

/* ========== 分类筛选 ========== */
.filter-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.filter-bar .container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    padding-top: 6px;
    flex-shrink: 0;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    padding: 7px 16px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.2s;
}

.filter-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-tag.active {
    background: var(--brand-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-brand);
}

/* ========== 项目列表 ========== */
.list-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 32px 16px 48px;
}

.list-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
    display: flex;
    flex-direction: column;
}

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

.project-card-cover {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--bg);
    overflow: hidden;
}

.project-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border-radius: 4px;
}

.project-card-badge.blue { background: #3b82f6; }

.project-card-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-card-title {
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.5;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.625em;
    transition: color 0.2s;
}

.project-card:hover .project-card-title { color: var(--primary); }

.project-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-card-tags span {
    padding: 2px 8px;
    font-size: 0.6875rem;
    color: var(--primary);
    background: var(--primary-bg);
    border-radius: 4px;
}

.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
}

.project-card-views {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-card-price {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--accent);
}

.project-card-price.free {
    font-size: 0.8125rem;
    color: var(--primary);
}

/* 现价 + 会员价同一行，会员价更小 */
.project-card-price-inline {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 5px;
    line-height: 1.2;
    text-align: right;
}

.project-card-price-inline .price-current {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent);
}

.project-card-price-inline .price-member {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.price-box-inline {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 18px;
    line-height: 1.2;
}

.price-box-inline .price-current {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
}

.price-box-inline .price-member {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
}

.price-box-inline .price-member-month {
    margin-left: 6px;
    color: #7c3aed;
}

.price-box-member-cta {
    display: block;
    text-align: center;
    margin: -8px 0 14px;
    font-size: 0.8125rem;
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
}

.price-box-member-cta:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

.price-box-member-tip {
    font-size: 0.75rem;
    color: var(--brand);
    margin-bottom: 12px;
    text-align: center;
}

.empty-state {
    text-align: center;
    padding: 64px 16px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.4;
}

/* ========== 分页 ========== */
.pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    gap: 4px;
}

.pagination-wrap a,
.pagination-wrap span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.pagination-wrap a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-wrap .active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pagination-wrap .disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ========== 详情页 ========== */
.detail-page {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.breadcrumb-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.breadcrumb-bar a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.breadcrumb-bar a:hover { color: var(--primary); }

.breadcrumb-bar .sep { color: var(--border); }

.breadcrumb-bar .current {
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 400px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

.detail-main {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.detail-hero {
    padding: 28px 28px 24px;
    border-bottom: 1px solid var(--border);
}

.detail-hero h1 {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: var(--text);
}

.detail-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 14px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.detail-hero-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-hero-meta .tag-pill {
    padding: 2px 10px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 500;
}

.detail-section {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
}

.detail-section:last-child { border-bottom: none; }

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 14px;
}

.section-title i { color: var(--primary); font-size: 1rem; }

.detail-summary {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* 富文本 / Markdown 渲染区 */
.detail-content {
    font-size: 0.9375rem;
    line-height: 1.85;
    color: var(--text-secondary);
    word-break: break-word;
}

.detail-content > *:first-child { margin-top: 0; }
.detail-content > *:last-child { margin-bottom: 0; }

.detail-content h1,
.detail-content h2,
.detail-content h3,
.detail-content h4 {
    color: var(--text);
    font-weight: 700;
    line-height: 1.4;
    margin: 1.5rem 0 0.75rem;
    letter-spacing: -0.01em;
}

.detail-content h1 { font-size: 1.375rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--primary-bg); }
.detail-content h2 { font-size: 1.2rem; }
.detail-content h3 { font-size: 1.0625rem; }
.detail-content h4 { font-size: 1rem; color: var(--text-secondary); }

.detail-content p {
    margin: 0.75rem 0;
}

.detail-content strong,
.detail-content b {
    color: var(--text);
    font-weight: 600;
}

.detail-content em { font-style: italic; color: var(--text-secondary); }

.detail-content ul,
.detail-content ol {
    margin: 0.75rem 0;
    padding-left: 1.25rem;
}

.detail-content ul { list-style: none; }
.detail-content ul > li {
    position: relative;
    padding-left: 0.5rem;
    margin: 0.4rem 0;
}
.detail-content ul > li::before {
    content: '';
    position: absolute;
    left: -0.85rem;
    top: 0.65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
}

.detail-content ol { list-style: decimal; }
.detail-content ol > li { margin: 0.4rem 0; padding-left: 0.25rem; }

.detail-content li > ul,
.detail-content li > ol { margin: 0.35rem 0; }

.detail-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}
.detail-content a:hover { color: var(--primary-light); }

.detail-content code {
    background: var(--primary-bg);
    color: #0f766e;
    padding: 2px 7px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.875em;
}

.detail-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    margin: 1rem 0;
    font-size: 0.8125rem;
    line-height: 1.6;
}
.detail-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.detail-content blockquote {
    border-left: 3px solid var(--primary);
    padding: 12px 16px;
    margin: 1rem 0;
    background: var(--primary-bg);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-secondary);
}
.detail-content blockquote p { margin: 0.25rem 0; }

.detail-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.25rem 0;
}

.detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.detail-content th,
.detail-content td {
    border: 1px solid var(--border);
    padding: 10px 14px;
    text-align: left;
}
.detail-content th {
    background: var(--bg);
    font-weight: 600;
    color: var(--text);
}
.detail-content tr:nth-child(even) td { background: rgba(248, 250, 252, 0.6); }

.detail-content img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    margin: 0.75rem 0;
    border: 1px solid var(--border);
}

.detail-content .loading-hint {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-align: center;
    padding: 24px 0;
}

.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #000;
}

.video-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--border);
    cursor: zoom-in;
    transition: border-color 0.2s;
}

.gallery-item:hover { border-color: var(--primary); }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 侧边栏 */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 72px;
}

.price-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.price-box-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.price-box-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand);
    margin: 8px 0 20px;
    line-height: 1;
}

.price-box-value.free { color: var(--primary); font-size: 1.5rem; }

.btn-primary-action {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--brand-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    font-size: var(--text-base);
    font-weight: 700;
    box-shadow: var(--shadow-brand);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
}

.btn-primary-action:hover {
    filter: brightness(1.05);
    color: #fff;
}

.price-box-note {
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sidebar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.sidebar-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.info-rows { list-style: none; }

.info-rows li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.8125rem;
    border-bottom: 1px solid var(--border);
}

.info-rows li:last-child { border-bottom: none; }

.info-rows .label { color: var(--text-muted); }
.info-rows .value { color: var(--text); font-weight: 500; }

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }

.tag-list span {
    padding: 3px 10px;
    font-size: 0.75rem;
    color: var(--primary);
    background: var(--primary-bg);
    border-radius: 20px;
}

.qrcode-wrap {
    text-align: center;
    margin-top: 12px;
}

.qrcode-wrap img {
    max-width: 140px;
    margin: 0 auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.qrcode-wrap p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.support-info {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* 模态框 */
.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
}

.image-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 28px;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    line-height: 1;
}

.image-modal-close:hover { opacity: 1; }

#modalCaption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
}

.free-download-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--surface);
    padding: 28px;
    border-radius: var(--radius);
    max-width: 440px;
    width: 90%;
}

.free-download-content h3 {
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 20px;
}

.free-download-content .form-control {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 0.875rem;
    width: 100%;
}

.free-download-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.free-download-actions .btn {
    flex: 1;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn-copy { background: var(--primary); color: #fff; }
.btn-link { background: var(--bg); color: var(--text); border: 1px solid var(--border) !important; }

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
    .project-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
    .project-grid { grid-template-columns: repeat(3, 1fr); }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .project-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hero-title { font-size: 1.375rem; }
    .detail-hero { padding: 20px; }
    .detail-section { padding: 20px; }
    .detail-hero h1 { font-size: 1.125rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .breadcrumb-bar .current { max-width: 200px; }
}

/* ========== 在线设计工具条（页脚区域） ========== */
.design-tools-section {
    padding: 0;
}

.design-tools-section.list-section {
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.design-tools-in-footer {
    padding: 8px 0 4px;
}

.design-tools-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
}

.design-tools-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.design-tools-title i {
    color: var(--primary);
    font-size: 1.1rem;
}

.design-tools-more {
    font-size: var(--text-sm);
    color: var(--primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.design-tools-more:hover {
    gap: 8px;
    color: var(--brand-dark);
}

.design-tools-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.design-tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 8px 12px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.design-tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    border-color: rgba(13, 148, 136, 0.25);
}

.design-tool-card-featured {
    border-color: rgba(13, 148, 136, 0.35);
    background: linear-gradient(180deg, #f0fdfa 0%, #fff 55%);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.12);
}

.design-tool-name-highlight {
    color: #0d9488;
    font-weight: 700;
}

.design-tool-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 1.25rem;
    color: #fff;
    flex-shrink: 0;
}

.design-tool-icon > i {
    font-size: 1.35rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.design-tool-icon.tool-color-green {
    background: linear-gradient(145deg, #10b981, #059669);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.design-tool-icon.tool-color-blue {
    background: linear-gradient(145deg, #3b82f6, #2563eb);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.design-tool-icon.tool-color-purple {
    background: linear-gradient(145deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}

.design-tool-icon.tool-color-teal {
    background: linear-gradient(145deg, #14b8a6, #0d9488);
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.35);
}

.design-tool-icon.tool-color-indigo {
    background: linear-gradient(145deg, #6366f1, #4f46e5);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.design-tool-icon.tool-color-sky {
    background: linear-gradient(145deg, #0ea5e9, #0284c7);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.design-tool-icon.tool-color-orange {
    background: linear-gradient(145deg, #f97316, #ea580c);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.design-tool-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.design-tool-desc {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1100px) {
    .design-tools-strip {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .design-tools-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .design-tool-card {
        padding: 12px 6px 10px;
    }

    .design-tool-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        border-radius: 10px;
    }

    .design-tool-name {
        font-size: 11px;
    }

    .design-tool-desc {
        font-size: 9px;
    }
}
