/* Clean reconstruction from the user's saved lipak.com HTML.
   Exact values copied from the real Tailwind utility scale where possible. */

.lx-header,.lx-footer{font-family:'IRANSansX',Tahoma,Arial,sans-serif}
.lx-header *,.lx-footer *{box-sizing:border-box}
.lx-header a,.lx-footer a{text-decoration:none;color:inherit}
.lx-header{position:sticky;top:0;z-index:50;width:100%;display:flex;flex-direction:column-reverse;background:#fff;box-shadow:0 3px 14px rgba(46,53,77,.08);color:#2e354d}
.lx-main{position:relative;background:#fff;padding:24px 48px 8px;display:flex;flex-direction:column;gap:16px}
.lx-main-row{height:40px;display:flex;align-items:center;justify-content:space-between}
.lx-brand-search{display:flex;align-items:center;gap:24px;flex:1;min-width:0}
.lx-logo{width:85px;flex:0 0 85px;display:block;line-height:0}
.lx-logo img{width:100%;height:auto;display:block;object-fit:cover;object-position:center}
.lx-search{width:528px;height:40px;display:flex;align-items:center;border:1px solid #cacfdf;border-radius:6px;padding:12px 12px 12px 16px;color:#969fc0}
.lx-search input{width:100%;margin-right:6px;border:0;outline:0;background:transparent;color:#2e354d;font-family:inherit;font-size:12px;line-height:1.5}
.lx-search input::placeholder{color:#969fc0}
.lx-actions{display:flex;gap:16px;align-items:center}
.lx-icon-btn,.lx-profile{height:40px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center}
.lx-icon-btn{width:40px;border:1px solid #dfe2ec;background:#fff;color:#2e354d}
.lx-profile{gap:6px;background:#5467ff;color:#fff;border:0;padding:0 24px;font-size:14px;font-weight:500}
.lx-profile-mobile,.lx-mobile-search-btn{display:none}
.lx-burger{display:none}
.lx-nav{width:100%;padding:16px 0;display:flex;justify-content:space-between;align-items:center}
.lx-nav-links{display:flex;align-items:center;gap:24px;flex:1}
.lx-nav-links a{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:#2e354d}
.lx-nav-icon{color:#cacfdf;font-size:16px;line-height:1}
.lx-support{display:flex;align-items:center;gap:8px;width:max-content;font-size:11px;font-weight:500;color:#6f727a}
.lx-support-accent,.lx-support a{color:#7685ff}
.lx-support a{font-weight:700}
.lx-notice{min-height:40px;background:#7685ff;color:#fff;padding:8px 48px 8px 8px;display:flex;align-items:center;gap:16px}
.lx-notice-text{flex:1;text-align:center;font-size:11px;line-height:1.5;font-weight:500}
.lx-notice button{margin-left:auto;display:flex;align-items:center;border:0;background:transparent;color:#1f2850;padding:0;cursor:pointer}
.lx-mobile-search,.lx-mobile-menu{display:none}

/* Footer – mirrors the saved site's mx-12, p-6, rounded-xl, gap-6 setup. */
.lx-footer{margin:24px 48px 48px;padding:24px;border-radius:12px;background:#f4f5f9;color:#2e354d;display:flex;flex-direction:column;gap:24px}
.lx-footer-top{display:flex;justify-content:space-between;align-items:center}
.lx-footer-logo{width:119px;line-height:0}
.lx-footer-logo img{width:119px;height:28px;display:block;object-fit:contain}
.lx-back-top{height:40px;padding:0 24px;border:0;border-radius:8px;background:#5467ff;color:#fff;font-family:inherit;font-size:14px;font-weight:500;display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.lx-footer-about{display:flex;flex-direction:column}
.lx-footer-lead{margin:0;font-size:14px;line-height:1.5;font-weight:700;color:#2e354d}
.lx-footer-desc{margin:8px 0;font-size:14px;line-height:1.7;font-weight:500;color:#6f727a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lx-footer-desc.is-open{-webkit-line-clamp:unset;display:block}
.lx-footer-more{display:none;margin-right:auto;border:0;background:transparent;color:#5467ff;font-family:inherit;font-weight:500}
.lx-footer-contact{font-style:normal;background:#fff;border-radius:12px;padding:24px;display:flex;justify-content:space-between;align-items:center;text-align:center}
.lx-contact-main{display:flex;justify-content:center;align-items:center;color:#5467ff;font-size:16px}
.lx-contact-main strong,.lx-contact-main a{font-weight:700}
.lx-contact-sep{height:16px;width:1px;background:#eceef4;margin:0 16px}
.lx-footer-contact>span{font-size:14px;font-weight:500;color:#596487}
.lx-footer-cols{display:flex;flex-wrap:wrap;gap:24px}
.lx-footer-cols section{display:flex;flex-direction:column;width:calc(25% - 18px);gap:10px}
.lx-footer-cols h3{font-size:14px;margin:0 0 8px;font-weight:700;color:#2e354d}
.lx-footer-cols a{font-size:14px;font-weight:500;color:#596487}
.lx-social-row{display:flex;gap:16px;margin-top:8px}
.lx-social-row span{width:40px;height:40px;border:1px solid #dfe2ec;border-radius:8px;display:grid;place-items:center;background:#f4f5f9;color:#2e354d}
.lx-trust-row{display:flex;gap:18px;align-items:center;margin-top:40px}
.lx-trust-row img{width:64px;height:64px;object-fit:contain}
.lx-copyright{text-align:center;font-size:12px;color:#596487}
.lx-copyright a{color:#5467ff}

/* Mobile matches the real header order: white row first, blue notice underneath. */
@media(max-width:1023px){
  .lx-header{position:relative;flex-direction:column;box-shadow:0 2px 8px rgba(46,53,77,.07)}
  .lx-main{padding:12px 16px;gap:12px}
  .lx-main-row{height:40px}
  .lx-brand-search{gap:8px;flex:0 0 auto}
  .lx-burger{display:flex;width:30px;height:30px;padding:0;border:0;background:transparent;color:#111827}
  .lx-logo{width:85px;flex-basis:85px}
  .lx-search{display:none}
  .lx-actions{gap:8px}
  .lx-profile-desktop{display:none}
  .lx-profile-mobile,.lx-mobile-search-btn{display:inline-flex}
  .lx-profile-mobile{width:40px;padding:0}
  .lx-nav{display:none}
  .lx-notice{min-height:40px;padding:8px 8px}
  .lx-notice-text{font-size:11px}
  .lx-mobile-search{display:none;gap:8px;padding-top:4px}
  .lx-mobile-search.is-open{display:flex}
  .lx-mobile-search input{flex:1;height:40px;border:1px solid #cacfdf;border-radius:6px;padding:0 10px;font-family:inherit}
  .lx-mobile-search button{border:0;border-radius:6px;background:#5467ff;color:#fff;padding:0 14px;font-family:inherit}
  .lx-mobile-menu{display:none;flex-direction:column;padding-top:4px}
  .lx-mobile-menu.is-open{display:flex}
  .lx-mobile-menu a{padding:10px 0;border-bottom:1px solid #eef0f5;font-size:13px;font-weight:500}

  .lx-footer{margin:16px 16px 48px;padding:16px;border-radius:12px;gap:24px}
  .lx-footer-logo{width:102px}.lx-footer-logo img{width:102px;height:24px}
  .lx-back-top{height:40px;padding:0 16px;font-size:12px}
  .lx-footer-lead{font-size:12px}
  .lx-footer-desc{font-size:12px;line-height:1.8;-webkit-line-clamp:2}
  .lx-footer-more{display:inline-flex;align-items:center;gap:6px}
  .lx-footer-contact{padding:16px 8px;flex-direction:column;gap:8px}
  .lx-contact-main{flex-direction:column;font-size:12px}
  .lx-contact-sep{width:100%;height:1px;margin:8px 0}
  .lx-footer-contact>span{font-size:11px}
  .lx-footer-cols{display:flex;flex-direction:column;gap:24px}
  .lx-footer-cols section{width:100%;gap:10px}
  .lx-footer-cols h3{font-size:14px}
  .lx-footer-cols a{font-size:12px}
  .lx-footer-social{order:4}
  .lx-social-row{justify-content:center}
  .lx-trust-row{justify-content:center;margin-top:16px}
  .lx-copyright{font-size:11px}
}


/* ===== Category menu extension ===== */
.lx-category-menu-wrap{position:relative}
.lx-nav-category-btn{
  height:auto;
  padding:0;
  border:0;
  background:transparent;
  display:flex;
  align-items:center;
  gap:8px;
  color:#2e354d;
  font-family:inherit;
  font-size:14px;
  font-weight:500;
  cursor:pointer
}
.lx-nav-grid-icon{width:16px;height:16px;display:grid;grid-template-columns:repeat(2,6px);grid-template-rows:repeat(2,6px);gap:2px}
.lx-nav-grid-icon i{display:block;border-radius:2px;background:#cacfdf}
.lx-chevron{font-size:13px;color:#969fc0;transition:.2s}
.lx-nav-category-btn[aria-expanded="true"] .lx-chevron{transform:rotate(180deg)}
.lx-mega-menu{
  position:absolute;
  right:0;
  top:calc(100% + 14px);
  width:min(860px,calc(100vw - 96px));
  padding:18px;
  border:1px solid #eceef4;
  border-radius:12px;
  background:#fff;
  box-shadow:0 18px 55px rgba(35,42,67,.13);
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:.18s ease;
  z-index:90
}
.lx-mega-menu.is-open{opacity:1;visibility:visible;transform:translateY(0)}
.lx-mega-menu__head{display:flex;justify-content:space-between;align-items:center;padding:0 4px 14px;border-bottom:1px solid #f0f1f5}
.lx-mega-menu__head strong{font-size:14px;color:#2e354d}
.lx-mega-menu__head a{font-size:12px;color:#5467ff}
.lx-mega-menu__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding-top:14px}
.lx-mega-menu__grid a{
  min-height:72px;
  padding:10px 12px;
  border-radius:9px;
  display:flex;
  align-items:center;
  gap:10px;
  color:#2e354d;
  transition:.16s ease
}
.lx-mega-menu__grid a:hover{background:#f7f8fb;color:#5467ff}
.lx-mega-menu__grid a span{width:34px;height:34px;border-radius:8px;background:#f4f5f9;display:grid;place-items:center;font-size:17px}
.lx-mega-menu__grid a b{font-size:12px;font-weight:600}
.lx-menu-backdrop{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.16);
  opacity:0;
  visibility:hidden;
  transition:.18s ease;
  z-index:45;
  pointer-events:none
}
.lx-menu-backdrop.is-open{opacity:1;visibility:visible}
.lx-header{z-index:50}

@media(max-width:1023px){
  .lx-menu-backdrop{display:none}
  .lx-mobile-category-toggle{
    width:100%;
    padding:10px 0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border:0;
    border-bottom:1px solid #eef0f5;
    background:transparent;
    color:#1f2850;
    font-family:inherit;
    font-size:13px;
    font-weight:600
  }
  .lx-mobile-categories{
    display:none;
    grid-template-columns:repeat(2,1fr);
    gap:0 14px;
    padding:6px 0 10px
  }
  .lx-mobile-categories.is-open{display:grid}
  .lx-mobile-categories a{
    padding:9px 0;
    font-size:12px;
    color:#596487;
    border-bottom:1px solid #f3f4f7
  }
}
