:root {
    --green-900: #0b3d25;
    --green-800: #145435;
    --green-700: #1a7a4a;
    --green-600: #31ad68;
    --green-500: #57c884;
    --green-100: #e7f6ec;
    --accent-gold: #f4c430;
    --text-dark: #26372a;
    --text-muted: #5f6f63;
    --surface: #eaf4ee;
    --surface-alt: #f4fbf7;
    --surface-strong: #dbeee1;
    --surface-white: #ffffff;
    --border-soft: rgba(22, 108, 65, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --shadow-soft: -18px -18px 36px rgba(255, 255, 255, 0.92), 18px 18px 36px rgba(22, 108, 65, 0.16);
    --shadow-card: -12px -12px 26px rgba(255, 255, 255, 0.9), 12px 12px 26px rgba(22, 108, 65, 0.14);
    --shadow-inset: inset 10px 10px 20px rgba(22, 108, 65, 0.08), inset -10px -10px 20px rgba(255, 255, 255, 0.94);
    --shadow-classic: 0 12px 24px rgba(19, 88, 55, 0.12);
    --shadow-classic-hover: 0 20px 36px rgba(19, 88, 55, 0.16);
    --transition: all 0.28s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--text-dark);
    background: linear-gradient(145deg, #eff8f3 0%, #dfeee4 100%);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: linear-gradient(135deg, var(--surface-alt) 0%, var(--surface-strong) 100%);
    color: var(--text-dark);
    padding: 28px 0 42px;
    box-shadow: var(--shadow-soft);
    border-bottom-left-radius: 48px;
    border-bottom-right-radius: 48px;
    position: relative;
    overflow: hidden;
}

/*header::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    inset: auto -70px -80px;*/
/*    height: 220px;*/
/*    background: radial-gradient(180px at 20% 100%, rgba(255, 255, 255, 0.55), transparent),*/
/*                radial-gradient(220px at 80% 110%, rgba(217, 240, 225, 0.6), transparent);*/
/*}*/

.header-inner {
    position: relative;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand-badge {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    color: var(--green-700);
    box-shadow: var(--shadow-card);
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
    color: var(--green-800);
}

.nav-links {
    display: flex;
    gap: 16px;
    font-size: 15px;
    flex-wrap: wrap;
}

.nav-links a {
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--surface);
    color: var(--green-700);
    font-weight: 600;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--green-900);
    box-shadow: var(--shadow-inset);
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: center;
    padding: 26px 0 12px;
}

.hero-compact {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px 0 6px;
}

.hero-compact .hero-text p {
    max-width: 640px;
}

.hero-text h1 {
    font-size: clamp(30px, 4.2vw, 44px);
    margin: 0 0 14px;
    line-height: 1.2;
    color: var(--green-800);
}

.hero-text p {
    margin: 0 0 22px;
    font-size: 16px;
    max-width: 520px;
    color: var(--text-muted);
}

.hero-stats {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-stat {
    background: var(--surface-alt);
    border-radius: 22px;
    padding: 18px 20px;
    min-width: 160px;
    box-shadow: var(--shadow-card);
    color: var(--text-muted);
}

.hero-stat strong {
    display: block;
    font-size: 23px;
    font-weight: 700;
    color: var(--green-700);
}

.hero-visual {
    position: relative;
    padding: 22px;
    background: var(--surface);
    border-radius: 32px;
    box-shadow: var(--shadow-card);
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 26px;
    border-radius: 28px;
    box-shadow: var(--shadow-inset);
    opacity: 0.35;
    pointer-events: none;
}

.hero-visual img {
    border-radius: 24px;
    box-shadow: -14px -14px 28px rgba(255, 255, 255, 0.92), 14px 14px 28px rgba(22, 108, 65, 0.16);
}

.content {
    flex: 1;
    max-width: 1160px;
    margin: 0 auto;
    padding: 36px 24px 72px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 26px;
}

.section-title h2 {
    margin: 0;
    font-size: 26px;
    color: var(--green-800);
}

.section-title p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface);
    color: var(--green-700);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-card);
}

.card-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
    background: var(--surface);
    border-radius: 32px;
    box-shadow: var(--shadow-card);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: -20px -20px 36px rgba(255, 255, 255, 0.94), 20px 20px 36px rgba(22, 108, 65, 0.18);
}

.card .logo {
    border-radius: 24px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    box-shadow: var(--shadow-card);
}

.card h3 {
    margin: 0;
    font-size: 20px;
    color: var(--green-800);
}

.card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--surface-alt);
    color: var(--green-700);
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-card);
}

.store-summary,
.product-summary {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: start;
}

.info-block {
    background: var(--surface);
    border-radius: 34px;
    padding: 28px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-block h3 {
    margin: 0;
    font-size: 22px;
    color: var(--green-800);
}

.info-list {
    display: grid;
    gap: 14px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-size: 14px;
    color: var(--text-muted);
}

.info-item strong {
    color: var(--green-800);
}

.stat-board {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.stat {
    background: var(--surface-alt);
    border-radius: 26px;
    padding: 20px;
    box-shadow: var(--shadow-card);
    color: var(--text-muted);
}

.stat strong {
    display: block;
    font-size: 20px;
    color: var(--green-700);
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 22px;
    font-weight: 600;
    background: var(--surface);
    color: var(--green-700);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    align-self: flex-start;
}

.cta:hover {
    color: var(--green-900);
    box-shadow: var(--shadow-inset);
}

.breadcrumbs {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.breadcrumbs a {
    color: var(--green-700);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.filter-chip {
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    background: var(--surface);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.filter-chip.active,
.filter-chip:hover {
    color: var(--green-700);
    box-shadow: var(--shadow-inset);
}

.product-card {
    padding: 28px;
    background: var(--surface-alt);
    border-radius: 34px;
    box-shadow: var(--shadow-card);
}

.product-card img {
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    box-shadow: var(--shadow-card);
}

.product-card h3 {
    font-size: 20px;
    color: var(--green-800);
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--green-900);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    padding: 8px 18px;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-muted);
    font-size: 13px;
}

.product-meta span {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--surface);
    color: var(--green-700);
    font-weight: 600;
    box-shadow: var(--shadow-card);
}

.home-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px;
    background: var(--surface-white);
    border-radius: 34px;
    padding: 26px 32px;
    box-shadow: var(--shadow-classic);
    margin-bottom: 42px;
}

.home-category-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(242, 255, 247, 0.9));
    box-shadow: 0 6px 14px rgba(18, 100, 60, 0.12);
    transition: var(--transition);
}

.home-category-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-classic-hover);
}

.home-category-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(49, 173, 104, 0.25), rgba(87, 200, 132, 0.65));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--green-800);
    box-shadow: inset 0 6px 12px rgba(255, 255, 255, 0.5);
}

.home-category-item strong {
    font-size: 16px;
    color: var(--green-800);
}

.home-category-item span {
    font-size: 13px;
    color: var(--text-muted);
}

.home-floor {
    background: var(--surface-white);
    border-radius: 38px;
    padding: 34px;
    box-shadow: var(--shadow-classic);
    margin-bottom: 48px;
}

.floor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.floor-title {
    display: flex;
    align-items: center;
    gap: 18px;
}

.floor-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: 10px 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #31ad68, #57c884);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
}

.floor-title h2 {
    margin: 0;
    font-size: 24px;
    color: var(--green-800);
}

.floor-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.floor-tab {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: var(--transition);
}

.floor-tab.active,
.floor-tab:hover {
    color: var(--green-700);
    border-color: rgba(49, 173, 104, 0.3);
    box-shadow: 0 8px 16px rgba(24, 169, 86, 0.16);
}

.home-product-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.home-product-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--surface-white);
    border: 1px solid rgba(22, 108, 65, 0.08);
    border-radius: 20px;
    box-shadow: var(--shadow-classic);
    padding: 20px;
    transition: var(--transition);
}

.home-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-classic-hover);
}

.home-product-card img {
    border-radius: 16px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.home-product-card h3 {
    margin: 0;
    font-size: 18px;
    color: var(--green-800);
}

.home-product-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.home-product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.price-tag {
    font-size: 20px;
    font-weight: 700;
    color: var(--green-800);
}

.buy-btn {
    padding: 8px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #31ad68, #57c884);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(24, 169, 86, 0.2);
    transition: var(--transition);
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(24, 169, 86, 0.24);
}

.home-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--green-700);
}

.home-brand-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.home-brand-card {
    display: flex;
    gap: 18px;
    background: var(--surface-white);
    border: 1px solid rgba(22, 108, 65, 0.08);
    border-radius: 22px;
    padding: 20px;
    box-shadow: var(--shadow-classic);
    transition: var(--transition);
}

.home-brand-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-classic-hover);
}

.home-brand-thumb {
    width: 96px;
    height: 96px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    flex-shrink: 0;
}

.home-brand-info h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: var(--green-800);
}

.home-brand-info p {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.home-brand-stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--green-700);
}

.home-spotlight {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
    background: var(--surface-white);
    border-radius: 40px;
    padding: 36px;
    box-shadow: var(--shadow-classic);
}

.home-spotlight img {
    border-radius: 26px;
    box-shadow: var(--shadow-classic);
}

.home-spotlight h3 {
    margin: 0 0 14px;
    font-size: 26px;
    color: var(--green-800);
}

.home-spotlight p {
    margin: 0 0 18px;
    color: var(--text-muted);
    line-height: 1.7;
}

.spotlight-points {
    display: grid;
    gap: 12px;
    font-size: 14px;
    color: var(--green-700);
}

.detail-hero {
    background: var(--surface);
    border-radius: 42px;
    padding: 34px;
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
    box-shadow: var(--shadow-card);
}

.detail-hero img {
    border-radius: 28px;
    box-shadow: var(--shadow-card);
}

.detail-info h1 {
    margin: 0 0 18px;
    font-size: 30px;
    color: var(--green-800);
}

.detail-info p {
    margin: 0 0 20px;
    color: var(--text-muted);
    line-height: 1.7;
}

.detail-meta {
    display: grid;
    gap: 14px;
    font-size: 14px;
    color: var(--text-muted);
}

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

.detail-meta strong {
    color: var(--green-800);
}

/* Auth pages */
.auth-content {
    max-width: 80%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.auth-wrapper {
    display: flex;
    gap: 36px;
    /* grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); */
    background: var(--surface);
    border-radius: 46px;
    padding: 48px;
    box-shadow: var(--shadow-card);
}

.auth-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-panel h2 {
    margin: 0;
    font-size: 28px;
    color: var(--green-800);
}

.auth-panel p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.auth-highlights {
    display: grid;
    gap: 14px;
}

.auth-highlight {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: var(--surface-white);
    box-shadow: var(--shadow-card);
}

.auth-highlight strong {
    font-size: 16px;
    color: var(--green-700);
}

.auth-highlight span {
    color: var(--text-muted);
    font-size: 14px;
}

.auth-support {
    padding: 22px 24px;
    border-radius: var(--radius-md);
    background: var(--surface-white);
    box-shadow: var(--shadow-card);
}

.auth-support h3 {
    margin: 0 0 12px;
    color: var(--green-800);
}

.auth-support p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.auth-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.auth-list li {
    position: relative;
    padding-left: 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.auth-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--green-600);
}

.auth-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 36px;
    border-radius: 38px;
    background: var(--surface-white);
    box-shadow: var(--shadow-card);
}

.auth-card h2 {
    margin: 0;
    font-size: 26px;
    color: var(--green-800);
}

.auth-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.auth-form-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--green-800);
}

.auth-input {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    background: var(--surface-alt);
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
}

.auth-input::placeholder {
    color: rgba(95, 111, 99, 0.72);
}

.auth-input:focus {
    outline: none;
    border-color: var(--green-600);
    box-shadow: 0 0 0 4px rgba(49, 173, 104, 0.18);
    background: var(--surface-white);
}

.auth-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.auth-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: var(--green-600);
}

.auth-form-link {
    color: var(--green-700);
    font-weight: 600;
}

.auth-form-link:hover {
    color: var(--green-900);
}

.auth-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.auth-tags .pill {
    background: var(--surface-alt);
    box-shadow: none;
}

.auth-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    align-self: stretch;
    font-size: 16px;
}

.auth-switch {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--green-700);
    font-weight: 600;
}

.auth-switch a:hover {
    color: var(--green-900);
}

.auth-extra {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.auth-extra-card {
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-extra-card h3 {
    margin: 0;
    color: var(--green-800);
}

.auth-extra-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.auth-extra-card ul,
.auth-extra-card ol {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
}

.auth-extra-card li {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.auth-step-list {
    list-style: decimal;
}

.footer {
    margin-top: auto;
    padding: 40px 24px;
    background: linear-gradient(135deg, var(--surface-strong) 0%, var(--surface-alt) 100%);
    color: var(--text-muted);
    box-shadow: -20px -20px 34px rgba(255, 255, 255, 0.94), 20px 20px 34px rgba(22, 108, 65, 0.14);
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer h4 {
    margin: 0 0 12px;
    color: var(--green-800);
}

.footer p,
.footer a {
    font-size: 13px;
    color: var(--text-muted);
}

.footer a:hover {
    color: var(--green-700);
}

.footer-bottom {
    margin-top: 28px;
    border-top: 1px solid rgba(38, 55, 42, 0.08);
    padding-top: 18px;
    font-size: 12px;
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 720px) {
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        gap: 24px;
    }

    header {
        padding-bottom: 32px;
    }

    .content {
        padding: 30px 18px 60px;
    }

    .detail-hero {
        padding: 26px;
    }

    .home-categories {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        padding: 20px;
    }

    .home-floor {
        padding: 26px 20px;
        border-radius: 32px;
    }

    .home-brand-card {
        flex-direction: column;
    }

    .home-product-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-wrapper {
        padding: 28px 22px;
        border-radius: 36px;
    }

    .auth-card {
        padding: 26px 20px;
        border-radius: 26px;
    }

    .auth-form-grid {
        grid-template-columns: 1fr;
    }

    .auth-form-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-extra {
        grid-template-columns: 1fr;
    }
}


.detail-purchase {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quantity-block {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.quantity-label {
    font-weight: 600;
    color: var(--green-800);
    font-size: 14px;
    letter-spacing: 0.4px;
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border-radius: var(--radius-md);
    background: var(--surface-white);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-card);
}

.quantity-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: calc(var(--radius-md) - 6px);
    background: transparent;
    color: var(--green-700);
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--surface-alt);
    color: var(--green-800);
    box-shadow: var(--shadow-inset);
}

.quantity-input {
    width: 70px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    background: transparent;
}

.quantity-input:focus {
    outline: none;
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input[type=number] {
    -moz-appearance: textfield;
}
