*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Arial,sans-serif;
  background:#fbf6ea;
  color:#21170f;
}

/* =========================
   OLD / COMMON HEADER
========================= */

.header{
  min-height:68px;
  background:linear-gradient(90deg,#180c04,#43250f);
  display:flex;
  align-items:center;
  gap:24px;
  padding:10px 5%;
  color:#fff;
}

.logo{
  font-size:25px;
  color:#fff;
  text-decoration:none;
  white-space:nowrap;
}

.logo b{
  color:#f0bd50;
}

.search{
  display:flex;
  flex:1;
  max-width:650px;
  background:#fff;
  border-radius:7px;
  overflow:hidden;
}

.search input{
  flex:1;
  border:0;
  padding:12px;
  outline:0;
}

.search button{
  width:52px;
  border:0;
  background:#e2a938;
  color:#281507;
  font-size:20px;
  cursor:pointer;
}

.headlinks{
  display:flex;
  gap:18px;
}

.headlinks a{
  color:#fff;
  text-decoration:none;
}

.headlinks em{
  background:#c93424;
  border-radius:20px;
  padding:2px 6px;
  font-style:normal;
  font-size:11px;
}


/* =========================
   OLD NAV
========================= */

nav:not(.mobile-nav){
  background:#2a1609;
  padding:13px 5%;
  display:flex;
  gap:28px;
  overflow:auto;
}

nav:not(.mobile-nav) a{
  color:white;
  text-decoration:none;
  white-space:nowrap;
  font-size:14px;
}


/* =========================
   COMMON MAIN
========================= */

main{
  max-width:1350px;
  margin:auto;
  padding:25px 4%;
}


/* =========================
   OLD HERO
========================= */

.hero{
  height:330px;
  border-radius:14px;
  padding:45px 6%;
  color:white;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:radial-gradient(
    circle at 70%,
    #744716,
    #2b1407 55%,
    #160a03
  );
  overflow:hidden;
}

.hero h1{
  font-size:48px;
  margin:12px 0;
}

.hero h1 span,
.hero small{
  color:#efbc4c;
}

.heroicons{
  font-size:80px;
  position:relative;
}

.heroicons strong{
  display:inline-block;
  background:#c98924;
  padding:15px;
  font-size:30px;
  transform:rotate(4deg);
}

.heroicons strong small{
  display:block;
  color:white;
}


/* =========================
   BUTTONS
========================= */

.goldbtn,
.product button,
.buy{
  display:inline-block;
  background:linear-gradient(
    135deg,
    #f0c256,
    #bb7719
  );
  border:0;
  border-radius:6px;
  color:#281507;
  padding:12px 20px;
  text-decoration:none;
  font-weight:bold;
  cursor:pointer;
}


/* =========================
   SECTIONS
========================= */

.sectitle,
.pagehead{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:30px 0 15px;
}

.sectitle a{
  color:#9b681b;
  text-decoration:none;
}


/* =========================
   OLD CATEGORIES
========================= */

.cats{
  display:grid;
  grid-template-columns:repeat(8,1fr);
  gap:12px;
}

.cats a{
  background:white;
  border:1px solid #eadfc9;
  border-radius:10px;
  padding:20px 5px;
  text-align:center;
  text-decoration:none;
  color:#21170f;
  font-size:28px;
}

.cats b{
  display:block;
  font-size:13px;
  margin-top:8px;
}


/* =========================
   PRODUCT GRID
========================= */

.grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:15px;
}

.product{
  background:#fff;
  border:1px solid #eadfc9;
  border-radius:10px;
  padding:12px;
  box-shadow:0 4px 15px rgba(59,33,13,.08);
  transition:.2s;
}

.product:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(59,33,13,.14);
}

.product a{
  text-decoration:none;
}

.pic{
  height:155px;
  background:#f8f3e9;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:72px;
}

.product h3{
  font-size:15px;
  margin:6px 0;
  color:#21170f;
}

.product small{
  color:#8c7865;
}

.rating{
  color:#c8881c;
  margin:7px 0;
}

.product del{
  color:#999;
  font-size:11px;
}

.product button{
  width:100%;
  margin-top:12px;
}


/* =========================
   TRUST
========================= */

.trust{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
  margin-top:35px;
}

.trust div,
.box,
.summary{
  background:#fff;
  border:1px solid #eadfc9;
  border-radius:10px;
  padding:18px;
}

.trust b,
.trust span{
  display:block;
  margin:5px;
}

.trust span{
  font-size:12px;
  color:#827466;
}


/* =========================
   FOOTER
========================= */

footer{
  margin-top:35px;
  background:#1b0d05;
  color:#e8dcc8;
  padding:25px 5%;
  display:flex;
  gap:25px;
  flex-wrap:wrap;
}

footer small{
  margin-left:auto;
}


/* =========================
   PRODUCTS PAGE
========================= */

.pagehead select{
  padding:10px;
  border:1px solid #d7c5a8;
}

.shop{
  display:grid;
  grid-template-columns:210px 1fr;
  gap:20px;
}

.shop aside{
  background:white;
  padding:18px;
  border:1px solid #eadfc9;
  border-radius:10px;
}

.shop aside a,
.shop aside label{
  display:block;
  margin:12px 0;
  color:#63451f;
  text-decoration:none;
}


/* =========================
   PRODUCT DETAIL
========================= */

.detail{
  display:grid;
  grid-template-columns:45% 1fr;
  gap:35px;
  background:#fff;
  padding:35px;
  border-radius:12px;
  border:1px solid #eadfc9;
}

.bigpic{
  min-height:430px;
  background:#f8f3e9;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:180px;
}


/* =========================
   CART
========================= */

.cartlayout,
.checkout{
  display:grid;
  grid-template-columns:1fr 330px;
  gap:20px;
}

.cartrow{
  display:flex;
  align-items:center;
  gap:18px;
  background:#fff;
  border:1px solid #eadfc9;
  padding:15px;
  margin-bottom:10px;
  border-radius:10px;
}

.cartrow .mini{
  width:90px;
  height:90px;
  font-size:40px;
}

.cartrow button{
  margin-left:auto;
}

.summary{
  height:max-content;
}

.block{
  display:block;
  text-align:center;
  margin-top:15px;
}


/* =========================
   LOGIN
========================= */

.loginwrap{
  max-width:500px;
}

.loginbox{
  background:#fff;
  border:1px solid #eadfc9;
  border-radius:12px;
  padding:30px;
  display:grid;
  gap:14px;
}

.loginbox input,
.box input{
  padding:12px;
  border:1px solid #d9cbb6;
  border-radius:6px;
}

.box label{
  display:block;
  margin:14px 0;
}


/* =========================
   EMPTY
========================= */

.empty{
  text-align:center;
  background:white;
  padding:60px;
  border-radius:10px;
  border:1px solid #eadfc9;
  font-size:18px;
}


/* =========================
   MOBILE
========================= */

@media(max-width:850px){

  .grid{
    grid-template-columns:repeat(2,1fr);
  }

  .cats{
    grid-template-columns:repeat(4,1fr);
  }

  .heroicons{
    font-size:50px;
  }

  .shop,
  .cartlayout,
  .checkout,
  .detail{
    grid-template-columns:1fr;
  }

  .trust{
    grid-template-columns:repeat(2,1fr);
  }

}


@media(max-width:550px){

  .header{
    flex-wrap:wrap;
  }

  .search{
    order:3;
    flex-basis:100%;
  }

  .headlinks{
    gap:8px;
    font-size:12px;
  }

  .hero{
    height:350px;
    padding:25px;
  }

  .hero h1{
    font-size:38px;
  }

  .heroicons{
    display:none;
  }

  .cats{
    gap:7px;
  }

  .cats a{
    font-size:22px;
    padding:12px 3px;
  }

  .cats b{
    font-size:10px;
  }

  .grid{
    gap:8px;
  }

  .product{
    padding:8px;
  }

  .pic{
    height:120px;
    font-size:55px;
  }

}


/* =========================
   PS MAART NEW HOME
   ORIGINAL PS MAART THEME
========================= */

.ps-header{
  background:linear-gradient(
    90deg,
    #180c04,
    #43250f
  );
  color:#fff;
}

.ps-logo-icon{
  background:#f0bd50;
  color:#281507;
}

.ps-search{
  background:#fff;
}

.ps-search input{
  color:#21170f;
}

.ps-search button{
  background:#e2a938;
  color:#281507;
}

.location-bar{
  background:#fbf6ea;
  color:#43250f;
  border-bottom:1px solid #eadfc9;
}

.location-bar a{
  color:#9b681b;
}

.category-scroll{
  background:#2a1609;
  color:#fff;
}

.category-scroll a{
  color:#fff;
}

.hero-banner{
  background:
    radial-gradient(
      circle at 70%,
      #744716,
      #2b1407 55%,
      #160a03
    );
  color:#fff;
}

.hero-content h1{
  color:#fff;
}

.hero-content p{
  color:#eadfc9;
}

.shop-btn{
  background:
    linear-gradient(
      135deg,
      #f0c256,
      #bb7719
    );
  color:#281507;
}

.offer-card{
  background:#fff;
  border:1px solid #eadfc9;
  border-radius:14px;
}

.offer-card h3{
  color:#43250f;
}

.offer-card p{
  color:#827466;
}

.trust-section{
  background:#fff;
  border:1px solid #eadfc9;
}

.trust-box b{
  color:#43250f;
}

.trust-box span{
  color:#827466;
}


/* =========================
   NEW HOME PRODUCT CARDS
========================= */

#homeProducts .product{
  border:1px solid #eadfc9;
  box-shadow:0 4px 15px rgba(59,33,13,.08);
  background:#fff;
}

#homeProducts .product:hover{
  box-shadow:0 6px 18px rgba(59,33,13,.14);
}

#homeProducts .pic{
  background:#f8f3e9;
}

#homeProducts .product h3{
  color:#21170f;
}

#homeProducts .product small{
  color:#8c7865;
}

#homeProducts .rating{
  color:#c8881c;
}


/* =========================
   MOBILE NAV
========================= */

.mobile-nav{
  display:none;
}

@media(max-width:700px){

  .mobile-nav{
    position:fixed;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    bottom:0;
    left:0;
    right:0;
    height:65px;
    background:#fff;
    border-top:1px solid #eadfc9;
    z-index:2000;
    box-shadow:0 -2px 10px rgba(59,33,13,.12);
  }

  .mobile-nav a{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    color:#6f6257;
    text-decoration:none;
    font-size:11px;
    gap:3px;
  }

  .mobile-nav a:first-child{
    color:#9b681b;
    font-weight:bold;
  }

  .mobile-nav span{
    font-size:24px;
  }

}


/* =========================
   NEW HOME RESPONSIVE
========================= */

@media(max-width:700px){

  .ps-header{
    padding:10px 12px;
    display:grid;
    grid-template-columns:auto 1fr auto;
    gap:10px;
  }

  .ps-logo{
    font-size:0;
  }

  .ps-logo-icon{
    width:40px;
    height:40px;
  }

  .ps-search{
    width:100%;
  }

  .ps-search input{
    padding:11px 10px;
    font-size:14px;
  }

  .ps-search button{
    width:45px;
  }

  .ps-headlinks{
    display:none;
  }

  .location-bar{
    padding:10px 15px;
    white-space:nowrap;
    overflow:hidden;
  }

  .category-scroll{
    gap:18px;
    padding:12px 15px;
  }

  .category-icon{
    width:50px;
    height:50px;
    font-size:24px;
  }

  .ps-main{
    padding:10px;
    background:#fbf6ea;
  }

  .hero-banner{
    min-height:230px;
    padding:25px 20px;
    border-radius:12px;
  }

  .hero-content h1{
    font-size:30px;
  }

  .hero-content p{
    font-size:13px;
  }

  .hero-products{
    font-size:38px;
    flex-direction:column;
    gap:5px;
  }

  .discount-circle{
    width:75px;
    height:75px;
    font-size:20px;
    background:#f0bd50;
    color:#281507;
  }

  .discount-circle small{
    font-size:10px;
  }

  .offer-grid{
    grid-template-columns:repeat(3,1fr);
    gap:8px;
  }

  .offer-card{
    min-height:120px;
    padding:10px;
    flex-direction:column;
    text-align:center;
    justify-content:center;
  }

  .offer-card h3{
    font-size:13px;
  }

  .offer-card p{
    font-size:10px;
  }

  .offer-icon{
    font-size:35px;
  }

  .section-head{
    margin:22px 4px 12px;
  }

  .section-head h2{
    font-size:19px;
    color:#43250f;
  }

  .section-head a{
    font-size:12px;
    color:#9b681b;
  }

  .trust-section{
    grid-template-columns:repeat(2,1fr);
    padding:15px;
    gap:15px;
  }

  .trust-icon{
    font-size:24px;
  }

  .trust-box b{
    font-size:12px;
  }

  .trust-box span{
    font-size:10px;
  }

  .ps-footer{
    display:none;
  }

}

/* =====================================================================
   BOTTOM NAV (phone) - cart, products, product, orders, my-orders pages
   Home page jaisa naya look: emoji ki jagah icon, active tab par sunehri line.
   Sirf look badalta hai; links aur buttons wahi hain.
   ===================================================================== */
@media(max-width:700px){
  body .pm-mnav{height:calc(64px + env(safe-area-inset-bottom,0px))!important;background:#24150b!important;border-top:2px solid #C9922E!important;box-shadow:0 -4px 16px rgba(0,0,0,.25)}
  body .pm-mnav a{position:relative;gap:4px!important;font-size:11px!important;font-weight:500;color:#cdbda3;-webkit-tap-highlight-color:transparent}
  body .pm-mnav a.on{color:#f0bd50!important;font-weight:700}
  body .pm-mnav a.on::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:28px;height:3px;border-radius:0 0 4px 4px;background:#f0bd50}
  body .pm-mnav a span{display:flex!important;align-items:center;justify-content:center;width:26px;height:26px;line-height:0!important}
  body .pm-mnav a span:not(:has(*)){font-size:0!important}
  body .pm-mnav a span:not(:has(*))::before{content:"";display:block;width:24px;height:24px;background-color:currentColor;-webkit-mask:var(--pm-ic) center/contain no-repeat;mask:var(--pm-ic) center/contain no-repeat}
  body .pm-mnav a[href="index.html"] span{--pm-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7.5L21 11'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E")}
  body .pm-mnav a[href="products.html"] span{--pm-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3C/svg%3E")}
  body .pm-mnav a[href="profile.html"] span{--pm-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E")}
  body .pm-mnav a[href="cart.html"] span{--pm-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.6 12.4a1 1 0 0 0 1 .8h8.9a1 1 0 0 0 1-.8L20 7H6'/%3E%3C/svg%3E")}
}
