/* Only appleidstore styling is applied to public pages. No shop or admin CSS. */
body:has(.ais-store) { margin: 0; background: #fff; }
.ais-original { direction: rtl; font-family: IRANSansWeb,Tahoma,sans-serif; }
.ais-store { color:#7b7b7b; font-size:16px; line-height:1.8; min-height:100vh; overflow-x:clip; }
.ais-store *, .ais-store *::before, .ais-store *::after { box-sizing:border-box; }
.ais-store input, .ais-store select, .ais-store textarea, .ais-store button { font-family:inherit; }
.ais-store img { max-width:100%; }
.ais-header { position:relative; z-index:20; }
.ais-header .site_header_4 { position:relative; }
.ais-header .site_header_4 .content_box { margin-top:16px; }
.ais-header .offcanvas-toggle { display:none!important; }
.ais-header .main_menu_list { flex-wrap:nowrap; gap:20px; }
.ais-header .main_menu_list > li { margin:0; }
.ais-header .main_menu_list > li > a { font-size:14px; white-space:nowrap; padding:20px 0; }
.ais-store .page_banner { margin-top:-110px; padding:160px 0 48px; }
.ais-store .page_title { line-height:1.7; }
.ais-store .section_space_lg { padding-top:65px; padding-bottom:65px; }
.ais-store .blog_wrapper { padding:0; }
.ais-mobile-menu { display:none; }
.ais-menu-button { border:0; background:transparent; width:42px; height:42px; padding:8px; }
.ais-menu-button span { display:block; height:2px; margin:5px 0; background:#151d2b; }
.ais-menu-shade { position:fixed; inset:0; background:#0009; z-index:101; }
.ais-menu-panel { position:fixed; z-index:102; inset:0 0 0 auto; width:min(340px,85vw); overflow-y:auto; background:#fff; padding:25px; box-shadow:0 0 35px #0003; }
.ais-menu-panel button { display:block; margin-right:auto; background:transparent; border:0; font-size:32px; }
.ais-menu-panel img { display:block; width:150px; height:auto; margin-bottom:25px; }
.ais-menu-panel a { display:block; padding:11px 3px; border-bottom:1px solid #e9e9f0; color:#1d2130; text-decoration:none; }
.ais-footer .site_footer { margin-top:30px; }
.ais-store .blog_item .item_image img { width:100%; height:235px!important; object-fit:cover; }
.ais-store .blog_item { height:calc(100% - 30px); margin-bottom:30px; }
.ais-store .blog_item .item_title { font-size:21px; line-height:1.9; }
.ais-store .pagemargin,.ais-store .container1 { width:100%; max-width:1200px; margin-inline:auto; padding-inline:16px; }
.ais-store .pagemargin .container1 { padding-inline:0; }
.ais-store .store-form-width { width:min(100% - 32px, 820px); margin:60px auto; }
.ais-store .store-price-heading { background:#06417d; border-radius:6px; padding:20px; text-align:center; color:#fff; }
.ais-store .store-price-heading h2 { color:#fff; font-size:22px; margin:0 0 3px; }
.ais-store .store-price-heading strong { font-size:24px; }
.ais-store .alert-message { padding:16px; margin:8px 0 20px; border-inline-start:3px solid #5a58de; background:#f4f6fc; }
.ais-store .alert-message-warning { background:#fcf8f2; border-color:#f0b35a; }
.ais-store .alert-message-warning h4 { color:#e7aa50; }
.ais-store .alert-message h4 { font-size:20px; margin:0 0 8px; }
.ais-store .alert-message p { margin:0 0 8px; line-height:1.9; font-size:14px; }
.ais-store .contact_form { border:1px solid #577da4; border-radius:14px; padding:35px 40px; background:#f4f8fb; margin-bottom:12px; }
.ais-store .contact_form .section_heading { text-align:center; margin-bottom:30px; }
.ais-store .contact_form .heading_title { font-size:30px; }
.ais-store .contact_form .heading_subtitle { font-size:15px; }
.ais-store .form-control,.ais-store .card-input__input,.ais-store #myloginbox input:not([type=submit]):not([type=hidden]) { width:100%; min-height:46px; border:1px solid #dddfea; border-radius:10px; padding:10px 16px; background:#fff; color:#222; font-size:14px; }
.ais-store select.form-control { appearance:auto; }
.ais-store textarea.form-control { height:auto; }
.ais-store input:focus,.ais-store select:focus,.ais-store textarea:focus { outline:2px solid #bcbaf4; outline-offset:2px; }
.ais-store .form-label { display:block; margin-bottom:6px; font-size:13px; }
.ais-store .store-checkout-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px 28px; }
.ais-store .store-total { margin:25px 0 5px; padding:12px; border:2px solid #225883; border-radius:16px; background:#d9e3ed; color:#06417d; text-align:center; }
.ais-store .store-total strong { display:block; font-size:23px; }
.ais-store .store-total small { font-size:12px; }
.ais-store .store-discount { display:flex; gap:0; margin-bottom:18px; }
.ais-store .store-discount input { border-radius:8px 0 0 8px; }
.ais-store .store-discount button { border-radius:0 8px 8px 0; }
.ais-store .store-gateways { border:1px solid #577da4; border-radius:12px; padding:20px; margin-bottom:20px; }
.ais-store .store-gateways legend { float:none; width:auto; padding:0 8px; font-size:15px; }
.ais-store .store-gateway-options { display:flex; flex-wrap:wrap; gap:16px; }
.ais-store .gateway-option { display:flex; align-items:center; gap:8px; cursor:pointer; }
.ais-store .gateway-option img { width:40px; height:40px; object-fit:contain; }
.ais-store .gateway-option small { display:block; font-size:11px; }
.ais-store .gateway-option:has(:disabled) { opacity:.55; cursor:default; }
.ais-store .store-rules { display:block; width:100%; background:#0141802b; border:2px solid #014180; border-radius:15px; padding:20px; text-align:center; margin:20px 0; color:#192e44; }
.ais-store .store-rules small { display:block; margin-top:8px; }
.ais-store .store-submit { display:block; width:100%; padding:14px; border:0; border-radius:8px; color:#fff; background:#198754; font-size:16px; }
.ais-store button:disabled,.ais-store input[type=submit]:disabled { cursor:not-allowed; opacity:.6; }
.ais-store .btn-success { background:#198754; color:#fff; border:0; padding:10px 24px; border-radius:8px; }
.ais-store .bluebtn,.ais-store .pinkbtn,.ais-store .btn-vorod { display:inline-block; padding:11px 24px; background:#5355df; color:white; border:0; border-radius:25px; text-align:center; }
.ais-store .store-modal { position:fixed; inset:0; z-index:1000; background:#0009; display:grid; place-items:center; padding:20px; }
.ais-store .store-modal-box { background:#fff; width:min(700px,100%); max-height:85vh; border-radius:15px; display:flex; flex-direction:column; overflow:hidden; }
.ais-store .store-modal-header { display:flex; align-items:center; justify-content:space-between; padding:15px 20px; background:#2c2c54; color:white; }
.ais-store .store-modal-header h2 { font-size:18px; margin:0; color:white; }
.ais-store .store-modal-header button { color:inherit; background:none; border:0; font-size:26px; }
.ais-store .store-modal-body { padding:20px; overflow:auto; line-height:2; }
.ais-store .store-modal-footer { padding:16px; border-top:1px solid #eee; text-align:center; }
.ais-store .details_content { overflow-wrap:anywhere; line-height:2.1; color:#555; }
.ais-store .details_content img { height:auto; max-width:100%; margin:14px auto; }
.ais-store .details_content table { display:block; overflow-x:auto; max-width:100%; border-collapse:collapse; }
.ais-store .details_content td,.ais-store .details_content th { border:1px solid #ddd; padding:10px; }
.ais-store .details_content ul,.ais-store .details_content ol { padding-inline-start:24px; }
.ais-store .details_content a { color:#5355df; }
.ais-store .toc { padding:20px; margin:25px 0; background:#f6f6fc; border:1px solid #e4e4f2; border-radius:12px; }
.ais-store .toc-title { font-weight:700; color:#1d1d30; margin-bottom:10px; }
.ais-store .toc li { margin:5px 0; font-size:14px; }
.ais-store .toc-level-3,.ais-store .toc-level-4 { margin-inline-start:15px!important; }
.ais-store .article-meta { display:flex; gap:20px; flex-wrap:wrap; font-size:13px; margin:15px 0 25px; color:#888; }
.ais-store .article-related { margin-top:45px; }
.ais-store .pagination { display:flex!important; gap:7px; justify-content:center; flex-wrap:wrap; list-style:none; }
.ais-store .pagination a,.ais-store .pagination span { display:block; min-width:42px; padding:7px 13px; border:1px solid #e3e3eb; border-radius:6px; }
.ais-store .pagination .active span { background:#5355df; color:white; }
.ais-store #myloginbox { max-width:600px; margin:60px auto; border:1px solid #e3e3eb; border-radius:16px; padding:35px; }
.ais-store #myloginco>span { display:block; font-size:24px; color:#111; margin-bottom:25px; }
.ais-store #lgboxcontent>a { display:block; font-size:13px; margin-top:20px; }
.ais-store #myloginbox .btn-vorod { width:100%; margin-top:20px; }
.ais-store #myloginbox label { margin:8px 0; }
.ais-store .sakoumenuuser { display:flex; flex-wrap:wrap; gap:10px; margin:25px 0; }
.ais-store .custom-btn { display:block; padding:10px 16px; background:#f0efff; color:#5355df; border:1px solid #dfdef5; border-radius:8px; }
.ais-store .img-responsive { max-width:100%; height:auto; }
.ais-store .table { width:100%; border-collapse:collapse; }
.ais-store .table td,.ais-store .table th { padding:12px; border-bottom:1px solid #eee; }
.ais-store .table-responsive { overflow-x:auto; }
@media(min-width:768px) { .ais-store .col-md-offset-2 { margin-right:16.666667%; } }
@media(max-width:1199px) { .ais-header .main_menu_list { gap:12px; } .ais-header .main_menu_list > li > a { font-size:12px; } }
@media(max-width:991px) { .ais-mobile-menu { display:block; position:absolute; left:31px; top:24px; z-index:100; } .ais-store .page_banner { margin-top:-85px; padding-top:140px; } }
@media(max-width:767px) { .ais-store .contact_form { padding:25px 18px; } .ais-store .store-checkout-grid { grid-template-columns:1fr; gap:16px; } .ais-store .page_title { font-size:25px; } .ais-store .store-form-width { margin:35px auto; } .ais-store .section_space_lg { padding:40px 0; } .ais-store .blog_item .item_title { font-size:19px; } .ais-store #myloginbox { margin:30px 16px; padding:25px; } }
.ais-store .store-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:25px 0; }
.ais-store .store-cards>[class*=col-] { width:auto; }
.ais-store .store-cards>.clearfix { display:none; }
.ais-store .card-sakou { height:100%; border:1px solid #e0def4; border-radius:10px; padding:18px; background:#fff; }
.ais-store .card-sakou-image { margin:0 0 15px; }
.ais-store .card-sakou-image img { width:100%; height:200px!important; object-fit:cover; border-radius:8px; }
.ais-store .card-sakou-header a { color:#111; font-size:18px; line-height:1.9; font-weight:700; }
.ais-store .card-sakou-footer { font-size:12px; margin-top:14px; }
.ais-store .hd-cards-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:25px; }
.ais-store .hd-card-item,.ais-store .product-container { border:1px solid #e0def4; border-radius:12px; padding:20px; margin-bottom:20px; }
.ais-store .hd-card-title { font-size:20px; }
.ais-store .hd-card-img-wrap img { width:100%; height:220px; object-fit:contain; }
.ais-store .hd-color-row { display:flex; justify-content:space-between; font-size:13px; padding:8px 0; border-bottom:1px solid #eee; }
.ais-store .hd-card-subtitle { display:flex; flex-direction:column; font-size:13px; }
.ais-store .hd-header { text-align:center; padding:25px 0; }
.ais-store #giftcartserction { padding:45px 0; }
.ais-store #other-products { margin-top:40px; }
.ais-store .input-group { flex-wrap:nowrap; }
.ais-store .input-group input { min-width:0; }
@media(max-width:991px) { .ais-store .store-cards,.ais-store .hd-cards-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:767px) { .ais-store .store-cards,.ais-store .hd-cards-grid { grid-template-columns:1fr; } }
.ais-store .site_header { position:relative; z-index:40; padding:0; }
.ais-store .site_header .container { max-width:1280px; }
.ais-store .site_header .content_box { margin-top:16px; }
.ais-store .ais-header-wrapper { min-height:112px; display:flex; flex-wrap:nowrap; align-items:center; justify-content:space-between; gap:18px; padding:14px 28px; background:#fff; border-radius:90px; }
.ais-store .ais-header .site_logo { flex:0 0 138px; min-width:0; }
.ais-store .ais-header .site_logo img { display:block; width:130px; height:auto; }
.ais-store .ais-desktop-nav { flex:1 1 auto; min-width:0; display:flex; justify-content:center; }
.ais-store .ais-desktop-nav ul { display:flex; align-items:center; justify-content:center; flex-wrap:nowrap; gap:clamp(10px,1.45vw,23px); padding:0; margin:0; list-style:none; white-space:nowrap; }
.ais-store .ais-desktop-nav li { flex:none; margin:0; }
.ais-store .ais-desktop-nav a { display:block; white-space:nowrap; font-size:clamp(12px,.95vw,14px); line-height:1.5; }
.ais-store .ais-header .header_right { flex:0 0 auto; display:flex; align-items:center; }
.ais-store .ais-header .header_right>.bd-btn-link { white-space:nowrap; }
.ais-store .ais-mobile-menu { display:none; }
@media(max-width:1050px) { .ais-store .ais-header-wrapper { min-height:88px; border-radius:36px; padding:12px 22px; } .ais-store .ais-desktop-nav { display:none; } .ais-store .ais-mobile-menu { display:block; position:relative; left:auto; top:auto; flex:0 0 auto; } .ais-store .ais-header .site_logo { margin-inline-end:auto; } .ais-store .ais-header .header_right>.bd-btn-link { padding-inline:14px; } }
@media(max-width:575px) { .ais-store .ais-header-wrapper { gap:9px; min-height:72px; padding:9px 15px; border-radius:28px; } .ais-store .ais-header .site_logo { flex-basis:110px; } .ais-store .ais-header .site_logo img { width:106px; } .ais-store .ais-header .header_right>.bd-btn-link { font-size:12px; padding:8px 12px; } .ais-store .ais-menu-button { width:36px;height:38px;padding:6px; } }
/* The legacy theme sets .header_wrapper to grid; keep the shared header flexed on every route. */
.ais-original.ais-store .site_header .ais-header-wrapper { display:flex; flex-wrap:nowrap; grid-template-columns:none; align-items:center; }
/* Compact, single-row navigation shared by the home page and internal pages. */
.ais-store .ais-header-wrapper { min-height:84px; padding:12px 24px; border:1px solid #e9e9f3; border-radius:30px; box-shadow:0 8px 30px rgba(21,32,70,.08); }
.ais-store .ais-header .site_logo { flex-basis:126px; }
.ais-store .ais-header .site_logo img { width:122px; }
.ais-store .ais-desktop-nav ul { gap:clamp(10px,1.35vw,21px); }
.ais-store .ais-desktop-nav a { color:#1d2540; font-weight:600; font-size:clamp(12px,.91vw,14px); text-decoration:none; transition:color .15s ease; }
.ais-store .ais-desktop-nav a:hover,.ais-store .ais-desktop-nav a:focus-visible { color:#5654c9; }
.ais-store .ais-header .header_right>.bd-btn-link { flex-shrink:0; }
@media(max-width:1180px) { .ais-store .ais-desktop-nav { display:none; } .ais-store .ais-mobile-menu { display:block; position:relative; left:auto; top:auto; flex:0 0 auto; } .ais-store .ais-header .site_logo { margin-inline-end:auto; } }
@media(max-width:575px) { .ais-store .ais-header-wrapper { min-height:72px; padding:9px 14px; border-radius:24px; } .ais-store .ais-header .site_logo { flex-basis:106px; } .ais-store .ais-header .site_logo img { width:104px; } }
.ais-store .site_header_4 .content_box { margin-top:16px; padding:0; border-radius:0; background:transparent; box-shadow:none; }
.ais-home .site_header { position:absolute; inset-block-start:0; inset-inline:0; width:100%; z-index:40; }
/* The trust seal lives after the page content but stays visible at the left edge. */
.enamad-badge { position:fixed!important; left:14px!important; bottom:12px!important; z-index:2147483000!important; display:block!important; width:82px; padding:4px; border:1px solid #dce4f2; border-radius:12px; background:#fff; box-shadow:0 5px 18px #18255024; }
.enamad-badge img { display:block; width:100%; height:auto; cursor:pointer; }
@media(max-width:640px) { .enamad-badge { width:62px; left:8px!important; bottom:85px!important; } }
