/* Altixman — UI inspired by vegasmode.ir (frontend only) */
:root {
    --bg: #f3f3f3;
    --bg-card: #ffffff;
    --bg-header: #f0f0f0;
    --text: #1f1f1f;
    --text-muted: #8a8a8a;
    --border: #e4e4e4;
    --green: #2f5d3a;
    --green-dark: #244a2e;
    --navy: #2c3e50;
    --blue: #3b6ea5;
    --tan: #c4a574;
    --red: #d32f2f;
    --radius: 14px;
    --radius-sm: 8px;
    --radius-pill: 999px;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.08);
    --container: 1200px;
    --font: 'Vazirmatn', Tahoma, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --transition: 0.35s var(--ease);

    /* legacy aliases */
    --primary-color: var(--green);
    --secondary-color: var(--red);
    --accent-color: var(--blue);
    --light-color: var(--bg);
    --dark-color: var(--text);
    --gray-color: var(--text-muted);
    --light-gray: var(--border);
    --success-color: var(--green);
    --warning-color: var(--tan);
    --danger-color: var(--red);
    --info-color: var(--blue);
    --border-radius: var(--radius-sm);
    --box-shadow: var(--shadow);
    --box-shadow-lg: var(--shadow-hover);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: auto; }

body {
    font-family: var(--font);
    direction: rtl;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 15px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 18px;
}

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--green);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    background: var(--green-dark);
}

.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }

.btn-outline,
.btn-outline-primary {
    background: transparent;
    color: var(--green);
    border: 1px solid var(--green);
}

.btn-outline:hover,
.btn-outline-primary:hover {
    background: var(--green);
    color: #fff;
}

.btn-lg { padding: 14px 28px; }
.btn-sm { padding: 8px 14px; font-size: 0.82rem; }
.btn-block { width: 100%; }
.btn-danger { background: var(--red); color: #fff; }
.btn-tan { background: var(--tan); color: #fff; }
.btn-tan:hover { background: #b08f5c; color: #fff; }

/* Loading / Flash */
.loading-spinner {
    position: fixed;
    inset: 0;
    background: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--green);
    border-radius: 50%;
    /* بدون animation تا لود صفحه چشمک/چرخش مداوم ایجاد نکند */
}

.flash-message {
    padding: 12px 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1100;
}

.flash-success { background: #eef8f0; }
.flash-error, .flash-danger { background: #fdecea; }
.flash-warning { background: #fff8e7; }
.flash-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    float: left;
}

/* ========== HEADER (vegasmode) ========== */
.site-top { display: none; }

.header {
    background: var(--bg-header);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    /* ثابت نگه دار تا با اسکرول سایه/ری‌پینت چشمک نزند */
    box-shadow: none;
}

.header-main {
    padding: 14px 0 10px;
}

.header-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--green);
    text-transform: uppercase;
}

.search-box {
    background: #e9e9e9;
    border-radius: var(--radius-pill);
    overflow: hidden;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
}

.search-form {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    padding: 12px 18px;
    font-size: 0.95rem;
    color: var(--green-dark);
}

.search-input::placeholder {
    color: var(--green);
    opacity: 0.75;
}

.search-btn {
    border: none;
    background: transparent;
    padding: 0 16px;
    cursor: pointer;
    color: var(--green);
    font-size: 1.05rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    color: var(--text);
    position: relative;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.header-action:hover { background: rgba(0, 0, 0, 0.04); }

.header-action .action-text {
    font-size: 0.82rem;
    font-weight: 500;
}

.action-count {
    position: absolute;
    top: 2px;
    left: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--green);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 999px;
    display: none;
    align-items: center;
    justify-content: center;
}

/* Second header row */
.navbar {
    background: var(--bg-header);
    padding: 0 0 12px;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.nav-right,
.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-categories {
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-categories:hover { background: var(--green-dark); }
.btn-categories .label-short { display: none; }

.nav-link-plain {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 10px;
    color: var(--text);
}

.nav-link-plain:hover { color: var(--green); }

.btn-track {
    background: var(--tan);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.85rem;
}

.btn-track:hover { background: #b08f5c; color: #fff; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.35rem;
    cursor: pointer;
    padding: 8px;
    color: var(--text);
}

.main-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 86vw);
    height: 100vh;
    background: #fff;
    z-index: 1100;
    padding: 0 0 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
}

.main-menu.is-open { display: block; }

.menu-close-row {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: flex-start;
    padding: 8px 10px;
}

.mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-close:hover,
.mobile-menu-close:focus {
    color: var(--green);
    outline: none;
}

.main-menu .menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-bottom: 1px solid var(--border);
    font-weight: 500;
}

.main-menu .menu-link:hover { background: var(--bg); color: var(--green); }

.sub-menu {
    background: var(--bg);
    padding: 4px 0 8px;
}

.sub-menu a {
    display: block;
    padding: 10px 28px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 999;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    pointer-events: none;
}

.mobile-menu-overlay.is-open {
    display: block;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden;
}

/* Category circles */
.cat-circles {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    padding: 28px 0 10px;
}

.cat-circle {
    text-align: center;
    width: 92px;
}

.cat-circle-img {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border: 2px solid var(--red);
    overflow: hidden;
    margin: 0 auto 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-circle:hover .cat-circle-img {
    border-color: var(--green);
}

.cat-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cat-circle-img i {
    font-size: 1.65rem;
    color: var(--text);
    line-height: 1;
}

.cat-circle:hover .cat-circle-img i {
    color: var(--green);
}

.cat-circle span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
}

/* Promo bar */
.promo-bar {
    background: #ebebeb;
    text-align: center;
    padding: 12px 16px;
    margin: 12px 0 8px;
}

.promo-bar span {
    color: var(--red);
    font-weight: 800;
    font-size: 1.05rem;
}

/* Main */
.main-content {
    min-height: 50vh;
    padding: 8px 0 56px;
}

/* Section titles with lines */
.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 36px 0 28px;
    text-align: center;
}

.section-heading::before,
.section-heading::after {
    content: '';
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: #d0d0d0;
}

.section-heading h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
}

.section-heading.accent h2 {
    color: var(--red);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 28px 0 20px;
    flex-wrap: wrap;
}

.section-header h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--red);
}

.view-all {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue);
}

.view-all:hover { text-decoration: underline; }

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

/* Product grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 22px;
}

.product-card {
    background: transparent;
    text-align: center;
}

.product-image {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    overflow: hidden;
    background: #e8e8e8;
    margin-bottom: 12px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    background: var(--red);
}

.product-badge.best-seller,
.product-badge.new {
    background: var(--green);
}

.product-info {
    padding: 0 6px;
    text-align: center;
}

.product-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.45;
}

.product-info h3 a:hover { color: var(--green); }

.product-category-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.product-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.final-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
}

.original-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.82rem;
}

/* CTA روی گرید بدون fade/opacity تا هنگام اسکرول چشمک نزند */
.product-card .add-to-cart-btn {
    display: none;
}

.no-products,
.no-brands {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 16px;
    color: var(--text-muted);
    background: var(--bg-card);
    border-radius: var(--radius);
}

/* Categories section tiles */
.categories-section { padding-top: 12px; }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.category-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.category-card:hover {
    box-shadow: var(--shadow-hover);
}

.category-card a { display: block; color: var(--text); }

.category-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: #e8e8e8;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-info {
    padding: 12px;
    text-align: center;
}

.category-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
}

.category-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Trust / why us */
.why-section {
    margin-top: 48px;
    padding: 8px 0 20px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 22px 14px 18px;
    text-align: center;
}

.why-card:hover {
    border-color: #cfcfcf;
    box-shadow: var(--shadow);
}

.why-card h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 0.82rem;
    color: var(--blue);
    line-height: 1.6;
    margin-bottom: 16px;
    min-height: 2.8em;
}

.why-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    background: var(--navy);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

/* FAQ */
.faq-section {
    margin-top: 40px;
    padding-bottom: 20px;
}

.faq-list {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: #f7f7f7;
    border: none;
    cursor: pointer;
    text-align: right;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.faq-question .faq-plus {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.faq-item.open .faq-plus {
    background: var(--navy);
}

.faq-answer {
    display: none;
    padding: 0 18px 16px;
    background: #f7f7f7;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.faq-item.open .faq-answer { display: block; }

/* Brands */
.brands-section { margin-top: 36px; }

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.brand-item a {
    display: inline-flex;
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.brand-item a:hover {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

/* Listing page */
.products-page,
.product-detail-page {
    padding-top: 20px;
}

.page-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.breadcrumb-link:hover { color: var(--green); }

.products-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 28px;
    align-items: start;
}

.products-sidebar {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 16px;
    border: 1px solid var(--border);
}

.products-sidebar h3 {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    font-weight: 800;
}

.products-sidebar .filter-list a {
    display: block;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.products-sidebar .filter-list a:hover,
.products-sidebar .filter-list a.active {
    color: var(--green);
    font-weight: 700;
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    background: var(--bg-card);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 36px;
    list-style: none;
}

.page-link {
    display: inline-flex;
    min-width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.88rem;
    color: var(--text);
}

.page-item.active .page-link {
    background: var(--green);
    color: #fff;
}

.page-link:hover {
    background: rgba(47, 93, 58, 0.12);
}

/* Product detail */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
}

.product-gallery .main-image {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    overflow: hidden;
    background: #e8e8e8;
}

.product-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-images {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.thumbnail-images button {
    width: 68px;
    height: 90px;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    background: none;
}

.thumbnail-images button.active,
.thumbnail-images button:hover {
    border-color: var(--green);
}

.thumbnail-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-summary,
.product-detail-info {
    padding-top: 4px;
}

.product-title {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 800;
    margin-bottom: 12px;
    text-align: right;
}

.product-price-box,
.product-detail-info .product-price {
    justify-content: flex-start;
    margin-bottom: 18px;
}

.product-detail-info .final-price { font-size: 1.35rem; color: var(--green); }

.discount-label {
    color: var(--red);
    font-weight: 700;
    font-size: 0.85rem;
}

.product-short,
.product-short-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}

.quantity-row { margin-bottom: 16px; }

.quantity-control {
    display: inline-flex;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-top: 8px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg);
    cursor: pointer;
}

.quantity-input {
    width: 52px;
    border: none;
    text-align: center;
    outline: none;
}

.product-tabs {
    margin-top: 28px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 20px;
}

.tab-headers {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.tab-btn.active {
    color: var(--green);
    border-bottom-color: var(--green);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.related-products { margin-top: 40px; }

/* Footer */
.footer {
    margin-top: 48px;
    background: #ececec;
    color: var(--text);
    border-top: 1px solid var(--border);
}

.footer-top { padding: 48px 0 32px; }

.footer-top-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 28px;
}

.footer-brand .logo-text {
    font-size: 2rem;
    display: inline-block;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.footer-text,
.footer-links a,
.contact-item {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.8;
}

.footer-links a {
    display: block;
    padding: 4px 0;
}

.footer-links a:hover { color: var(--green); }

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: var(--navy);
    color: #fff;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover { background: var(--green); }

.contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding: 16px 0;
    background: #e6e6e6;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.82rem;
    color: #666;
}

.back-to-top {
    position: fixed;
    left: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    cursor: pointer;
    display: none;
    z-index: 800;
    box-shadow: var(--shadow-hover);
    /* کلاس .visible از اسکریپت اینلاین قدیمی نادیده گرفته می‌شود تا چشمک نزند */
}

.back-to-top.is-shown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Forms */
.form-group { margin-bottom: 14px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-size: 0.95rem;
    outline: none;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--green);
}

.cart-page,
.contact-page,
.auth-page,
.admin-layout {
    padding-top: 24px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid var(--border);
    padding: 12px;
    text-align: right;
    font-size: 0.9rem;
}

.quantity-controls {
    display: inline-flex;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg);
    cursor: pointer;
}
