:root {
    --h-bg: #faf7f0;
    --h-card: #ffffff;
    --h-border: rgba(0, 0, 0, 0.03);
    --h-accent: #6b7a70;
    --h-text: #2e2b2a;
    --h-text-sub: #787371;
    --h-red: #ef4444;
    --h-shadow: 0 4px 20px rgba(107, 122, 112, 0.03), 0 2px 8px rgba(0, 0, 0, 0.01);
}
body.herbarium-body {
    margin: 0;
    padding: 0;
    background: var(--h-bg);
    color: var(--h-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
}
a {
    color: var(--h-text);
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: var(--h-accent);
}
.herbarium-header {
    height: 64px;
    background: var(--h-card);
    border-bottom: 1px solid var(--h-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.herbarium-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
.herbarium-logo img {
    height: 24px;
}
.herbarium-header-nav {
    display: flex;
    gap: 24px;
}
.herbarium-header-link {
    color: var(--h-text-sub);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
}
.herbarium-header-link.herbarium-active, .herbarium-header-link:hover {
    color: var(--h-accent);
}
.herbarium-notice-bar {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
}
.herbarium-notice-inner {
    background: var(--h-card);
    border-radius: 12px;
    box-shadow: var(--h-shadow);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.herbarium-notice-dot {
    width: 6px;
    height: 6px;
    background: var(--h-accent);
    border-radius: 50%;
}
.herbarium-notice-text {
    font-size: 13px;
    color: var(--h-text);
    font-weight: 600;
}
.herbarium-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}
.herbarium-section-title {
    font-size: 20px;
    font-weight: 800;
    margin: 40px 0 20px;
    color: var(--h-text);
    letter-spacing: -0.015em;
}
.herbarium-card-wall {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    perspective: 1000px;
}
@media (min-width: 1024px) {
    .herbarium-card-wall {
        grid-template-columns: repeat(4, 1fr);
    }
}
.herbarium-card {
    background: var(--h-card);
    border-radius: 16px;
    padding: 24px;
    box-sizing: border-box;
    position: relative;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: var(--h-shadow);
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s;
}
.herbarium-card:hover {
    transform: translateY(-4px) rotateX(4deg) rotateY(4deg);
    box-shadow: 0 12px 28px rgba(107, 122, 112, 0.08), 0 4px 10px rgba(0, 0, 0, 0.02);
}
.herbarium-badge-auto {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--h-card);
    border: 1px solid var(--h-accent);
    color: var(--h-accent);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    z-index: 10;
}
.herbarium-product-img-box {
    width: 100%;
    aspect-ratio: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--h-bg);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}
.herbarium-product-img-box img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}
.herbarium-product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.herbarium-product-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--h-text);
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}
.herbarium-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.herbarium-product-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--h-text);
}
.herbarium-product-sales {
    font-size: 11px;
    color: var(--h-text-sub);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.herbarium-detail-flex {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (min-width: 768px) {
    .herbarium-detail-flex {
        flex-direction: row;
    }
    .herbarium-detail-left {
        flex: 1;
    }
    .herbarium-detail-right {
        width: 380px;
        flex-shrink: 0;
    }
}
.herbarium-detail-img {
    width: 100%;
    height: 200px;
    background: var(--h-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
}
.herbarium-detail-img img {
    max-width: 40%;
    max-height: 80%;
    object-fit: contain;
}
.herbarium-detail-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--h-text);
    margin: 0 0 10px;
    line-height: 1.3;
}
.herbarium-status-tag {
    display: inline-block;
    background: var(--h-bg);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 8px;
    color: var(--h-text-sub);
    font-weight: 600;
}
.herbarium-desc-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--h-text);
    margin-bottom: 15px;
}
.herbarium-desc-content {
    line-height: 1.8;
    color: var(--h-text);
}
.herbarium-desc-content img {
    max-width: 100%;
}
.herbarium-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--h-bg);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}
.herbarium-price-large {
    font-size: 24px;
    font-weight: 800;
    color: var(--h-text);
}
.herbarium-stock-status {
    font-size: 12px;
    color: var(--h-text-sub);
    font-weight: 600;
}
.herbarium-form-item {
    margin-bottom: 16px;
}
.herbarium-form-label {
    display: block;
    font-size: 12px;
    color: var(--h-text-sub);
    margin-bottom: 6px;
    font-weight: 600;
}
.herbarium-form-input {
    width: 100%;
    height: 42px;
    background: var(--h-bg);
    border: none;
    border-radius: 8px;
    color: var(--h-text);
    padding: 0 12px;
    box-sizing: border-box;
    outline: none;
    font-weight: 600;
}
.herbarium-submit-btn {
    width: 100%;
    height: 46px;
    background: var(--h-accent);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}
.herbarium-submit-btn:hover {
    background: #5b6a5f;
}
.herbarium-submit-btn:disabled {
    background: rgba(0,0,0,0.05);
    color: #888;
    cursor: not-allowed;
}
.herbarium-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.herbarium-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--h-card);
    box-shadow: var(--h-shadow);
    padding: 16px 20px;
    border-radius: 12px;
    flex-wrap: wrap;
    gap: 12px;
}
.herbarium-item-name {
    flex: 1;
    min-width: 200px;
    font-weight: 700;
}
.herbarium-item-price {
    font-weight: 800;
    color: var(--h-text);
}
.herbarium-item-stock {
    font-size: 12px;
    color: var(--h-text-sub);
    font-weight: 600;
}
.herbarium-btn-buy {
    background: var(--h-card);
    box-shadow: var(--h-shadow);
    color: var(--h-text-sub);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}
.herbarium-btn-buy:hover {
    color: var(--h-accent);
}
.herbarium-btn-lock {
    background: rgba(0,0,0,0.05);
    color: #888;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    cursor: not-allowed;
}
.herbarium-small-box {
    max-width: 500px;
    margin: 40px auto;
}
.herbarium-tab-bar {
    display: flex;
    border-bottom: 2px solid var(--h-border);
    margin-bottom: 20px;
}
.herbarium-tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 13px;
    color: var(--h-text-sub);
    font-weight: 700;
    border-bottom: 3px solid transparent;
}
.herbarium-tab-item.herbarium-active {
    color: var(--h-text);
    border-bottom-color: var(--h-accent);
}
.herbarium-table {
    width: 100%;
    border-collapse: collapse;
}
.herbarium-table-header {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: var(--h-bg);
    padding: 12px;
    font-size: 12px;
    color: var(--h-text-sub);
    text-align: center;
    border-bottom: 1px solid var(--h-border);
}
.herbarium-table-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 16px 12px;
    text-align: center;
    align-items: center;
    border-bottom: 1px solid var(--h-border);
}
.herbarium-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.herbarium-pay-btn {
    background: var(--h-bg);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}
.herbarium-pay-btn img {
    height: 24px;
}
.herbarium-footer {
    background: var(--h-card);
    border-top: 1px solid var(--h-border);
    padding: 30px 0;
    margin-top: 60px;
}
.herbarium-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 16px;
}
.herbarium-footer-copyright {
    font-size: 12px;
    color: var(--h-text-sub);
    font-weight: 600;
}
.herbarium-footer-nav {
    display: flex;
    gap: 20px;
}
.herbarium-footer-nav a {
    font-size: 12px;
    color: var(--h-text-sub);
    font-weight: 600;
}
.herbarium-footer-nav a:hover {
    color: var(--h-accent);
}
.herbarium-title {
    font-size: 18px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--h-accent);
}
.herbarium-title-sub {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}
.herbarium-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--h-border);
}
.herbarium-price-total {
    border-bottom: none;
    font-size: 16px;
    font-weight: 800;
    color: var(--h-accent);
    margin-top: 10px;
}
.herbarium-pay-success {
    color: #10b981;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}
.herbarium-mobile-card {
    background: var(--h-card);
    box-shadow: var(--h-shadow);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.herbarium-mt-20 {
    margin-top: 20px;
}
@media (max-width: 768px) {
    .herbarium-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}