/* ARMANIPLAST-PASS-005 — listing typography, pagination, logos, cart, contact strip */

/* Price: amount prominent, تومان smaller, unit secondary */
.armani-price-block {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 4px;
    direction: rtl;
    max-width: 100%;
}
.armani-price-amount {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
.armani-price-currency {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 1;
}
.armani-price-currency svg,
.armani-toman-icon {
    width: 18px !important;
    height: 18px !important;
    display: block;
}
.armani-price-unit {
    font-size: 0.72rem;
    color: #6b6b6b;
    white-space: nowrap;
    font-weight: 400;
}
.product-box .armani-price-block {
    justify-content: flex-start;
}

.product-box .addCart,
a.addCart {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    font-size: 0.9rem;
    flex-wrap: nowrap;
}

/* Pagination */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    direction: rtl;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}
.pagination .page-item {
    margin: 0;
}
.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    color: #333;
    background: #fff;
    text-decoration: none;
    line-height: 1;
    box-sizing: border-box;
}
.pagination .page-item.active .page-link {
    background: #c9a227;
    border-color: #c9a227;
    color: #fff;
    font-weight: 700;
}
.pagination .page-item.disabled .page-link {
    opacity: 0.45;
    pointer-events: none;
}
.pagination .page-link:hover {
    background: #f6f1e0;
    border-color: #c9a227;
}
.pagination .page-link:focus {
    outline: 2px solid #c9a227;
    outline-offset: 2px;
}
.pagination .page-item.ellipsis .page-link {
    border: none;
    background: transparent;
    min-width: 24px;
    pointer-events: none;
}

/* Contact strip */
.product-detail-armani-bar {
    align-items: center;
}
.armani-phone-ltr {
    unicode-bidi: isolate;
    direction: ltr;
    display: inline-block;
    text-align: left;
}
.armani-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 8px 16px;
    background: #c9a227;
    color: #1a1a1a !important;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}
.armani-contact-btn:hover,
.armani-contact-btn:focus {
    background: #dbb63a;
    color: #111 !important;
}
.armani-bar-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Shared customer logo slider */
.customers-slider-section #companies .item a,
main.main #companies .item a {
    min-height: 120px !important;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.customers-slider-section #companies .item a img,
main.main #companies .item a img {
    max-height: 80px !important;
    max-width: 140px;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    object-position: center;
}

/* Sidebar accordion */
.armani-cat-row {
    display: flex;
    align-items: center;
    gap: 4px;
}
.armani-cat-toggle {
    border: 0;
    background: transparent;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
    color: inherit;
}
.armani-cat-toggle:focus {
    outline: 2px solid #c9a227;
}
.armani-cat-link {
    flex: 1 1 auto;
    text-decoration: none;
    color: inherit;
}
.armani-cat-children[hidden] {
    display: none !important;
}

/* Placeholder zoom off */
.imgShow.no-zoom {
    cursor: default !important;
}
.imgShow.no-zoom img {
    pointer-events: none;
}

/* Cart */
.showCartSideBar {
    display: inline-flex !important;
}
#cartSidebar[hidden] {
    display: none !important;
}
#cartSidebar.open {
    display: block !important;
    left: 0;
}
.armani-cart-badge {
    min-width: 18px;
}
.armani-cart-line {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.armani-cart-line img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: #f7f7f7;
}
.armani-inquiry-note {
    font-size: 0.85rem;
    color: #8a5a00;
}

.product-assurance-copy {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 12px;
}

@media (max-width: 576px) {
    .armani-price-amount { font-size: 0.95rem; }
    .pagination .page-link { min-width: 36px; height: 36px; }
}
