/* GLOBAL SAFETY */
*{
  box-sizing:border-box;
  max-width:100%;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

/* =================================
   GLOBAL MOBILE SAFETY
================================= */
@media (max-width:1200px){
  .container{
    padding:14px;
  }
}

/* =================================
   UNIVERSAL HEADER (TABLET + MOBILE)
================================= */
@media (max-width:992px){

  .header{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }

  .header-left,
  .page-head{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    flex-wrap:wrap;
  }

  .logo-wrap,
  .brand{
    display:flex;
    align-items:center;
    gap:6px;
  }

  /* nav links collapse */
  .nav-links{
    width:100%;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;
    margin-top:6px;
  }

  .header-right{
    width:100%;
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
  }

  .search-box input{
    width:100%;
    max-width:360px;
  }
}

/* =================================
   SMALL MOBILE HEADER FIX
================================= */
@media (max-width:576px){

  .logo-wrap span,
  .brand{
    font-size:16px;
    font-weight:600;
  }

  .nav-links a{
    font-size:13px;
  }

  .menu-btn,
  .home-btn,
  .header-btn{
    height:34px;
    font-size:13px;
    padding:0 14px;
  }
}
.header-right{
  flex-wrap:wrap;
}
/* =================================
   HERO SECTION
================================= */
@media (max-width:992px){

  .hero{
    padding:26px 22px;
    gap:22px;
  }

  .hero-left h1{
    font-size:30px;
  }

  .hero-left p{
    font-size:16px;
  }

  .hero-right{
    justify-content:center;
  }

  .hero-right img{
    width:100%;
    max-width:360px;
  }
}

@media (max-width:576px){

  .hero{
    flex-direction:column;
    text-align:center;
    padding:22px 16px;
  }

  .hero-btns{
    justify-content:center;
    flex-wrap:wrap;
  }

  .hero-left h1{
    font-size:25px;
  }

  .hero-left p{
    font-size:15px;
  }
}

/* =================================
   PRODUCT & GENERIC CARDS
================================= */
@media (max-width:992px){
  .cards,
  .products{
    grid-template-columns:repeat(2,1fr);
  }
}
@media (max-width:768px){
  .cards,
  .products{
    grid-template-columns:1fr;
  }
}
@media (max-width:576px){
  .cards,
  .products{
    grid-template-columns:1fr;
  }
}

/* =================================
   EXPORTERS (ALL PAGES SAFE)
================================= */
@media (max-width:992px){
  .exporters{
    grid-template-columns:1fr;
  }
}

/* =================================
   PRODUCT DETAILS PAGE
================================= */
@media (max-width:992px){
  .product-box{
    grid-template-columns:1fr;
  }

  .product-image img{
    max-height:300px;
  }
}

@media (max-width:576px){
  .action-buttons{
    flex-direction:column;
  }
}

/* =================================
   AUTH / DASHBOARD SAFETY
================================= */
@media (max-width:576px){

  .role-section{
    grid-template-columns:1fr;
  }

  .auth-card{
    padding:22px;
  }

  .welcome,
  .identity-card,
  .export-card,
  .status-card{
    padding:18px;
  }
}

/* =================================
   MENU / ABOUT / CONTENT PAGES
================================= */
@media (max-width:576px){

  .page{
    margin-top:26px;
  }

  .intro,
  .content{
    padding:22px;
  }

  .menu-item{
    font-size:15px;
    padding:14px 18px;
  }

  .action-btn{
    width:100%;
  }
}
/* SIMPLE HEADER MOBILE FIX */
@media (max-width:992px){

  .simple-header{
    flex-direction:row !important;
    justify-content:space-between !important;
    align-items:center !important;
  }

  .simple-header .header-left,
  .simple-header .header-right{
    width:auto !important;
  }
}
@media (max-width:576px){

  .exporter-card.redesigned .card-bottom{
    display:flex;
    flex-direction:row;           /* force row */
    justify-content:space-between;
    align-items:center;
  }

  .exporter-card.redesigned .verified{
    font-size:11px;
    white-space:nowrap;           /* text wrap na ho */
  }

  .exporter-card.redesigned .view-exporter{
    font-size:11px;
    padding:6px 14px;
    white-space:nowrap;
  }

}
@media(max-width:600px){

  .exporters{
    grid-template-columns:1fr;
  }

  .exporter-card.redesigned .card-top{
    flex-direction:row;
    gap:14px; /* 38px se kam karo */
  }

  .exporter-card.redesigned .logo-box{
    width:90px;
    height:90px;
    margin-top:0;
  }

  .exporter-card.redesigned .card-info{
    padding-top:0;
  }

  .exporter-card.redesigned .exporter-name{
    font-size:15px;
  }

  .exporter-card.redesigned .exporter-meta,
  .exporter-card.redesigned .exporter-location{
    font-size:12px;
  }

}
.email-line{
  font-size:12px;
}

