/*==========================================================
  #shop.css — Varniraj Organic Agro  (full rewrite)
==========================================================*/

/* ---- shared subtitle helpers ---- */
.shop-section-sub {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; color: var(--emerald);
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 1.5rem; letter-spacing: 1px; margin-block-end: 10px;
}
.sub-line {
  display: block; width: 36px; height: 2px;
  background: var(--emerald); border-radius: 2px; flex-shrink: 0;
}
.shop-section-title {
  text-align: center; color: hsl(245,97%,13%);
  font-size: clamp(2.4rem, 4vw, 3.6rem); margin-block-end: 48px;
}

/*----------------------------------------------------------
  SHOP HERO
----------------------------------------------------------*/
.shop-hero {
  position: relative; display: flex; align-items: stretch;
  overflow: hidden; min-height: 480px;
  background: linear-gradient(145deg,
    hsl(152,92%,8%) 0%, hsl(152,88%,15%) 50%, hsl(155,72%,20%) 100%);
}
.shop-hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.shop-hero-bg::before {
  content: ""; position: absolute;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, hsla(152,80%,40%,0.16) 0%, transparent 70%);
  top: -180px; left: -80px;
}
.shop-hero-bg::after {
  content: ""; position: absolute;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, hsla(46,100%,60%,0.08) 0%, transparent 70%);
  bottom: -80px; right: 48%;
}

/* left content */
.shop-hero-left {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 72px 64px; max-width: 620px;
}
.shop-hero-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: hsla(0,0%,0%,0.28); border: 1px solid hsla(0,0%,100%,0.2);
  color: hsla(0,0%,100%,0.88); font-size: 1.3rem; font-weight: 700;
  padding: 7px 18px; border-radius: 50px; margin-block-end: 22px;
  width: fit-content; backdrop-filter: blur(6px);
  text-transform: uppercase; letter-spacing: 1px;
}
.shop-hero-tag ion-icon { color: hsl(46,100%,68%); font-size: 1.6rem; }
.shop-hero-title {
  color: #fff; font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5vw, 5.6rem); font-weight: 700;
  line-height: 1.1; margin-block-end: 16px; letter-spacing: -0.5px;
}
.shop-hero-title em { display: block; color: hsl(46,100%,65%); font-style: italic; }
.shop-hero-sub {
  color: hsla(0,0%,100%,0.72); font-size: 1.65rem;
  line-height: 1.75; margin-block-end: 24px; max-width: 440px;
}
/* trust pills */
.shop-hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px; margin-block-end: 32px;
}
.shop-hero-trust span {
  display: inline-flex; align-items: center; gap: 6px;
  background: hsla(0,0%,0%,0.28); backdrop-filter: blur(6px);
  border: 1px solid hsla(0,0%,100%,0.16);
  color: hsla(0,0%,100%,0.85); font-size: 1.25rem; font-weight: 600;
  padding: 6px 15px; border-radius: 50px;
}
.shop-hero-trust span ion-icon { color: hsl(46,100%,65%); font-size: 1.5rem; }
/* buttons */
.shop-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.shop-hero-cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, hsl(152,95%,36%), hsl(152,88%,22%));
  color: #fff; font-size: 1.55rem; font-weight: 700;
  padding: 15px 30px; border-radius: 50px; text-decoration: none;
  border: 1px solid hsla(152,95%,55%,0.3);
  box-shadow: 0 8px 28px hsla(152,88%,20%,0.5);
  transition: transform 0.25s, box-shadow 0.25s;
}
.shop-hero-cta-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 36px hsla(152,88%,20%,0.65); }
.shop-hero-cta-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: hsla(0,0%,100%,0.9); font-size: 1.55rem; font-weight: 600;
  padding: 14px 28px; border-radius: 50px;
  border: 1.5px solid hsla(0,0%,100%,0.28);
  background: hsla(0,0%,100%,0.07); backdrop-filter: blur(6px);
  text-decoration: none; transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.shop-hero-cta-ghost:hover { background: hsla(0,0%,100%,0.14); border-color: hsla(0,0%,100%,0.5); transform: translateY(-3px); }

/* right photo */
.shop-hero-right {
  position: relative; flex: 0 0 48%; overflow: hidden; display: none;
}
.shop-hero-photo {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center; display: block;
  transition: transform 0.8s ease;
}
.shop-hero:hover .shop-hero-photo { transform: scale(1.04); }
.shop-hero-right::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, hsl(152,88%,15%) 0%, transparent 28%);
  z-index: 1; pointer-events: none;
}
/* floating badges */
.shop-hero-float {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: hsl(206,21%,18%);
  font-size: 1.3rem; font-weight: 700; padding: 10px 18px;
  border-radius: 50px; box-shadow: 0 6px 20px hsla(0,0%,0%,0.18);
  z-index: 2; white-space: nowrap;
}
.shop-hero-float ion-icon { color: hsl(152,88%,28%); font-size: 1.7rem; }
.shop-hero-float-1 { top: 28px; left: 28px; animation: sfloatA 3s ease-in-out infinite; }
.shop-hero-float-2 { bottom: 36px; right: 28px; animation: sfloatB 3.5s ease-in-out infinite; }
@keyframes sfloatA { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
@keyframes sfloatB { 0%,100% { transform: translateY(0) rotate(1deg); } 50% { transform: translateY(-8px) rotate(-1deg); } }

/*----------------------------------------------------------
  ORDER TYPE SECTION
----------------------------------------------------------*/
.order-type-section { background: hsl(96,36%,97%); padding-block: 80px; }
.order-type-grid { display: grid; gap: 24px; margin-block-end: 36px; }
.order-type-card {
  background: #fff; border-radius: 22px; padding: 36px 32px;
  border: 2px solid hsl(0,0%,92%); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.order-type-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 5px; border-radius: 22px 22px 0 0;
}
#tab-wholesale::before { background: linear-gradient(90deg, hsl(152,95%,36%), hsl(152,88%,55%)); }
#tab-export::before    { background: linear-gradient(90deg, hsl(245,97%,30%), hsl(245,60%,55%)); }
.order-type-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px hsla(0,0%,0%,0.1); border-color: transparent; }
/* new horizontal top layout */
.ot-card-top { display: flex; align-items: flex-start; gap: 18px; margin-block-end: 24px; }
.ot-header-text { flex: 1; }
.ot-icon-wrap {
  width: 64px; height: 64px; min-width: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; transition: transform 0.3s;
}
.order-type-card:hover .ot-icon-wrap { transform: rotate(-8deg) scale(1.1); }
.wholesale-icon { background: linear-gradient(135deg, hsl(152,95%,93%), hsl(152,80%,82%)); color: hsl(152,95%,22%); }
.export-icon    { background: linear-gradient(135deg, hsl(245,60%,93%), hsl(245,50%,82%)); color: hsl(245,97%,22%); }
.ot-title { color: hsl(245,97%,13%); font-size: 2.4rem; font-weight: 700; font-family: 'Playfair Display', serif; margin-block-end: 8px; }
.ot-desc  { color: hsl(0,0%,45%); font-size: 1.5rem; line-height: 1.7; }
.ot-points { display: flex; flex-direction: column; gap: 10px; margin-block-end: 28px; flex: 1; }
.ot-points li { display: flex; align-items: center; gap: 10px; color: hsl(206,21%,20%); font-size: 1.5rem; font-weight: 500; }
.ot-points li ion-icon { font-size: 2rem; flex-shrink: 0; }
#tab-wholesale .ot-points li ion-icon { color: hsl(152,88%,28%); }
#tab-export    .ot-points li ion-icon { color: hsl(245,97%,30%); }
.ot-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1.5rem; font-weight: 700; padding: 15px 28px;
  border-radius: 50px; text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s; margin-block-start: auto;
}
.ot-btn:hover { transform: translateY(-3px); }
.ot-btn-green  { background: linear-gradient(135deg, hsl(152,95%,36%), hsl(152,88%,22%)); color: #fff; box-shadow: 0 6px 20px hsla(152,88%,28%,0.38); }
.ot-btn-green:hover { box-shadow: 0 10px 30px hsla(152,88%,28%,0.55); }
.ot-btn-violet { background: linear-gradient(135deg, hsl(245,80%,36%), hsl(245,97%,18%)); color: #fff; box-shadow: 0 6px 20px hsla(245,97%,13%,0.28); }
.ot-btn-violet:hover { box-shadow: 0 10px 30px hsla(245,97%,13%,0.45); }
.price-note {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: hsl(0,0%,53%); font-size: 1.4rem;
  background: #fff; border-radius: 50px; padding: 13px 28px;
  border: 1px solid hsl(0,0%,92%); max-width: 540px; margin-inline: auto;
  flex-wrap: wrap; text-align: center;
}
.price-note ion-icon { color: hsl(152,88%,32%); font-size: 1.8rem; flex-shrink: 0; }

/*----------------------------------------------------------
  FILTER TABS
----------------------------------------------------------*/
.shop-products-section { background: #fff; padding-block: 80px; }
.shop-filter-tabs {
  display: flex; justify-content: center; gap: 10px;
  flex-wrap: wrap; margin-block-end: 48px;
}
.shop-filter-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: hsl(96,36%,95%); color: hsl(206,21%,22%);
  font-size: 1.5rem; font-weight: 600;
  padding: 12px 26px; border-radius: 50px;
  border: 2px solid transparent; cursor: pointer;
  transition: all 0.28s;
}
.shop-filter-btn:hover,
.shop-filter-btn.active {
  background: hsl(152,88%,22%); color: #fff;
  border-color: hsl(152,88%,22%);
  box-shadow: 0 6px 20px hsla(152,88%,22%,0.3);
  transform: translateY(-2px);
}

/*----------------------------------------------------------
  PRODUCT CARDS
----------------------------------------------------------*/
.shop-cards-grid { display: grid; gap: 28px; }
.shop-card {
  background: #fff; border-radius: 20px;
  border: 2px solid hsl(0,0%,92%); overflow: hidden;
  display: flex; flex-direction: column; position: relative;
  transition: transform 0.38s, box-shadow 0.38s, border-color 0.38s;
}
.shop-card:hover { transform: translateY(-10px); box-shadow: 0 28px 64px hsla(152,88%,22%,0.14); border-color: hsl(152,88%,36%); }
.coming-card:hover { border-color: hsl(36,100%,50%); box-shadow: 0 28px 64px hsla(36,100%,50%,0.12); }
/* status badge */
.shop-card-status {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 1.1rem; font-weight: 700; padding: 5px 14px;
  border-radius: 50px; text-transform: uppercase; letter-spacing: 0.4px;
}
.shop-card-status.available { background: hsl(152,88%,36%); color: #fff; }
.shop-card-status.coming    { background: hsl(36,100%,50%); color: #fff; }
/* image */
.shop-card-img-wrap {
  position: relative; height: 260px;
  background: linear-gradient(135deg, hsl(96,36%,97%), hsl(152,30%,93%));
  overflow: hidden;
}
.shop-card-photo {
  width: 100%; height: 100%; object-fit: contain; padding: 24px;
  transition: transform 0.5s;
}
.coming-photo { filter: brightness(0.82); }
.shop-card:hover .shop-card-photo { transform: scale(1.08); }
/* hover actions */
.shop-card-hover-action {
  position: absolute; bottom: -72px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px; padding: 12px;
  transition: bottom 0.35s;
}
.shop-card:hover .shop-card-hover-action { bottom: 12px; }
.shop-hover-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: hsl(206,21%,20%);
  font-size: 1.3rem; font-weight: 600; padding: 9px 18px;
  border-radius: 50px; box-shadow: 0 4px 14px hsla(0,0%,0%,0.14);
  transition: background 0.25s, color 0.25s;
}
.shop-hover-btn:hover { background: hsl(152,88%,30%); color: #fff; }
/* coming veil */
.coming-veil {
  position: absolute; inset: 0;
  background: hsla(0,0%,0%,0.48);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; color: #fff;
  opacity: 0; transition: opacity 0.35s;
}
.coming-veil ion-icon { font-size: 4rem; }
.coming-veil p { font-size: 1.8rem; font-weight: 700; }
.coming-notify-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: hsl(36,100%,50%); color: #fff;
  font-size: 1.3rem; font-weight: 700; padding: 9px 18px;
  border-radius: 50px; transition: background 0.25s;
}
.coming-notify-btn:hover { background: hsl(36,100%,42%); }
.coming-card:hover .coming-veil { opacity: 1; }

/* card body */
.shop-card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.shop-card-cat-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.shop-cat-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 1.1rem; font-weight: 700; padding: 5px 14px;
  border-radius: 50px; text-transform: uppercase; letter-spacing: 0.4px;
}
.moringa-pill { background: hsl(152,95%,93%); color: hsl(152,88%,20%); }
.fig-pill     { background: hsl(36,100%,93%); color: hsl(36,100%,28%); }
.shop-card-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.shop-badge { font-size: 1.1rem; font-weight: 600; padding: 4px 10px; border-radius: 50px; }
.wholesale-badge { background: hsla(152,88%,36%,0.1); color: hsl(152,88%,22%); }
.export-badge    { background: hsla(245,97%,13%,0.08); color: hsl(245,97%,13%); }
.shop-card-name {
  color: hsl(245,97%,13%); font-size: 2.2rem; font-weight: 700;
  font-family: 'Playfair Display', serif; line-height: 1.25;
}
.shop-card-name span { color: hsl(152,88%,28%); }
.shop-card-text { color: hsl(0,0%,45%); font-size: 1.4rem; line-height: 1.8; }
.shop-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.shop-card-tags span {
  background: hsl(96,36%,95%); color: hsl(206,21%,22%);
  font-size: 1.1rem; font-weight: 500; padding: 4px 12px; border-radius: 50px;
}
.shop-card-price-note {
  display: inline-flex; align-items: center; gap: 6px;
  background: hsl(152,95%,93%); color: hsl(152,88%,20%);
  font-size: 1.3rem; font-weight: 600; padding: 8px 16px;
  border-radius: 8px; border: 1px solid hsl(152,88%,80%);
}
.shop-card-price-note ion-icon { font-size: 1.5rem; }
.shop-card-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: linear-gradient(135deg, hsl(152,95%,36%), hsl(152,88%,22%));
  color: #fff; font-size: 1.45rem; font-weight: 700; padding: 14px 20px;
  border-radius: 12px; margin-block-start: auto;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 14px hsla(152,88%,22%,0.3);
}
.shop-card-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px hsla(152,88%,22%,0.48); }
.coming-cta {
  background: linear-gradient(135deg, hsl(36,100%,50%), hsl(36,100%,38%));
  box-shadow: 0 4px 14px hsla(36,100%,40%,0.3); justify-content: center;
}
.coming-cta:hover { box-shadow: 0 8px 22px hsla(36,100%,40%,0.48); }

/*----------------------------------------------------------
  WHY CHOOSE US STRIP (new design)
----------------------------------------------------------*/
.shop-why-strip {
  background: linear-gradient(135deg, hsl(152,92%,8%), hsl(152,88%,16%));
  padding-block: 48px;
}
.shop-why-grid {
  display: flex; flex-wrap: wrap; align-items: stretch;
  justify-content: center; gap: 0;
}
.shop-why-item {
  display: flex; align-items: center; gap: 14px;
  color: #fff; padding: 20px 32px;
  border-right: 1px solid hsla(0,0%,100%,0.1);
  flex: 1; min-width: 180px;
}
.shop-why-item:last-child { border-right: none; }
.shop-why-icon {
  width: 52px; height: 52px; min-width: 52px; border-radius: 14px;
  background: hsla(0,0%,100%,0.1); border: 1px solid hsla(0,0%,100%,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; color: hsl(46,100%,65%);
  transition: background 0.25s, transform 0.25s;
}
.shop-why-item:hover .shop-why-icon { background: hsl(152,88%,26%); transform: rotate(-6deg) scale(1.1); }
.shop-why-item div:last-child { display: flex; flex-direction: column; gap: 3px; }
.shop-why-item strong { font-size: 1.5rem; font-weight: 700; color: #fff; line-height: 1.2; }
.shop-why-item span   { font-size: 1.2rem; color: hsla(0,0%,100%,0.55); }

/*==========================================================
  RESPONSIVE — all breakpoints
==========================================================*/

/* ---- show hero photo at 640px+ ---- */
@media (min-width: 640px) {
  .shop-hero-right { display: block; }
  .shop-hero-left  { flex: 0 0 55%; padding: 60px 52px; }
}
@media (min-width: 992px) {
  .shop-hero-left  { flex: 0 0 52%; padding: 72px 72px; }
  .shop-hero-right { flex: 0 0 48%; }
}
@media (min-width: 1200px) {
  .shop-hero-left  { padding: 80px 80px; }
}

/* order type 2-col at 576px+ */
@media (min-width: 576px) {
  .order-type-grid  { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

/* product cards */
@media (min-width: 480px) {
  .shop-cards-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (min-width: 992px) {
  .shop-cards-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; }
}
@media (min-width: 1200px) {
  .shop-cards-grid { gap: 32px; }
}

/* why strip: wrap gracefully */
@media (max-width: 991px) {
  .shop-why-item { border-right: none; border-bottom: 1px solid hsla(0,0%,100%,0.08); }
  .shop-why-item:last-child { border-bottom: none; }
  .shop-why-grid { flex-direction: column; }
}
@media (min-width: 992px) {
  .shop-why-grid { flex-direction: row; }
}

/* touch: always show veil/hover actions */
@media (hover: none) {
  .shop-card-hover-action { bottom: 12px; }
  .coming-veil { opacity: 1; background: hsla(0,0%,0%,0.4); }
}

/*---- 320–359px ----*/
@media (max-width: 359px) {
  .shop-hero-left { padding: 32px 16px; }
  .shop-hero-title { font-size: 2.4rem !important; }
  .shop-hero-trust { display: none; }
  .shop-hero-btns { flex-direction: column; }
  .shop-hero-cta-primary, .shop-hero-cta-ghost { width: 100%; justify-content: center; }
  .shop-section-title { font-size: 2rem; margin-block-end: 32px; }
  .order-type-card { padding: 24px 16px; }
  .ot-icon-wrap { width: 52px; height: 52px; min-width: 52px; font-size: 2.4rem; }
  .ot-title { font-size: 2rem; }
  .ot-btn { width: 100%; justify-content: center; }
  .shop-cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .shop-filter-btn { padding: 9px 16px; font-size: 1.3rem; }
  .shop-why-strip { padding-block: 32px; }
  .shop-why-item { padding: 16px 20px; }
  .price-note { font-size: 1.25rem; padding: 12px 18px; }
}

/*---- 360–479px ----*/
@media (min-width: 360px) and (max-width: 479px) {
  .shop-hero-left { padding: 40px 20px; }
  .shop-hero-title { font-size: 3rem !important; }
  .shop-hero-btns { flex-direction: column; }
  .shop-hero-cta-primary, .shop-hero-cta-ghost { width: 100%; justify-content: center; }
  .order-type-grid { grid-template-columns: 1fr; }
  .ot-btn { width: 100%; justify-content: center; }
  .shop-cards-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .shop-card-img-wrap { height: 180px; }
  .shop-card-body { padding: 14px; gap: 9px; }
  .shop-card-name { font-size: 1.8rem; }
  .shop-card-text { display: none; }
  .shop-card-tags { display: none; }
  .shop-card-cta { padding: 11px 14px; font-size: 1.3rem; }
}

/*---- 480–575px ----*/
@media (min-width: 480px) and (max-width: 575px) {
  .shop-hero-left { padding: 44px 24px; }
  .shop-hero-title { font-size: 3.2rem !important; }
  .shop-hero-cta-primary, .shop-hero-cta-ghost { padding: 13px 22px; font-size: 1.45rem; }
  .order-type-grid { grid-template-columns: 1fr; }
  .ot-btn { width: 100%; justify-content: center; }
  .shop-card-img-wrap { height: 200px; }
}

/*---- 576–767px ----*/
@media (min-width: 576px) and (max-width: 767px) {
  .shop-hero-right { display: block; }
  .shop-hero-left { flex: 0 0 56%; padding: 48px 32px; }
  .shop-cards-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .shop-card-img-wrap { height: 220px; }
}

/*---- 768–991px ----*/
@media (min-width: 768px) and (max-width: 991px) {
  .shop-hero-left { flex: 0 0 56%; padding: 56px 44px; }
  .shop-cards-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/*---- 992–1199px ----*/
@media (min-width: 992px) and (max-width: 1199px) {
  .shop-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
