/**
 * Hamta Shop Styles
 * Ø§Ø³ØªØ§ÛŒÙ„â€ŒÙ‡Ø§ÛŒ Ø§ÙØ²ÙˆÙ†Ù‡ ÙØ±ÙˆØ´Ú¯Ø§Ù‡ÛŒ Ù‡Ù…ØªØ§
 */

/* ===== Variables ===== */
:root {
    --hamta-primary: var(--hpb-theme-accent, #2563eb);
    --hamta-primary-dark: var(--hpb-theme-brand-deep, #1d4ed8);
    --hamta-secondary: var(--hpb-theme-text-muted, #64748b);
    --hamta-success: var(--hpb-theme-success, #10b981);
    --hamta-danger: var(--hpb-theme-danger, #ef4444);
    --hamta-warning: var(--hpb-theme-warning, #f59e0b);
    --hamta-light: var(--hpb-theme-bg, #f8fafc);
    --hamta-dark: var(--hpb-theme-text, #1e293b);
    --hamta-border: var(--hpb-theme-border, #e2e8f0);
    --hamta-text: var(--hpb-theme-text, #334155);
    --hamta-text-light: var(--hpb-theme-text-muted, #64748b);
    --hamta-radius: 8px;
    --hamta-shadow: 0 1px 3px rgb(0 0 0 / 28%);
    --hamta-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* ===== Base ===== */
.hamta-shop *,
.hamta-cart *,
.hamta-checkout * {
    box-sizing: border-box;
}

/* ===== Buttons ===== */
.hamta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--hamta-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.hamta-btn-primary {
    background: var(--hamta-primary);
    color: #fff;
}

.hamta-btn-primary:hover {
    background: var(--hamta-primary-dark);
}

.hamta-btn-outline {
    background: transparent;
    border: 1px solid var(--hamta-border);
    color: var(--hamta-text);
}

.hamta-btn-outline:hover {
    border-color: var(--hamta-primary);
    color: var(--hamta-primary);
}

.hamta-btn-danger {
    background: var(--hamta-danger);
    color: #fff;
}

.hamta-btn-block {
    width: 100%;
}

.hamta-btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.hamta-btn-secondary {
    background: var(--hamta-secondary, #6c757d);
    color: #fff;
}

.hamta-btn-secondary:hover {
    background: var(--hamta-secondary-dark, #5a6268);
}

/* ===== Add to Cart Button ===== */
.hamta-add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.hamta-add-to-cart-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.hamta-add-to-cart-btn .btn-price {
    margin-right: 8px;
    padding-right: 8px;
    border-right: 1px solid rgba(255,255,255,0.3);
}

/* ÙØ±Ù… Ù…ØªØºÛŒØ±Ù‡Ø§ Ø¯Ø± ØµÙØ­Ù‡ Ù…Ø­ØµÙˆÙ„ */
.hamta-variation-form {
    margin-bottom: 16px;
}

.hamta-variation-form .variation-row {
    margin-bottom: 12px;
}

.hamta-variation-form .variation-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--hamta-text);
}

.hamta-variation-form .variation-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--hamta-border);
    border-radius: var(--hamta-radius);
    background: #fff;
    font-size: 14px;
}

.hamta-quantity-input {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.hamta-quantity-input label {
    font-weight: 500;
}

.hamta-quantity-input input {
    width: 80px;
    padding: 8px 12px;
    border: 1px solid var(--hamta-border);
    border-radius: var(--hamta-radius);
    text-align: center;
}

/* ===== Alerts ===== */
.hamta-alert {
    padding: 12px 16px;
    border-radius: var(--hamta-radius);
    margin-bottom: 16px;
}

.hamta-alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.hamta-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ===== Shop ===== */
.hamta-wc-native-catalog-wrap {
    padding-top: 20px;
}

.hamta-shop {
    font-family: inherit;
    color: var(--hamta-text);
    max-width: var(--hpb-site-container-max, 1400px);
    margin: 0 auto 30px;
}

.hamta-wc-native-catalog-wrap > .hamta-shop {
    margin-top: 0;
}

.hamta-shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hamta-border);
}

.hamta-shop-toolbar--merged {
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hamta-shop-toolbar-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex: 1 1 220px;
    min-width: 0;
}

.hamta-shop-toolbar-heading .hamta-shop-breadcrumb-wrap {
    margin-bottom: 0;
    width: 100%;
}

.hamta-shop-toolbar-heading .hamta-breadcrumb {
    margin-bottom: 0;
}

.hamta-shop-toolbar-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
}

.hamta-shop-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 1 auto;
}

.hamta-shop-meta--mobile {
    display: none;
}

.hamta-toolbar-search-desktop {
    display: none;
}

.hamta-toolbar-count .product-count {
    font-size: 13px;
    color: var(--hamta-text-light);
    white-space: nowrap;
}

.hamta-toolbar-search-box--inline {
    min-width: 220px;
    max-width: 280px;
}

.hamta-toolbar-search-box--inline input {
    min-width: 0;
}

@media (min-width: 1000px) {
    .hamta-shop-toolbar--merged .hamta-toolbar-view {
        margin-inline-start: 0;
    }

    .hamta-shop-toolbar--merged .hamta-toolbar-search-desktop {
        display: inline-flex;
    }

    .hamta-shop-toolbar--merged .hamta-toolbar-count {
        display: inline-flex;
        align-items: center;
    }

    .hamta-shop-toolbar--merged {
        align-items: center;
        flex-wrap: nowrap;
    }

    .hamta-shop-toolbar-heading .hamta-breadcrumb {
        font-size: 11px;
        font-weight: 400;
        line-height: 1.5;
        gap: 6px;
    }

    .hamta-shop-toolbar-heading .hamta-breadcrumb .current {
        font-weight: 500;
    }

    .hamta-shop-title {
        font-size: 22px;
        line-height: 1.35;
        font-weight: 700;
    }

    .hamta-shop-title-badge {
        display: none !important;
    }
}

.hamta-shop-title-badge {
    display: none !important;
}

@media (max-width: 999px) {
    /* ── تولبار موبایل: یک ردیف فشرده — بدون جستجو/مرتب‌سازی دسکتاپ ── */
    .hamta-shop-toolbar--merged {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px;
        padding: 8px 10px;
        margin-bottom: 8px;
        border: 1px solid var(--hamta-border);
        border-radius: var(--hamta-radius);
        background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    }

    .hamta-shop-toolbar-heading {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        gap: 2px;
    }

    .hamta-shop-toolbar-heading.has-active-filter .hamta-shop-breadcrumb-wrap {
        display: none;
    }

    .hamta-shop-toolbar-title {
        justify-content: space-between;
        width: 100%;
        align-items: center;
        gap: 8px;
    }

    .hamta-shop-meta--mobile {
        display: block;
        flex-shrink: 0;
    }

    .hamta-shop-meta--mobile .product-count {
        font-size: 12px;
        color: var(--hamta-text-light);
        white-space: nowrap;
    }

    .hamta-shop-toolbar--merged .hamta-toolbar-search-desktop,
    .hamta-shop-toolbar--merged .hamta-toolbar-sort,
    .hamta-shop-toolbar--merged .hamta-toolbar-view,
    .hamta-shop-toolbar--merged .hamta-toolbar-count {
        display: none !important;
    }

    .hamta-shop-toolbar--merged .hamta-shop-toolbar-actions {
        flex: 0 0 auto;
        align-self: flex-start;
        margin: 0;
        width: auto;
    }

    .hamta-shop-toolbar--merged .hamta-toolbar-search-mobile {
        display: inline-flex !important;
    }

    .hamta-shop-title {
        font-size: 17px;
        line-height: 1.25;
        gap: 0;
        flex-wrap: nowrap;
    }

    .hamta-shop-toolbar-heading .hamta-breadcrumb {
        font-size: 10px;
        line-height: 1.35;
        gap: 4px;
        margin-bottom: 0;
    }

    .hamta-shop-toolbar-heading .hamta-shop-breadcrumb-wrap {
        margin-bottom: 0;
    }

    /* مرتب‌سازی پill — فقط موبایل */
    .hamta-mobile-sort-bar {
        display: flex;
        align-items: center;
        gap: 8px;
        overflow-x: auto;
        padding: 2px 0 8px;
        margin-bottom: 2px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .hamta-mobile-sort-bar::-webkit-scrollbar {
        display: none;
    }

    .hamta-sort-pill {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 0 14px;
        border-radius: 999px;
        border: 1px solid #dbe3ef;
        background: #fff;
        color: var(--hamta-text);
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
        white-space: nowrap;
        transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    }

    .hamta-sort-pill.is-active {
        background: var(--hamta-primary);
        border-color: var(--hamta-primary);
        color: #fff;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
    }

    .hamta-toolbar-sort {
        display: none !important;
    }
}

.hamta-shop-title {
    margin: 0;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.active-filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hamta-primary);
    color: white;
    font-size: 14px;
    font-weight: normal;
    padding: 4px 12px;
    border-radius: 20px;
}

.active-filter-badge .clear-filter {
    color: white;
    text-decoration: none;
    font-size: 16px;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.active-filter-badge .clear-filter:hover {
    opacity: 1;
}

.hamta-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid var(--hamta-border);
    border-radius: var(--hamta-radius);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hamta-toolbar-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
}

.hamta-toolbar-view {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hamta-toolbar-view-desktop {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hamta-toolbar-grid-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 18px;
    line-height: 1;
}

.hamta-toolbar-search-mobile {
    display: none;
}

.hamta-toolbar-label {
    font-size: 13px;
    color: var(--hamta-text-light);
    white-space: nowrap;
}

.hamta-orderby-top {
    min-width: 170px;
}

.hamta-grid-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hamta-grid-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--hamta-border);
    background: #fff;
    color: var(--hamta-text);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all .2s ease;
}

.hamta-grid-btn:hover {
    border-color: var(--hamta-primary);
    color: var(--hamta-primary);
}

.hamta-grid-btn.active {
    background: var(--hamta-primary);
    border-color: var(--hamta-primary);
    color: #fff;
    box-shadow: 0 8px 16px rgba(22, 113, 255, .18);
}

.hamta-sidebar-search {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e4eaf5;
}

.hamta-sidebar-search-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--hamta-text);
}

.hamta-sidebar-search-label i {
    color: var(--hamta-primary);
    font-size: 15px;
}

.hamta-sidebar-search-box {
    width: 100%;
    max-width: none;
}

.hamta-sidebar-search-box.hamta-toolbar-search-box {
    gap: 6px;
    padding-inline: 10px 8px;
}

.hamta-sidebar-search-box.hamta-toolbar-search-box input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    font-size: 14px;
    border: none !important;
}

.hamta-toolbar-search-box {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #dce5f5;
    border-radius: 12px;
    background: #fff;
    padding: 0 10px;
    min-height: 40px;
}

.hamta-toolbar-search-box > i {
    color: #64748b;
    font-size: 15px;
}

.hamta-toolbar-search-box input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    min-height: 38px;
    font-size: 13px;
    color: var(--hamta-text);
}

.hamta-toolbar-search-submit {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 8px;
    background: #eff6ff;
    color: var(--hamta-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hamta-shop-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 32px;
    align-items: start;
}

@media (min-width: 1000px) {
    .hamta-shop > .hamta-shop-toolbar--merged {
        margin-bottom: 18px;
    }

    .hamta-shop-sidebar {
        align-self: start;
    }
}

.hamta-category-description-box {
    margin-bottom: 14px;
    border: 1px solid #d8e4fb;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    overflow: hidden;
    margin: 25px 0 15px;
}

.hamta-category-description-box.is-hidden {
    display: none;
}

.hamta-category-description-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #e7eefc;
}

.hamta-category-description-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--hamta-text);
}

.hamta-category-description-title i {
    color: var(--hamta-primary);
}

.hamta-category-description-toggle {
    border: 1px solid #d4def4;
    background: #fff;
    color: var(--hamta-primary);
    border-radius: 10px;
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.hamta-category-description-content {
    padding: 12px;
    color: #475569;
    line-height: 1.95;
    font-size: 13px;
}

.hamta-category-description-box.is-collapsed .hamta-category-description-content {
    max-height: 94px;
    overflow: hidden;
    position: relative;
}

.hamta-category-description-box.is-collapsed .hamta-category-description-content::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 42px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff);
}

.hamta-mobile-search-overlay {
    display: none;
}

.hpb-header-builder .hamta-sw-mobile-overlay {
    display: none;
}

@media (max-width: 999px) {
    .hpb-header-builder .hamta-sw-mobile-overlay {
        display: block;
    }
}

.hamta-mobile-filter-bar {
    display: none;
}

.hamta-mobile-sort-bar {
    display: none;
}

.hamta-mobile-filter-head {
    display: none;
}

.hamta-mobile-filter-backdrop {
    display: none;
}

/* Ø¬Ù„ÙˆÚ¯ÛŒØ±ÛŒ Ø§Ø² Ú©Ø´ÛŒØ¯Ù‡ Ø´Ø¯Ù† Ø³ØªÙˆÙ† Ù…Ø­ØªÙˆØ§ Ø¯Ø± Ú¯Ø±ÛŒØ¯â€ŒÙ‡Ø§ÛŒ Ø·ÙˆÙ„Ø§Ù†ÛŒ */
.hamta-products-wrapper {
    min-width: 0;
    width: 100%;
}

/* Sidebar */
.hamta-shop .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.hamta-shop-sidebar,
.hamta-shop-aside#hamta-shop-sidebar {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.hamta-filter-section {
    margin-bottom: 24px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e9eef7;
    background: #fbfdff;
}

.hamta-filter-section h4 {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--hamta-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hamta-filter-section h4 i {
    color: var(--hamta-primary);
    font-size: 15px;
}

.hamta-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hamta-category-list li {
    margin-bottom: 8px;
}

.hamta-category-list .hamta-sidebar-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--hamta-text);
    padding: 8px 4px 4px;
    margin-top: 10px;
}

.hamta-category-list .hamta-sidebar-group-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
    flex: 0 0 20px;
}

.hamta-category-list .category-link {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    color: var(--hamta-text);
    text-decoration: none;
    border-radius: var(--hamta-radius);
    transition: all 0.2s;
    font-size: 11px;
}

.hamta-category-list .category-link:hover,
.hamta-category-list .category-link.active {
    background: var(--hamta-primary);
    color: #fff;
}

.hamta-category-list .count {
    font-size: 12px;
    opacity: 0.7;
}

.hamta-orderby,
.hamta-search-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--hamta-border);
    border-radius: var(--hamta-radius);
    font-size: 14px;
}

/* Products Grid */
.hamta-products-grid {
    display: grid;
    gap: 24px;
}

.hamta-products-grid.columns-1 {
    grid-template-columns: 1fr;
}

.hamta-products-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.hamta-products-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.hamta-products-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.hamta-products-grid.loading {
    opacity: 0.5;
    pointer-events: none;
}

.hamta-products-grid .hamta-no-products-inline {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 16px;
}

/* گرید فروشگاه/جستجو: زیر ۱۰۰۰px ستون‌ها خودکار؛ ۲–۴ ستونه فقط با کلاس در عرض ≥۱۰۰۰px (JS) */
@media (max-width: 999px) and (min-width: 800px) {
    .hamta-products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 799px) and (min-width: 768px) {
    .hamta-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) and (orientation: landscape) {
    .hamta-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .hamta-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px;
    }
}

@media (max-width: 999px) {
    .hamta-grid-switcher--desktop {
        display: none !important;
    }

    .hamta-toolbar-view-desktop {
        display: none !important;
    }

    .hamta-toolbar-view {
        display: none;
    }
}

/* Product Card */
.hamta-product-card {
    background: linear-gradient(180deg, #ffffff 0%, #fefeff 100%);
    border-radius: var(--hamta-radius);
    overflow: hidden;
    border: 1px solid #e5edf8;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    transition: all 0.3s;
}

.hamta-product-card:hover {
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    border-color: #c8dbff;
    transform: translateY(-3px);
}

.hamta-product-card .product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.hamta-product-card .product-image img,
.hamta-product-card .product-image picture,
.hamta-listing-product-picture {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.hamta-product-card .product-image picture {
    display: block;
}

.hamta-product-card .product-image picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hamta-product-card:hover .product-image img,
.hamta-product-card:hover .product-image picture img {
    transform: scale(1.05);
}

.hamta-product-card .product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    background: var(--hamta-danger);
    color: #fff;
    font-size: 12px;
    border-radius: 20px;
    z-index: 2;
}

.hamta-product-card .product-badge.out-of-stock {
    background: #64748b;
    color: #fff;
}

.hamta-product-card .product-badge.limited-stock {
    background: #f97316;
    color: #fff;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.hamta-product-card .product-rating-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    color: #f59e0b;
    border: 1px solid #fde68a;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 6px 14px rgba(245, 158, 11, 0.2);
}

.hamta-product-card .product-rating-badge i {
    font-size: 12px;
}

.hamta-product-card .product-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    justify-content: flex-start;
}

.hamta-product-card .product-actions button,
.hamta-product-card .product-actions a {
    flex: 0 0 44px;
    min-height: 42px;
    padding: 0;
    border: none;
    border-radius: var(--hamta-radius);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.hamta-add-to-cart {
    background: var(--hamta-primary);
    color: #fff;
    box-shadow: 0 8px 16px rgba(22, 113, 255, .2);
}

.hamta-add-to-cart:hover {
    filter: brightness(0.95);
}

.hamta-add-to-cart.is-disabled,
.hamta-add-to-cart:disabled {
    background: #e2e8f0;
    color: #64748b;
    box-shadow: none;
    cursor: not-allowed;
}

.hamta-view-product {
    background: #f8fafc;
    border: 1px solid #dbe3ef !important;
    color: var(--hamta-text);
}

.hamta-view-product:hover {
    border-color: var(--hamta-primary) !important;
    color: var(--hamta-primary);
}

.hamta-product-card .product-info {
    padding: 16px;
    border-top: 1px solid #eef3fb;
}

.hamta-product-card .product-title {
    margin: 0 0 8px;
    font-size: 14px;
}

.hamta-product-card .product-title a {
    color: var(--hamta-text);
    text-decoration: none;
}

.hamta-product-card .product-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--hamta-primary);
}

.hamta-product-card .product-excerpt {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--hamta-text-light);
}

/* Pagination */
.hamta-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
    max-width: 100%;
}

.hamta-pagination .page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--hamta-border);
    border-radius: var(--hamta-radius);
    text-decoration: none;
    color: var(--hamta-text);
    transition: all 0.2s;
}

.hamta-pagination .page-number:hover,
.hamta-pagination .page-number.current {
    background: var(--hamta-primary);
    border-color: var(--hamta-primary);
    color: #fff;
}

/* ===== Cart ===== */
.hamta-cart.container {
    width: 100%;
    max-width: var(--hpb-site-container-max, 1400px);
    margin-inline: auto;
    padding: 20px;
    box-sizing: border-box;
}

.hamta-cart-title {
    margin: 0 0 24px;
    font-size: 24px;
}

.hamta-cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--hamta-light);
    border-radius: var(--hamta-radius);
}

.hamta-cart-empty i {
    font-size: 64px;
    color: var(--hamta-text-light);
    margin-bottom: 16px;
}

.hamta-cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 32px;
}

.hamta-cart-table {
    width: 100%;
    border-collapse: collapse;
}

.hamta-cart-table th,
.hamta-cart-table td {
    padding: 16px;
    text-align: right;
    border-bottom: 1px solid var(--hamta-border);
}

.hamta-cart-table th {
    background: var(--hamta-light);
    font-weight: 500;
}

.hamta-cart-table .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--hamta-radius);
}

.hamta-cart-table .product-name a {
    color: var(--hamta-text);
    text-decoration: none;
    font-weight: 500;
}

.hamta-quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--hamta-border);
    border-radius: var(--hamta-radius);
}

.hamta-qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
}

.hamta-qty-input {
    width: 50px;
    height: 36px;
    border: none;
    text-align: center;
    font-size: 14px;
}

.hamta-remove-item {
    background: transparent;
    border: none;
    color: var(--hamta-danger);
    cursor: pointer;
    font-size: 18px;
}

.hamta-cart-totals {
    background: var(--hamta-light);
    padding: 24px;
    border-radius: var(--hamta-radius);
}

.hamta-cart-totals h3 {
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hamta-border);
}

.hamta-cart-totals .totals-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--hamta-border);
}

.hamta-cart-totals .totals-row.total {
    font-size: 18px;
    font-weight: 600;
    border-bottom: none;
}

.hamta-cart-totals .totals-row.discount .value {
    color: var(--hamta-success);
}

.hamta-cart-totals .cart-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== Mini Cart ===== */
.hamta-mini-cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--hamta-text);
}

.hamta-cart-icon,
.hamta-cart-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.hamta-cart-count {
    position: absolute;
    top: -8px;
    inset-inline-end: -8px;
    right: auto;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--hamta-danger, #ff4757);
    color: #fff;
    font-size: 11px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
    z-index: 2;
}

.hamta-cart-count.has-items {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    body.hamta-mobile-filter-open,
    html:has(body.hamta-mobile-filter-open) {
        overflow: hidden !important;
        overflow-x: hidden !important;
        overscroll-behavior: none;
        max-width: 100vw;
    }

    .hamta-shop-content {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hamta-shop-sidebar,
    .hamta-shop-aside#hamta-shop-sidebar {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: min(100vw, 380px);
        max-width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        z-index: 10001;
        border-radius: 0;
        transform: translateX(100%);
        transition: transform .25s ease;
        box-shadow: -14px 0 35px rgba(2, 6, 23, 0.18);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fff !important;
        background-color: #fff !important;
        padding: 16px;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
    }

    .hamta-shop-sidebar.is-open,
    .hamta-shop-aside#hamta-shop-sidebar.is-open {
        transform: translateX(0);
    }

    .hamta-shop-sidebar .hamta-sidebar-stack,
    .hamta-shop-aside#hamta-shop-sidebar .hamta-sidebar-stack,
    .hamta-shop-sidebar .hamta-shop-panel,
    .hamta-shop-aside#hamta-shop-sidebar .hamta-shop-panel {
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .hamta-mobile-filter-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin: -16px -16px 14px;
        padding: 14px 16px;
        border-bottom: 1px solid var(--hamta-border);
        background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .hamta-mobile-filter-title {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-weight: 700;
        color: var(--hamta-text);
    }

    .hamta-mobile-filter-title i {
        color: var(--hamta-primary);
    }

    .hamta-mobile-filter-close {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        border: 1px solid var(--hamta-border);
        background: #fff;
        color: var(--hamta-text);
        font-size: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .hamta-mobile-filter-bar {
        display: block;
        margin-bottom: 8px;
    }

    .hamta-mobile-filter-toggle {
        min-height: 44px;
        font-size: 13px;
    }

    .hamta-toolbar-search-mobile {
        display: inline-flex;
    }

    .hamta-mobile-search-toggle {
        width: 36px;
        height: 36px;
        border-radius: 11px;
        border: 1px solid #d4def4;
        background: #fff;
        color: var(--hamta-primary);
        font-size: 17px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .hamta-shop-quick-search {
        display: none;
    }

    .hamta-mobile-search-overlay {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 10030;
        background: rgba(15, 23, 42, 0.48);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
    }

    .hamta-mobile-search-overlay.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .hamta-mobile-search-panel {
        width: min(92vw, 520px);
        margin: 14px auto auto;
        background: #fff;
        border-radius: 14px;
        border: 1px solid #e5edf8;
        box-shadow: 0 20px 50px rgba(2, 6, 23, .2);
        overflow: hidden;
    }

    .hamta-mobile-search-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 11px 12px;
        border-bottom: 1px solid #ecf1fa;
        font-weight: 700;
        color: var(--hamta-text);
    }

    .hamta-mobile-search-close {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        border: 1px solid var(--hamta-border);
        background: #fff;
        color: var(--hamta-text);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .hamta-mobile-search-input-wrap {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px;
    }

    .hamta-mobile-search-input-wrap > i {
        color: #7c90b2;
        font-size: 16px;
    }

    .hamta-mobile-search-input-wrap input {
        width: 100%;
        min-height: 42px;
        border: 1px solid #dce5f5;
        border-radius: 12px;
        padding: 0 12px;
        font-size: 14px;
    }

    .hamta-mobile-overlay-search-submit {
        width: 34px;
        height: 34px;
        border: none;
        border-radius: 10px;
        background: #eff6ff;
        color: var(--hamta-primary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
    }

.hamta-mobile-search-suggestions {
    padding: 0 12px 12px;
}

.hamta-mobile-search-block {
    margin-top: 8px;
    padding: 10px;
    border: 1px solid #e7eefb;
    border-radius: 12px;
    background: #f8fbff;
}

.hamta-mobile-search-block-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.hamta-mobile-search-block-title i {
    color: var(--hamta-primary);
}

.hamta-mobile-search-history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hamta-search-history-item {
    border: 1px solid #dde7f8;
    background: #fff;
    border-radius: 999px;
    min-height: 32px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #334155;
    font-size: 12px;
    cursor: pointer;
}

.hamta-search-history-item i {
    color: #64748b;
    font-size: 12px;
}

.hamta-mobile-search-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hamta-search-chip {
    border: 1px solid #dbe7ff;
    background: #fff;
    color: var(--hamta-primary);
    border-radius: 999px;
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.hamta-search-chip.is-all {
    background: #eff6ff;
}

.hamta-search-chip:hover,
.hamta-search-history-item:hover {
    border-color: var(--hamta-primary);
}

    body.hamta-mobile-search-open {
        overflow: hidden;
    }

    .hamta-mobile-filter-toggle {
        width: 100%;
        min-height: 42px;
        border-radius: 12px;
        border: 1px solid #dbe7ff;
        background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
        color: var(--hamta-primary);
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        cursor: pointer;
    }

    .hamta-mobile-filter-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 10000;
        background: #fff;
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease;
    }

    .hamta-shop-sidebar.is-open + .hamta-mobile-filter-backdrop,
    .hamta-shop-aside.is-open + .hamta-mobile-filter-backdrop,
    body.hamta-mobile-filter-open .hamta-mobile-filter-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .hamta-cart-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamta-shop,
    .hamta-wc-native-catalog-wrap,
    .hamta-shop-content,
    .hamta-products-wrapper,
    .hamta-products-grid {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .hamta-shop {
        padding-inline: 2px;
        margin-bottom: 20px;
    }

    .hamta-pagination {
        gap: 6px;
        padding-inline: 8px;
    }

    .hamta-pagination .page-number {
        width: 36px;
        height: 36px;
    }

    .hamta-shop-toolbar.hamta-shop-toolbar--merged {
        padding: 8px 10px;
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: visible;
    }

    .hamta-shop-toolbar:not(.hamta-shop-toolbar--merged) {
        padding: 10px;
        gap: 10px;
        flex-wrap: nowrap;
        overflow-x: visible;
        scrollbar-width: none;
    }

    .hamta-product-card {
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.07);
        border-color: #e2e8f0;
    }

    .hamta-product-card:hover {
        transform: none;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
    }

    .hamta-product-card .product-image {
        aspect-ratio: 1;
        background: #f8fafc;
    }

    .hamta-product-card .product-badge {
        top: 6px;
        right: 6px;
        padding: 2px 7px;
        font-size: 10px;
        border-radius: 999px;
    }

    .hamta-product-card .product-rating-badge {
        top: 6px;
        left: 6px;
        padding: 2px 7px;
        font-size: 10px;
    }

    .hamta-product-card .product-info {
        padding: 8px;
    }

    .hamta-product-card .product-title {
        font-size: 11px;
        line-height: 1.45;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: calc(1.45em * 2);
    }

    .hamta-product-card .product-title a {
        display: block;
    }

    .hamta-product-card .product-price {
        font-size: 12px;
        line-height: 1.35;
        font-weight: 700;
    }

    .hamta-product-card .product-actions {
        margin-top: 8px;
        gap: 4px;
    }

    .hamta-product-card .product-actions button,
    .hamta-product-card .product-actions a {
        min-height: 36px;
        flex: 1 1 auto;
        max-width: none;
        border-radius: 8px;
    }

    .hamta-product-card .hamta-view-product {
        flex: 0 0 34px;
    }

    .hamta-active-filters {
        padding: 8px 10px;
        margin-bottom: 10px;
    }

    .hamta-cart-table th:nth-child(3),
    .hamta-cart-table td:nth-child(3) {
        display: none;
    }
}

@media (max-width: 480px) {
    .hamta-products-grid {
        gap: 8px;
    }

    .hamta-product-card .product-info {
        padding: 8px;
    }

    .hamta-product-card .product-actions {
        gap: 4px;
    }

    .hamta-product-card .product-actions button,
    .hamta-product-card .product-actions a {
        min-height: 36px;
        flex-basis: auto;
        font-size: 14px;
    }

    .hamta-grid-btn {
        width: 32px;
        height: 32px;
    }
}

/* ===== Layout - App Container ===== */
.hamta-app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: inherit;
    direction: rtl;
}

.hamta-main {
    flex: 1;
    display: flex;
}

.hamta-content {
    flex: 1;
    padding: 24px;
    background: #fff;
}

.hamta-content-inner {
    max-width: var(--hpb-site-container-max, 1400px);
    margin: 0 auto;
}

/* ===== Header ===== */
.hamta-header {
    background: #fff;
    border-bottom: 1px solid var(--hamta-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.hamta-header-container {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px var(--hpb-site-container-padding-inline, 24px);
    max-width: var(--hpb-site-container-max, 1400px);
    margin: 0 auto;
}

.hamta-header-logo img {
    height: 40px;
    width: auto;
}

.hamta-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--hamta-primary);
}

.hamta-header-search {
    flex: 1;
    max-width: 500px;
}

.hamta-search-form {
    display: flex;
    border: 1px solid var(--hamta-border);
    border-radius: var(--hamta-radius);
    overflow: hidden;
}

.hamta-search-form input {
    flex: 1;
    padding: 10px 16px;
    border: none !important;
    font-size: 14px;
}

.hamta-search-btn {
    padding: 10px 16px;
    border: none;
    background: var(--hamta-primary);
    color: #fff;
    cursor: pointer;
}

.hamta-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hamta-header-cart {
    position: relative;
    font-size: 24px;
    color: var(--hamta-text);
    text-decoration: none;
}

.hamta-cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    background: var(--hamta-danger);
    color: #fff;
    font-size: 11px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamta-header-user {
    position: relative;
}

.hamta-user-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--hamta-border);
    border-radius: var(--hamta-radius);
    background: #fff;
    cursor: pointer;
}

.hamta-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.hamta-user-name {
    font-size: 14px;
}

.hamta-user-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid var(--hamta-border);
    border-radius: var(--hamta-radius);
    box-shadow: var(--hamta-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s;
    z-index: 100;
}

.hamta-user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.hamta-user-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--hamta-text);
    text-decoration: none;
    transition: background 0.2s;
}

.hamta-user-dropdown a:hover {
    background: var(--hamta-light);
}

.hamta-user-dropdown hr {
    margin: 4px 0;
    border: none;
    border-top: 1px solid var(--hamta-border);
}

.hamta-user-dropdown .text-danger {
    color: var(--hamta-danger);
}

.hamta-header-auth {
    display: flex;
    gap: 8px;
}

.hamta-btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.hamta-mobile-toggle {
    display: none;
    padding: 8px;
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
}

.hamta-header-nav {
    border-top: 1px solid var(--hamta-border);
    background: var(--hamta-light);
}

.hamta-header-menu {
    display: flex;
    justify-content: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 12px 0;
}

.hamta-header-menu a {
    color: var(--hamta-text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.hamta-header-menu a:hover {
    color: var(--hamta-primary);
}

/* ===== Sidebar ===== */
.hamta-sidebar {
    width: 280px;
    background: var(--hamta-light);
    border-left: 1px solid var(--hamta-border);
    padding: 24px;
    overflow-y: auto;
}

.hamta-sidebar-close {
    display: none;
}

.hamta-sidebar-menu {
    margin-bottom: 24px;
}

/* Menu */
.hamta-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hamta-menu-item {
    margin-bottom: 4px;
}

.hamta-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--hamta-text);
    text-decoration: none;
    border-radius: var(--hamta-radius);
    transition: all 0.2s;
}

.hamta-menu-link:hover {
    background: rgba(0,0,0,0.05);
}

.hamta-menu-item.active .hamta-menu-link {
    background: var(--hamta-primary);
    color: #fff;
}

.hamta-menu-icon {
    width: 24px;
    text-align: center;
    font-size: 18px;
}

.hamta-menu-title {
    flex: 1;
    font-size: 14px;
}

.hamta-menu-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--hamta-danger);
    color: #fff;
    font-size: 11px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamta-menu-item.active .hamta-menu-badge {
    background: rgba(255,255,255,0.3);
}

.hamta-menu-arrow {
    font-size: 12px;
    transition: transform 0.2s;
}

.hamta-menu-item.has-children.open .hamta-menu-arrow {
    transform: rotate(180deg);
}

.hamta-submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 36px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.hamta-menu-item.has-children.open .hamta-submenu {
    max-height: 200px;
}

.hamta-submenu-link {
    display: block;
    padding: 8px 16px;
    color: var(--hamta-text-light);
    text-decoration: none;
    font-size: 13px;
}

.hamta-submenu-link:hover {
    color: var(--hamta-primary);
}

.hamta-menu-item-danger .hamta-menu-link {
    color: var(--hamta-danger);
}

/* Sidebar Widgets */
.hamta-sidebar-widget {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--hamta-border);
}

.hamta-sidebar-widget:last-child {
    border-bottom: none;
}

.hamta-widget-title {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 600;
}

/* User Info Widget */
.hamta-widget-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamta-widget-user .user-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.hamta-widget-user .user-info {
    flex: 1;
}

.hamta-widget-user .user-name {
    margin: 0;
    font-size: 14px;
}

.hamta-widget-user .user-email {
    font-size: 12px;
    color: var(--hamta-text-light);
}

.hamta-widget-user .user-edit-btn {
    padding: 8px;
    color: var(--hamta-text-light);
    text-decoration: none;
}

/* Login Prompt Widget */
.hamta-widget-login {
    text-align: center;
}

.hamta-widget-login p {
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--hamta-text-light);
}

.hamta-widget-login .hamta-btn {
    margin-bottom: 8px;
}

/* Quick Links Widget */
.hamta-quick-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hamta-quick-links li {
    margin-bottom: 8px;
}

.hamta-quick-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hamta-text);
    text-decoration: none;
    font-size: 14px;
}

.hamta-quick-links a:hover {
    color: var(--hamta-primary);
}

/* Recent Orders Widget */
.hamta-recent-orders {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hamta-recent-orders li {
    margin-bottom: 8px;
}

.hamta-recent-orders a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: #fff;
    border-radius: var(--hamta-radius);
    text-decoration: none;
    font-size: 13px;
}

.hamta-recent-orders .order-number {
    color: var(--hamta-text);
}

.hamta-recent-orders .order-status {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.hamta-recent-orders .status-pending { background: #fff7ed; color: #c2410c; }
.hamta-recent-orders .status-processing { background: #e0f2fe; color: #0369a1; }
.hamta-recent-orders .status-on-hold { background: #f3e8ff; color: #7e22ce; }
.hamta-recent-orders .status-completed { background: #dcfce7; color: #166534; }
.hamta-recent-orders .status-cancelled { background: #ffe4e6; color: #be123c; }
.hamta-recent-orders .status-failed { background: #fee2e2; color: #b91c1c; }
.hamta-recent-orders .status-refunded { background: #ede9fe; color: #6d28d9; }
.hamta-recent-orders .status-checkout-draft,
.hamta-recent-orders .status-draft { background: #f1f5f9; color: #475569; }
.hamta-recent-orders .status-awaiting { background: #eef2ff; color: #4338ca; }

.hamta-recent-orders .order-total {
    margin-right: auto;
    color: var(--hamta-primary);
}

.hamta-widget-empty {
    text-align: center;
    color: var(--hamta-text-light);
    font-size: 14px;
}

/* ===== Footer ===== */
.hamta-footer {
    background: var(--hamta-dark);
    color: #fff;
    padding: 48px 0 0;
}

.hamta-footer-container {
    max-width: var(--hpb-site-container-max, 1400px);
    margin: 0 auto;
    padding: 0 var(--hpb-site-container-padding-inline, 24px);
}

.hamta-footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hamta-footer-title {
    margin: 0 0 16px;
    font-size: 16px;
}

.hamta-footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.hamta-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.hamta-footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: background 0.2s;
}

.hamta-footer-social a:hover {
    background: var(--hamta-primary);
}

.hamta-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hamta-footer-links li {
    margin-bottom: 10px;
}

.hamta-footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.hamta-footer-links a:hover {
    color: #fff;
}

.hamta-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hamta-footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.hamta-footer-contact i {
    width: 20px;
}

.hamta-footer-badges {
    display: flex;
    gap: 12px;
}

.hamta-trust-badge img {
    height: 80px;
    width: auto;
}

.hamta-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.hamta-footer-bottom-links {
    display: flex;
    gap: 24px;
}

.hamta-footer-bottom-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

.hamta-footer-bottom-links a:hover {
    color: #fff;
}

/* Sidebar Overlay */
.hamta-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 199;
}

/* ===== Layout Responsive ===== */
@media (max-width: 1024px) {
    .hamta-sidebar {
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        z-index: 200;
        transition: right 0.3s;
    }

    .hamta-sidebar.show {
        right: 0;
    }

    .hamta-sidebar-close {
        display: block;
        position: absolute;
        top: 16px;
        left: 16px;
        padding: 8px;
        border: none;
        background: transparent;
        font-size: 20px;
        cursor: pointer;
    }

    .hamta-sidebar-overlay {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    body.sidebar-open .hamta-sidebar-overlay {
        opacity: 1;
        visibility: visible;
    }

    .hamta-mobile-toggle {
        display: block;
    }

    .hamta-header-search {
        display: none;
    }

    .hamta-header-nav {
        display: none;
    }

    .hamta-footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamta-header-container {
        padding: 12px 16px;
    }

    .hamta-user-name {
        display: none;
    }

    .hamta-footer-content {
        grid-template-columns: 1fr;
    }

    .hamta-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ===== Single Product ===== */
.hamta-single-product {
    /* تایپوگرافی پیش‌فرض تک‌محصول — هم‌تراز با single-article */
    --sp-font-h1: 22px;
    --sp-font-h2: 18px;
    --sp-font-h3: 16px;
    --sp-font-h4: 14px;
    --sp-font-h5: 12px;
    --sp-font-h6: 10px;
    --sp-font-body: 14px;
    max-width: var(--hpb-site-container-max, 1400px);
    margin: 0 auto;
    padding: 20px var(--hpb-site-container-padding-inline, 24px);
}

/* ===== Product page — minimal ===== */
.hamta-product-page {
    --sf-accent: #2563eb;
    --sf-accent-hover: #1d4ed8;
    --sf-accent-soft: rgba(37, 99, 235, 0.1);
    --sf-ink: #0f172a;
    --sf-muted: #64748b;
    --sf-line: #e8ecf1;
    --sf-surface: #fff;
    --sf-surface-alt: #f6f8fb;
    --sf-radius: 14px;
    --sf-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 30px rgba(15, 23, 42, 0.06);
}

.hamta-single-product--storefront.hamta-product-page {
    --sp-font-h1: 22px;
    --sp-font-h2: 17px;
    --sp-font-body: 14px;
    font-size: 14px;
    color: var(--sf-ink);
    padding: 16px var(--hpb-site-container-padding-inline, 20px) 48px;
}

.hamta-product-page .hamta-product-main {
    display: grid;
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
    gap: 32px 40px;
    margin-bottom: 40px;
    align-items: stretch;
}

/* گالری — پر کردن ستون */
.hamta-product-page .hamta-product-gallery {
    position: relative;
    top: auto;
    max-width: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.hamta-product-page .hamta-gallery {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.hamta-product-page .product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 12px;
    color: var(--sf-muted);
}

.hamta-product-page .product-breadcrumb .breadcrumb-home,
.hamta-product-page .product-breadcrumb .breadcrumb-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--sf-muted);
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}

.hamta-product-page .product-breadcrumb .breadcrumb-home:hover,
.hamta-product-page .product-breadcrumb .breadcrumb-icon-link:hover {
    color: var(--sf-accent);
    background: var(--sf-accent-soft);
}

.hamta-product-page .product-breadcrumb .breadcrumb-home i,
.hamta-product-page .product-breadcrumb .breadcrumb-icon-link i {
    font-size: 13px;
    line-height: 1;
}

.hamta-product-page .product-breadcrumb a:not(.breadcrumb-home):not(.breadcrumb-icon-link) {
    color: var(--sf-muted);
    text-decoration: none;
    transition: color 0.15s;
    flex-shrink: 0;
}

.hamta-product-page .product-breadcrumb a:not(.breadcrumb-home):not(.breadcrumb-icon-link):hover {
    color: var(--sf-accent);
}

.hamta-product-page .product-breadcrumb .breadcrumb-sep {
    color: #cbd5e1;
    font-size: 9px;
    flex-shrink: 0;
}

.hamta-product-page .product-breadcrumb .breadcrumb-ellipsis {
    color: #94a3b8;
    letter-spacing: 1px;
    flex-shrink: 0;
    user-select: none;
}

.hamta-product-page .product-breadcrumb .current {
    color: var(--sf-text);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* Gallery frame — پر کردن فضای ستون */
.hamta-product-page .gallery-stage {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.hamta-product-page .gallery-main,
.hamta-product-page .main-image-container {
    background: var(--sf-surface);
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius);
    box-shadow: var(--sf-shadow);
    flex: 1 1 auto;
    width: 100%;
    min-height: 300px;
    max-height: none;
    aspect-ratio: auto;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hamta-product-page .gallery-main img.main-image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: none;
    object-fit: contain;
    object-position: center;
    cursor: default;
}

.hamta-product-page .hamta-zoom-lens,
.hamta-product-page .hamta-zoom-pane {
    display: none !important;
}

.hamta-product-page .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    font-size: 14px;
    background: var(--sf-surface);
    border: 1px solid var(--sf-line);
    box-shadow: var(--sf-shadow);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.hamta-product-page .gallery-nav:hover {
    background: var(--sf-accent);
    border-color: var(--sf-accent);
    color: #fff;
}

.hamta-product-page .gallery-nav.prev { right: 14px; }
.hamta-product-page .gallery-nav.next { left: 14px; }

.hamta-product-page .gallery-thumbnails {
    gap: 10px;
    padding: 2px 0;
}

.hamta-product-page .thumb-item {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 2px solid transparent;
    background: var(--sf-surface-alt);
    transition: border-color 0.15s, transform 0.15s;
}

.hamta-product-page .thumb-item.active,
.hamta-product-page .thumb-item:hover {
    border-color: var(--sf-accent);
    transform: translateY(-1px);
}

/* Summary — ستون پهن‌تر */
.hamta-product-page .hamta-product-info {
    position: sticky;
    top: 24px;
    padding: 4px 0;
    min-width: 0;
}

.hamta-product-page .product-category {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.hamta-product-page .product-category a {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--sf-accent);
    background: var(--sf-accent-soft);
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.15s;
}

.hamta-product-page .product-category a:hover {
    background: rgba(37, 99, 235, 0.16);
}

.hamta-product-page .hamta-product-head .product-title {
    font-size: var(--sp-font-h1);
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 14px;
    color: var(--sf-ink);
    letter-spacing: -0.01em;
}

.hamta-product-page .product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin: 0;
    padding: 0;
    border: none;
    font-size: 13px;
    color: var(--sf-muted);
}

.hamta-product-page .product-meta .product-sku {
    margin: 0;
    padding: 4px 10px;
    background: var(--sf-surface-alt);
    border-radius: 6px;
    font-size: 12px;
}

.hamta-product-page .product-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.hamta-product-page .product-rating .stars i {
    color: #f59e0b;
    font-size: 13px;
}

.hamta-product-page .short-description {
    margin: 18px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--sf-line);
    font-size: 14px;
    line-height: 1.75;
    color: var(--sf-muted);
    overflow: visible;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
}

.hamta-product-page .short-description ul {
    margin: 0;
    padding-right: 18px;
}

/* Trust — تیکر افقی دائم (همه عرض‌ها) */
.hamta-product-page .hamta-product-summary-trust {
    margin: 16px 0 0;
    overflow: hidden;
}

.hamta-product-page .hamta-product-summary-trust .product-features.product-features--ticker {
    display: block;
    width: 100%;
    overflow: hidden;
    border: none;
    box-shadow: none;
    background: transparent;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.hamta-product-page .product-features--ticker .product-features__viewport {
    display: block;
    width: 100%;
    overflow: hidden;
}

.hamta-product-page .product-features--ticker .product-features__track {
    display: flex;
    width: max-content;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    direction: ltr;
    will-change: transform;
    animation: hamta-features-ticker 22s linear infinite;
}

.hamta-product-page .product-features--ticker .product-features__group {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 18px;
    padding-inline-end: 18px;
    flex-shrink: 0;
}

.hamta-product-page .product-features--ticker .product-features__group[aria-hidden="true"] {
    display: flex;
}

.hamta-product-page .hamta-product-summary-trust .feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: right;
    direction: rtl;
    gap: 10px;
    padding: 6px 4px;
    background: transparent;
    border: none;
    border-radius: 0;
    min-width: 0;
    flex: 0 0 auto;
    white-space: nowrap;
}

.hamta-product-page .hamta-product-summary-trust .feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 15px;
    line-height: 1;
    border-radius: 8px;
    background: color-mix(in srgb, var(--hamta-primary, #00a984) 12%, #fff);
    color: var(--hamta-primary, #00a984);
    flex-shrink: 0;
    margin: 0;
}

.hamta-product-page .hamta-product-summary-trust .feature-icon i {
    display: block;
    line-height: 1;
}

.hamta-product-page .hamta-product-summary-trust .feature-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    text-align: right;
}

.hamta-product-page .hamta-product-summary-trust .feature-text strong,
.hamta-product-page .hamta-product-summary-trust .feature-text .feature-title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-align: right;
    margin: 0;
    color: var(--hamta-text, #212121);
}

.hamta-product-page .hamta-product-summary-trust .feature-text span,
.hamta-product-page .hamta-product-summary-trust .feature-text .feature-desc {
    display: block;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--hamta-text-light, #707180);
    text-align: right;
    white-space: nowrap;
}

.hamta-product-page .product-features--ticker:hover .product-features__track,
.hamta-product-page .product-features--ticker:focus-within .product-features__track {
    animation-play-state: paused;
}

/* کاتالوگ — CTA خرید از همتالونز */
.hamta-catalog-buy-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.hamta-catalog-buy-cta__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--hamta-text, #212121);
}

.hamta-catalog-buy-cta__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hamta-catalog-buy-cta__buy,
.hamta-catalog-buy-cta__contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    box-sizing: border-box;
}

.hamta-catalog-buy-cta__buy {
    background: var(--hamta-primary, #00a984);
    border: 2px solid var(--hamta-primary, #00a984);
    color: #fff;
}

.hamta-catalog-buy-cta__buy:hover {
    background: var(--hamta-primary-dark, #039172);
    border-color: var(--hamta-primary-dark, #039172);
    color: #fff;
}

.hamta-catalog-buy-cta__contact {
    background: #fff;
    border: 2px solid var(--hamta-primary, #00a984);
    color: var(--hamta-primary, #00a984);
}

.hamta-catalog-buy-cta__contact:hover {
    background: color-mix(in srgb, var(--hamta-primary, #00a984) 8%, #fff);
    color: var(--hamta-primary-dark, #039172);
    border-color: var(--hamta-primary-dark, #039172);
}

@media (max-width: 520px) {
    .hamta-catalog-buy-cta__actions {
        grid-template-columns: 1fr;
    }
}

/* Buy box */
.hamta-product-page .hamta-product-buybox {
    margin-top: 20px;
    padding: 20px;
    background: var(--sf-surface);
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius);
    box-shadow: var(--sf-shadow);
}

.hamta-product-page .product-price-box {
    margin: 0 0 16px;
    padding: 0 0 16px;
    background: transparent;
    border-bottom: 1px solid var(--sf-line);
    border-radius: 0;
}

.hamta-product-page .product-price-box .price-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--sf-muted);
    margin-bottom: 6px;
}

.hamta-product-page .product-price-box .price-row {
    gap: 10px;
}

.hamta-product-page .product-price-box .current-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--sf-accent);
    letter-spacing: -0.02em;
}

.hamta-product-page .product-price-box .original-price {
    font-size: 15px;
    color: #94a3b8;
}

.hamta-product-page .product-price-box .discount-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fef2f2;
    color: #dc2626;
}

.hamta-product-page .hamta-promo-banner {
    margin-bottom: 14px;
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 10px;
    background: var(--sf-accent-soft);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.hamta-product-page .product-stock-status {
    margin-bottom: 14px;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 999px;
}

.hamta-product-page .hamta-add-to-cart-form {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    margin: 0;
}

.hamta-product-page .quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--sf-line);
    border-radius: 10px;
    overflow: hidden;
    background: var(--sf-surface-alt);
}

.hamta-product-page .qty-btn {
    width: 42px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--sf-ink);
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s;
}

.hamta-product-page .qty-btn:hover {
    background: var(--sf-accent-soft);
    color: var(--sf-accent);
}

.hamta-product-page .qty-input {
    width: 44px;
    height: 44px;
    border: none;
    border-inline: 1px solid var(--sf-line);
    background: var(--sf-surface);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.hamta-product-page .hamta-add-to-cart-btn {
    width: 100%;
    min-height: 44px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    background: var(--sf-accent);
    border-color: var(--sf-accent);
    color: #fff;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.hamta-product-page .hamta-add-to-cart-btn:hover:not(:disabled) {
    background: var(--sf-accent-hover);
    border-color: var(--sf-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.22);
}

.hamta-product-page .hamta-out-of-stock-notice {
    font-size: 14px;
}

/* Secondary actions — زیر trust */
.hamta-product-page .extra-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 12px 0 0;
}

.hamta-product-page .action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 8px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--sf-line, #e2e8f0);
    border-radius: 10px;
    background: var(--sf-surface, #fff);
    color: var(--sf-muted, #64748b);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s;
}

.hamta-product-page .action-btn i {
    font-size: 15px;
}

.hamta-product-page .action-btn:hover {
    border-color: var(--sf-accent, var(--hamta-primary, #2563eb));
    color: var(--sf-accent, var(--hamta-primary, #2563eb));
    background: var(--sf-accent-soft, rgba(37, 99, 235, 0.08));
}

.hamta-product-page .action-btn.is-active {
    border-color: var(--hamta-primary, #2563eb);
    color: var(--hamta-primary, #2563eb);
    background: rgba(37, 99, 235, 0.1);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.15);
}

.hamta-product-page .action-btn--wishlist.is-active i {
    color: #e11d48;
}

.hamta-compare-bar {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

.hamta-compare-bar__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.hamta-compare-bar__list {
    display: flex;
    gap: 10px;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
}

.hamta-compare-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 220px;
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}

.hamta-compare-bar__item img,
.hamta-compare-bar__ph {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    background: #334155;
    flex-shrink: 0;
}

.hamta-compare-bar__item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hamta-compare-bar__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.hamta-compare-bar__open,
.hamta-compare-bar__clear {
    border: none;
    border-radius: 10px;
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.hamta-compare-bar__open {
    background: var(--hamta-primary, #2563eb);
    color: #fff;
}

.hamta-compare-bar__clear {
    background: transparent;
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hamta-compare-modal[hidden] {
    display: none !important;
}

.hamta-compare-modal {
    position: fixed;
    inset: 0;
    z-index: 10060;
}

.hamta-compare-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.55);
}

.hamta-compare-modal__dialog {
    position: relative;
    width: min(960px, calc(100% - 24px));
    max-height: min(86vh, 720px);
    margin: 7vh auto 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(2, 6, 23, 0.28);
}

.hamta-compare-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.hamta-compare-modal__close {
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}

.hamta-compare-modal__body {
    padding: 16px;
    overflow: auto;
}

.hamta-compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.hamta-compare-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    background: #f8fafc;
}

.hamta-compare-card__media {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: #e2e8f0;
    margin-bottom: 10px;
}

.hamta-compare-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hamta-compare-card h4 {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.5;
}

.hamta-compare-card__price {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--hamta-primary, #2563eb);
}

.hamta-compare-card__link,
.hamta-compare-card__remove {
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 8px;
    min-height: 34px;
    line-height: 34px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.hamta-compare-card__link {
    background: var(--hamta-primary, #2563eb);
    color: #fff;
    margin-bottom: 6px;
}

.hamta-compare-card__remove {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
}

body.hamta-compare-open {
    overflow: hidden;
}

/* Tabs — segmented */
.hamta-product-page .hamta-product-tabs {
    margin-bottom: 32px;
}

.hamta-product-page .hamta-product-tabs .tabs-header {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px;
    margin-bottom: 24px;
    background: var(--sf-surface-alt);
    border: 1px solid var(--sf-line);
    border-radius: 12px;
    border-bottom: 1px solid var(--sf-line);
}

.hamta-product-page .hamta-product-tabs .tab-btn {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--sf-muted);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.hamta-product-page .hamta-product-tabs .tab-btn.active {
    color: var(--sf-ink);
    background: var(--sf-surface);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.hamta-product-page .hamta-product-tabs .tab-btn i {
    font-size: 14px;
    opacity: 0.75;
}

.hamta-product-page .hamta-product-tabs .tabs-content {
    padding: 24px;
    background: var(--sf-surface);
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius);
}

.hamta-product-page .hamta-product-tabs .product-description,
.hamta-product-page .hamta-product-tabs .attributes-table {
    font-size: 14px;
    line-height: 1.8;
    color: var(--sf-muted);
}

.hamta-product-page .hamta-product-tabs .attributes-table th {
    color: var(--sf-ink);
    font-weight: 600;
    width: 35%;
}

/* Related */
.hamta-product-page .hamta-related-products .section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--sf-ink);
    margin-bottom: 0;
}

.hamta-product-page .related-products-carousel__slide .hamta-product-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

@media (max-width: 992px) {
    .hamta-product-page .hamta-product-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hamta-product-page .hamta-product-info {
        position: static;
    }

    .hamta-product-page .hamta-product-gallery {
        max-width: none;
    }

    .hamta-product-page .gallery-main,
    .hamta-product-page .main-image-container {
        min-height: 200px;
        margin-bottom: 6px;
        aspect-ratio: 1 / 1;
        max-height: 42vh;
    }

    .hamta-product-page .gallery-main img.main-image {
        min-height: 0;
        max-height: 100%;
    }

    .hamta-product-page .gallery-thumbnails {
        gap: 6px;
        margin: 0 0 6px;
    }

    .hamta-product-page .thumb-item {
        width: 52px;
        height: 52px;
    }

    .hamta-product-page .product-breadcrumb,
    .hamta-product-page .hamta-breadcrumb,
    .hamta-single-product .product-breadcrumb {
        margin-bottom: 6px !important;
        font-size: 11px !important;
        gap: 4px !important;
    }

    .hamta-product-page .hamta-product-head .product-title,
    .hamta-product-page .product-title {
        font-size: 1.05rem !important;
        line-height: 1.35 !important;
        margin: 0 0 8px !important;
    }

    .hamta-product-page .hamta-product-buybox {
        margin-top: 8px !important;
        padding: 10px 12px !important;
        border-radius: 12px !important;
        box-shadow: none !important;
    }

    .hamta-product-page .product-price-box {
        margin: 0 0 8px !important;
        padding: 0 0 8px !important;
    }

    .hamta-product-page .product-price-box .price-label {
        margin-bottom: 2px !important;
        font-size: 11px !important;
    }

    .hamta-product-page .product-price-box .current-price {
        font-size: 1.25rem !important;
    }

    /* موجودی فقط روی تصویر */
    .hamta-product-page .hamta-product-buybox .product-stock-status {
        display: none !important;
    }

    .hamta-product-page .gallery-stock-badge {
        display: inline-flex !important;
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 4;
        align-items: center;
        max-width: calc(100% - 20px);
        padding: 3px 8px;
        border-radius: 999px;
        font-size: 10px;
        font-weight: 700;
        line-height: 1.2;
        background: rgba(22, 163, 74, 0.92);
        color: #fff;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
        pointer-events: none;
    }

    .hamta-product-page .gallery-stock-badge.out-of-stock,
    .hamta-product-page .gallery-stock-badge.outofstock {
        background: rgba(220, 38, 38, 0.92);
    }

    .hamta-product-page .gallery-main {
        position: relative;
    }

    /* تعداد کنار افزودن به سبد + فاصله از منوی شناور چپ */
    .hamta-product-page .hamta-add-to-cart-form,
    .hamta-product-page .add-to-cart-section {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) !important;
        align-items: stretch !important;
        gap: 8px !important;
        margin: 0 !important;
        flex-direction: unset !important;
        padding-inline-end: 58px !important; /* فضای دکمه منوی سبز (چپ صفحه) */
        box-sizing: border-box !important;
    }

    .hamta-product-page .quantity-selector {
        flex-shrink: 0;
        height: 42px;
    }

    .hamta-product-page .qty-btn {
        width: 34px;
        height: 42px;
    }

    .hamta-product-page .qty-input {
        width: 36px;
        height: 42px;
        font-size: 13px;
    }

    .hamta-product-page .hamta-add-to-cart-btn {
        min-height: 42px !important;
        height: 42px;
        padding: 0 10px !important;
        font-size: 13px !important;
        white-space: nowrap;
    }

    .hamta-product-page .hamta-add-to-cart-btn span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hamta-product-page .hamta-product-main {
        gap: 10px !important;
        margin-bottom: 12px !important;
    }

    .hamta-product-page .short-description,
    .hamta-product-page .product-excerpt {
        margin: 6px 0 0 !important;
        padding-top: 6px !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    .hamta-product-page .hamta-product-summary-trust {
        margin-top: 10px !important;
        overflow: hidden;
    }

    .hamta-product-page .hamta-product-summary-trust .product-features.product-features--ticker {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        width: 100%;
        overflow: hidden;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    }

    .hamta-product-page .product-features--ticker .product-features__viewport {
        display: block;
        width: 100%;
        overflow: hidden;
        background: transparent;
    }

    .hamta-product-page .product-features--ticker .product-features__track {
        display: flex;
        width: max-content;
        flex-direction: row;
        align-items: stretch;
        gap: 0;
        direction: ltr;
        will-change: transform;
        animation: hamta-features-ticker 20s linear infinite;
    }

    .hamta-product-page .product-features--ticker .product-features__group {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 14px;
        padding-inline-end: 14px;
        flex-shrink: 0;
    }

    .hamta-product-page .product-features--ticker .product-features__group[aria-hidden="true"] {
        display: flex;
    }

    .hamta-product-page .hamta-product-summary-trust .feature-item {
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
        max-width: none;
        padding: 4px 2px;
        gap: 8px;
        flex-direction: row;
        text-align: right;
        direction: rtl;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .hamta-product-page .hamta-product-summary-trust .feature-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
        margin: 0;
        border-radius: 0;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: var(--sf-accent);
    }

    .hamta-product-page .hamta-product-summary-trust .feature-text {
        align-items: flex-start;
        text-align: right;
        width: auto;
    }

    .hamta-product-page .hamta-product-summary-trust .feature-text strong,
    .hamta-product-page .hamta-product-summary-trust .feature-text .feature-title {
        font-size: 11px;
        text-align: right;
    }

    .hamta-product-page .hamta-product-summary-trust .feature-text span,
    .hamta-product-page .hamta-product-summary-trust .feature-text .feature-desc {
        font-size: 10px;
        text-align: right;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .hamta-product-page .product-features--ticker:hover .product-features__track,
    .hamta-product-page .product-features--ticker:focus-within .product-features__track {
        animation-play-state: paused;
    }

    .hamta-product-page .extra-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin-top: 8px !important;
    }

    .hamta-product-page .action-btn {
        width: 100%;
        min-width: 0;
        padding: 8px 4px;
        font-size: 11px;
        gap: 4px;
        white-space: nowrap;
    }

    .hamta-product-page .action-btn i {
        font-size: 14px;
        flex-shrink: 0;
    }

    .hamta-product-page .action-btn__label {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hamta-single-product {
        padding: 8px 10px 16px !important;
    }
}

@media (max-width: 992px) {
    /* جلوگیری از override قبلی که تعداد را زیر دکمه می‌برد */
    .hamta-product-page .hamta-add-to-cart-form {
        grid-template-columns: auto minmax(0, 1fr) !important;
    }
}

@keyframes hamta-features-ticker {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hamta-product-page .product-features--ticker .product-features__track {
        animation: none !important;
        transform: none !important;
    }
}

/* desktop: بج گالری مخفی — وضعیت موجودی در بای‌باکس می‌ماند */
@media (min-width: 993px) {
    .hamta-product-page .gallery-stock-badge {
        display: none !important;
    }
}

/* محصولات دیده‌شده — حذف کامل از فرانت */
#hpb-rv-root,
.hpb-rv,
.hamta-recently-viewed {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 576px) {
    .hamta-product-page .hamta-add-to-cart-form,
    .hamta-add-to-cart-form {
        display: grid !important;
        flex-direction: unset !important;
        grid-template-columns: auto minmax(0, 1fr) !important;
        padding-inline-end: 58px !important;
    }
}

@media (max-width: 576px) {
    .hamta-product-page .hamta-product-tabs .tabs-header {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .hamta-product-page .hamta-product-tabs .tab-btn {
        flex-shrink: 0;
    }
}

.hamta-shop-breadcrumb-wrap,
.hamta-search-results-breadcrumb-wrap {
    margin-bottom: 12px;
}

/* کاروسل دسته‌بندی — استایل در modules/shop/assets/shop-category-carousel.css */

/* Breadcrumb */
.hamta-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--hamta-text-light);
}

.hamta-breadcrumb a {
    color: var(--hamta-text-light);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
}

.hamta-breadcrumb a:hover {
    color: var(--hamta-primary);
}

.hamta-breadcrumb .separator {
    opacity: 0.5;
}

.hamta-breadcrumb .current {
    color: var(--hamta-text);
    font-weight: 500;
}

/* Product Main */
.hamta-product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Gallery */
.hamta-product-gallery {
    position: sticky;
    top: 20px;
    align-self: start;
    overflow: visible;
}

.gallery-stage {
    position: relative;
    margin-bottom: 12px;
}

.gallery-main {
    position: relative;
    border-radius: var(--hamta-radius);
    overflow: hidden;
    background: var(--hamta-light);
}

.gallery-main img {
    width: 100%;
    height: auto;
    display: block;
    cursor: crosshair;
    transition: transform 0.15s ease-out;
}

.gallery-main.is-zoom-active img {
    cursor: crosshair;
}

.gallery-main img.is-inner-zoom {
    transform: scale(2.2);
    transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
}

.hamta-zoom-lens {
    position: absolute;
    border: 2px solid var(--hamta-primary);
    background: rgba(255, 255, 255, 0.25);
    pointer-events: none;
    z-index: 3;
    border-radius: 4px;
    display: none;
}

.hamta-zoom-lens.is-visible {
    display: block;
}

.hamta-zoom-pane {
    position: absolute;
    top: 0;
    /* RTL: گالری سمت راست — پنل زوم سمت چپ، هم‌اندازه تصویر اصلی */
    right: calc(100% + 16px);
    left: auto;
    width: 100%;
    height: 100%;
    border: 1px solid var(--hamta-border);
    border-radius: var(--hamta-radius);
    background-color: #fff;
    background-repeat: no-repeat;
    box-shadow: var(--hamta-shadow-lg);
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.hamta-zoom-pane.is-visible {
    opacity: 1;
    visibility: visible;
}

.hamta-gallery.is-zoom-active .gallery-zoom-btn {
    background: var(--hamta-primary);
    color: #fff;
}

/* Legacy lightbox — disabled after inline zoom rollout */
.hamta-lightbox {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.gallery-main .sale-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--hamta-danger);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.gallery-main .promo-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: #2563eb;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    max-width: calc(100% - 24px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-main .promo-badge + .sale-badge {
    top: 44px;
}

.gallery-main .stock-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--hamta-secondary);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.gallery-stock-badge {
    display: none;
}

.gallery-zoom-btn {
    display: none;
}

.gallery-thumbnails {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.thumb-item {
    width: 70px;
    height: 70px;
    border: 2px solid var(--hamta-border);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: var(--hamta-light);
    transition: border-color 0.2s;
}

.thumb-item.active,
.thumb-item:hover {
    border-color: var(--hamta-primary);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.hamta-product-info {
    padding: 10px 0;
}

.hamta-product-info .product-title {
    font-size: var(--sp-font-h1);
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--hamta-dark);
    line-height: 1.4;
}

.product-sku {
    font-size: 13px;
    color: var(--hamta-text-light);
    margin-bottom: 16px;
}

.product-sku .label {
    margin-left: 4px;
}

.product-stock-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.product-stock-status.in-stock {
    background: rgba(16, 185, 129, 0.1);
    color: var(--hamta-success);
}

.product-stock-status.low-stock {
    background: rgba(245, 158, 11, 0.1);
    color: var(--hamta-warning);
}

.product-stock-status.out-of-stock {
    background: rgba(239, 68, 68, 0.1);
    color: var(--hamta-danger);
}

/* Price Box */
.product-price-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.product-price-box .regular-price {
    font-size: 16px;
    color: var(--hamta-text-light);
    text-decoration: line-through;
}

.product-price-box .current-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--hamta-primary);
}

.product-price-box .sale-badge {
    background: var(--hamta-danger);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.product-excerpt {
    font-size: var(--sp-font-body);
    color: var(--hamta-text);
    line-height: 1.8;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--hamta-border);
}

/* Variations */
.hamta-variations {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--hamta-border);
}

.variation-row {
    margin-bottom: 16px;
}

.variation-row:last-child {
    margin-bottom: 0;
}

.variation-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--hamta-dark);
    margin-bottom: 10px;
}

.variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variation-option {
    border: 2px solid var(--hamta-border);
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.variation-option.text-option {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--hamta-text);
}

.variation-option.color-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    position: relative;
}

.variation-option.color-option[style*="background-color: #ffffff"],
.variation-option.color-option[style*="background-color: rgb(255, 255, 255)"] {
    border-color: var(--hamta-border);
}

.variation-option.selected {
    border-color: var(--hamta-primary);
}

.variation-option.color-option.selected::after {
    content: 'âœ“';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 2px rgba(0,0,0,0.5);
}

.variation-option.unavailable {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.variation-option:not(.unavailable):hover {
    border-color: var(--hamta-primary);
}

.selected-value {
    display: inline-block;
    font-size: 13px;
    color: var(--hamta-text-light);
    margin-right: 12px;
}

.variation-message {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
}

.variation-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--hamta-danger);
}

/* Add to Cart Form */
.hamta-add-to-cart-form {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--hamta-border);
    border-radius: var(--hamta-radius);
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--hamta-light);
    color: var(--hamta-text);
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: var(--hamta-border);
}

.qty-input {
    width: 60px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--hamta-dark);
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hamta-add-to-cart-btn {
    flex: 1;
    padding: 12px 24px;
    font-size: 16px;
}

.hamta-add-to-cart-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.hamta-add-to-cart-btn:disabled {
    background: var(--hamta-secondary);
    cursor: not-allowed;
}

/* Out of Stock Notice */
.hamta-out-of-stock-notice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: var(--hamta-light);
    border-radius: var(--hamta-radius);
    text-align: center;
    margin-bottom: 24px;
}

.hamta-out-of-stock-notice i {
    font-size: 32px;
    color: var(--hamta-warning);
}

.hamta-out-of-stock-notice span {
    color: var(--hamta-text);
}

/* Product Meta */
.product-meta {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hamta-border);
}

.product-meta .meta-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}

.product-meta .meta-row:last-child {
    margin-bottom: 0;
}

.product-meta .label {
    color: var(--hamta-text-light);
}

.product-meta .value a {
    color: var(--hamta-primary);
    text-decoration: none;
}

.product-meta .value a:hover {
    text-decoration: underline;
}

/* Product Share */
.product-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-share .label {
    font-size: 14px;
    color: var(--hamta-text-light);
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.share-btn.telegram {
    background: #0088cc;
    color: #fff;
}

.share-btn.whatsapp {
    background: #25d366;
    color: #fff;
}

.share-btn.copy-link {
    background: var(--hamta-light);
    color: var(--hamta-text);
}

.share-btn:hover {
    transform: scale(1.1);
}

/* Product Tabs */
.hamta-product-tabs {
    margin-bottom: 40px;
}

.tabs-header {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--hamta-border);
    margin-bottom: 24px;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--hamta-text-light);
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--hamta-primary);
    transform: scaleX(0);
    transition: transform 0.2s;
}

.tab-btn:hover {
    color: var(--hamta-text);
}

.tab-btn.active {
    color: var(--hamta-primary);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel .no-content {
    color: var(--hamta-text-muted, #6c757d);
    font-style: italic;
    padding: 20px;
    text-align: center;
}

.product-description {
    font-size: var(--sp-font-body);
    line-height: 1.9;
    color: var(--hamta-text);
}

.product-description h1 {
    font-size: var(--sp-font-h1);
    font-weight: 700;
    color: var(--hamta-dark);
    margin: 36px 0 18px;
}

.product-description h2 {
    font-size: var(--sp-font-h2);
    font-weight: 700;
    color: var(--hamta-dark);
    margin: 32px 0 16px;
}

.product-description h3 {
    font-size: var(--sp-font-h3);
    font-weight: 600;
    color: var(--hamta-dark);
    margin: 28px 0 14px;
}

.product-description h4 {
    font-size: var(--sp-font-h4);
    font-weight: 600;
    color: var(--hamta-dark);
    margin: 24px 0 12px;
}

.product-description h5 {
    font-size: var(--sp-font-h5);
    font-weight: 600;
    color: var(--hamta-dark);
    margin: 20px 0 10px;
}

.product-description h6 {
    font-size: var(--sp-font-h6);
    font-weight: 600;
    color: var(--hamta-dark);
    margin: 16px 0 8px;
}

.product-description p {
    font-size: var(--sp-font-body);
    margin-bottom: 16px;
}

.product-description ul,
.product-description ol {
    font-size: var(--sp-font-body);
    margin-bottom: 16px;
    padding-right: 24px;
}

.product-description li {
    font-size: var(--sp-font-body);
    margin-bottom: 8px;
}

.product-description img {
    max-width: 100%;
    height: auto;
    border-radius: var(--hamta-radius);
}

.attributes-table {
    width: 100%;
    border-collapse: collapse;
}

.attributes-table th,
.attributes-table td {
    padding: 14px 16px;
    text-align: right;
    border-bottom: 1px solid var(--hamta-border);
    font-size: var(--sp-font-body);
}

.attributes-table th {
    background: var(--hamta-light);
    font-weight: 600;
    color: var(--hamta-dark);
    width: 180px;
}

.attributes-table td {
    color: var(--hamta-text);
}

.attributes-table tr:last-child th,
.attributes-table tr:last-child td {
    border-bottom: none;
}

/* Related Products — کاروسل افقی */
.hamta-related-products {
    margin-bottom: 40px;
}

.hamta-related-products__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.hamta-related-products .section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--sp-font-h2);
    font-weight: 700;
    color: var(--hamta-dark);
    margin: 0;
}

.hamta-related-products__nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hamta-related-nav {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--hamta-border, #e2e8f0);
    background: #fff;
    color: var(--hamta-primary, #00a984);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s, opacity .2s;
}

.hamta-related-nav:hover:not(:disabled):not(.is-disabled) {
    background: var(--hamta-primary, #00a984);
    border-color: var(--hamta-primary, #00a984);
    color: #fff;
}

.hamta-related-nav:disabled,
.hamta-related-nav.is-disabled {
    opacity: .35;
    cursor: default;
}

.related-products-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.related-products-carousel__track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 12px;
    margin-inline: -2px;
    scrollbar-width: thin;
}

.related-products-carousel__track::-webkit-scrollbar {
    height: 4px;
}

.related-products-carousel__track::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--hamta-primary, #00a984) 55%, transparent);
    border-radius: 999px;
}

.related-products-carousel__slide {
    flex: 0 0 calc((100% - 42px) / 4);
    width: calc((100% - 42px) / 4);
    max-width: calc((100% - 42px) / 4);
    min-width: 0;
    scroll-snap-align: start;
}

.related-products-carousel__slide .hamta-product-card {
    height: 100%;
}

/* سازگاری با کلاس قدیمی (اگر جایی مانده) */
.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (min-width: 1200px) {
    .related-products-carousel__slide {
        flex: 0 0 calc((100% - 56px) / 5);
        width: calc((100% - 56px) / 5);
        max-width: calc((100% - 56px) / 5);
    }

    .related-product-card .product-info {
        padding: 12px;
    }

    .related-product-card .product-title {
        font-size: 13px;
    }

    .related-product-card .product-price {
        font-size: 14px;
    }
}

.related-product-card {
    background: #fff;
    border-radius: var(--hamta-radius);
    overflow: hidden;
    box-shadow: var(--hamta-shadow);
    transition: all 0.3s;
    position: relative;
}

.related-product-card:hover {
    box-shadow: var(--hamta-shadow-lg);
    transform: translateY(-4px);
}

.related-product-card .product-image {
    display: block;
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.related-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-product-card:hover .product-image img {
    transform: scale(1.05);
}

.related-product-card .stock-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--hamta-secondary);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.related-product-card .product-info {
    padding: 16px;
}

.related-product-card .product-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.4;
}

.related-product-card .product-title a {
    color: var(--hamta-dark);
    text-decoration: none;
}

.related-product-card .product-title a:hover {
    color: var(--hamta-primary);
}

.related-product-card .product-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--hamta-primary);
}

.hamta-quick-add {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--hamta-primary);
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.related-product-card:hover .hamta-quick-add {
    opacity: 1;
    transform: translateY(0);
}

.hamta-quick-add:hover {
    background: var(--hamta-primary-dark);
}

.hamta-quick-add.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Not Found */
.hamta-not-found {
    padding: 60px 20px;
    text-align: center;
}

.not-found-content {
    max-width: 400px;
    margin: 0 auto;
}

.not-found-content i {
    font-size: 80px;
    color: var(--hamta-border);
    margin-bottom: 24px;
}

.not-found-content h2 {
    font-size: 24px;
    color: var(--hamta-dark);
    margin-bottom: 12px;
}

.not-found-content p {
    color: var(--hamta-text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* Notices */
.hamta-notice {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 14px 24px;
    border-radius: var(--hamta-radius);
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s;
}

.hamta-notice.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.hamta-notice-success {
    background: var(--hamta-success);
    color: #fff;
}

.hamta-notice-error {
    background: var(--hamta-danger);
    color: #fff;
}

/* Cart Count Animation */
.hamta-cart-count.updated {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Responsive - Single Product */
@media (max-width: 992px) {
    .hamta-product-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hamta-product-gallery {
        position: static;
    }

    .hamta-zoom-pane {
        display: none;
    }

    .hamta-zoom-lens {
        display: none !important;
    }

    /* موبایل: ستاره امتیاز و کد کالا حذف */
    .hamta-product-page .product-rating,
    .hamta-product-page .product-rating--engage,
    .hamta-product-page .product-sku {
        display: none !important;
    }

    .related-products-carousel__track {
        gap: 10px;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .related-products-carousel__track::-webkit-scrollbar {
        display: none;
    }

    .related-products-carousel__slide {
        /* حدود ۲ کارت مثل پرفروش‌های موبایل */
        flex: 0 0 calc((100% - 10px) / 2);
        width: calc((100% - 10px) / 2);
        max-width: calc((100% - 10px) / 2);
    }

    .hamta-related-products {
        margin-bottom: 24px;
    }

    .hamta-related-products__header {
        margin-bottom: 10px;
    }

    .hamta-related-products .section-title {
        font-size: 1.05rem;
        color: #5c1d66;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hamta-single-product {
        padding: 8px 10px 16px;
    }

    .hamta-product-page .extra-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        flex-direction: unset;
    }

    .hamta-product-page .action-btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
        padding: 8px 4px;
        font-size: 11px;
    }

    .hamta-product-page .hamta-add-to-cart-form,
    .hamta-add-to-cart-form {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) !important;
        flex-direction: unset !important;
        padding-inline-end: 58px !important;
        gap: 8px !important;
    }

    .hamta-product-page .tabs-header {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .product-price-box .current-price {
        font-size: 1.25rem;
    }

    .hamta-add-to-cart-btn {
        width: 100%;
    }

    .tabs-header {
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .related-products-carousel__slide {
        flex: 0 0 calc((100% - 10px) / 2);
        max-width: calc((100% - 10px) / 2);
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .attributes-table th {
        width: 120px;
    }

    .thumb-item {
        width: 52px;
        height: 52px;
    }
}

/* ===== Checkout ===== */
.hamta-checkout.container {
    width: 100%;
    max-width: var(--hpb-site-container-max, 1400px);
    margin-inline: auto;
    box-sizing: border-box;
}

.hamta-checkout {
    padding: 20px;
}

.checkout-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--hamta-dark);
    margin-bottom: 30px;
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

/* Form Sections */
.checkout-form-section {
    background: #fff;
    border-radius: var(--hamta-radius);
    box-shadow: var(--hamta-shadow);
}

.form-section {
    padding: 24px;
    border-bottom: 1px solid var(--hamta-border);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section .section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--hamta-dark);
    margin: 0 0 20px;
}

.form-section .section-title i {
    color: var(--hamta-primary);
}

.form-row {
    margin-bottom: 16px;
}

.form-row.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--hamta-dark);
    margin-bottom: 8px;
}

.form-group label .required {
    color: var(--hamta-danger);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--hamta-border);
    border-radius: 10px;
    font-size: 14px;
    color: var(--hamta-text);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--hamta-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input[readonly] {
    background: var(--hamta-light);
    color: var(--hamta-text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Shipping Methods */
.shipping-methods,
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shipping-option,
.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--hamta-border);
    border-radius: var(--hamta-radius);
    cursor: pointer;
    transition: all 0.2s;
}

.shipping-option:hover,
.payment-option:hover {
    border-color: var(--hamta-primary);
}

.shipping-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.payment-option.insufficient {
    opacity: 0.7;
}

.payment-option.insufficient::after {
    content: 'Ù…ÙˆØ¬ÙˆØ¯ÛŒ Ú©Ø§ÙÛŒ Ù†ÛŒØ³Øª';
    font-size: 11px;
    color: var(--hamta-danger);
    margin-right: auto;
}

.shipping-option input,
.payment-option input {
    width: 20px;
    height: 20px;
    accent-color: var(--hamta-primary);
}

.option-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.payment-option .option-content {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-option .option-content i {
    font-size: 20px;
    color: var(--hamta-primary);
}

.option-title {
    font-weight: 600;
    color: var(--hamta-dark);
}

.option-desc {
    font-size: 13px;
    color: var(--hamta-text-light);
}

.option-price {
    font-weight: 600;
    color: var(--hamta-primary);
}

.shipping-option:has(input:checked),
.payment-option:has(input:checked) {
    border-color: var(--hamta-primary);
    background: rgba(37, 99, 235, 0.05);
}

/* Order Summary */
.checkout-summary-section {
    position: sticky;
    top: 20px;
}

.order-summary {
    background: #fff;
    border-radius: var(--hamta-radius);
    box-shadow: var(--hamta-shadow);
    padding: 24px;
}

.summary-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--hamta-dark);
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hamta-border);
}

/* Summary Items */
.summary-items {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: visible;
    margin-bottom: 20px;
    padding: 6px 6px 20px 6px;
    border-bottom: 1px solid var(--hamta-border);
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item .item-image {
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    margin: 6px;
}

.summary-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.summary-item .item-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: var(--hamta-primary);
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.summary-item .item-info {
    flex: 1;
    min-width: 0;
}

.summary-item .item-title {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--hamta-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-item .item-variation {
    display: block;
    font-size: 12px;
    color: var(--hamta-text-light);
}

.summary-item .item-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--hamta-text);
    white-space: nowrap;
}

/* Coupon */
.coupon-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hamta-border);
}

.coupon-input {
    display: flex;
    gap: 8px;
}

.coupon-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--hamta-border);
    border-radius: 10px;
    font-size: 14px;
}

.coupon-input input:focus {
    outline: none;
    border-color: var(--hamta-primary);
}

.coupon-input .hamta-btn {
    padding: 10px 16px;
    white-space: nowrap;
}

.coupon-result {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
}

.coupon-result.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--hamta-success);
}

.coupon-result.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--hamta-danger);
}

/* Totals */
.summary-totals {
    margin-bottom: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: var(--hamta-text);
}

.total-row.discount-row {
    color: var(--hamta-success);
}

.total-row.final-total {
    padding-top: 16px;
    margin-top: 10px;
    border-top: 2px solid var(--hamta-border);
    font-size: 18px;
    font-weight: 700;
    color: var(--hamta-dark);
}

.total-row.final-total span:last-child {
    color: var(--hamta-primary);
}

/* Place Order */
.place-order-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

.place-order-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.checkout-terms {
    margin-top: 16px;
    font-size: 12px;
    color: var(--hamta-text-light);
    text-align: center;
}

.checkout-terms a {
    color: var(--hamta-primary);
    text-decoration: none;
}

.checkout-terms a:hover {
    text-decoration: underline;
}

/* Checkout Messages */
.hamta-checkout-message {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.message-box {
    text-align: center;
    max-width: 400px;
}

.message-box i {
    font-size: 80px;
    color: var(--hamta-border);
    margin-bottom: 24px;
}

.message-box h2 {
    font-size: 24px;
    color: var(--hamta-dark);
    margin-bottom: 12px;
}

.message-box p {
    color: var(--hamta-text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.message-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.back-link {
    margin-top: 20px;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hamta-text-light);
    text-decoration: none;
    font-size: 14px;
}

.back-link a:hover {
    color: var(--hamta-primary);
}

/* Responsive - Checkout */
/* Ù…Ø®ÙÛŒ Ú©Ø±Ø¯Ù† ÙÙˆØªØ± Ù…ÙˆØ¨Ø§ÛŒÙ„ Ø¯Ø± Ø¯Ø³Ú©ØªØ§Ù¾ - Ø¨Ø§ÛŒØ¯ Ù‚Ø¨Ù„ Ø§Ø² media query Ø¨Ø§Ø´Ø¯ */
.mobile-checkout-footer {
    display: none;
}

@media (max-width: 992px) {
    .checkout-content {
        grid-template-columns: 1fr;
    }

    .checkout-summary-section {
        position: static;
        /* Ø­Ø°Ù order: -1 ØªØ§ ÙØ±Ù… Ø§ÙˆÙ„ Ù†Ø´ÙˆÙ† Ø¯Ø§Ø¯Ù‡ Ø¨Ø´Ù‡ */
    }

    .summary-items {
        max-height: none;
    }
}

@media (max-width: 768px) {
    .hamta-checkout {
        padding: 12px;
        padding-bottom: 180px; /* ÙØ¶Ø§ Ø¨Ø±Ø§ÛŒ Ø¯Ú©Ù…Ù‡ Ù¾Ø§ÛŒÛŒÙ† Ùˆ Ù…Ù†ÙˆÛŒ Ù¾Ø§ÛŒÛŒÙ† Ù…ÙˆØ¨Ø§ÛŒÙ„ */
        overflow-x: hidden;
        max-width: 600px;
        margin: 0 auto;
    }

    .checkout-content {
        display: flex;
        flex-direction: column;
        gap: 16px;
        max-width: 600px;
    }

    .checkout-form-section {
        width: 100%;
        max-width: 600px;
    }

    /* Ù†Ù…Ø§ÛŒØ´ Ø®Ù„Ø§ØµÙ‡ Ø³Ø¨Ø¯ Ø¯Ø± Ù…ÙˆØ¨Ø§ÛŒÙ„ */
    .checkout-summary-section {
        display: block;
        width: 100%;
    }

    /* Ù†Ù…Ø§ÛŒØ´ Ú©Ø§Ø±Øªâ€ŒÙ‡Ø§ÛŒ Ø³Ø¨Ø¯ ÙÙ‚Ø· Ø±ÙˆÛŒ Ù…ÙˆØ¨Ø§ÛŒÙ„ */
    .hamta-cart-cards.hamta-mobile-only {
        display: flex;
    }

    /* Ù†ÙˆØ§Ø± Ù¾Ø§ÛŒÛŒÙ† Ù…ÙˆØ¨Ø§ÛŒÙ„ Ø¨Ø±Ø§ÛŒ Ø¯Ú©Ù…Ù‡ Ù¾Ø±Ø¯Ø§Ø®Øª */
    .mobile-checkout-footer {
        display: flex;
        position: fixed;
        bottom: 77px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 600px;
        width: calc(100% - 24px);
        background: #fff;
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
        box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
        z-index: 100;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border-radius: 12px 12px 0 0;
    }

    .mobile-checkout-footer .mobile-total {
        display: flex;
        flex-direction: column;
    }

    .mobile-checkout-footer .mobile-total-label {
        font-size: 12px;
        color: #6b7280;
    }

    .mobile-checkout-footer .mobile-total-value {
        font-size: 16px;
        font-weight: 700;
        color: #1f2937;
    }

    .mobile-checkout-footer .mobile-submit-btn {
        flex: 1;
        max-width: 200px;
        padding: 14px 20px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #fff;
        border: none;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .form-section {
        padding: 16px;
    }

    .form-row.two-cols {
        grid-template-columns: 1fr;
    }

    .shipping-option,
    .payment-option {
        padding: 12px;
        flex-wrap: wrap;
    }

    .shipping-option .option-content,
    .payment-option .option-content {
        flex: 1;
        min-width: calc(100% - 100px);
    }

    .shipping-option .option-price,
    .payment-option .option-price {
        margin-right: auto;
        padding-right: 24px;
    }
}

@media (max-width: 576px) {
    .hamta-checkout {
        padding: 10px;
        padding-bottom: 100px;
    }

    .checkout-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .form-section {
        padding: 14px;
    }

    .section-title {
        font-size: 15px;
    }

    .mobile-checkout-footer .mobile-submit-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    .order-summary {
        padding: 14px;
    }

    .message-actions {
        flex-direction: column;
    }

    .shipping-option,
    .payment-option {
        padding: 12px;
        flex-wrap: wrap;
    }

    .shipping-option .option-content,
    .payment-option .option-content {
        flex: 1;
        min-width: calc(100% - 100px);
    }

    .shipping-option .option-price,
    .payment-option .option-price {
        margin-right: auto;
        padding-right: 24px;
    }
}

/* ===== Orders ===== */
.hamta-orders {
    max-width: var(--hpb-site-container-max, 1400px);
    margin: 0 auto;
    padding: 20px var(--hpb-site-container-padding-inline, 24px);
}

.orders-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.orders-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--hamta-dark);
    margin: 0;
}

.orders-count {
    font-size: 14px;
    color: var(--hamta-text-light);
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-card {
    background: #fff;
    border-radius: var(--hamta-radius);
    box-shadow: var(--hamta-shadow);
    overflow: hidden;
}

.order-card .order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--hamta-light);
    border-bottom: 1px solid var(--hamta-border);
}

.order-card .order-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-card .order-number {
    font-weight: 600;
    color: var(--hamta-dark);
}

.order-card .order-date {
    font-size: 13px;
    color: var(--hamta-text-light);
}

.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.order-status.status-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--hamta-success);
}

.order-status.status-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--hamta-warning);
}

.order-status.status-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--hamta-danger);
}

.order-status.status-info {
    background: rgba(37, 99, 235, 0.1);
    color: var(--hamta-primary);
}

.order-status.status-secondary {
    background: var(--hamta-light);
    color: var(--hamta-secondary);
}

.order-status.status-pending {
    background: #fff7ed;
    color: #c2410c;
}

.order-status.status-processing {
    background: #e0f2fe;
    color: #0369a1;
}

.order-status.status-on-hold {
    background: #f3e8ff;
    color: #7e22ce;
}

.order-status.status-completed {
    background: #dcfce7;
    color: #166534;
}

.order-status.status-cancelled {
    background: #ffe4e6;
    color: #be123c;
}

.order-status.status-failed {
    background: #fee2e2;
    color: #b91c1c;
}

.order-status.status-refunded {
    background: #ede9fe;
    color: #6d28d9;
}

.order-status.status-checkout-draft,
.order-status.status-draft {
    background: #f1f5f9;
    color: #475569;
}

.order-status.status-awaiting {
    background: #eef2ff;
    color: #4338ca;
}

.order-card .order-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.order-card .order-meta {
    display: flex;
    gap: 24px;
}

.order-card .meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order-card .meta-label {
    font-size: 12px;
    color: var(--hamta-text-light);
}

.order-card .meta-value {
    font-size: 14px;
    color: var(--hamta-text);
}

.order-card .order-total {
    text-align: left;
}

.order-card .total-label {
    display: block;
    font-size: 12px;
    color: var(--hamta-text-light);
    margin-bottom: 4px;
}

.order-card .total-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--hamta-primary);
}

.order-card .order-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--hamta-border);
}

/* Orders Empty */
.orders-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: var(--hamta-radius);
    box-shadow: var(--hamta-shadow);
}

.orders-empty i {
    font-size: 80px;
    color: var(--hamta-border);
    margin-bottom: 24px;
}

.orders-empty h3 {
    font-size: 20px;
    color: var(--hamta-dark);
    margin-bottom: 12px;
}

.orders-empty p {
    color: var(--hamta-text-light);
    margin-bottom: 24px;
}

/* Orders Pagination */
.orders-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.orders-pagination .page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    color: var(--hamta-text);
    background: #fff;
    border: 1px solid var(--hamta-border);
    transition: all 0.2s;
}

.orders-pagination .page-number:hover {
    border-color: var(--hamta-primary);
    color: var(--hamta-primary);
}

.orders-pagination .page-number.current {
    background: var(--hamta-primary);
    border-color: var(--hamta-primary);
    color: #fff;
}

/* Orders Message */
.hamta-orders-message {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* ===== Order Details ===== */
.hamta-order-details {
    max-width: var(--hpb-site-container-max, 1400px);
    margin: 0 auto;
    padding: 20px var(--hpb-site-container-padding-inline, 24px);
}

.order-details-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 30px;
}

.order-details-header .header-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-details-header .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hamta-text-light);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
}

.order-details-header .back-link:hover {
    color: var(--hamta-primary);
}

.order-details-header .order-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--hamta-dark);
    margin: 0;
}

.order-details-header .order-date {
    font-size: 14px;
    color: var(--hamta-text-light);
}

.order-details-content {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

/* Order Main */
.order-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-section {
    background: #fff;
    border-radius: var(--hamta-radius);
    box-shadow: var(--hamta-shadow);
    padding: 24px;
}

.order-section .section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--hamta-dark);
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hamta-border);
}

.order-section .section-title i {
    color: var(--hamta-primary);
}

/* Order Items */
.order-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hamta-border);
}

.order-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.order-item .item-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--hamta-light);
}

.order-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hamta-border);
    font-size: 24px;
}

.order-item .item-info {
    flex: 1;
}

.order-item .item-name {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 6px;
}

.order-item .item-name a {
    color: var(--hamta-dark);
    text-decoration: none;
}

.order-item .item-name a:hover {
    color: var(--hamta-primary);
}

.order-item .item-quantity {
    font-size: 13px;
    color: var(--hamta-text-light);
}

.order-item .item-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--hamta-text);
}

/* Order Timeline */
.order-timeline {
    position: relative;
    padding-right: 20px;
}

.order-timeline::before {
    content: '';
    position: absolute;
    right: 5px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--hamta-border);
}

.timeline-item {
    position: relative;
    padding-right: 24px;
    padding-bottom: 20px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    right: -3px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--hamta-border);
    border: 2px solid #fff;
}

.timeline-item.status-pending .timeline-dot {
    background: var(--hamta-warning);
}

.timeline-item.status-processing .timeline-dot {
    background: var(--hamta-primary);
}

.timeline-item.status-completed .timeline-dot {
    background: var(--hamta-success);
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timeline-title {
    font-weight: 500;
    color: var(--hamta-dark);
}

.timeline-date {
    font-size: 13px;
    color: var(--hamta-text-light);
}

/* Customer Note */
.customer-note {
    background: var(--hamta-light);
    padding: 16px;
    border-radius: 8px;
    color: var(--hamta-text);
    line-height: 1.7;
    margin: 0;
}

/* Order Sidebar */
.order-sidebar {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card {
    background: #fff;
    border-radius: var(--hamta-radius);
    box-shadow: var(--hamta-shadow);
    padding: 20px;
}

.sidebar-card .card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--hamta-dark);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hamta-border);
}

/* Summary Rows */
.summary-rows {
    display: flex;
    flex-direction: column;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: var(--hamta-text);
    border-bottom: 1px solid var(--hamta-border);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.discount {
    color: var(--hamta-success);
}

.summary-row.total {
    font-size: 16px;
    font-weight: 700;
    color: var(--hamta-dark);
    padding-top: 12px;
    margin-top: 8px;
    border-top: 2px solid var(--hamta-border);
    border-bottom: none;
}

.summary-row.total span:last-child {
    color: var(--hamta-primary);
}

/* Order Actions */
.order-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hamta-btn-block {
    width: 100%;
}

.hamta-btn-danger {
    background: var(--hamta-danger);
    color: #fff;
}

.hamta-btn-danger:hover {
    background: #dc2626;
}

/* Payment & Shipping Method */
.payment-method,
.shipping-method {
    margin: 0;
    color: var(--hamta-text);
}

/* Address Info */
.address-info {
    color: var(--hamta-text);
    line-height: 1.7;
}

.address-info p {
    margin: 0 0 6px;
}

.address-info .name {
    font-weight: 600;
    color: var(--hamta-dark);
}

.address-info .postcode {
    font-size: 13px;
    color: var(--hamta-text-light);
}

/* Responsive - Orders */
@media (max-width: 992px) {
    .order-details-content {
        grid-template-columns: 1fr;
    }

    .order-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .order-card .order-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .order-card .order-total {
        text-align: right;
    }
}

@media (max-width: 576px) {
    .hamta-orders,
    .hamta-order-details {
        padding: 16px;
    }

    .orders-title,
    .order-details-header .order-title {
        font-size: 24px;
    }

    .order-card .order-meta {
        flex-direction: column;
        gap: 8px;
    }

    .order-item {
        flex-wrap: wrap;
    }

    .order-item .item-price {
        width: 100%;
        text-align: left;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px dashed var(--hamta-border);
    }
}

/* ===== Payments ===== */
.hamta-payment {
    max-width: 980px;
    margin: 40px auto;
    padding: 20px;
}

.payment-header {
    text-align: center;
    margin-bottom: 30px;
}

.payment-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--hamta-dark);
    margin: 0 0 8px;
}

.payment-header .order-number {
    font-size: 14px;
    color: var(--hamta-text-light);
}

/* Alert */
.hamta-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--hamta-radius);
    margin-bottom: 20px;
}

.hamta-alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--hamta-danger);
}

.hamta-alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--hamta-success);
}

/* Payment Content */
.payment-content {
    background: #fff;
    border-radius: var(--hamta-radius);
    box-shadow: var(--hamta-shadow);
    overflow: hidden;
}

.payment-order-info {
    padding: 24px;
    background: var(--hamta-light);
    border-bottom: 1px solid var(--hamta-border);
}

.payment-order-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--hamta-dark);
    margin: 0 0 16px;
}

.payment-order-info .info-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--hamta-text);
    margin-bottom: 10px;
}

.payment-order-info .info-row.total {
    padding-top: 12px;
    margin-top: 12px;
    margin-bottom: 0;
    border-top: 1px solid var(--hamta-border);
    font-size: 18px;
    font-weight: 700;
    color: var(--hamta-dark);
}

.payment-order-info .info-row.total span:last-child {
    color: var(--hamta-primary);
}

/* Payment Gateways */
.payment-gateways {
    padding: 24px;
}

.payment-gateways h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--hamta-dark);
    margin: 0 0 20px;
}

.gateway-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.gateway-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 2px solid var(--hamta-border);
    border-radius: var(--hamta-radius);
    cursor: pointer;
    transition: all 0.2s;
}

.gateway-option:hover {
    border-color: var(--hamta-primary);
}

.gateway-option:has(input:checked) {
    border-color: var(--hamta-primary);
    background: rgba(37, 99, 235, 0.05);
}

.gateway-option input {
    width: 20px;
    height: 20px;
    accent-color: var(--hamta-primary);
}

.gateway-content {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.gateway-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--hamta-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--hamta-primary);
}

.gateway-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gateway-title {
    font-weight: 600;
    color: var(--hamta-dark);
}

.gateway-desc {
    font-size: 13px;
    color: var(--hamta-text-light);
}

.payment-gateways .hamta-btn-lg {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

/* No Gateways */
.no-gateways {
    text-align: center;
    padding: 30px;
    color: var(--hamta-text-light);
}

.no-gateways i {
    font-size: 48px;
    color: var(--hamta-warning);
    margin-bottom: 12px;
}

/* Payment Footer */
.payment-footer {
    text-align: center;
    margin-top: 20px;
}

.payment-footer .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hamta-text-light);
    text-decoration: none;
    font-size: 14px;
}

.payment-footer .back-link:hover {
    color: var(--hamta-primary);
}

/* Payment Message */
.hamta-payment-message {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.hamta-payment-message .message-box.success i {
    color: var(--hamta-success);
}

.order-info-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--hamta-light);
    border-radius: var(--hamta-radius);
    margin: 20px 0;
}

.order-info-box .order-number {
    font-weight: 500;
    color: var(--hamta-text);
}

.order-info-box .order-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--hamta-primary);
}

/* Responsive - Payments */
@media (max-width: 576px) {
    .hamta-payment {
        margin: 20px auto;
        padding: 16px;
    }

    .payment-title {
        font-size: 24px;
    }

    .payment-order-info,
    .payment-gateways {
        padding: 16px 16px 0px 16px;
    }

    .gateway-option {
        padding: 14px;
    }

    .gateway-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* ========================================
   Ø¬Ø³ØªØ¬Ùˆ
   ======================================== */

.hamta-search-box {
    position: relative;
    width: 100%;
}

.hamta-search-form {
    position: relative;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--hamta-light);
    border-radius: var(--hamta-radius);
    overflow: hidden;
    border: 1px solid var(--hamta-border);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-input-wrapper:focus-within {
    border-color: var(--hamta-primary);
    box-shadow: 0 0 0 3px rgba(var(--hamta-primary-rgb), 0.1);
}

.hamta-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
}

.hamta-search-category {
    border: none;
    border-right: 1px solid var(--hamta-border);
    background: transparent;
    padding: 12px 16px;
    font-size: 13px;
    outline: none;
    cursor: pointer;
    min-width: 120px;
}

.hamta-search-btn {
    background: var(--hamta-primary);
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.hamta-search-btn:hover {
    background: var(--hamta-primary-dark);
}

/* Ù†ØªØ§ÛŒØ¬ Ø¬Ø³ØªØ¬ÙˆÛŒ Ø²Ù†Ø¯Ù‡ */
.hamta-live-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--hamta-border);
    border-radius: var(--hamta-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 1000;
    margin-top: 4px;
    max-height: 400px;
    overflow-y: auto;
}

.live-results-list {
    padding: 8px;
}

.live-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--hamta-radius-sm);
    text-decoration: none;
    color: var(--hamta-text);
    transition: background 0.2s;
}

.live-result-item:hover {
    background: var(--hamta-light);
}

.result-image {
    width: 50px;
    height: 50px;
    border-radius: var(--hamta-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-info {
    flex: 1;
    min-width: 0;
}

.result-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--hamta-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-price {
    font-size: 13px;
    color: var(--hamta-primary);
    margin-top: 4px;
}

.view-all-results {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--hamta-border);
    color: var(--hamta-primary);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.view-all-results:hover {
    background: var(--hamta-light);
}

.no-results,
.search-loading,
.search-error {
    padding: 24px;
    text-align: center;
    color: var(--hamta-text-muted);
}

.no-results i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

/* ØµÙØ­Ù‡ Ù†ØªØ§ÛŒØ¬ Ø¬Ø³ØªØ¬Ùˆ */
.hamta-search-results {
    padding: 20px 0;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hamta-border);
}

.search-title {
    font-size: 20px;
    margin: 0;
}

.search-query {
    color: var(--hamta-primary);
}

.results-count {
    color: var(--hamta-text-muted);
    font-size: 14px;
}

.search-filters {
    margin-bottom: 24px;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-row label {
    font-size: 14px;
    color: var(--hamta-text-muted);
}

.search-orderby {
    padding: 8px 16px;
    border: 1px solid var(--hamta-border);
    border-radius: var(--hamta-radius-sm);
    font-size: 14px;
    outline: none;
}

/* ØµÙØ­Ù‡ Ø¨Ø¯ÙˆÙ† Ù†ØªÛŒØ¬Ù‡ */
.hamta-no-results {
    text-align: center;
    padding: 60px 20px;
}

.hamta-no-results i {
    font-size: 48px;
    color: var(--hamta-text-muted);
    margin-bottom: 16px;
}

.hamta-no-results h3 {
    font-size: 20px;
    margin: 0 0 8px;
}

.hamta-no-results p {
    color: var(--hamta-text-muted);
    margin-bottom: 24px;
}

.suggestions {
    text-align: right;
    max-width: 300px;
    margin: 0 auto 24px;
}

.suggestions h4 {
    font-size: 14px;
    margin-bottom: 8px;
}

.suggestions ul {
    margin: 0;
    padding-right: 20px;
    font-size: 13px;
    color: var(--hamta-text-muted);
}

.suggestions li {
    margin-bottom: 4px;
}

/* ØµÙØ­Ù‡ Ø¬Ø³ØªØ¬ÙˆÛŒ Ø®Ø§Ù„ÛŒ */
.hamta-search-empty {
    text-align: center;
    padding: 80px 20px;
}

.hamta-search-empty i {
    color: var(--hamta-text-muted);
    margin-bottom: 24px;
}

.hamta-search-empty h2 {
    font-size: 24px;
    margin: 0 0 8px;
}

.hamta-search-empty p {
    color: var(--hamta-text-muted);
    margin-bottom: 32px;
}

.search-input-large {
    display: flex;
    max-width: 500px;
    margin: 0 auto 40px;
    border: 2px solid var(--hamta-border);
    border-radius: var(--hamta-radius);
    overflow: hidden;
}

.search-input-large input {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-size: 16px;
    outline: none;
}

.search-input-large button {
    background: var(--hamta-primary);
    color: white;
    border: none;
    padding: 16px 24px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.search-input-large button:hover {
    background: var(--hamta-primary-dark);
}

.popular-searches h4 {
    font-size: 14px;
    color: var(--hamta-text-muted);
    margin-bottom: 12px;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.popular-tags a {
    background: var(--hamta-light);
    color: var(--hamta-text);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.popular-tags a:hover {
    background: var(--hamta-primary);
    color: white;
}

/* ========================================
   Ø§Ø³ØªØ§ÛŒÙ„ Ù†Ø¸Ø±Ø§Øª Ù…Ø­ØµÙˆÙ„
   ======================================== */

.product-rating--engage {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.product-rating--engage .rating-jump {
    color: var(--hamta-primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.product-rating--engage .rating-jump:hover {
    text-decoration: underline;
}

/* نظرات محصول: استایل در new_design/modules/seoengine/assets/css/hamta-content-review.css */
#tab-reviews .hamta-content-review--compact {
    margin-bottom: 16px;
}

#tab-reviews .hamta-content-review + .hamta-content-review {
    margin-top: 4px;
}

.reviews-section {
    padding: 20px 0;
}

.reviews-summary {
    background: var(--hamta-light);
    border-radius: var(--hamta-radius);
    padding: 24px;
    margin-bottom: 32px;
    text-align: center;
}

.summary-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.rating-big {
    font-size: 48px;
    font-weight: 700;
    color: var(--hamta-dark);
    line-height: 1;
}

.rating-stars {
    font-size: 20px;
    color: #ffc107;
}

.rating-stars i {
    margin: 0 2px;
}

.total-reviews {
    font-size: 14px;
    color: var(--hamta-text-muted);
}

/* Ù„ÛŒØ³Øª Ù†Ø¸Ø±Ø§Øª */
.reviews-list {
    margin-bottom: 32px;
}

.review-item {
    border-bottom: 1px solid var(--hamta-border);
    padding: 24px 0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: 600;
    color: var(--hamta-dark);
    font-size: 15px;
}

.review-date {
    font-size: 13px;
    color: var(--hamta-text-muted);
    margin-top: 2px;
}

.review-rating {
    color: #ffc107;
    font-size: 14px;
}

.review-rating i {
    margin: 0 1px;
}

.review-content {
    color: var(--hamta-text);
    line-height: 1.8;
    font-size: 14px;
}

.no-reviews {
    text-align: center;
    color: var(--hamta-text-muted);
    padding: 40px 20px;
    font-size: 14px;
}

/* ÙØ±Ù… Ø«Ø¨Øª Ù†Ø¸Ø± */
.review-form-wrapper {
    background: var(--hamta-light);
    border-radius: var(--hamta-radius);
    padding: 24px;
}

.review-form-wrapper h4 {
    margin: 0 0 20px;
    font-size: 16px;
}

.review-form .form-row {
    margin-bottom: 16px;
}

.review-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--hamta-dark);
}

.review-form textarea {
    width: 100%;
    border: 1px solid var(--hamta-border);
    border-radius: var(--hamta-radius-sm);
    padding: 12px;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
    outline: none;
    transition: border-color 0.2s;
}

.review-form textarea:focus {
    border-color: var(--hamta-primary);
}

/* Ø³ØªØ§Ø±Ù‡â€ŒÙ‡Ø§ÛŒ Ø§Ù…ØªÛŒØ§Ø² ÙˆØ±ÙˆØ¯ÛŒ */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    cursor: pointer;
    font-size: 24px;
    color: #ddd;
    margin: 0;
    transition: color 0.2s;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
    color: #ffc107;
}

.login-to-review {
    text-align: center;
    padding: 24px;
    background: var(--hamta-light);
    border-radius: var(--hamta-radius);
}

.login-to-review p {
    margin: 0;
    color: var(--hamta-text-muted);
}

.login-to-review a {
    color: var(--hamta-primary);
    font-weight: 500;
}

/* Ø±ÛŒØ³Ù¾Ø§Ù†Ø³ÛŒÙˆ Ù†Ø¸Ø±Ø§Øª */
@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        gap: 12px;
    }

    .reviews-summary {
        padding: 16px;
    }

    .rating-big {
        font-size: 36px;
    }

    .review-form-wrapper {
        padding: 16px;
    }

    .star-rating-input label {
        font-size: 20px;
    }
}

/* ===== Desktop/Mobile Visibility Classes ===== */
.hamta-mobile-only {
    display: none;
}

.hamta-desktop-only {
    display: block;
}

table.hamta-desktop-only {
    display: table;
}

@media (max-width: 768px) {
    .hamta-mobile-only {
        display: block;
    }

    .hamta-desktop-only,
    table.hamta-desktop-only {
        display: none;
    }
}

/* ===== Cart Mobile Responsive ===== */
/* Mobile Cart Cards */
.hamta-cart-cards {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.hamta-cart-cards .hamta-cart-item {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--hamta-border);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.hamta-cart-cards .hamta-cart-item .product-thumbnail {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.hamta-cart-cards .hamta-cart-item .product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hamta-cart-cards .hamta-cart-item .product-info {
    flex: 1;
    min-width: 0;
    padding-left: 30px;
}

.hamta-cart-cards .hamta-cart-item .product-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.4;
}

.hamta-cart-cards .hamta-cart-item .product-name a {
    color: var(--hamta-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hamta-cart-cards .hamta-cart-item .product-meta {
    font-size: 12px;
    color: var(--hamta-text-light);
    margin-bottom: 4px;
}

.hamta-cart-cards .hamta-cart-item .product-meta span {
    display: inline-block;
    background: var(--hamta-light);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
}

.hamta-cart-cards .hamta-cart-item .product-price {
    font-size: 13px;
    color: var(--hamta-text-light);
}

.hamta-cart-cards .hamta-cart-item .product-actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid var(--hamta-border);
}

.hamta-cart-cards .hamta-cart-item .hamta-quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--hamta-border);
    border-radius: 25px;
    background: var(--hamta-light);
}

.hamta-cart-cards .hamta-cart-item .hamta-qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hamta-text);
    transition: background 0.2s;
}

.hamta-cart-cards .hamta-cart-item .hamta-qty-btn:active {
    background: rgba(0,0,0,0.05);
}

.hamta-cart-cards .hamta-cart-item .hamta-qty-input {
    width: 45px;
    height: 40px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.hamta-cart-cards .hamta-cart-item .hamta-qty-input::-webkit-outer-spin-button,
.hamta-cart-cards .hamta-cart-item .hamta-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hamta-cart-cards .hamta-cart-item .product-subtotal {
    text-align: left;
}

.hamta-cart-cards .hamta-cart-item .line-total {
    font-size: 16px;
    font-weight: 600;
    color: var(--hamta-primary);
}

.hamta-cart-cards .hamta-cart-item .hamta-remove-item {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 26px;
    height: 26px;
    border: none;
    background: rgba(239, 68, 68, 0.1);
    color: var(--hamta-danger);
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.hamta-cart-cards .hamta-cart-item .hamta-remove-item:hover,
.hamta-cart-cards .hamta-cart-item .hamta-remove-item:active {
    background: var(--hamta-danger);
    color: #fff;
}

@media (max-width: 768px) {
    /* Cart Page Container */
    .hamta-cart {
        padding: 12px;
        padding-bottom: 24px;
        max-width: 600px;
        margin: 0 auto;
    }

    .hamta-cart-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    /* Cart Content - Stack on Mobile */
    .hamta-cart-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 600px;
    }

    /* Cart Sidebar (Totals) */
    .hamta-cart-sidebar {
        position: static;
        max-width: 600px;
        width: 100%;
        margin: 0;
        z-index: auto;
    }

    .hamta-cart-totals {
        background: #fff;
        padding: 16px;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }

    .hamta-cart-totals h3 {
        font-size: 16px;
        margin: 0 0 12px;
        padding-bottom: 8px;
    }

    .hamta-cart-totals .totals-row {
        padding: 8px 0;
        font-size: 14px;
    }

    .hamta-cart-totals .totals-row.total {
        font-size: 16px;
        padding: 12px 0 8px;
    }

    .hamta-cart-totals .cart-actions {
        margin-top: 12px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .hamta-cart-totals .cart-actions .hamta-btn-primary {
        grid-column: span 2;
        padding: 14px;
        font-size: 15px;
    }

    .hamta-cart-totals .cart-actions .hamta-btn-outline,
    .hamta-cart-totals .cart-actions .hamta-btn-danger {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* Empty Cart */
    .hamta-cart-empty {
        padding: 40px 20px;
    }

    .hamta-cart-empty i {
        font-size: 48px;
    }

    .hamta-cart-empty p {
        font-size: 15px;
    }
}

/* Very Small Screens */
@media (max-width: 380px) {
    .hamta-cart-item .product-thumbnail {
        width: 70px;
        height: 70px;
    }

    .hamta-cart-item .product-name {
        font-size: 13px;
    }

    .hamta-cart-item .hamta-qty-btn {
        width: 36px;
        height: 36px;
    }

    .hamta-cart-item .hamta-qty-input {
        width: 40px;
        height: 36px;
    }

    .hamta-cart-totals .cart-actions {
        grid-template-columns: 1fr;
    }

    .hamta-cart-totals .cart-actions .hamta-btn-primary {
        grid-column: span 1;
    }
}

/* ===== Mobile Bottom Navigation Spacing ===== */
/* Ø§Ø·Ù…ÛŒÙ†Ø§Ù† Ø§Ø² Ø§ÛŒÙ†Ú©Ù‡ Ù…Ø­ØªÙˆØ§ Ø²ÛŒØ± Ù…Ù†ÙˆÛŒ Ù¾Ø§ÛŒÛŒÙ† Ù…ÙˆØ¨Ø§ÛŒÙ„ Ù†Ù…ÛŒâ€ŒØ±ÙˆØ¯ Ùˆ Ø­Ø¯Ø§Ú©Ø«Ø± Ø¹Ø±Ø¶ 600 Ù¾ÛŒÚ©Ø³Ù„ */
@media (max-width: 768px) {
    .hamta-shop,
    .hamta-product-page,
    .hamta-products-grid {
        padding: 8px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}

/* Mini Cart — هم‌تراز با هدر موبایل (≤991.98) */
@media (max-width: 991.98px) {
    .hamta-mini-cart {
        width: 40px;
        height: 40px;
        max-width: 40px;
        flex: 0 0 auto;
    }

    .hamta-cart-info {
        display: none !important;
    }

    .hamta-mini-cart-link {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        gap: 0 !important;
    }

    .hamta-mini-cart-dropdown {
        position: fixed !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translate3d(0, 110%, 0) !important;
        z-index: 10060 !important;
    }

    .hamta-mini-cart.dropdown-open .hamta-mini-cart-dropdown {
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate3d(0, 0, 0) !important;
        left: 12px !important;
        right: 12px !important;
        bottom: 0 !important;
        width: auto !important;
        border-radius: 16px 16px 0 0;
    }
}

/* =======================
   Hamta Shop Quick Search
   ======================= */
.hamta-shop-quick-search {
    margin: 0 0 18px;
}

.hamta-shop-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.hamta-shop-search-box i {
    color: #64748b;
    font-size: 16px;
}

.hamta-shop-search-box input {
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
    font-size: 14px;
    color: #0f172a;
}

.hamta-search-clear {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #334155;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    visibility: hidden;
}

.hamta-search-clear:hover {
    background: #e2e8f0;
}

/* ==========================
   Home Shortcode Components
   ========================== */
.hamta-shortcode-section {
    margin: 28px 0;
}

.hamta-shortcode-head {
    text-align: center;
    margin-bottom: 18px;
}

.hamta-shortcode-head h3 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
}

.hamta-shortcode-head p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.hamta-testimonials-grid {
    display: grid;
    gap: 14px;
}

.hamta-testimonials-grid.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hamta-testimonials-grid.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hamta-testimonials-grid.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.hamta-testimonial-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.05);
}

.hamta-testimonial-card p {
    margin: 10px 0 0;
    color: #334155;
    line-height: 1.9;
    font-size: 14px;
}

.hamta-testimonial-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hamta-testimonial-user img,
.hamta-avatar-fallback {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    font-weight: 700;
}

.hamta-testimonial-user strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
}

.hamta-testimonial-user small {
    color: #64748b;
    font-size: 12px;
}

/* Ù‡Ù…Ú©Ø§Ø±Ø§Ù† Ù…Ø§Ù„ÛŒ/ØªØ¬Ø§Ø±ÛŒ â€” hamta_financial_partners / hamta_commercial_partners */
.hamta-financial-partners-section.hamta-partner-logos,
.hamta-partner-logos {
    direction: rtl;
    --pl-cols: 5;
    --pl-rows: 1;
}

.hamta-partner-logos__chrome {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.hamta-partner-logos__chrome--with-nav {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: clamp(10px, 1.5vw, 22px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hamta-partner-logos--carousel .hamta-partner-logos__frame {
    flex: 1 1 auto;
    min-width: 0;
}

.hamta-partner-logos__frame {
    min-width: 0;
    /* border: 1px solid rgba(15, 23, 42, 0.08); */
    border-radius: 10px;
    background: #fff;
    padding: 12px;
    box-sizing: border-box;
}

.hamta-partner-logos__viewport {
    overflow: hidden;
    width: 100%;
}

.hamta-partner-logos__viewport--static {
    overflow: visible;
}

.hamta-partner-logos__viewport--scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 23, 42, 0.18) transparent;
}

.hamta-partner-logos__viewport--scroll::-webkit-scrollbar {
    height: 6px;
}

.hamta-partner-logos__viewport--scroll::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.15);
    border-radius: 4px;
}

.hamta-partner-logos__track {
    display: flex;
}

.hamta-partner-logos--carousel .hamta-partner-logos__swiper {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.hamta-partner-logos--carousel .hamta-partner-logos__swiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.hamta-partner-logos--carousel .hamta-partner-logos__swiper-slide {
    direction: rtl;
}

.hamta-partner-logos__slide-grid,
.hamta-partner-logos__track--grid {
    display: grid;
    gap: var(--hamta-pl-gap, 12px);
    grid-template-columns: repeat(var(--pl-cols, 5), minmax(var(--hamta-pl-item, 100px), 1fr));
    grid-template-rows: repeat(var(--pl-rows, 1), auto);
    justify-items: center;
    align-items: start;
}

.hamta-partner-logos__track--scroll {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: var(--hamta-pl-gap, 12px);
    width: max-content;
    max-width: none;
}

/* مارکی دو ردیفه — مشابه نوار برندهای ellis.digital */
.hamta-partner-logos--marquee {
    direction: ltr;
    padding: 8px 0;
}

.hamta-partner-logos--marquee .hamta-partner-logos__marquee-rows {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vw, 20px);
    width: 100%;
}

.hamta-partner-logos__marquee-row {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.hamta-partner-logos__marquee-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: var(--hamta-pl-gap, 20px);
    width: max-content;
    will-change: transform;
    animation: hamta-pl-marquee-forward var(--hamta-pl-marquee-duration, 45s) linear infinite;
}

.hamta-partner-logos__marquee-track--reverse {
    animation-name: hamta-pl-marquee-reverse;
}

.hamta-partner-logos--marquee .hamta-partner-logos__cell {
    flex: 0 0 auto;
}

.hamta-partner-logos--marquee .hamta-partner-logos__thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 12px 18px;
}

@keyframes hamta-pl-marquee-forward {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes hamta-pl-marquee-reverse {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hamta-partner-logos__marquee-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
}

.hamta-partner-logos__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    user-select: none;
    cursor: default;
    text-decoration: none;
    color: inherit;
}

.hamta-partner-logos__cell--linked {
    cursor: pointer;
}

.hamta-partner-logos__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: var(--hamta-pl-item, 120px);
    height: var(--hamta-pl-item, 120px);
    padding: 8px;
    border-radius: 8px;
    background: #fafafa;
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.hamta-partner-logos__img {
    display: block;
    width: var(--hamta-pl-item, 120px);
    height: var(--hamta-pl-item, 120px);
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1);
    transition: filter 0.25s ease;
}

.hamta-partner-logos__cell:hover .hamta-partner-logos__img,
.hamta-partner-logos__cell:focus-within .hamta-partner-logos__img {
    filter: grayscale(0);
}

.hamta-partner-logos__cell--linked:hover .hamta-partner-logos__thumb,
.hamta-partner-logos__cell--linked:focus-within .hamta-partner-logos__thumb {
    border-color: rgba(15, 23, 42, 0.12);
    background: #fff;
}

.hamta-partner-logos__title {
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
    max-width: calc(var(--hamta-pl-item, 120px) + 24px);
    word-break: break-word;
    color: var(--hamta-text, #334155);
}

/* Ú©Ø§Ø±ÙˆØ³Ù„ Ù„ÙˆÚ¯Ùˆ â€” Swiper (Ù‡Ù…â€ŒØ§Ù„Ú¯ÙˆÛŒ Ø¯ÛŒØ²Ø§ÛŒÙ†â€ŒØ´Ø§Ù¾) */
.hamta-partner-logos--carousel .hamta-partner-logos__nav {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    transform: none !important;
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.5rem;
    z-index: 2;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    color: var(--hamta-primary, #2563eb);
}

.hamta-partner-logos--carousel .hamta-partner-logos__nav::after {
    font-size: 1.15rem;
    font-weight: 700;
}

.hamta-partner-logos--carousel .hamta-partner-logos__nav:hover {
    border-color: rgba(37, 99, 235, 0.35);
    background: #f8fafc;
}

.hamta-partner-logos--carousel .hamta-partner-logos__nav:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.45);
    outline-offset: 2px;
}

.hamta-partner-logos__pagination.swiper-pagination-horizontal {
    position: static !important;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100%;
    margin: 0 !important;
    margin-top: 0.75rem !important;
    padding-top: 0.35rem;
    box-sizing: border-box;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
}

.hamta-partner-logos__pagination .swiper-pagination-bullet {
    background: var(--hamta-primary, #2563eb);
    opacity: 0.35;
}

.hamta-partner-logos__pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

.hamta-partner-logos--carousel-single .hamta-partner-logos__pagination {
    display: none !important;
}

.hamta-partners-grid {
    display: grid;
    gap: 12px;
}

.hamta-partners-grid.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hamta-partners-grid.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hamta-partners-grid.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hamta-partners-grid.columns-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.hamta-partners-grid.columns-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }

.hamta-partner-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    padding: 12px 8px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hamta-partner-card img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 10px;
}

.hamta-partner-card span {
    font-size: 12px;
    color: #334155;
    line-height: 1.8;
}

@media (max-width: 992px) {
    .hamta-testimonials-grid.columns-3,
    .hamta-testimonials-grid.columns-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hamta-partners-grid.columns-5,
    .hamta-partners-grid.columns-6,
    .hamta-partners-grid.columns-7,
    .hamta-partners-grid.columns-8 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hamta-testimonials-grid.columns-2,
    .hamta-testimonials-grid.columns-3,
    .hamta-testimonials-grid.columns-4 {
        grid-template-columns: 1fr;
    }

    .hamta-partners-grid.columns-4,
    .hamta-partners-grid.columns-5,
    .hamta-partners-grid.columns-6,
    .hamta-partners-grid.columns-7,
    .hamta-partners-grid.columns-8 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Ø¢Ø®Ø±ÛŒÙ† Ø§Ø®Ø¨Ø§Ø± â€” Ø´ÙˆØ±Øªâ€ŒÚ©Ø¯ hamta_latest_news */
.hamta-latest-news-section {
    direction: rtl;
    text-align: right;
}

/* Ú†ÛŒØ¯Ù…Ø§Ù† split: Ø®Ø¨Ø± Ø¨Ø²Ø±Ú¯ ~Ù†ÛŒÙ… ØµÙØ­Ù‡ + Ø§Ø³ØªÚ© Ú©Ù†Ø§Ø± */
.hamta-latest-news-split {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 20px 24px;
    align-items: stretch;
}

.hamta-latest-news-split--solo {
    grid-template-columns: minmax(0, 1fr);
}

.hamta-latest-news-featured-wrap {
    min-width: 0;
}

.hamta-latest-news-featured {
    margin: 0;
    height: 100%;
}

.hamta-latest-news-featured-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 28px rgba(2, 6, 23, 0.06);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hamta-latest-news-featured-link:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 36px rgba(2, 6, 23, 0.1);
}

.hamta-latest-news-featured-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #f1f5f9;
    flex-shrink: 0;
}

.hamta-latest-news-featured-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hamta-latest-news-featured-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 160px;
    background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
}

.hamta-latest-news-featured-body {
    padding: 20px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hamta-latest-news-featured-title {
    margin: 0;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.45;
}

.hamta-latest-news-featured-date {
    font-size: 14px;
    color: #64748b;
}

.hamta-latest-news-featured-excerpt {
    margin: 0;
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
}

.hamta-latest-news-stack {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.hamta-latest-news-stack-item {
    margin: 0;
}

.hamta-latest-news-stack-link {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(2, 6, 23, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hamta-latest-news-stack-link:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.07);
}

.hamta-latest-news-stack-thumb {
    flex-shrink: 0;
    width: 96px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
}

.hamta-latest-news-stack-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hamta-latest-news-stack-thumb-fallback {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
}

.hamta-latest-news-stack-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamta-latest-news-stack-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
}

.hamta-latest-news-stack-date {
    font-size: 12px;
    color: #64748b;
}

.hamta-latest-news-stack-excerpt {
    font-size: 13px;
    color: #64748b;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .hamta-latest-news-split {
        grid-template-columns: 1fr;
    }

    .hamta-latest-news-featured-link {
        min-height: 0;
    }
}

.hamta-latest-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hamta-latest-news-item {
    margin: 0;
}

.hamta-latest-news-link {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 14px rgba(2, 6, 23, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hamta-latest-news-link:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 22px rgba(2, 6, 23, 0.07);
}

.hamta-latest-news-thumb {
    flex-shrink: 0;
    width: 120px;
    max-width: 32%;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
}

.hamta-latest-news-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.hamta-latest-news-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hamta-latest-news-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
}

.hamta-latest-news-date {
    font-size: 13px;
    color: #64748b;
}

.hamta-latest-news-excerpt {
    font-size: 14px;
    color: #475569;
    line-height: 1.75;
}

@media (max-width: 520px) {
    .hamta-latest-news-link {
        flex-direction: column;
        align-items: stretch;
    }

    .hamta-latest-news-thumb {
        width: 100%;
        max-width: none;
    }
}

.badge-pending {
    background: #03A9F4;
}

.badge-failed {
    background: red;
}

.badge-completed {
    background: #8BC34A;
}

/* UTM Promo banner */
.hamta-promo-banner {
    border: 1px solid #E91E63;
    border-radius: 12px;
    background: #F44336;
    color: #ffffff;
    margin: 10px 0;
    padding: 10px;
}

.hamta-promo-banner > strong {
    font-size: 20px;
    font-weight: 900;
    display: block;
    margin-bottom: 6px;
}

/* ویجت [hamta_search] — همان UX جستجوی فروشگاه */
.hamta-shop-search-widget {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.hamta-shop-search-desktop {
    display: block;
}

.hamta-shop-search-mobile {
    display: none;
}

.hpb-lb-search--hamta-shop,
.hpb-header-search .hamta-shop-search-widget {
    max-width: 100%;
}

@media (max-width: 999px) {
    .hamta-shop-search-desktop {
        display: none;
    }

    .hamta-shop-search-mobile {
        display: inline-flex;
    }
}

/* =============================================================
   ویجت جستجوی همتاشاپ (.hamta-search-widget / .hamta-sw-*)
   ============================================================= */

/* ---- کانتینر اصلی ---- */
.hamta-search-widget {
    position: relative;
    width: 100%;
    font-family: inherit;
}

/* ---- فرم ---- */
.hamta-sw-form {
    position: relative;
}

/* ---- ردیف ورودی (دسته‌بندی + اینپوت + دکمه) ---- */
.hamta-sw-input-row {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--hamta-border);
    border-radius: var(--hamta-radius);
    background: #fff;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.hamta-sw-input-row:focus-within {
    border-color: var(--hamta-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

/* ---- انتخاب دسته‌بندی ---- */
.hamta-sw-category {
    border: none;
    border-left: 1.5px solid var(--hamta-border);
    background: var(--hamta-light);
    padding: 0 14px;
    font-size: 13px;
    font-family: inherit;
    color: var(--hamta-text);
    outline: none;
    cursor: pointer;
    min-width: 110px;
    max-width: 150px;
    flex-shrink: 0;
}

/* ---- پوشش اینپوت ---- */
.hamta-sw-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}

/* ---- فیلد متنی ---- */
.hamta-sw-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 11px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--hamta-dark);
    outline: none;
    min-width: 0;
    direction: rtl;
}

.hamta-sw-input::placeholder {
    color: var(--hamta-text-light);
}

/* ---- دکمه جستجو ---- */
.hamta-sw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--hamta-primary);
    color: #fff;
    border: none;
    padding: 0 18px;
    cursor: pointer;
    transition: background .2s;
    flex-shrink: 0;
    outline: none;
}

.hamta-sw-btn:hover,
.hamta-sw-btn:focus-visible {
    background: var(--hamta-primary-dark);
}

/* ---- dropdown نتایج زنده ---- */
.hamta-sw-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    left: 0;
    background: #fff;
    border: 1.5px solid var(--hamta-border);
    border-radius: var(--hamta-radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .14);
    z-index: 9999;
    max-height: 420px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* ---- لیست نتایج ---- */
.hamta-sw-list {
    list-style: none;
    margin: 0;
    padding: 6px;
}

.hamta-sw-list li {
    margin: 0;
    padding: 0;
}

/* ---- آیتم نتیجه ---- */
.hamta-sw-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: calc(var(--hamta-radius) - 2px);
    text-decoration: none;
    color: var(--hamta-text);
    transition: background .15s;
    direction: rtl;
}

.hamta-sw-item:hover {
    background: var(--hamta-light);
    color: var(--hamta-dark);
}

/* ---- تصویر کوچک ---- */
.hamta-sw-thumb {
    width: 48px;
    height: 48px;
    border-radius: calc(var(--hamta-radius) - 2px);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--hamta-border);
}

.hamta-sw-thumb-empty {
    display: inline-block;
    background: var(--hamta-border);
}

/* ---- متادیتا (عنوان + قیمت) ---- */
.hamta-sw-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hamta-sw-item-title {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--hamta-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.hamta-sw-item-price {
    font-size: 12.5px;
    color: var(--hamta-primary);
    font-weight: 500;
}

/* ---- هایلایت کلمه جستجو ---- */
.hamta-sw-hl {
    background: transparent;
    color: var(--hamta-primary);
    font-weight: 700;
    padding: 0;
}

/* ---- لینک مشاهده همه ---- */
.hamta-sw-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-top: 1px solid var(--hamta-border);
    font-size: 13px;
    color: var(--hamta-primary);
    text-decoration: none;
    font-weight: 500;
    transition: background .15s;
    direction: rtl;
}

.hamta-sw-view-all:hover {
    background: var(--hamta-light);
}

/* ---- حالت بدون نتیجه ---- */
.hamta-sw-no-results {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 16px;
    color: var(--hamta-text-light);
    font-size: 13.5px;
    direction: rtl;
}

.hamta-sw-no-results svg {
    flex-shrink: 0;
    opacity: .5;
}

/* ---- لودینگ ---- */
.hamta-sw-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    color: var(--hamta-text-light);
    font-size: 13px;
    direction: rtl;
}

.hamta-sw-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--hamta-border);
    border-top-color: var(--hamta-primary);
    border-radius: 50%;
    animation: hamta-spin .7s linear infinite;
    flex-shrink: 0;
}

@keyframes hamta-spin {
    to { transform: rotate(360deg); }
}

/* ---- خطا ---- */
.hamta-sw-error {
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--hamta-danger);
}

/* ---- استایل minimal ---- */
.hamta-search-minimal .hamta-sw-input-row {
    border-radius: 50px;
}

.hamta-search-minimal .hamta-sw-btn {
    border-radius: 0 50px 50px 0;
}

/* ---- استایل expanded ---- */
.hamta-search-expanded .hamta-sw-input {
    padding: 14px 18px;
    font-size: 15px;
}

.hamta-search-expanded .hamta-sw-btn {
    padding: 0 22px;
}

/* =============================================================
   صفحه نتایج جستجو (hamta-sr-*)
   ============================================================= */

.hamta-sr-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hamta-border);
    direction: rtl;
}

.hamta-sr-title {
    font-size: 19px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.hamta-sr-query {
    color: var(--hamta-primary);
}

.hamta-sr-count {
    font-size: 13px;
    color: var(--hamta-text-light);
    white-space: nowrap;
}

/* نوار ابزار */
.hamta-sr-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    direction: rtl;
}

.hamta-sr-re-search {
    flex: 1;
    min-width: 200px;
    max-width: 380px;
}

.hamta-sr-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hamta-sr-sort label {
    font-size: 13px;
    color: var(--hamta-text-light);
    white-space: nowrap;
}

.hamta-sr-orderby {
    padding: 8px 14px;
    border: 1.5px solid var(--hamta-border);
    border-radius: var(--hamta-radius);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    background: #fff;
    transition: border-color .2s;
}

.hamta-sr-orderby:focus {
    border-color: var(--hamta-primary);
}

/* حالت خالی */
.hamta-sr-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--hamta-text-light);
    direction: rtl;
}

.hamta-sr-empty svg {
    opacity: .3;
    margin-bottom: 16px;
}

.hamta-sr-empty h3 {
    font-size: 20px;
    color: var(--hamta-dark);
    margin: 0 0 8px;
}

.hamta-sr-empty p {
    margin: 0 0 20px;
    font-size: 14px;
}

.hamta-sr-hints {
    list-style: disc;
    text-align: right;
    display: inline-block;
    margin: 0 0 24px;
    padding-right: 20px;
    font-size: 13px;
    color: var(--hamta-text-light);
}

.hamta-sr-hints li {
    margin-bottom: 5px;
}

@media (max-width: 600px) {
    .hamta-sr-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .hamta-sr-re-search {
        max-width: 100%;
    }
}

/* Storefront — cascade tail */
.hamta-product-page .hamta-product-info .product-title {
    font-size: var(--sp-font-h1, 22px);
}

.hamta-product-page .product-price-box .current-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--sf-accent, #2563eb);
}
