@font-face {
    font-family: 'Vazir';
    src: local('fonts/Vazir'), url('fonts/Vazir.woff') format('woff'), url('fonts/Vazir.ttf') format('truetype'), url('fonts/Vazir.svg') format('svg');
}
html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}
body {
    font-size: 15px;
    font-weight: 300;
    overscroll-behavior: contain;
    margin: 0;
    background: var(--py-bg);
    color: var(--py-text);
    font-family: Vazirmatn,Vazir,Tahoma,sans-serif;
    line-height: 1.7;
}
.home-banner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background-image: url('/images/ParsYadak_banner1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    height: 400px;
    overflow: hidden;
}
.home-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
}
.home-banner h1 {
    position: relative;
    color: white;
    margin-right: 30px;
    font-size: 70px;
}
.home-banner h5 {
    position: relative;
    color: white;
    margin-right: 30px;
    font-size: 30px;
}
@media only screen and (max-width:768px) {
.home-banner {
    height: 200px;
    background-size: cover;
}
.home-banner h1 {
    font-size: 24px;
}
.home-banner h5 {
    font-size: 14px;
}
}
.contact-banner {
    height: 200px;
    background-image: url('/images/contact-us.jpg');
    background-size: cover;
    background-position: center;
}
.site-header {
    max-width: 1180px;
    margin: auto;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f766e;
    text-decoration: none;
}
.brand span {
    color: #f59e0b;
}
.site-header nav {
    display: flex;
    gap: 18px;
    align-items: center;
}
.site-header nav a {
    color: #334155;
    text-decoration: none;
}
.cart-link {
    background: #ccfbf1;
    padding: 6px 12px;
    border-radius: 10px;
}
.site-footer {
    border-top: 1px solid #e2e8f0;
    text-align: center;
    padding: 25px;
    color: #64748b;
}
.store-shell, .simple-page, .detail-page {
    max-width: 1180px;
    margin: auto;
    padding: 24px 20px 60px;
}
.store-hero {
    background: linear-gradient(120deg,#063b4c,#0f766e);
    color: #fff;
    border-radius: 28px;
    padding: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 300px;
}
.store-hero h1 {
    font-size: clamp(2rem,5vw,4rem);
    margin: 10px 0;
    color: #fff;
}
.store-hero p {
    font-size: 1.15rem;
    max-width: 600px;
}
.eyebrow {
    font-weight: 700;
    letter-spacing: .04em;
    font-size: 12px;
    color: #64748b;
}
.store-hero .eyebrow {
    color: #99f6e4;
}
.primary-btn, .secondary-btn {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 8px 5px 0 0;
    border-radius: 5px;
    padding: 0 16px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}
.primary-btn {
    border: 0;
    background: var(--py-amber);
    color: #3a2600;
}
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 5px;
    color: #00236f;
    font: inherit;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
}
.hero-badge {
    border: 1px solid #99f6e4;
    border-radius: 50%;
    padding: 38px 25px;
    text-align: center;
    color: #ccfbf1;
}
.hero-badge strong {
    font-size: 1.3rem;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    margin: 22px 0;
}
.trust-grid div, .info-grid > div, .cart-box, .contact-card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 24px #0f172a0d;
}
.section-heading {
    margin: 4px 0;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}
.section-heading h2 {
    margin: 5px 0 0;
    color: var(--py-primary);
    font-size: 15px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    font-family: "Vazir", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}
.product-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(26, 58, 107, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(26, 58, 107, 0.14);
}
.product-card a {
    display: block;
    color: inherit;
    text-decoration: none;
    height: auto;
}
.product-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}
.product-info {
    display: flex;
    flex-direction: column;
    min-height: 150px;
    padding: 12px;
}
.category {
    color: #3861b8;
    font-size: 9px;
}
.product-info h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 5px 0;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #132444;
    font-size: 13px;
    line-height: 1.8;
}
.product-info p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 34px;
    margin: 0;
    color: #778498;
    font-size: 10px;
    line-height: 1.7;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 9px;
    border-top: 1px solid #eef2f7;
    color: var(--py-primary);
}
.price-row strong, .detail-price {
    color: #0f766e;
    font-size: 1.2rem;
}
.price-row del {
    color: #94a3b8;
    font-size: .85rem;
}
.stock {
    display: inline-block;
    margin-top: 8px;
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
}
.stock.in {
    background: #d1fae5;
    color: #05734b;
}
.stock.out {
    background: #fee2e2;
    color: #b91c1c;
}
.seo-copy {
    margin-top: 44px;
    background: #ecfeff;
    padding: 28px;
    border-radius: 18px;
}
.detail-grid {
    align-items: start;
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(320px,.9fr);
    gap: 34px;
    padding: 24px;
    border: 1px solid var(--py-border);
    border-radius: 8px;
    background: #fff;
}
.detail-image {
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: 24px;
    border-radius: 7px;
    background: #f5f8ff;
}
.detail-image img {
    width: 100%;
    max-height: 390px;
    object-fit: contain;
}
.detail-content h1 {
    font-size: 2.5rem;
}
.detail-price {
    margin: 20px 0;
    color: var(--py-primary);
    font-size: 27px;
    font-weight: 800;
}
.guarantee {
    color: #0f766e;
}
.breadcrumb {
    color: #64748b;
    font-size: 11px;
    text-decoration: none;
}
.simple-page h1 {
    font-size: 2.6rem;
}
.info-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
}
.contact-card {
    display: grid;
    gap: 8px;
    max-width: 420px;
}
.contact-card a {
    color: var(--py-primary);
}
.empty-state {
    width: min(600px,calc(100% - 32px));
    margin: 48px auto;
    padding: 28px;
    border: 1px solid var(--py-border);
    border-radius: 8px;
    background: #fff;
    text-align: center;
}
@media (max-width:700px) {
.store-hero {
    padding: 30px;
    display: block;
}
.hero-badge {
    display: none;
}
.trust-grid, .info-grid {
    grid-template-columns: 1fr 1fr;
}
.detail-grid {
    grid-template-columns: 1fr;
}
.section-heading {
    display: block;
}
}
.about-banner {
    height: 200px;
    background-image: url('/images/about-us.jpg');
    background-size: cover;
    background-position: center;
}
.privacy-banner {
    height: 200px;
    background-image: url('/images/privacy-policy.jpg');
    background-size: cover;
    background-position: center;
}
.terms-banner {
    height: 200px;
    background-image: url('/images/terms.jpg');
    background-size: cover;
    background-position: center;
}
.download-banner {
    height: 200px;
    background-image: url('/images/download.jpg');
    background-size: cover;
    background-position: center;
}
.education-banner {
    height: 200px;
    background-image: url('/images/education.jpg');
    background-size: cover;
    background-position: center;
}
.shipment-banner {
    height: 200px;
    background-image: url('/images/public-salon.jpg');
    background-size: cover;
    background-position: center;
}
input[inputmode="numeric"] {
    direction: ltr;
}
/* Hide number input spinner */
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}
.modal-backdrop {
    z-index: 1048;
}
.modal {
    z-index: 1051;
}
.vr {
    border-left: 1px solid white;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.row::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.row {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.appbar-login {
    z-index: 1040;
    background-color: rgba(36,76,189,.2);
}
.bg_white {
    background-color: white;
}
.bg_01_login {
    background-image: url('../images/bg_01.jpg');
}
.hide {
    display: none;
}
.text-uppercase input {
    text-transform: uppercase !important;
}
.text-ltr {
    direction: ltr;
}
.text-left input {
    text-align: left !important;
}
.text-right input {
    text-align: right !important;
}
.text-center input {
    text-align: center !important;
}
.btnIcon {
    min-height: 150px;
    height: 100%;
    min-width: 150px;
    max-width: 250px;
    width: 100%;
}
.lnkIcon {
    cursor: pointer;
    transition: color 0.3s, box-shadow 0.3s;
}
.lnkIcon:hover {
    background-color: var(--mud-palette-action-default-hover);
    text-decoration: none;
    box-shadow: 5px rgba(0,0,0,0.3);
}
.pnlPlate {
    background-image: url('/images/pnl_bg.png');
    border-radius: 5px;
    max-width: 400px;
    width: 100%;
    color: white;
}
/*.mud-alert-message {
    width: 100%;
}*/
.mnuPersonInfo .mud-nav-link {
    padding: 0 0 0 0;
}
.mnuPersonInfo .mud-nav-link .mud-nav-link-text {
    padding: 0 0 3px 0;
    margin: 5px 5px 2px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.isb-input {
    background-color: #faf9ff;
    border: 0px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
}
.isb-input::placeholder {
    color: #959595;
}
.link-field:hover {
    background-color: var(--mud-palette-action-default-hover);
}
.link-field, .link-field * {
    cursor: pointer !important;
}
#alert-toast {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}
/*.mud-checkbox p {
    width: 100%;
}*/
.hover-div {
    background-color: var(--bs-white);
    padding: 10px;
    border-bottom: 1px solid var(--bs-border-color);
    border-top: 0;
    border-left: 0;
    border-right: 0;
}
.hover-div:hover {
    background-color: var(--bs-gray-200);
}
.nav-menu {
    background-color: #003459;
    color: white;
    max-width: 200px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    text-decoration: none;
    flex-grow: 1;
}
.nav-menu a {
    text-decoration: none;
    color: inherit;
}
.nav-menu a:hover {
    text-decoration: none;
}
.btn-close-nav {
    filter: invert(1);
}
.col-main-border {
    padding: 0 20px 20px 20px;
    border: 1px solid #f3f4f6;
    border-radius: 15px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
}
@media (min-width:768px) {
.col-main {
    margin-left: 20px;
    margin-right: 20px;
}
}
.text-with-hr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #003459;
    font-size: 0.7rem;
    font-weight: 800;
}
.text-with-hr::before, .text-with-hr::after {
    content: '';
    flex-grow: 1;
    margin: 0 10px;
    border-bottom: 1px solid var(--bs-border-color);
}
.number-circle {
    line-height: 40px;
    background-color: #fff;
    text-align: center;
    font-weight: bold;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
}
.card-columns {
    column-count: 4;
    column-gap: 1rem;
}
.card-columns .crd {
    break-inside: avoid;
    margin-bottom: 1rem;
}
@media (max-width:768px) {
.card-columns {
    column-count: 2;
}
}
@media (max-width:576px) {
.card-columns {
    column-count: 1;
}
}
.offcanvas {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.nav-footer {
    margin-top: auto;
    padding: 1rem;
    text-align: center;
}
.version-number {
    font-size: 0.9rem;
    color: gray;
}
.navbar-admin {
    background-color: #003459 !important;
}
.navbar-admin .navbar-brand, .navbar-admin .nav-link, .navbar-admin .dropdown-toggle {
    color: white !important;
}
.navbar-admin .navbar-toggler-icon {
    filter: invert(1);
}
.mud-tab-slider {
    height: 0px !important;
}
.tool-tip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    z-index: 1040;
}
.tool-tip .tool-tip-text {
    visibility: hidden;
    background-color: black;
    color: #fff;
    font-size: 0.72rem;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    max-width: 200px;
    white-space: nowrap;
}
.tool-tip .tool-tip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}
.tool-tip:hover .tool-tip-text {
    visibility: visible;
    opacity: 1;
}
.social-card {
    transition: all 0.3s ease;
    border: 1px solid #eee;
    border-radius: 0.75rem !important;
    background-color: white;
}
.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #12bcb3;
    background-color: #f8f9fa;
}
.social-icon {
    transition: transform 0.3s ease;
}
.social-card:hover .social-icon {
    transform: scale(1.1);
}
.mainframe {
    width: 200px;
    height: 46px;
    border-style: solid;
    border-width: 1px;
    direction: ltr;
    margin-top: 3px;
    border-color: var(--mud-palette-lines-inputs);
    border-radius: var(--mud-default-borderradius);
}
.mainframe input {
    text-align: center;
    background-color: #ffe600 !important;
}
.vertical-dotted-line {
    position: absolute;
    left: 50%;
    top: 4px;
    bottom: 4px;
    transform: translateX(-50%);
    border-left: 2px dotted #12bcb3;
    margin-bottom: 20px;
    margin-top: 12px;
}
.vertical-dotted-line::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #12bcb3;
    transform: translate(-50%, -50%);
    top: 0;
}
.vertical-dotted-line::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: #fd7e14;
    transform: translate(-50%, 50%);
    bottom: 0;
}
.dotted-border-box {
    display: inline-block;
    padding: 4px 8px;
    border: 2px dotted #12bcb3;
    border-radius: 8px;
    border-left: none;
    direction: ltr;
}
.hover-effect:hover {
    background-color: rgba(18, 188, 179, 0.05) !important;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}
.bg-gradient-primary {
    background: linear-gradient(135deg, rgba(18,188,179,0.1) 0%, rgba(18,188,179,0.2) 100%);
}
.rounded-4 {
    border-radius: 1rem !important;
}
.payment-info-container {
    margin: 0;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
}
.payment-info-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    flex-wrap: wrap;
}
.payment-info-row:last-child {
    border-bottom: none;
}
.payment-info-label {
    font-weight: bold;
    min-width: 120px;
    margin-left: 10px;
    align-self: center;
}
.payment-info-content {
    display: flex;
    flex-grow: 1;
    align-items: center;
}
.payment-info-value {
    flex-grow: 1;
    text-align: left;
    margin-right: 10px;
}
.copy-btn {
    white-space: nowrap;
    margin-right: 5px;
}
@media (max-width:768px) {
.payment-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.payment-info-label {
    margin-left: 0;
    margin-bottom: 0;
    width: 100%;
}
.payment-info-content {
    width: 100%;
    justify-content: space-between;
}
.payment-info-value {
    text-align: right;
    margin-right: 0;
}
}
.bg-purple {
    background-color: #6f42c1 !important;
}
.bg-indigo {
    background-color: #6610f2 !important;
}
.bg-pink {
    background-color: #d63384 !important;
}
.bg-teal {
    background-color: #20c997 !important;
}
.bg-cyan {
    background-color: #0dcaf0 !important;
}
.bg-orange {
    background-color: #fd7e14 !important;
}
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #ced4da;
}
/* ============================================
   BUTTON STRUCTURE - FIXED
   Image on top | Text below | Centered
   ============================================ */
/* Override MudButton default */
/*.mud-button-root.btn-action .mud-button-label {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    height: 100%;
    gap: 8px;
}*/
/* Main button container */
.btn-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100px;
    padding: 12px 8px;
    border-radius: 14px;
    border: 1.5px solid;
    background: #ffffff;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
/* Image - Row 1 */
.btn-action img {
    width: 28px;
    height: auto;
    display: block;
}
/* Row 2: Text + Arrow wrapper */
.btn-action .btn-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    line-height: 1.3;
}
/* Arrow icon */
.btn-action .btn-arrow {
    font-size: 0.9rem;
    opacity: 0.7;
    flex-shrink: 0;
}
/* Colored variants */
.btn-action-info {
    border-color: #0ea5e9;
    background: rgba(14, 165, 233, 0.06);
    color: #0369a1;
}
.btn-action-success {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.06);
    color: #16a34a;
}
.btn-action-danger {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.06);
    color: #dc2626;
}
.btn-action-warning {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.06);
    color: #d97706;
}
.btn-action-primary {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.06);
    color: #2563eb;
}
.btn-action-light {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #475569;
}
.btn-action-dark {
    border-color: #475569;
    background: #f8fafc;
    color: #1e293b;
}
/* Hover */
.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
/* Active */
.btn-action:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
/* Focus */
.btn-action:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}
/* Disabled */
.btn-action:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}
@media (min-width:992px) {
/* ============================================
   RESPONSIVE SIZES
   ============================================ */
/* Desktop */
.btn-action {
    min-height: 130px;
    padding: 16px 12px;
    border-radius: 18px;
    font-size: 0.85rem;
}
.btn-action img {
    width: 34px;
}
.btn-action .btn-arrow {
    font-size: 1rem;
}
}
@media (max-width:991px) and (min-width:768px) {
/* Tablet */
.btn-action {
    min-height: 110px;
    padding: 14px 10px;
    border-radius: 16px;
}
.btn-action img {
    width: 30px;
}
}
@media (max-width:767px) {
/* Mobile */
.btn-action {
    min-height: 100px;
    padding: 12px 8px;
    border-radius: 14px;
    font-size: 0.75rem;
}
.btn-action img {
    width: 26px;
}
}
@media (max-width:480px) {
/* Small Mobile */
.btn-action {
    min-height: 85px;
    padding: 10px 6px;
    border-radius: 12px;
    font-size: 0.7rem;
}
.btn-action img {
    width: 22px;
}
.btn-action .btn-arrow {
    font-size: 0.8rem;
}
}
/* ============================================
   SCROLLABLE ROW
   ============================================ */
.scroll-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 10px;
    padding: 8px 0;
}
.scroll-row .btn-action {
    flex: 0 0 110px;
    width: 110px !important;
    min-height: 88px;
    height: 88px;
    padding: 10px 8px;
    border-radius: 14px;
}
.scroll-row .btn-action img {
    width: 26px;
}
@media (max-width:480px) {
.scroll-row .btn-action {
    flex: 0 0 95px;
    width: 95px !important;
    min-height: 80px;
    height: 80px;
    border-radius: 12px;
    padding: 8px 6px;
}
.scroll-row .btn-action img {
    width: 22px;
}
}
@media (min-width:768px) {
.scroll-row .btn-action {
    flex: 0 0 120px;
    width: 120px !important;
    min-height: 95px;
    height: 95px;
    border-radius: 16px;
}
.scroll-row .btn-action img {
    width: 28px;
}
}
@media (min-width:992px) {
.scroll-row .btn-action {
    flex: 0 0 130px;
    width: 130px !important;
    min-height: 100px;
    height: 100px;
    border-radius: 18px;
}
.scroll-row .btn-action img {
    width: 32px;
}
}
/* ============================================
   SCROLLBAR
   ============================================ */
.scroll-row::-webkit-scrollbar {
    height: 6px;
}
.scroll-row::-webkit-scrollbar-track {
    background: transparent;
}
.scroll-row::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}
.scroll-row::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}
@media (prefers-reduced-motion:reduce) {
/* ============================================
   ACCESSIBILITY
   ============================================ */
.btn-action {
    transition: none;
}
.btn-action:hover {
    transform: none;
}
}
/*===================================================*/
.gps-prompt-container {
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
    color: white;
    text-align: center;
    padding: 20px;
}
/* Pars Yadak Plus storefront theme — based on the approved industrial RTL design. */
:root {
    --py-primary: #00236f;
    --py-primary-2: #1e3a8a;
    --py-amber: #fea619;
    --py-bg: #f8f9ff;
    --py-surface: #fff;
    --py-low: #eff4ff;
    --py-border: #dce5f2;
    --py-text: #0b1c30;
    --py-muted: #64748b;
    --py-success: #10b981;
}
html {
    scroll-behavior: smooth;
}
* {
    box-sizing: border-box;
}
.material-symbols-outlined {
    vertical-align: middle;
}
.page-container {
    width: min(1440px, calc(100% - 48px));
    max-width: 100%;
    margin-inline: auto;
}
.site-content {
    min-height: 60vh;
}
.store-appbar {
    height: auto !important;
    color: var(--py-text) !important;
    background: rgba(255,255,255,.98) !important;
}
.store-main-content {
    padding-top: 0;
}
.technical-ribbon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 25px;
    padding: 3px 16px;
    background: #0f172a;
    color: #dbeafe;
    font-size: 10px;
    text-align: center;
}
.technical-ribbon .material-symbols-outlined {
    color: var(--py-amber);
    font-size: 10px;
}
.support-bar {
    background: var(--py-primary);
    color: #fff;
    font-size: 12px;
}
.support-bar-inner, .main-bar-inner, .category-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.support-bar-inner {
    min-height: 38px;
}
.support-bar span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.support-bar .material-symbols-outlined {
    color: var(--py-amber);
    font-size: 16px;
}
.support-bar a {
    color: #fff;
    text-decoration: none;
}
.support-bar a:hover {
    color: #ffd48a;
}
.main-bar {
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--py-border);
}
.main-bar-inner {
    min-height: 80px;
    min-width: 0;
}
.store-brand, .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--py-primary);
    text-decoration: none;
    white-space: nowrap;
}
.store-brand {
    flex: 0 0 auto;
    min-width: 0;
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: var(--py-amber);
    background: var(--py-primary);
    font-size: 24px;
}
.store-brand strong {
    display: block;
    font-size: 18px;
    line-height: 1.3;
}
.store-brand small {
    display: block;
    color: #64748b;
    font-size: 10px;
}
.site-search {
    position: relative;
    /*z-index: 1200;*/
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 620px;
    min-width: 0;
    min-height: 42px;
    padding: 0 12px;
    gap: 8px;
    border-radius: 9px;
    background: var(--py-low);
    color: #94a3b8;
}
.site-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--py-text);
    font: inherit;
    font-size: 12px;
}
.site-search-clear {
    border: 0;
    padding: 0 4px;
    background: transparent;
    color: #64748b;
    font: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.site-search-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 1201;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    border: 1px solid var(--py-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .2);
    color: var(--py-text);
}
.site-search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--py-border);
    color: inherit;
    text-decoration: none;
}
.site-search-result:last-of-type {
    border-bottom: 0;
}
.site-search-result:hover,
.site-search-result:focus-visible {
    outline: 0;
    background: var(--py-low);
}
.site-search-result > img {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
    background: var(--py-low);
}
.site-search-result-info {
    display: grid;
    flex: 1;
    min-width: 0;
    gap: 5px;
}
.site-search-result-info strong {
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.site-search-result-info small {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    color: #64748b;
    font-size: 10px;
}
.site-search-result-info mark {
    border-radius: 2px;
    padding: 0 1px;
    background: #ffdf86;
    color: #422900;
}
.site-search-result > .mud-icon-root {
    flex: 0 0 auto;
    color: var(--py-primary);
}
.site-search-message {
    padding: 14px 16px;
    color: #64748b;
    font-size: 12px;
    text-align: center;
}
.site-search kbd {
    direction: ltr;
    border-radius: 4px;
    padding: 1px 5px;
    background: #d9e5f8;
    color: #64748b;
    font: 10px 'JetBrains Mono',monospace;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.account-link, .cart-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    border-radius: 9px;
    text-decoration: none;
    color: var(--py-text);
    background: var(--py-low);
    font-size: 12px;
    padding: 0 11px;
}
.account-link:hover, .cart-button:hover {
    background: #dce9ff;
}
.cart-button {
    position: relative;
    width: 42px;
    padding: 0;
}
.cart-button b {
    position: absolute;
    top: -6px;
    right: -5px;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 99px;
    background: var(--py-amber);
    color: #352100;
    font: 700 10px Vazirmatn;
}
.category-bar {
    background: #fff;
    box-shadow: 0 3px 10px rgba(15,23,42,.04);
}
.category-bar-inner {
    min-height: 48px;
}
.category-bar nav {
    display: flex;
    align-items: center;
    gap: 3px;
    overflow-x: auto;
}
.category-bar nav a, .vehicle-nav {
    flex: none;
    color: #3f4b5d;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 9px;
    border-radius: 6px;
    white-space: nowrap;
}
.category-bar nav a:hover {
    color: var(--py-primary);
    background: var(--py-low);
}
.category-bar nav .active {
    color: #fff;
    background: var(--py-primary-2);
}
.category-bar nav .offer-link {
    color: #b45e00;
}
.vehicle-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--py-primary);
    background: #e5eeff;
}
.storefront {
    overflow: hidden;
}
.hero-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    padding: 22px 0;
}
.campaign-stack {
    display: grid;
    gap: 12px;
}
.campaign-card {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 20px;
    border: 1px solid #0f3f9f;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(145deg,#012b84,#07184a);
    box-shadow: 0 6px 18px rgba(0,35,111,.18);
}
.campaign-card::after {
    content: '';
    position: absolute;
    inset: auto -35px -50px auto;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(254,166,25,.5);
    border-radius: 50%;
}
.campaign-card span {
    color: #ffd27c;
    font-size: 10px;
}
.campaign-card h2 {
    margin: 9px 0;
    font-size: 16px;
    line-height: 1.8;
}
.campaign-card p {
    margin: 0 0 12px;
    color: #dbeafe;
    font-size: 11px;
}
.campaign-card a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 5px 8px;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
}
.campaign-card strong {
    position: absolute;
    bottom: 14px;
    left: 17px;
    font: 700 9px 'JetBrains Mono';
    letter-spacing: .06em;
}
.campaign-note {
    display: flex;
    gap: 10px;
    padding: 13px;
    border: 1px solid var(--py-border);
    border-radius: 8px;
    background: #fff;
    font-size: 11px;
}
.campaign-note > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 7px;
    color: var(--py-primary);
    background: #e5eeff;
}
.campaign-note b {
    font-size: 11px;
}
.campaign-note p {
    margin: 3px 0 0;
    color: var(--py-muted);
    font-size: 10px;
    line-height: 1.8;
}
/* کانتینر اصلی هیرو با پس‌زمینه گرادیانی چندلایه طبق دیزاین سیستم */
.hero-main {
    position: relative;
    overflow: hidden;
    min-height: 290px;
    padding: 32px 40px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle, #e2e8f0);
    background: radial-gradient(circle 320px at -40px calc(100% + 40px), rgba(211, 228, 254, 0.55), transparent 70%), radial-gradient(circle 260px at 75% -40px, rgba(254, 166, 25, 0.09), transparent 70%), linear-gradient(120deg, #ffffff 0%, #ffffff 60%, #edf4ff 100%);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(30, 58, 138, 0.04);
}
/* لایه‌بندی محتوا روی گرادیان */
.hero-main > * {
    position: relative;
    z-index: 1;
}
/* نشان / بج بالای عنوان */
.hero-meta, .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    padding: 4px 10px;
    color: var(--color-primary, #00236f);
    background: #e5eeff;
    font-size: 11px;
    font-weight: 700;
}
.hero-meta .mud-icon-root, .hero-meta .material-symbols-outlined {
    color: var(--status-success, #10b981);
    font-size: 15px;
}
/* تیتر اصلی */
.hero-main h1 {
    max-width: 720px;
    margin: 16px 0 6px;
    color: var(--color-primary, #00236f);
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.45;
}
.hero-main h1 strong {
    color: var(--color-primary, #00236f);
}
/* زیرعنوان نارنجی */
.hero-main h2 {
    margin: 0;
    color: var(--color-secondary, #fea619);
    font-size: clamp(18px, 2.3vw, 28px);
    font-weight: 700;
}
/* توضیحات هیرو */
.hero-main > p {
    max-width: 680px;
    margin: 10px 0 24px;
    color: #58677a;
    font-size: 13px;
    line-height: 1.8;
}
/* بخش باکس‌های مزایا (Hero Facts) */
.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    max-width: 650px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--border-subtle, #e2e8f0);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.hero-facts > div {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 8px;
    align-items: center;
    padding: 10px 14px;
    border-left: 1px solid var(--border-subtle, #e2e8f0);
}
.hero-facts > div:last-child {
    border-left: none;
}
.hero-facts .icon-cell {
    grid-row: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary, #00236f);
    font-size: 22px;
}
.hero-facts b {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}
.hero-facts small {
    color: #64748b;
    font-size: 10px;
}
@media (max-width:640px) {
.hero-main {
    padding: 20px;
}
.hero-facts {
    grid-template-columns: 1fr;
}
.hero-facts > div {
    border-left: none;
    border-bottom: 1px solid var(--border-subtle, #e2e8f0);
}
.hero-facts > div:last-child {
    border-bottom: none;
}
}
.vehicle-finder {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid var(--py-border);
    border-top: 3px solid var(--py-primary);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(15,23,42,.04);
}
.vehicle-heading {
    display: flex;
    align-items: center;
    gap: 10px;
}
.icon-square {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: var(--py-primary);
    color: #fff;
}
.vehicle-heading h2 {
    margin: 0;
    font-size: 16px;
}
.vehicle-heading p {
    margin: 2px 0 0;
    color: var(--py-muted);
    font-size: 11px;
}
.verified-note {
    margin-right: auto;
    color: #16845c;
    font-size: 10px;
}
.vehicle-form {
    display: grid;
    grid-template-columns: repeat(3,1fr) 180px;
    gap: 10px;
    margin-top: 14px;
}
.vehicle-form label {
    color: #64748b;
    font-size: 10px;
}
.vehicle-form select {
    display: block;
    width: 100%;
    height: 42px;
    margin-top: 4px;
    padding: 0 10px;
    border: 1px solid #e4ebf5;
    border-radius: 6px;
    background: #f5f8ff;
    color: #475569;
    font: 11px Vazirmatn;
}
.vehicle-form button {
    align-self: end;
    height: 42px;
    border: 0;
    border-radius: 5px;
    background: var(--py-amber);
    color: #3d2700;
    cursor: pointer;
    font: 700 11px Vazirmatn;
}
.vehicle-form button:hover {
    background: #f39200;
}
.vehicle-form-single {
    grid-template-columns: minmax(240px,420px) 180px;
    justify-content: start;
}
.products-section {
    padding: 0;
}
.section-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--py-primary);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}
.product-image {
    position: relative;
    aspect-ratio: 1.35/1;
    padding: 14px;
    background: #f5f8fc;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.price-row strong {
    font-size: 12px;
}
.price-row .material-symbols-outlined {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 4px;
    color: #5a3900;
    background: var(--py-amber);
    font-size: 16px;
}
.store-benefits {
    padding: 0;
    background: #fff;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}
.vehicle-family-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
}
.vehicle-family-grid a {
    display: grid;
    gap: 3px;
    min-height: 120px;
    padding: 16px;
    border: 1px solid var(--py-border);
    border-radius: 7px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: .2s;
}
.vehicle-family-grid a:hover {
    border-color: #a9c1f5;
    background: #f5f8ff;
    transform: translateY(-2px);
}
.vehicle-family-grid .material-symbols-outlined {
    width: max-content;
    padding: 7px;
    border-radius: 6px;
    color: var(--py-primary);
    background: #e5eeff;
    font-size: 25px;
}
.vehicle-family-grid b {
    margin-top: 6px;
    color: #182d55;
    font-size: 13px;
}
.vehicle-family-grid small {
    color: #718096;
    font-size: 10px;
}
.genuine-parts {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 25px;
    align-items: center;
    padding: 42px 0;
}
.genuine-parts h2 {
    margin: 8px 0;
    color: var(--py-primary);
    font-size: 24px;
    line-height: 1.8;
}
.genuine-parts p {
    color: var(--py-muted);
    font-size: 12px;
}
.genuine-parts ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.genuine-parts li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px;
    border: 1px solid var(--py-border);
    border-radius: 7px;
    background: #fff;
    color: #46556a;
    font-size: 11px;
}
.genuine-parts li .material-symbols-outlined {
    color: var(--py-primary);
}
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}
.brand-grid a {
    display: grid;
    grid-template-rows: 68px auto auto;
    align-items: center;
    justify-items: center;
    gap: 4px;
    min-height: 142px;
    padding: 14px 10px;
    border: 1px solid var(--py-border);
    border-radius: 7px;
    background: #fff;
    color: inherit;
    text-align: center;
    text-decoration: none;
    transition: .2s;
}
.brand-grid a:hover {
    border-color: #a9c1f5;
    background: #f5f8ff;
    box-shadow: 0 5px 12px rgba(30,58,138,.08);
    transform: translateY(-2px);
}
.brand-logo {
    display: grid;
    place-items: center;
    width: 100%;
    height: 68px;
    padding: 8px;
    border-radius: 6px;
    background: #f5f8ff;
}
.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.brand-grid b {
    color: #182d55;
    font-size: 12px;
}
.brand-grid small, .brand-loading {
    color: #718096;
    font-size: 9px;
}
.brand-loading {
    padding: 22px;
    border: 1px dashed var(--py-border);
    border-radius: 7px;
    text-align: center;
}
.detail-page, .simple-page {
    width: min(1120px,calc(100% - 48px));
    margin: 0 auto;
    padding: 42px 0 64px;
}
.detail-page {
    display: grid;
    gap: 18px;
}
.detail-content h1, .simple-page h1 {
    color: var(--py-primary);
}
.detail-content .category {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    background: #e5eeff;
}
.detail-content p {
    color: #536175;
}
.simple-page {
    min-height: 450px;
}
.simple-page > p {
    max-width: 700px;
    color: #536175;
}
.info-grid > div, .cart-box, .contact-card {
    border: 1px solid var(--py-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.info-grid > div {
    padding: 18px;
}
.info-grid h2 {
    color: var(--py-primary);
    font-size: 16px;
}
.contact-card, .cart-box {
    max-width: 560px;
    padding: 20px;
}
.store-footer {
    padding: 38px 0 14px;
    background: #0b1f56;
    color: #d5e1f6;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 40px;
}
.store-footer h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 14px;
}
.store-footer p {
    color: #b9c8e2;
    font-size: 11px;
}
.footer-brand {
    margin-bottom: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
}
.footer-brand .material-symbols-outlined {
    color: var(--py-amber);
}
.store-footer section > a:not(.footer-brand) {
    display: block;
    margin: 7px 0;
    color: #b9c8e2;
    font-size: 11px;
    text-decoration: none;
}
.store-footer section > a:hover {
    color: #fff;
}
.trust-seals {
    display: flex;
    gap: 8px;
}
.trust-seals span {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: fit-content;
    height: fit-content;
    padding: 8px;
    border-radius: 7px;
    background: #173477;
    color: #cbd9f1;
    font-size: 9px;
}
.trust-seals .mud-icon-root {
    width: 1em;
    height: 1em;
    color: white;
    font-size: 42px;
}
    .trust-seals i {
        display: block;
        color: white;
        font-style: normal;
        font-size: 21px;
    }
.copyright {
    margin-top: 26px;
    padding-top: 12px;
    border-top: 1px solid #24427f;
    color: #9eb0cf;
    font-size: 10px;
}
@media (max-width:1024px) {
.site-search {
    max-width: none;
}
.hero-layout {
    grid-template-columns: 230px 1fr;
}
.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.brand-grid {
    grid-template-columns: repeat(4,1fr);
}
.vehicle-form {
    grid-template-columns: repeat(3,1fr);
}
.vehicle-form button {
    grid-column: 1/-1;
}
.detail-grid {
    grid-template-columns: 1fr;
}
}
@media (max-width:720px) {
.page-container, .detail-page, .simple-page {
    width: min(100% - 32px,1440px);
}
.site_title, .support-bar {
    display: none;
}
.support-bar-inner {
    justify-content: center;
}
.main-bar-inner {
    min-height: 65px;
}
.store-brand strong {
    font-size: 15px;
}
.store-brand small {
    font-size: 8px;
}
.hero-layout, .genuine-parts {
    grid-template-columns: 1fr;
}
.campaign-stack {
    grid-template-columns: 1fr 1fr;
}
.hero-main {
    min-height: auto;
    padding: 28px 20px;
}
.hero-main::after {
    opacity: .35;
    left: 10px;
    top: 20px;
    font-size: 100px;
}
.hero-main h1 {
    font-size: 27px;
}
.hero-facts {
    grid-template-columns: 1fr;
}
.hero-facts div {
    border-left: 0;
    border-bottom: 1px solid var(--py-border);
}
.hero-facts div:last-child {
    border-bottom: 0;
}
.vehicle-heading {
    align-items: flex-start;
}
.verified-note {
    display: none;
}
.vehicle-form {
    grid-template-columns: 1fr;
}
.vehicle-form button {
    grid-column: auto;
}
.product-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 9px;
}
.product-info {
    min-height: 142px;
    padding: 9px;
}
.product-info h3 {
    font-size: 11px;
}
.price-row strong {
    font-size: 10px;
}
.vehicle-family-grid, .brand-grid, .info-grid, .footer-grid {
    grid-template-columns: 1fr 1fr;
}
.genuine-parts {
    padding: 30px 0;
}
.genuine-parts h2 {
    font-size: 19px;
}
.detail-page, .simple-page {
    padding-top: 28px;
}
.detail-grid {
    padding: 14px;
}
.detail-image {
    min-height: 250px;
}
.footer-grid section:first-child {
    grid-column: 1/-1;
}
}
@media (max-width:420px) {
.campaign-stack, .vehicle-family-grid, .info-grid, .footer-grid {
    grid-template-columns: 1fr;
}
/* برندها در موبایل کوچک هم دو ستونه کنار هم می‌مانند (قانون 720px) */
.brand-grid {
    grid-template-columns: 1fr 1fr;
}
.product-grid {
    grid-template-columns: 1fr 1fr;
}
.hero-main h2 {
    font-size: 18px;
}
.section-heading h2 {
    font-size: 18px;
}
.product-image {
    padding: 8px;
}
.category {
    font-size: 8px;
}
.footer-grid section:first-child {
    grid-column: auto;
}
}
.header-actions .account-login-mobile {
    display: none;
}
@media (max-width:720px) {
.header-actions .account-login-desktop {
    display: none;
}
.header-actions .account-login-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--py-text);
}
.header-actions .account-link.dropdown-toggle {
    background: transparent;
}
/*.header-actions .account-link.dropdown-toggle::after {
            display: none;
        }*/
}
@media (prefers-reduced-motion:reduce) {
*, *:before, *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
}
}
@media (max-width:768px) {
.page-container {
    width: calc(100% - 24px);
    max-width: none;
}
.main-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    row-gap: 12px;
    padding-top: 10px;
    padding-bottom: 12px;
    min-height: auto;
}
.store-brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
}
.header-actions {
    order: 2;
    flex: 0 0 auto;
    min-width: 0;
    gap: 6px;
}
.site-search {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
    min-width: 0;
}
.site-search input {
    min-width: 0;
    width: 100%;
}
.account-link, .login-link-mobile, .store-account-menu .account-link {
    background-color: var(--py-low) !important;
    color: var(--py-ink) !important;
    border: 1px solid var(--py-border) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
.account-link .material-symbols-outlined, .login-link-mobile .material-symbols-outlined, .account-link svg {
    color: var(--py-ink) !important;
    fill: currentColor;
}
.account-link:active, .account-link:hover {
    background-color: var(--py-high) !important;
    color: var(--py-ink) !important;
}
}
.pd {
    --pd-primary: #00236f;
    --pd-light: #eff4ff;
    --pd-orange: #fea619;
    max-width: 1440px;
    margin: auto;
    padding: 0 28px 36px;
    color: #0b1c30;
    font-family: Vazirmatn,Vazir,sans-serif;
    overflow-x: hidden;
}
.pd a {
    text-decoration: none;
    color: inherit;
}
.pd h1 {
    font-size: 25px;
    font-weight: 800;
    line-height: 1.8;
    margin: 20px 0 10px;
}
.pd h2 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.8;
    margin: 0 0 14px;
}
.pd p {
    font-size: 13px;
    line-height: 2;
    margin: 8px 0 16px;
}
.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    font-size: 12px;
    flex-wrap: wrap;
}
.pd-breadcrumb code {
    margin-inline-start: auto;
    background: #e5eeff;
    padding: 4px 10px;
    color: var(--pd-primary);
}
.pd-showcase {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 24px;
    align-items: start;
}
.pd-visual, .pd-summary {
    display: grid;
    gap: 20px;
}
.pd-card {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 3px #0b1c300b;
}
.pd-chip {
    display: inline-block;
    font-size: 11px;
    padding: 4px 9px;
    background: #e5eeff;
    border-radius: 4px;
}
.pd-brand {
    background: var(--pd-primary);
    color: white;
}
.pd-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.pd-in {
    color: #08794f !important;
}
.pd-out {
    color: #b42318 !important;
}
.pd-chip.pd-in {
    background: #e8f8f1;
}
.pd-chip.pd-out {
    background: #fff0ed;
}
.pd-gallery {
    padding: 18px;
}
.pd-master {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    background: var(--pd-light);
    aspect-ratio: 1;
    margin-top: 14px;
    border-radius: 6px;
    overflow: visible;
}
.pd-master img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: transform .2s;
}
.pd-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 14px 2px 2px;
}
.pd-thumbnails a {
    flex: 0 0 72px;
    border: 2px solid transparent;
    background: var(--pd-light);
    border-radius: 5px;
}
.pd-thumbnails a.selected {
    border-color: var(--pd-primary);
}
.pd-thumbnails img {
    width: 68px;
    height: 68px;
    object-fit: contain;
}
.pd-trace h2, .pd-fit h2 {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pd-trace .material-symbols-outlined, .pd-fit .material-symbols-outlined {
    color: #08794f;
}
.pd-trace dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
}
.pd-trace dl > div {
    background: var(--pd-light);
    padding: 12px;
}
.pd dt {
    font-size: 12px;
    font-weight: 400;
    color: #475569;
}
.pd dd {
    font-size: 13px;
    font-weight: 600;
    margin: 6px 0 0;
    overflow-wrap: anywhere;
}
.pd-muted {
    color: #64748b;
    font-size: 12px;
}
.pd-notice {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--pd-light);
    border-radius: 6px;
    color: var(--pd-primary);
    margin: 20px 0;
}
.pd-notice p {
    margin: 6px 0 0;
}
.pd-purchase {
    background: #f8f9ff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}
.pd-price {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: baseline;
    flex-wrap: wrap;
    margin: 10px 0 22px;
}
.pd-price > strong {
    font-size: 30px;
    color: var(--pd-primary);
    font-weight: 800;
}
.pd-price > span, .pd-price del {
    font-size: 12px;
    color: #64748b;
}
.pd-discount {
    background: #ba1a1a;
    color: white;
    border-radius: 3px;
    padding: 3px 7px;
    font-size: 11px;
}
.pd-buy-form {
    align-items: stretch;
    margin-top: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 12px;
}
.pd-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
}
.pd-quantity input {
    width: 65px;
    padding: 8px;
    border: 0;
    background: var(--pd-light);
    font: inherit;
    font-size: 17px;
    text-align: center;
}
.pd-buy {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 5px;
    min-height: 48px;
    padding: 12px 16px;
    background: var(--pd-orange);
    color: #0b1c30;
    font: inherit;
    font-weight: 700;
    font-size: 14px;
    flex: 1;
    cursor: pointer;
}
.pd-buy:hover {
    background: #ffb641;
}
.pd-call {
    display: grid;
    place-items: center;
    background: var(--pd-primary);
    color: white !important;
    width: 48px;
    border-radius: 5px;
}
.pd-benefits {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 6px;
    margin-top: 18px;
}
.pd-benefits > a {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    background: var(--pd-light);
    padding: 12px 4px;
    font-size: 11px;
}
.pd-benefits .material-symbols-outlined {
    color: var(--pd-primary);
    font-size: 21px;
}
.pd-fit > a {
    font-size: 12px;
    color: var(--pd-primary);
    font-weight: 700;
}
.pd-information {
    margin: 28px 0;
    padding: 0 24px 24px;
}
.pd-tabs {
    display: flex;
    gap: 8px;
    background: var(--pd-light);
    margin: 0 -24px 24px;
    padding: 10px 16px;
    border-radius: 10px 10px 0 0;
    flex-wrap: wrap;
}
.pd-tabs a {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--pd-primary);
}
.pd-tabs a:first-child {
    background: white;
    border-radius: 5px;
    font-weight: 700;
}
.pd-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 16px 0 26px;
}
.pd-specs > div {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 16px;
    background: var(--pd-light);
    padding: 16px;
}
.pd-specs > div:nth-child(4n+3), .pd-specs > div:nth-child(4n+4) {
    background: #f8f9ff;
}
.pd-specs dd {
    margin: 0;
}
.pd-description {
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.pd-related {
    margin: 34px 0;
}
.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px;
}
.pd-related .pd-card {
    padding: 16px;
}
.pd-related img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: var(--pd-light);
    border-radius: 6px;
    padding: 12px;
}
.pd-related small {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 10px;
}
.pd-related h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.9;
    margin: 8px 0 20px;
}
.pd-related-price {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}
.pd-related-price small {
    display: inline;
}
.pd-support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    background: linear-gradient(110deg,#00236f,#1e3a8a);
    color: white;
    border-radius: 9px;
}
.pd-support h2 {
    margin-bottom: 4px;
}
.pd-support p {
    margin: 0;
    color: #dce1ff;
}
.pd-support > a {
    display: flex;
    gap: 10px;
    align-items: center;
    background: var(--pd-orange);
    color: #0b1c30;
    padding: 15px;
    border-radius: 5px;
    font-size: 13px;
    white-space: nowrap;
}
.pd :is(a,button,input):focus-visible {
    outline: 3px solid #4059aa;
    outline-offset: 4px;
}
.pd [id] {
    scroll-margin-top: 30px;
}
@media (max-width:1000px) {
.pd {
    padding: 0 18px 28px;
}
.pd-showcase {
    grid-template-columns: 1fr 1.2fr;
    gap: 16px;
}
.pd-card {
    padding: 18px;
}
.pd h1 {
    font-size: 21px;
}
.pd-buy-form {
    flex-wrap: wrap;
}
.pd-buy {
    min-width: 160px;
}
.pd-related-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
}
.pd-information {
    padding: 0 18px 18px;
}
.pd-tabs {
    margin-inline: -18px;
}
.pd-support {
    align-items: start;
    flex-direction: column;
}
}
@media (max-width:680px) {
.pd {
    padding: 0 12px 24px;
}
.pd-showcase {
    grid-template-columns: minmax(0,1fr);
}
.pd-breadcrumb {
    font-size: 11px;
    gap: 7px;
}
.pd-breadcrumb code {
    margin-inline-start: 0;
}
.pd h1 {
    font-size: 22px;
}
.pd-gallery {
    padding: 12px;
}
.pd-master {
    max-height: 430px;
    aspect-ratio: 1.1;
}
.pd-trace {
    display: none;
}
.pd-price > strong {
    font-size: 27px;
}
.pd-purchase {
    padding: 16px;
}
.pd-specs {
    grid-template-columns: 1fr;
}
.pd-specs > div:nth-child(n) {
    background: var(--pd-light);
}
.pd-specs > div:nth-child(even) {
    background: #f8f9ff;
}
.pd-tabs {
    gap: 0;
    padding: 8px;
}
.pd-tabs a {
    font-size: 11px;
    padding: 10px;
}
.pd-related-grid {
    gap: 10px;
}
.pd-related .pd-card {
    padding: 10px;
}
.pd-related-price {
    align-items: start;
    flex-direction: column;
}
.pd-support {
    padding: 20px;
}
.pd-support > a {
    white-space: normal;
    flex-wrap: wrap;
}
.pd-buy-form {
    gap: 8px;
}
.pd-quantity {
    flex: 1;
    justify-content: space-between;
}
.pd-buy {
    order: 3;
    flex-basis: 100%;
}
}
.pd-basket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #e5eeff;
    flex-wrap: wrap;
}
.cart-top-row {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0,1.5fr) minmax(320px,.75fr);
    gap: 20px;
    align-items: start;
}
.cart-sidebar {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 20px;
}
.cart-section-title {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.cart-section-title h2 {
    margin: 0;
}
.cart-section-title span {
    font-size: 12px;
    color: #64748b;
}
.cart-item {
    border-bottom: 1px solid #e5eeff;
    position: relative;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    grid-template-areas: "image main quantity";
    align-items: center;
    gap: 1rem;
    min-width: 0;
    margin-bottom: 0.75rem;
    padding: 1rem;
    border: 1px solid #e5eeff;
    border-radius: 10px;
    background: #f8faff;
}
.cart-item:last-child {
    border-bottom: 0;
}
.cart-item-image {
    background: #eff4ff;
    place-items: center;
    grid-area: image;
    display: block;
    width: 88px;
    height: 88px;
    overflow: hidden;
    border-radius: 8px;
}
.cart-item-image img {
    padding: 8px;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cart-item-main h3 {
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 4px;
}
.cart-meta, .cart-unit-price {
    font-size: 11px !important;
    color: #64748b;
    margin: 4px 0 !important;
}
.cart-remove {
    border: 0;
    background: transparent;
    color: #b42318;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
    margin-top: 8px;
}
.cart-quantity {
    display: flex;
    align-items: center;
/*    border: 1px solid #dce4f2;
    border-radius: 6px;*/
    overflow: hidden;
    background: #f8f9ff;
    grid-area: quantity;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.cart-quantity button {
    width: 32px;
    height: 36px;
    border: 0;
    background: #e5eeff;
    color: #00236f;
    font-size: 20px;
    cursor: pointer;
}
.cart-quantity input {
    height: 36px;
    border: 0;
    background: #fff;
    text-align: center;
    font: inherit;
    width: 100%;
}
.cart-warning {
    grid-column: 2/-1;
    background: #fff8e8;
    padding: 7px 10px;
    border-radius: 4px;
    margin: 0 !important;
    font-size: 11px !important;
    width: 100%;
    margin-top: 0.5rem;
    color: #b45309 !important;
}
.cart-summary h2, .delivery-card h2 {
    margin-top: 0;
}
.cart-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    font-size: 12px;
    margin: 14px 0;
    color: #475569;
}
.cart-summary hr {
    border: 0;
    border-top: 1px solid #e2e8f0;
}
.cart-grand-total strong {
    font-size: 21px;
    color: #00236f;
}
.cart-summary .pd-buy {
    width: 100%;
    margin-top: 16px;
}
.delivery-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.delivery-tabs form {
    display: flex;
}
.delivery-tabs button {
    width: 100%;
    border: 1px solid #dce4f2;
    background: #f8f9ff;
    padding: 12px 8px;
    border-radius: 5px;
    font: inherit;
    font-size: 11px;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.delivery-tabs button.selected {
    background: #e5eeff;
    border-color: #00236f;
    color: #00236f;
    font-weight: 700;
}
.delivery-tabs .material-symbols-outlined {
    font-size: 19px;
}
.address-list, .pickup-list {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}
.address-list form {
    display: flex;
}
.address-option {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    text-align: right;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font: inherit;
}
.address-option.selected {
    border-color: #00236f;
    background: #eff4ff;
}
.address-option > span:last-child {
    display: grid;
    gap: 4px;
}
.address-option small, .pickup-list small {
    display: block;
    color: #64748b;
    font-size: 11px;
    line-height: 1.8;
}
.pickup-list label {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 8px;
    border: 1px solid #e2e8f0;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
}
.pickup-list label small {
    grid-column: 2;
}
.address-editor {
    margin-top: 15px;
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
    font-size: 12px;
}
.address-editor summary {
    cursor: pointer;
    color: #00236f;
    font-weight: 600;
}
.address-editor form {
    margin-top: 12px;
}
.address-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}
.address-fields input, .address-fields textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 9px;
    font: inherit;
    font-size: 11px;
}
.address-fields textarea {
    grid-column: 1/-1;
    min-height: 70px;
    resize: vertical;
}
.cart-empty {
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 60px 20px;
}
.cart-empty .material-symbols-outlined {
    font-size: 52px;
    color: #00236f;
}
.cart-empty h2 {
    margin: 0;
}
.cart-empty .pd-buy {
    width: auto;
    padding-inline: 30px;
}
.cart-alert {
    background: #fff0ed;
    color: #b42318;
    border: 1px solid #ffd6d1;
    border-radius: 5px;
    padding: 10px 14px;
}
@media (max-width:900px) {
.cart-layout {
    grid-template-columns: 1fr;
}
.cart-sidebar {
    position: static;
}
.cart-item {
    grid-template-columns: 76px minmax(0,1fr) auto;
}
.cart-item-image {
    width: 76px;
    height: 76px;
}
.cart-quantity {
    grid-column: 3;
    grid-row: 1;
}
.cart-warning {
    grid-column: 1/-1;
}
}
@media (max-width:560px) {
.cart-item {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-areas: "image main"
            ". quantity";
    gap: 0.75rem;
    align-items: start;
    margin-bottom: 0.625rem;
    padding: 0.75rem;
}
.cart-item-main {
    grid-column: 2;
    grid-row: 1;
}
.cart-item-image {
    width: 64px;
    height: 64px;
}
.cart-quantity {
    grid-column: 2;
    grid-row: 2;
    justify-self: stretch;
    max-width: 100%;
}
.address-fields {
    grid-template-columns: 1fr;
}
.address-fields textarea {
    grid-column: auto;
}
}
/* Native image zoom keeps the product page usable without JavaScript. */
.pd-image-zoom {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    z-index: 10;
}
.pd-zoom-toggle {
    position: absolute;
    inset: 0;
    width: 44px;
    height: 44px;
    margin: 0;
    opacity: 0;
    cursor: zoom-in;
    z-index: 2;
}
.pd-zoom-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: white;
    background: var(--pd-primary);
    border-radius: 50%;
    box-shadow: 0 2px 8px #0b1c3033;
    pointer-events: none;
}
.pd-zoom-toggle:focus-visible + .pd-zoom-icon {
    outline: 3px solid #4059aa;
    outline-offset: 4px;
}
.pd-zoom-toggle:checked {
    cursor: zoom-out;
}
.pd-zoom-panel {
    display: none;
    position: absolute;
    right: 52px;
    top: 50%;
    transform: translateY(-50%);
    width: min(70vw, 720px);
    background: white;
    border: 1px solid #dce4f2;
    border-radius: 8px;
    box-shadow: 0 12px 40px #0b1c3033;
    overflow: hidden;
}
.pd-zoom-toggle:checked ~ .pd-zoom-panel {
    display: block;
}
.pd-zoom-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: var(--pd-light);
    font-size: 12px;
}
.pd-zoom-close {
    display: grid;
    place-items: center;
    min-width: 32px;
    min-height: 32px;
    cursor: pointer;
}
.pd-zoom-scroll {
    overflow: auto;
    max-height: min(60vh, 600px);
    direction: ltr;
    overscroll-behavior: contain;
}
.pd-master .pd-zoom-scroll img {
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    padding: 0;
    transform: none;
}
@media (hover:hover) and (pointer:fine) {
.pd-zoom-toggle:hover ~ .pd-zoom-panel {
    display: block;
}
}
/* Quantity occupies its own row above the purchase actions. */
.pd-buy-form > .pd-quantity {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    direction: rtl;
    gap: 12px;
    padding: 10px 12px;
}
.pd-quantity > label {
    text-align: right;
    white-space: nowrap;
}
.pd-quantity-control {
    display: flex;
    align-items: center;
    min-width: 0;
    width: 100%;
    direction: ltr;
    border: 1px solid #dce4f2;
    border-radius: 5px;
    overflow: hidden;
}
.pd-quantity-control button {
    flex: 0 0 52px;
    min-height: 56px;
    border: 0;
    background: var(--pd-light);
    color: var(--pd-primary);
    font: inherit;
    font-size: 28px;
    cursor: pointer;
}
.pd-quantity-control button:disabled {
    opacity: .4;
    cursor: default;
}
.pd-quantity-control input {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    min-height: 56px;
    border-radius: 0;
    background: white;
    font-size: 22px;
    text-align: center;
    appearance: textfield;
}
.pd-quantity-control input::-webkit-inner-spin-button, .pd-quantity-control input::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}
.pd-buy-form > .pd-buy {
    min-width: 0;
    order: 0;
}
.basket-toast {
    position: fixed;
    inset-inline-end: 1.5rem;
    bottom: 1.5rem;
    z-index: 1100;
    max-width: min(28rem, calc(100vw - 3rem));
    box-shadow: 0 8px 32px #0003;
}
.basket-toast .secondary-btn {
    margin-inline-end: .5rem;
}
.delivery-dialog {
    direction: rtl;
}
.delivery-dialog h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
}
.delivery-dialog h3 {
    margin: 0 0 14px;
    font-size: 16px;
}
.delivery-dialog-hint {
    margin: 0 0 14px;
    color: #566579;
    font-size: 13px;
}
.delivery-dialog-error {
    padding: 10px 12px;
    border-radius: 6px;
    background: #fff0ed;
    color: #a33c13;
    font-size: 13px;
}
.delivery-dialog-list {
    display: grid;
    gap: 10px;
    max-height: min(55vh, 500px);
    overflow-y: auto;
}
.delivery-dialog-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border: 1px solid #dce4f2;
    border-radius: 9px;
    background: #fff;
}
.delivery-dialog-option > div:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}
.delivery-dialog-option strong, .delivery-dialog-option small {
    display: block;
}
.delivery-dialog-option small {
    margin-top: 4px;
    color: #5f6e80;
    font-size: 12px;
    line-height: 1.8;
}
.delivery-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.delivery-dialog button {
    min-height: 40px;
    padding: 7px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #00236f;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}
.delivery-dialog button:disabled {
    opacity: .55;
    cursor: default;
}
.delivery-dialog button.delivery-dialog-primary {
    background: #00236f;
    border-color: #00236f;
    color: #fff;
}
.delivery-dialog button.delivery-dialog-danger {
    color: #a82118;
    border-color: #f1c6c3;
}
.delivery-dialog button.delivery-dialog-new {
    margin-top: 14px;
    width: 100%;
    border-style: dashed;
}
.delivery-address-form {
    display: grid;
    gap: 14px;
}
.delivery-address-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.delivery-address-fields label, .delivery-city-picker {
    display: grid;
    align-content: start;
    gap: 5px;
    min-width: 0;
    font-size: 12px;
    font-weight: 600;
}
.delivery-address-fields input, .delivery-address-fields textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    font-size: 13px;
}
.delivery-address-fields input:focus, .delivery-address-fields textarea:focus {
    outline: 2px solid #7299db;
    outline-offset: 1px;
}
.delivery-city-picker, .delivery-address-line {
    grid-column: 1 / -1;
}
.delivery-city-picker strong {
    color: #00236f;
    font-size: 13px;
}
.delivery-city-results {
    display: grid;
    max-height: 180px;
    overflow-y: auto;
    border: 1px solid #dce4f2;
    border-radius: 6px;
}
.delivery-city-results button {
    text-align: right;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #eef2f8;
}
.delivery-city-results button:hover {
    background: #eff4ff;
}
.delivery-city-results small {
    padding: 10px;
}
@media (max-width:600px) {
.delivery-dialog .mud-dialog-content {
    padding-inline: 14px;
}
.delivery-dialog-option {
    align-items: stretch;
    flex-direction: column;
}
.delivery-dialog-actions {
    width: 100%;
}
.delivery-dialog-actions button {
    flex: 1 1 auto;
}
.delivery-address-fields {
    grid-template-columns: 1fr;
}
}
[data-basket-count] {
    display: inline-block;
    min-width: 1.4rem;
    padding: .1rem .3rem;
    border-radius: 1rem;
    background: #ffbf3d;
    color: #252525;
    text-align: center;
    font-size: .8rem;
}
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}
.invalid {
    outline: 1px solid red;
}
.validation-message {
    color: red;
}
/*#blazor-error-ui {
    color-scheme: light only;
    background: #fff3f3;
    color:red;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }*/
#blazor-error-ui {
    direction: rtl;
    text-align: right;
    color: red;
    font-family: Vazir;
    border-top: 1px solid #f5c6cb;
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
#blazor-error-ui .reload {
    margin-right: 5px;
    color: #0056b3;
    text-decoration: underline;
}
#blazor-error-ui .dismiss {
    left: 0.75rem;
    font-size: 1.2rem;
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
.blazor-error-boundary {
    background: url(data:image/svg+xml;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}
.blazor-error-boundary::after {
    content: "An error has occurred.";
}
.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}
.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}
.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}
.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}
.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}
code {
    color: #c02d76;
}
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}
.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
.truck-selector {
    position: relative;
    min-width: 0;
}
.brand-grid .truck-selector-trigger {
    position: relative;
    height: 100%;
    list-style: none;
}
.truck-selector-trigger::-webkit-details-marker {
    display: none;
}
.truck-selector-trigger b {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.truck-selector-arrow {
    position: absolute;
    left: 8px;
    top: 6px;
}
.truck-selector[open] .truck-selector-arrow {
    transform: rotate(180deg);
}
.truck-selector-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 30;
    width: 380px;
    max-width: calc(100vw - 32px);
    padding: 14px;
    border: 1px solid #e8ecf2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(26, 58, 107, 0.16);
}
.truck-search-label {
    display: block;
    margin-bottom: 6px;
    color: #5a5a7a;
    font-size: 0.85rem;
}
.truck-search {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e8ecf2;
    border-radius: 10px;
    background: #f4f6fb;
    font: inherit;
}
.truck-selector-list {
    max-height: min(360px, 55vh);
    overflow-y: auto;
    margin-top: 10px;
}
.brand-grid .truck-selector-panel a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 44px;
    margin: 4px 0;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #1a3a6b;
    text-align: right;
    font-size: 0.9rem;
    text-decoration: none;
    transform: none;
    box-shadow: none;
}
.brand-grid .truck-selector-panel a:hover, .brand-grid .truck-selector-panel a.is-selected {
    background: #eef3fc;
}
.truck-check {
    margin-right: auto;
}
.brand-grid .truck-selector-panel .selected-truck {
    justify-content: space-between;
    background: #d1fae5;
    color: #065f46;
}
.selected-truck small {
    display: block;
    color: #065f46;
}
.truck-search-empty {
    margin: 12px 0 0;
    color: #5a5a7a;
    text-align: center;
}
.truck-selector-panel [hidden] {
    display: none !important;
}
.truck-search:focus-visible, .truck-selector-panel a:focus-visible {
    outline: 2px solid #e88b2a;
    outline-offset: 2px;
}
.brand-grid .brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 2px solid #e8ecf2;
    border-radius: 12px;
    background: #fff;
    color: #1a3a6b;
    font: inherit;
    min-height: 0;
    text-decoration: none;
    cursor: pointer;
}
.brand-card .brand-logo {
    width: 64px;
    height: 48px;
    padding: 4px;
    background: transparent;
}
.brand-card .brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.brand-card:hover {
    border-color: #a9c1f5;
    background: #f5f8ff;
}
.brand-card.is-selected {
    border-color: #1a3a6b;
    background: #eef3fc;
    box-shadow: 0 0 0 2px rgba(26, 58, 107, 0.12);
}
.clear-brand-filter {
    border: 1px solid #1a3a6b;
    border-radius: 8px;
    padding: 6px 12px;
    background: #fff;
    color: #1a3a6b;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}
.brand-card:focus-visible, .clear-brand-filter:focus-visible {
    outline: 2px solid #e88b2a;
    outline-offset: 3px;
}
.product-card .product-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f4f6fb;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
.product-card .product-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-body {
    padding: 14px 16px;
}
.product-title {
    margin: 0 0 8px;
    font-size: 1rem;
    color: #0f274a;
    line-height: 1.6;
}
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 0.85rem;
    color: #5a5a7a;
    margin-bottom: 6px;
}
.product-category {
    position: absolute;
    top: 20px;
    right: 20px;
    max-width: calc(100% - 20px);
    background: rgba(255, 255, 255, 0.94);
    padding: 4px 10px;
    border-radius: 999px;
    color: #5a5a7a;
    font-size: 0.85rem;
    overflow-wrap: anywhere;
    box-shadow: 0 2px 8px rgba(26, 58, 107, 0.08);
}
.product-brand {
    font-weight: 600;
    color: #1a3a6b;
}
.product-discount {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e88b2a;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    direction: rtl;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(232, 139, 42, 0.2);
}
.product-image-wrap:has(.product-discount) .product-category {
    max-width: calc(100% - 120px);
}
.product-trucks {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}
.truck-tag {
    background: #eef3fc;
    color: #1a3a6b;
    font-size: 0.7rem;
    padding: 2px 10px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid rgba(26, 58, 107, 0.12);
}
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid #e8ecf2;
}
.product-card .price-button {
    border: 1px solid rgba(232, 139, 42, 0.25);
    padding: 6px 14px;
    background: rgba(232, 139, 42, 0.08);
    color: #e88b2a;
    border-radius: 12px;
    transition: all 0.25s;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    font-size: 1rem;
}
.product-card .price-button:hover {
    background: #e88b2a;
    color: #fff;
    border-color: #e88b2a;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(232, 139, 42, 0.3);
}
.original-price {
    width: 100%;
    font-size: 0.75rem;
    font-weight: 400;
}
.stock-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}
.stock-in {
    background: #d1fae5;
    color: #065f46;
}
.stock-out {
    background: #fee2e2;
    color: #991b1b;
}
.product-card a:focus-visible {
    outline: 2px solid #1a3a6b;
    outline-offset: -2px;
}
@media (max-width:820px) {
.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width:560px) {
.product-grid {
    grid-template-columns: 1fr;
}
}
@media (prefers-reduced-motion:reduce) {
.product-card, .product-card .price-button {
    transition: none;
}
}
.cart-page, .cart-layout, .cart-items, .cart-sidebar, .cart-summary, .delivery-card, .cart-item, .cart-item-main {
    min-width: 0;
    max-width: 100%;
}
.cart-page > .mud-grid {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
}
.cart-page > .mud-grid > .mud-grid-item {
    min-width: 0;
}
.cart-items {
    padding: 1.25rem;
}
.cart-item-main {
    grid-area: main;
    min-width: 0;
    overflow-wrap: break-word;
}
.cart-item-main > a {
    color: inherit;
    text-decoration: none;
}
.cart-item-title {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.cart-quantity-field {
    width: min(9rem, 100%);
}
.cart-error {
    padding: 1rem;
    border-radius: 0.5rem;
    background: #fff4ee;
    color: #a33c13;
}
.cart-buy-disabled {
    opacity: 0.6;
}
.delivery-selection {
    display: grid;
    gap: 6px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid #b8ccef;
    border-radius: 8px;
    background: #f3f7ff;
    font-size: 13px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}
.delivery-selection strong {
    color: #00236f;
}
.delivery-payment {
    width: 100%;
    margin-top: 16px;
}
.delivery-payment-note, .delivery-hint {
    color: #64748b;
    font-size: 12px;
}
.delivery-payment-note {
    margin-bottom: 0 !important;
}

.pd-thumbnails button { flex: 0 0 72px; padding: 0; border: 2px solid transparent; background: var(--pd-light); border-radius: 5px; cursor: pointer; }
.pd-thumbnails button.selected { border-color: var(--pd-primary); }
.about-page {
    width: min(1180px,calc(100% - 40px));
    margin: 0 auto;
    padding: 38px 0 72px;
}
.about-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,1.5fr) minmax(240px,.7fr);
    align-items: center;
    gap: 42px;
    min-height: 330px;
    padding: clamp(28px,5vw,60px);
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(125deg,#071b4d 0%,#123779 68%,#1e4a91 100%);
    color: #fff;
    box-shadow: 0 20px 48px rgba(4,24,69,.16);
}
.about-hero::after {
    position: absolute;
    left: -80px;
    bottom: -180px;
    width: 370px;
    height: 370px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}
.about-hero-copy, .about-hero-card {
    position: relative;
    z-index: 1;
}
.about-eyebrow {
    display: inline-block;
    color: #b7cdf6;
    font-size: 12px;
    font-weight: 800;
}
.about-hero .about-eyebrow {
    color: #ffc45d;
}
.about-hero h1 {
    max-width: 680px;
    margin: 12px 0 14px;
    color: #fff;
    font-size: clamp(28px,4vw,44px);
    line-height: 1.5;
}
.about-hero-lead {
    max-width: 660px;
    margin: 0;
    color: #e0e9fb;
    font-size: 15px;
    line-height: 2.1;
}
.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.about-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s ease,background .18s ease;
}
.about-button:hover, .about-isbar-link:hover {
    transform: translateY(-2px);
}
.about-button-primary {
    background: var(--py-amber);
    color: #332100;
}
.about-button-primary:hover {
    background: #ffbd45;
    color: #332100;
}
.about-button-secondary {
    border-color: rgba(255,255,255,.38);
    color: #fff;
}
.about-button-secondary:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}
.about-hero-card {
    display: flex;
    min-height: 205px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    background: rgba(255,255,255,.09);
    text-align: center;
    backdrop-filter: blur(8px);
}
.about-hero-card .mud-icon-root {
    width: 58px;
    height: 58px;
    color: #ffc45d;
    font-size: 58px;
}
.about-hero-card strong {
    color: #fff;
    font-size: 17px;
}
.about-hero-card span {
    color: #d6e2f7;
    font-size: 11px;
    line-height: 1.9;
}
.about-story, .about-values {
    margin-top: 30px;
}
.about-story {
    padding: clamp(24px,4vw,42px);
    border: 1px solid var(--py-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(19,45,88,.05);
}
.about-section-heading h2, .about-partnership h2 {
    margin: 5px 0 0;
    color: var(--py-primary);
    font-size: clamp(21px,2.5vw,27px);
}
.about-story-text {
    max-width: 940px;
    margin: 16px 0 22px;
    color: #536175;
    font-size: 14px;
    line-height: 2.2;
}
.about-facts {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
}
.about-fact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid #e8edf6;
    border-radius: 13px;
    background: #f8faff;
}
.about-fact-card > .mud-icon-root, .about-value-card > .mud-icon-root {
    flex: 0 0 auto;
    color: #d68a06;
    font-size: 30px;
}
.about-fact-card h3, .about-value-card h3 {
    margin: 0 0 4px;
    color: var(--py-primary);
    font-size: 14px;
}
.about-fact-card p, .about-value-card p {
    margin: 0;
    color: #617087;
    font-size: 12px;
    line-height: 1.9;
}
.about-values > .about-section-heading {
    margin-bottom: 16px;
}
.about-value-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 15px;
}
.about-value-card {
    min-height: 170px;
    padding: 22px;
    border: 1px solid var(--py-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(19,45,88,.045);
}
.about-value-card h3 {
    margin-top: 12px;
}
.about-partnership {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 24px 28px;
    border: 1px solid #f3d99f;
    border-radius: 18px;
    background: linear-gradient(110deg,#fffaf0,#fff 70%);
}
.about-partnership-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 16px;
    background: #fff0cc;
    color: #a76900;
}
.about-partnership-icon .mud-icon-root {
    font-size: 30px;
}
.about-partnership h2 {
    font-size: 20px;
}
.about-partnership-copy p {
    max-width: 690px;
    margin: 8px 0 0;
    color: #5d6878;
    font-size: 12px;
    line-height: 2;
}
.about-isbar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 9px;
    background: var(--py-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s ease;
}
.about-isbar-link:hover {
    color: #fff;
}
@media (max-width:800px) {
.about-hero {
    grid-template-columns: 1fr;
    gap: 24px;
}
.about-hero-card {
    min-height: 165px;
}
.about-value-grid {
    grid-template-columns: 1fr 1fr;
}
.about-partnership {
    grid-template-columns: auto minmax(0,1fr);
}
.about-isbar-link {
    grid-column: 1/-1;
    justify-self: start;
}
}
@media (max-width:560px) {
.about-page {
    width: min(100% - 32px,1440px);
    padding: 24px 0 44px;
}
.about-hero {
    gap: 20px;
    padding: 26px 21px;
    border-radius: 18px;
}
.about-hero h1 {
    font-size: 27px;
}
.about-hero-lead {
    font-size: 13px;
}
.about-actions {
    gap: 8px;
}
.about-button {
    min-height: 42px;
    padding: 0 12px;
    font-size: 11px;
}
.about-story {
    padding: 22px 18px;
}
.about-facts, .about-value-grid {
    grid-template-columns: 1fr;
}
.about-fact-card {
    padding: 13px;
}
.about-value-card {
    min-height: 0;
    padding: 18px;
}
.about-partnership {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
    padding: 21px 18px;
}
.about-isbar-link {
    grid-column: auto;
}
}
@media (min-width:561px) and (max-width:960px) {
.cart-item {
    grid-template-columns: 80px minmax(0, 1fr) auto;
}
}
@media (max-width:560px) {
.cart-top-row {
    align-items: flex-start;
    flex-wrap: wrap;
}
.cart-top-row > .secondary-btn {
    width: 100%;
    text-align: center;
}
.cart-items {
    padding: 1rem;
}
.cart-section-title {
    margin-bottom: 0.75rem;
}
.cart-item-main h3 {
    font-size: 14px;
}
.cart-quantity button {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
}
.cart-quantity-field {
    min-width: 0;
    width: auto;
    flex: 1 1 auto;
}
.cart-quantity input {
    width: 100%;
    height: 40px;
}
.cart-items > .mud-button-root {
    width: 100%;
}
.delivery-tabs {
    flex-wrap: wrap;
}
}
.account-page {
    min-height: calc(100vh - 220px);
    padding: 26px 0 58px;
    background: var(--py-bg);
}
.account-container {
    padding: 12px 24px !important;
}
.account-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 22px;
}
.account-page-heading h1 {
    margin: 4px 0 0;
    color: var(--py-primary);
    font-size: clamp(23px,3vw,30px);
    font-weight: 800;
}
.account-page-heading p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
}
.account-eyebrow {
    color: #8a641a;
    font-size: 11px;
    font-weight: 800;
}
.account-state-card {
    display: flex;
    min-height: 270px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px 20px;
    border: 1px solid var(--py-border);
    border-radius: 16px;
    background: #fff;
    color: #59677a;
    text-align: center;
}
.account-state-card h6 {
    margin: 0;
    color: var(--py-primary);
}
.account-state-card p {
    max-width: 480px;
    margin: 0;
}
.account-state-card .mud-icon-root {
    color: #7b8ca4;
    font-size: 42px;
}
.account-state-error .mud-icon-root {
    color: #c74343;
}
.orders-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}
.account-order-card, .account-panel, .account-address-card {
    min-width: 0;
    border: 1px solid var(--py-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(19,45,88,.045);
}
.account-order-card {
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding: 19px;
}
.account-order-top, .account-order-total, .account-order-statuses > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.account-order-top {
    padding-bottom: 13px;
    border-bottom: 1px solid #edf1f7;
}
.account-order-top strong {
    color: var(--py-primary);
    font-size: 14px;
}
.account-order-top > span, .account-order-total > span, .account-order-statuses > div > span {
    color: #738198;
    font-size: 11px;
}
.account-order-total strong {
    color: #172a49;
    font-size: 15px;
}
.account-order-statuses {
    display: grid;
    gap: 10px;
}
.account-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 700;
}
.account-status.status-success {
    background: rgba(46,125,50,.1);
    color: #28743b;
}
.account-status.status-error {
    background: rgba(198,40,40,.09);
    color: #ba3030;
}
.account-status.status-warning {
    background: rgba(237,157,0,.13);
    color: #946000;
}
.account-status.status-primary {
    background: rgba(25,82,160,.1);
    color: var(--py-primary);
}
.account-panel {
    max-width: 780px;
    margin: 0 auto;
    padding: clamp(20px,4vw,34px);
}
.profile-identity {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid #edf1f7;
}
.profile-avatar {
    width: 62px !important;
    height: 62px !important;
}
.profile-avatar .mud-icon-root {
    font-size: 34px;
}
.profile-identity-copy, .profile-detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.profile-identity-copy span, .profile-detail-item span {
    color: #748198;
    font-size: 11px;
}
.profile-identity-copy strong {
    color: var(--py-primary);
    font-size: 18px;
}
.profile-details {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
    padding: 22px 0;
}
.profile-detail-item {
    min-height: 74px;
    justify-content: center;
    padding: 14px 16px;
    border: 1px solid #e9eef6;
    border-radius: 11px;
    background: #f9fbff;
}
.profile-detail-item > :last-child {
    color: #223755;
    font-size: 14px;
    font-weight: 700;
}
.profile-actions {
    display: flex;
    justify-content: flex-start;
    padding-top: 4px;
}
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    align-items: stretch;
    gap: 16px;
}
.account-address-card {
    display: flex;
    flex-direction: column;
    padding: 19px;
}
.address-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf1f7;
}
.address-card-header > div > span {
    color: #78869a;
    font-size: 10px;
}
.address-card-header h2 {
    margin: 3px 0 0;
    color: var(--py-primary);
    font-size: 16px;
    overflow-wrap: anywhere;
}
.address-location-badge {
    max-width: 55%;
    padding: 5px 9px;
    border: 1px solid #dce6f7;
    border-radius: 99px;
    background: #f4f7fc;
    color: #34517b;
    font-size: 10px;
    text-align: center;
}
.address-card-details {
    display: grid;
    gap: 7px;
    padding: 15px 0;
}
.address-card-details p {
    margin: 0;
    color: #5d6b80;
    font-size: 12px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}
.address-card-details strong {
    color: #263b5b;
}
.address-card-details .address-line {
    padding-top: 2px;
}
.address-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #edf1f7;
}
@media (max-width:760px) {
.orders-grid, .addresses-grid {
    grid-template-columns: 1fr;
}
.account-container {
    padding: 8px 18px !important;
}
}
@media (max-width:560px) {
.account-page {
    padding: 18px 0 36px;
}
.account-container {
    padding: 4px 16px !important;
}
.account-page-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 17px;
}
.account-page-heading h1 {
    font-size: 23px;
}
.account-page-heading p {
    font-size: 12px;
}
.address-page-heading > .mud-button-root {
    width: 100%;
}
.account-state-card {
    min-height: 240px;
    padding: 24px 16px;
}
.account-order-card, .account-address-card {
    padding: 15px;
}
.account-order-top strong {
    font-size: 13px;
}
.account-order-total strong {
    font-size: 13px;
}
.account-panel {
    padding: 20px 16px;
}
.profile-identity {
    gap: 12px;
    padding-bottom: 19px;
}
.profile-avatar {
    width: 52px !important;
    height: 52px !important;
}
.profile-details {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 17px 0;
}
.profile-detail-item {
    min-height: 65px;
}
.profile-actions, .profile-actions .mud-button-root {
    width: 100%;
}
.address-card-header {
    flex-direction: column;
}
.address-location-badge {
    max-width: 100%;
}
.address-card-actions, .address-card-actions .mud-button-root {
    width: 100%;
}
}
.contact-page {
    width: min(1120px,calc(100% - 40px));
    min-height: 520px;
    margin: 0 auto;
    padding: 38px 0 64px;
}
.contact-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 260px;
    padding: clamp(28px,5vw,52px);
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(120deg,#071b4d,#153d83);
    color: #fff;
    box-shadow: 0 18px 44px rgba(4,24,69,.14);
}
.contact-hero-copy {
    max-width: 720px;
}
.contact-eyebrow {
    color: #ffc45d;
    font-size: 12px;
    font-weight: 800;
}
.contact-hero h1 {
    margin: 8px 0 10px;
    color: #fff;
    font-size: clamp(30px,4vw,42px);
    font-weight: 800;
}
.contact-hero-copy > p {
    max-width: 680px;
    margin: 0;
    color: #e0e9fb;
    font-size: 14px;
    line-height: 2.1;
}
.contact-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.contact-quick-actions a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s ease,background .18s ease;
}
.contact-quick-actions a:hover {
    transform: translateY(-2px);
}
.contact-quick-actions .mud-icon-root {
    font-size: 19px;
}
.contact-action-primary {
    background: var(--py-amber);
    color: #332100;
}
.contact-action-primary:hover {
    background: #ffc04f;
    color: #332100;
}
.contact-action-secondary {
    border-color: rgba(255,255,255,.38) !important;
    color: #fff;
}
.contact-action-secondary:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}
.contact-hero-icon {
    display: grid;
    width: 150px;
    height: 150px;
    flex: 0 0 150px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 36px;
    background: rgba(255,255,255,.08);
    color: #ffc45d;
    transform: rotate(-5deg);
}
.contact-hero-icon .mud-icon-root {
    font-size: 94px;
}
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 15px;
    margin-top: 22px;
}
.contact-info-card {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 13px;
    padding: 20px 17px;
    border: 1px solid var(--py-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(19,45,88,.045);
}
.contact-info-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 12px;
    background: #fff2d8;
    color: #a66a00;
}
.contact-info-icon .mud-icon-root {
    font-size: 22px;
}
.contact-info-card h2 {
    margin: 1px 0 4px;
    color: var(--py-primary);
    font-size: 14px;
    font-weight: 800;
}
.contact-info-card p {
    margin: 0 0 9px;
    color: #65748a;
    font-size: 11px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}
.contact-info-value {
    display: inline-block;
    color: var(--py-primary);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}
.contact-info-value:hover {
    color: #b47706;
    text-decoration: underline;
}
.contact-email {
    font-size: 13px;
}
.contact-address-card p {
    margin-bottom: 0;
    color: #40536e;
    font-size: 12px;
    font-weight: 600;
}
.contact-help-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #dbe7f8;
    border-radius: 12px;
    background: #f4f8ff;
    color: #4d607d;
}
.contact-help-note .mud-icon-root {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #42659b;
    font-size: 19px;
}
.contact-help-note p {
    margin: 0;
    font-size: 11px;
    line-height: 2;
}
@media (max-width:900px) {
.contact-info-grid {
    grid-template-columns: 1fr 1fr;
}
.contact-address-card {
    grid-column: 1/-1;
}
}
@media (max-width:600px) {
.contact-page {
    width: min(100% - 32px,1120px);
    padding: 23px 0 42px;
}
.contact-hero {
    min-height: 0;
    padding: 26px 21px;
    border-radius: 17px;
}
.contact-hero h1 {
    font-size: 29px;
}
.contact-hero-copy > p {
    font-size: 12px;
}
.contact-hero-icon {
    display: none;
}
.contact-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 18px;
}
.contact-quick-actions a {
    min-height: 45px;
    gap: 5px;
    padding: 0 8px;
    font-size: 10px;
}
.contact-info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
}
.contact-address-card {
    grid-column: auto;
}
.contact-info-card {
    padding: 16px;
}
.contact-info-value {
    font-size: 14px;
}
.contact-email {
    font-size: 12px;
}
.contact-help-note {
    margin-top: 13px;
    padding: 12px;
}
}
