/* ============================================================
   ReVente — Central Custom Styles (Bootstrap companion)
   All Tailwind arbitrary values are defined here so HTML
   only needs Bootstrap utility classes + these custom classes.
   ============================================================ */

/* ── Brand Colours ── */
:root {
  --rv-red: #d90d0d;
  --rv-red-dark: #bc1920;
  --rv-green: #2fb300;
  --rv-navy: #091221;
  --rv-navy-mid: #1a3350;
  --rv-navy-dark: #0b1f43;
  --rv-navy-menu: #10233a;
  --rv-purple: #6b46c1;
  --rv-bg: #f8f8f8;
  --rv-filter-bg: #f3f3f3;
  --rv-card-bg: #f6f6f6;
}

/* ── Global ── */
body {
  font-family: "Segoe UI", sans-serif;
}

/* ── Max-width container variant ── */
.container-rv {
  max-width: 1700px;
  margin-inline: auto;
}

/* ── Navbar ── */
.rv-navbar {
  background: linear-gradient(to right, var(--rv-navy), var(--rv-navy-mid));
  border-bottom: 1px solid #22d3ee; /* cyan-400 */
  min-height: 78px;
}
.rv-navbar .navbar-brand img {
  width: 96px;
}
.rv-navbar .nav-link {
  color: #fff !important;
  font-size: 18px;
  font-weight: 500;
}
.rv-navbar .nav-link:hover {
  color: #67e8f9 !important;
}
.rv-search-box {
  background: #fff;
  border-radius: 8px;
  height: 44px;
  width: 305px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  margin-right: 150px;
  gap: 10px;
}
.rv-search-box input {
  border: none;
  outline: none;
  font-size: 15px;
  color: #000;
  background: transparent;
  width: 100%;
}
.rv-search-box input::placeholder {
  color: #8e8e8e;
}
.rv-notif-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}
.rv-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 3px 0;
}
.rv-mobile-menu {
  background: var(--rv-navy-menu);
  border-top: 1px solid #22d3ee;
}

/* ── Hero ── */
.rv-hero-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
@media (max-width: 1199px) {
  .rv-hero-img {
    height: 430px;
  }
}
@media (max-width: 767px) {
  .rv-hero-img {
    height: 340px;
  }
}
@media (max-width: 575px) {
  .rv-hero-img {
    height: 240px;
  }
}

.rv-buy-sell-wrap {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}
.rv-buy-sell-wrap img {
  height: 200px;
}

@media (max-width: 767px) {
  .rv-buy-sell-wrap img {
    height: 150px;
  }
}
@media (max-width: 575px) {
  .rv-buy-sell-wrap {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
  }
  .rv-buy-sell-wrap img {
    height: 130px;
  }
}
.rv-btn-buy {
  background: var(--rv-red);
}
.rv-btn-sell {
  background: var(--rv-green);
}
.rv-category-carousel{
    width:100%;
    overflow:hidden;
}

.rv-category-track{
    width:max-content;
    animation: categoryScroll 20s linear infinite;
}

@keyframes categoryScroll{
    from{ transform:translateX(0); }
    to{ transform:translateX(-50%); }
}

.rv-category-carousel:hover .rv-category-track{
    animation-play-state:paused;
}
.category-item{
    min-width:150px;
}

@media (max-width:576px){
    .category-item{
        min-width:90px;
    }
}
/* ── Category circle ── */
.rv-cat-circle {
  width: 147px;
  height: 147px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (max-width: 768px){

    .rv-cat-circle{
        width: 90px;
        height: 90px;
    }

    .rv-cat-circle-inner{
        width: 75px;
        height: 75px;
    }

    .rv-cat-label{
        font-size: 12px;
        text-align: center;
    }

}
.rv-cat-circle-inner {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rv-cat-circle-inner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.rv-cat-label {
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  color: #000;
  margin-top: 20px;
}

/* ── See-all link ── */
.rv-see-all {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  color: var(--rv-purple) !important;
  text-decoration: none;
}
@media (max-width: 991px) {
  .rv-see-all {
    font-size: 15px;
  }
}

/* ── Product card ── */
.rv-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 12px;
  height: 100%;
}


.rv-card-title {
  font-size: 15px;
  font-weight: 600;
  margin-top: 16px;
}
.rv-card-desc {
  font-size: 11px;
  line-height: 17px;
  color: #6b7280;
  margin-top: 8px;
}
.rv-card-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.rv-card-loc span {
  font-size: 11px;
  color: var(--rv-purple);
}
.rv-card-price {
  font-size: 17px;
  font-weight: 700;
  margin-top: 16px;
}

/* Product card — products page (shorter image) */


/* ── Download App Banner ── */
.rv-app-banner {
  position: relative;
  overflow: hidden;
}
.rv-app-banner img.rv-banner-bg {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
@media (max-width: 991px) {
  .rv-app-banner img.rv-banner-bg {
    height: 320px;
  }
}
@media (max-width: 767px) {
  .rv-app-banner img.rv-banner-bg {
    height: 320px;
  }
}
.rv-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}
.rv-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  gap: 32px;
}
@media (max-width: 991px) {
  .rv-banner-content {
    flex-direction: column;
    padding: 0 40px;
  }
}
@media (max-width: 575px) {
  .rv-banner-content {
    flex-direction: column;

    padding: 0 24px;
  }
}
.rv-banner-title {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
}
@media (max-width: 991px) {
  .rv-banner-title {
    font-size: 36px;
  }
}
@media (max-width: 575px) {
  .rv-banner-title {
    font-size: 28px;
  }
}
.rv-banner-text {
  color: #fff;
  font-size: 20px;
  line-height: 30px;
  margin-top: 24px;
}
@media (max-width: 991px) {
  .rv-banner-text {
    font-size: 17px;
  }
}
@media (max-width: 575px) {
  .rv-banner-text {
    font-size: 15px;
    margin-top: 16px;
  }
}
.rv-store-img {
  width: 190px;
  object-fit: contain;
  cursor: pointer;
}
@media (max-width: 991px) {
  .rv-store-img {
    width: 160px;
  }
}

/* ── Footer ── */
.rv-footer {
  background: var(--rv-navy-dark);
  color: #fff;
  margin-top: 80px;
  padding: 40px 64px;
}
@media (max-width: 991px) {
  .rv-footer {
    padding: 40px 40px;
  }
}
@media (max-width: 575px) {
  .rv-footer {
    padding: 40px 24px;
  }
}
.rv-footer-desc {
  font-size: 18px;
  line-height: 34px;
  color: #d1d5db;
  max-width: 280px;
  margin-top: 20px;
}
@media (max-width: 991px) {
  .rv-footer-desc {
    font-size: 15px;
    line-height: 28px;
  }
}
.rv-footer-heading {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 28px;
}
@media (max-width: 991px) {
  .rv-footer-heading {
    font-size: 20px;
  }
}
.rv-footer-link {
  display: block;
  font-size: 20px;
  color: #e5e7eb;
  text-decoration: none;
  margin-bottom: 16px;
}
@media (max-width: 991px) {
  .rv-footer-link {
    font-size: 16px;
  }
}
.rv-footer-link:hover {
  color: #fff;
}
.rv-social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid #9ca3af;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.rv-social-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.rv-footer-copy {
  border-top: 1px solid #4b5563;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 18px;
  color: #d1d5db;
}
@media (max-width: 991px) {
  .rv-footer-copy {
    font-size: 14px;
  }
}

/* ── Login / OTP hero card pages ── */
.rv-hero-bg {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 0 0 36px 36px;
}
@media (max-width: 991px) {
  .rv-hero-bg {
    height: 360px;
    border-radius: 0 0 24px 24px;
  }
}
@media (max-width: 575px) {
  .rv-hero-bg {
    height: 300px;
  }
}

.rv-floating-card-wrap {
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding: 0 16px;
  display: flex;
  justify-content: center;
}
@media (max-width: 991px) {
  .rv-floating-card-wrap {
    top: 180px;
  }
}
@media (max-width: 575px) {
  .rv-floating-card-wrap {
    top: 150px;
  }
}

.rv-card-float {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 56px 48px;
  width: 100%;
  max-width: 580px;
}
@media (max-width: 575px) {
  .rv-card-float {
    padding: 40px 24px;
    border-radius: 22px;
  }
}

/* ── Form fields (shared across forms) ── */
.rv-input {
  width: 100%;
  height: 60px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 0 20px;
  font-size: 18px;
  outline: none;
  background: #fff;
}
@media (max-width: 767px) {
  .rv-input {
    height: 54px;
    font-size: 16px;
  }
}
.rv-input:focus {
  border-color: var(--rv-purple);
  box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.15);
}

.rv-textarea {
  width: 100%;
  height: 160px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 18px;
  outline: none;
  resize: none;
}
@media (max-width: 767px) {
  .rv-textarea {
    height: 140px;
    font-size: 16px;
  }
}

.rv-label {
  display: block;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}
@media (max-width: 767px) {
  .rv-label {
    font-size: 17px;
  }
}

.rv-select {
  width: 100%;
  height: 60px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 0 20px;
  font-size: 18px;
  outline: none;
  background: #fff;
  appearance: none;
}
@media (max-width: 767px) {
  .rv-select {
    height: 54px;
    font-size: 16px;
  }
}

/* ── Red submit button ── */
.rv-btn-submit {
  width: 100%;
  max-width: 420px;
  height: 58px;
  background: var(--rv-red-dark);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  transition: background 0.2s;
}
.rv-btn-submit:hover {
  background: #9b0e14;
}
@media (max-width: 767px) {
  .rv-btn-submit {
    height: 52px;
    font-size: 18px;
  }
}

/* ── OTP inputs ── */
.rv-otp-input {
  width: 58px;
  height: 58px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  text-align: center;
  font-size: 26px;
  outline: none;
  transition: border-color 0.2s;
}
@media (max-width: 767px) {
  .rv-otp-input {
    width: 54px;
    height: 54px;
    font-size: 24px;
  }
}
@media (max-width: 575px) {
  .rv-otp-input {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}
.rv-otp-input:focus {
  border-color: #ef4444;
}

/* ── Filter sidebar ── */

/* REMOVE the second duplicate block entirely, update the first to this */
.rv-filter-panel {
  background: var(--rv-filter-bg);
  padding: 28px 24px;
  border-right: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.rv-filter-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}
.rv-filter-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #1e1e1e;
  margin-bottom: 20px;
  cursor: pointer;
}
.rv-price-box {
  height: 42px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
}

/* ── Product details page ── */
.rv-detail-img {
    width: 100%;
    max-width: 638px;
    height: 348px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.rv-seller-box {
  background: var(--rv-card-bg);
  border-radius: 16px;
  padding: 20px;
  margin-top: 32px;
}

/* ── Profile page ── */
.rv-profile-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.rv-post-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  /* align-items: center; */
  justify-content: space-between;
  gap: 20px;
}
.rv-post-img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ── Edit/Update profile hero cards ── */
.rv-edit-hero-bg {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0 0 32px 32px;
}
@media (max-width: 767px) {
  .rv-edit-hero-bg {
    height: 250px;
  }
}
.rv-edit-card-wrap {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding: 0 16px;
  display: flex;
  justify-content: center;
}
@media (max-width: 767px) {
  .rv-edit-card-wrap {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-top: -60px;
    padding: 0 16px;
    z-index: 10;
  }
}
.rv-edit-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 32px 40px;
  width: 100%;
  max-width: 860px;
}
@media (max-width: 575px) {
  .rv-edit-card {
    padding: 24px 20px;
    border-radius: 22px;
  }
}
.rv-edit-card-sm {
  max-width: 760px;
}

/* ── Notification panel ── */
.rv-notif-panel {
  position: fixed;
  top: 93px;
  right: 80px;
  width: 447px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 60;
}

/* ── Image upload dashed box ── */
.custom-dashed {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
}

/* ── Spacers  ── */
.rv-spacer-hero {
  height: 30px;
}
.rv-spacer-login {
  height: 80px;
}
.rv-spacer-otp {
  height: 180px;
}
.rv-spacer-edit {
  height: 280px;
}
.rv-spacer-update {
  height: 300px;
}
@media (max-width: 767px) {
  .rv-spacer-login {
    height: 220px;
  }
  .rv-spacer-otp {
    height: 130px;
  }
  .rv-spacer-edit {
    height: 40px;
  }
  .rv-spacer-update {
    height: 200px;
  }
}
@media (max-width: 575px) {
  .rv-spacer-login {
    height: 180px;
  }
  .rv-spacer-otp {
    height: 110px;
  }
  .rv-spacer-edit {
    height: 24px;
  }
  .rv-spacer-update {
    height: 100px;
  }
}
.dropdown-menu {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 6px;
}

.dropdown-item {
    border-radius: 6px;
    padding: 8px 12px;
}

.dropdown-item:hover {
    background-color: #d6d6d6 !important;
}
/* ===== MOBILE FILTER BAR (below lg only) ===== */
.rv-mobile-filters {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 4px;
  position: sticky;
  top: 0;
  z-index: 99;
}
.rv-mobile-filter-group {
  display: flex;
  flex-direction: column;
  flex: 1 1 140px;
  min-width: 120px;
}

.rv-mobile-price-group {
  flex: 1 1 200px;
}

.rv-mobile-select {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 13px;
  color: #374151;
  background-color: #ffffff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
}

.rv-mobile-select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

.rv-mobile-price-label {
  font-size: 10px;
  color: #6b7280;
  margin-bottom: 6px;
}
#heroBanner{
    transition: opacity 0.3s ease-in-out;
}
.rv-products-scroll{
    max-height:700px;
    overflow-y:auto;
    overflow-x:hidden;
}

.rv-products-wrapper{
    background:#f8f9fa;
    border-radius:16px;
    padding:12px;
    margin:1F0px;

    box-shadow:
        0 12px 40px rgba(0,0,0,0.18);
}
.rv-products-wrapper{
    position:relative;
    z-index:2;
}
#allProductsSection{
    margin:20px 0;
}

.rv-card-img{
    transition: opacity 0.4s ease-in-out;
}
.categories-page .rv-cat-circle{
    width:120px;
    height:120px;
}

.categories-page .rv-cat-circle-inner{
    width:75px;
    height:75px;
}

.categories-page .rv-cat-label{
    font-size:15px;
    margin-top:10px;
}

.categories-page .category-item{
    min-width:auto;
}
.rv-search-box{
    width:280px;
    height:48px;

    background:#fff;

    border:1px solid #d1d5db;
    border-radius:12px;

    display:flex;
    align-items:center;

    padding:0 15px;

    box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

.rv-search-box img{
    width:18px;
    height:18px;
    object-fit:contain;
    opacity:.7;
}

.rv-search-box input{
    border:none;
    outline:none;

    width:100%;

    padding-left:10px;

    font-size:15px;
    font-weight:500;

    background:transparent;
}
@media(max-width:575px){
    .rv-search-box{
        width:100%;
    }
  }
/* Product card image wrapper */

/* Slider image transition */


/* Dot indicators */
.rv-slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}

.rv-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background 0.3s;
}

.rv-slider-dot.active {
  background: #fff;
}
/* BEFORE (your current aside) — no change to HTML needed */
/* Slide transition */

/* REMOVE these entirely: */
/* .rv-card-img-wrap, .rv-slide-current, .rv-slide-next, .rv-slide-out, .rv-slide-in, .rv-slider-img */

/* RESTORE this: */
.rv-card-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 60%;
  overflow: hidden;
  border-radius: 6px;
}

.rv-card-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rv-slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rv-slide-active {
  transform: translateX(0);
  transition: transform 0.5s ease-in-out;
}

.rv-slide-leaving {
  transform: translateX(-100%);
  transition: transform 0.5s ease-in-out;
}

.rv-slide-incoming {
  transform: translateX(100%);
}

.rv-slide-entering {
  transform: translateX(0);
  transition: transform 0.5s ease-in-out;
}
.rv-slider-dots{
    position:absolute;
    bottom:10px;
    left:50%;
    transform:translateX(-50%);

    display:flex;
    gap:6px;

    z-index:5;
}

.rv-slider-dot{
    width:8px;
    height:8px;

    border-radius:50%;

    background:rgba(255,255,255,0.5);

    transition:all .3s ease;
}

.rv-slider-dot.active{
    background:#fff;
    transform:scale(1.2);
}



 