/* ══════════════════════════════════════════
       BODY OFFSET (accounts for both navs)
    ══════════════════════════════════════════ */
.page-body {
  padding-top: calc(var(--nav-bot-h));
}

section {
  max-width: 1400px;
  margin: auto;
  padding-top: 2rem;
}

.section-imgs {
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(0, 0, 0, 0.3) 100%);
  background-image: url("/assets/images/ad-back_1.png");
  position: relative;
  background-size: 100% 100%;
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-imgs .ad-centered-text {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: grid;
  padding: 0 50px;
  grid-template-columns: 1.5fr 1fr;
}

.section-imgs .ad-centered-text h1,
.section-imgs .ad-centered-text h2,
.section-imgs .ad-centered-text h3,
.section-imgs .ad-centered-text p {
  color: white;
  margin: 0 auto 5px auto;
}

.section-imgs .ad-centered-text h1 {
  font-size: 40pt;
}

.section-imgs .ad-centered-text p {
  font-size: 10pt;
  font-weight: 500;
}

.section-imgs .ad-centered-text img {
  object-fit: fill;
  height: 75vh;
  width: auto;
}

@keyframes scaleUpDown {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

.ads-button {
  position: absolute;
  background-color: white;
  padding: 10px 25px;
  border-radius: 8px;
  left: 46.5%;
  top: 85%;
  transform: translate(-50%, -50%);
  animation: scaleUpDown 2s ease-in-out infinite;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.ads-button button {
  background: none;
  border: none;
  font-size: 10pt;
  font-weight: 500;
  cursor: pointer;
  color: black;
}

.ads-button:hover {
  background-color: white;
  color: black;
}

.ads-button:hover button {
  color: black;
}

.line-with-text {
  /* 
    display: flex; */
  align-items: center;
  margin-bottom: 2rem;
}

.line-with-text .line {
  flex-grow: 1;
  height: 0.5px;
  margin-top: 1rem;
  background-color: #ebebeb;
}

.line-with-text .text {
  font-size: 1.6em;
  text-transform: capitalize;
  color: var(--text-color);
}

.view-all-btn {
  border: 1px solid lightgray;
  border-radius: 5px;
  padding: 5px 8px;
  width: fit-content;
  margin: 1rem 0 auto auto;
  cursor: pointer;
  text-decoration: none;
  color: black;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 2.5px;
}

.view-all-btn i {
  font-size: 1rem;
}

.quantity_btn {
  display: flex;
  justify-content: center;
}

.quantity_btn button {
  background: none;
  border: none;
}

.quantity_btn .fas {
  font-size: 12pt;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: black;
  font-weight: 700;
  transition: all 0.3s ease;
  margin: 10px;
}

.add-t-c-span {
  display: block;
}

/* Item Design (i-wraper) */
.i-wraper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  /* 
    padding: 5px 10px; */
  border-radius: 3px;
  margin: auto;
  align-items: stretch;
  position: relative;
}

.s-i-wraper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
  border-radius: 3px;
  margin: auto;
  align-items: stretch;
  position: relative;
}

.items {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  border-radius: 5px;
  /*    box-shadow: 0 0 10px rgba(49, 34, 0, 0.041); */
  background-color: white;
  padding: 15px;
  position: relative;
  border: 1px solid white;
}

.items:hover {
  border-color: #e5eaf0;
}

.absolute-left {
  position: absolute;
  top: 15px;
  left: 10px;
  display: flex;
  gap: 5px;
}

.absolute-right {
  position: absolute;
  top: 15px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Like icon styles */
.absolute-right .item-like {
  color: var(--text-color);
  font-size: 1.2rem;
  border: 1px solid #e5eaf0;
  background: white;
  width: fit-content;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.6s ease;
}

/* Show the like icon when hovering over .items */
.items:hover .absolute-right .item-like {
  opacity: 1;
  /* Fade in */
  transform: translateY(0);
  /* Move to final position */
}

.absolute-right {

  .wishl-btn:hover {
    background: #fff;
  }

  .wishl-btn svg {
    width: 18px;
    height: 18px;
    transition: color 0.2s;
  }


}

.wishl-btn.active svg {
  color: var(--danger);
  fill: var(--danger);
}

.absolute-right .item-like:active {
  transform: scale(0.9);
  background: #fef4e4;
}

.items .item {
  flex-grow: 1;
  gap: 0.3rem;
  display: flex;
  flex-direction: column;
}

.items .item .i-img {
  width: 100%;
  margin: auto;
}

.items .item .i-img img {
  width: auto;
  max-width: 100%;
  height: 11vw;
  display: flex;
  margin: auto;
  object-fit: contain;
}

.items .item .seperator {
  height: 0.5px;
  background-color: #cbc8c8;
  margin: 5px 10px 0 10px;
}

.items .item p.item-name {
  margin-top: 10px;
  font-weight: 500;
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4em;
  max-height: 2.8em;
  text-transform: capitalize;
}

.items .item h2.item-name {
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4em;
  max-height: 2.8em;
  text-transform: uppercase;
  color: var(--mzansi-orange);
}

.items .item p.item-name:hover {
  color: var(--mzansi-orange);
}

.item-desc {
  font-size: 0.8em;
  color: #666;
  margin: 0 0 10px;
}

.seller-link {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
}

.seller_name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--red);
}

.seller_name i {
  color: var(--green);
  font-size: 18px;
}

.seller-info-board {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  transform: translateY(10px);
  opacity: 0;
}

.seller-link:hover .seller-info-board,
.seller-info-board.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.seller-info-content .store-dtls {
  padding: 15px;
}

.seller-info-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
  border-bottom: 1px solid lightgray;
  padding: 10px;
}

.seller-info-content p {
  font-size: 0.75rem;
  color: #475569;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.seller-info-content p i {
  color: #ac6111;
  font-size: 1rem;
}

.board-footer {
  display: flex;
  padding: 0px;
  text-align: right;
  align-items: center;
  margin: auto;
  width: fit-content;
  margin-right: 0px;
  color: #2563eb;
  gap: 5px;
}

.store-link {
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
}

.board-footer:hover {
  color: #1e40af;
}

.items .item .i-dtls {
  font-size: 0.9rem;
  width: 100%;
}

.items .item .i-dtls div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.items .item .i-dtls div:last-child {
  margin-top: 5px;
}

.items .item .i-dtls span {}

.i-btn {
  z-index: 1;
}

.i-btn button {
  border: 1px solid var(--white);
  border: 1px solid var(--mzansi-orange);
  border-radius: 8px;
  color: var(--text-color);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
  padding: 8px 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: 0.3s all ease-in-out;
  letter-spacing: 0.5px;
}

.i-btn i {
  font-size: 0.8rem;
}

/* .i-btn button:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
} */

.i-btn button:active {
  transform: scale(0.9);
}

@media (max-width: 600px) {
  .seller-info-board {
    width: 100%;
    left: 0;
  }

  .items .item .i-dtls div {
    display: block;
    gap: 0.5rem;
  }

  .dot-seperator {
    display: none;
  }
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 20px;
  justify-content: center;
  gap: 5px;
}

.pagination .page-number {
  display: flex;
  color: black;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: .9rem;
}

.pagination i {
  color: black;
  display: flex;
  font-size: 1rem;
}

.pagination a.active {
  color: var(--mzansi-orange);
  font-size: 1rem;

  i {
    color: var(--mzansi-orange);
  }
}

.pagination a:hover {
  color: var(--mzansi-orange);

  i {
    color: var(--mzansi-orange);
  }
}

.category-ad {
  max-width: 1400px;
  margin: auto;
  margin-top: 1rem;
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  gap: 20px;
  position: relative;
  border: 1px solid white;
  border-radius: 10px;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;

  .decoration {
    background: rgba(255, 255, 255, 0.146);
  }

  .decoration-1 {
    width: 250px;
    height: 250px;
    top: -70px;
    left: -70px;
  }

  .decoration-2 {
    width: 200px;
    height: 200px;
  }
}

.section6-img,
.section7-img {
  width: 100%;
  height: 380px;
  display: block;
  object-fit: cover;
}

.ad-text {
  top: 0;
  position: absolute;
  /* Positions text over the image */
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Centers the text */
  text-align: center;
  color: #fff;
  /* White text for better contrast */
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.219) 0%,
      rgba(255, 255, 255, 0) 70%);
  background-color: rgba(0, 0, 0, 0.6);
  /* Adds a dark background with transparency */
  padding: 0.8rem;
  border-radius: 8px;
}

.ad-text h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
}

.ad-text p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--white);
}

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes reset {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0%);
  }
}

/* ===== Mobile Responsive ===== */
@media (max-width: 900px) {
  .absolute-right .item-like {
    opacity: 1;
    transform: translateY(0);
  }

  .absolute-right .item-like {
    font-size: .9rem;
  }

  .absolute-right {

    .wishl-btn:hover {
      background: #fff;
    }

    .wishl-btn svg {
      width: 13px;
      height: 13px;
    }


  }

  .ad-text {
    padding: 1rem;
  }

  .ad-text h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .ad-text p {
    font-size: 0.9rem;
  }
}

@media (min-width: 1024px) {
  .ad-text h1 {
    font-size: 3rem;
    margin-bottom: 0px;
  }

  .ad-text p {
    font-size: 1rem;
  }
}

/* ══════════════════════════════════
SECTIONS
══════════════════════════════════ */
.sec {
  max-width: 1360px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}

.sec-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--black);
}

.sec-title .accent {
  color: var(--p);
}

.see-all {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--p);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1.5px solid var(--p);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}

.see-all:hover {
  opacity: 0.65;
}

/* ══ ADS ══ */
.ads-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.25rem;
}

.ad-card {
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s;
}

.ad-card:hover {
  transform: scale(1.02);
}

.ad-main {
  background: linear-gradient(135deg, #0f0c29, #1a1045, #24243e);
  padding: 2.5rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ad-side {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

.ad-card-content {
  z-index: 1;
}

.ad-card img {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 280px;
  width: auto;
  margin: auto;
  margin-right: 0;
  display: block;
  object-fit: cover;
  z-index: 0;
}

.ad-side.orange {
  background: linear-gradient(145deg, var(--mzansi-orange), var(--mzansi-orange-dark));
}

.ad-side.green {
  background: linear-gradient(145deg, #27ae60, #1a7a43);
}

.ad-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.664);
  margin-bottom: 0.5rem;
}

.ad-title {
  font-family: "Syne", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.ad-title .hl {
  color: var(--p2);
}

.ad-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.ad-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: white;
  color: var(--black);
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.ad-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.ad-big-emoji {
  font-size: 3.5rem;
  line-height: 1;
  text-align: right;
}

.ad-float {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  font-size: 6rem;
  opacity: 0.08;
  pointer-events: none;
  animation: breathe 5s ease-in-out infinite;
}

/* ══ FEATURED ══ */
.feat-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.feat-spotlight {
  background: linear-gradient(160deg, #fff9f3, #fff5ec);
  border: 1.5px solid rgba(230, 126, 34, 0.18);
  border-radius: 22px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feat-spotlight::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.14), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.spot-emoji {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  display: block;
  animation: hfloat 3.5s ease-in-out infinite;
}

.spot-tag {
  display: inline-block;
  background: var(--p);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  width: fit-content;
}

.spot-title {
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--black);
}

.spot-desc {
  font-size: 0.83rem;
  color: var(--gray6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

.spot-price-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.spot-price {
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.spot-old {
  font-size: 0.9rem;
  color: var(--gray6);
  text-decoration: line-through;
}

.spot-disc {
  background: #ffe7cc;
  color: var(--p);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
}

.spot-btn {
  width: 100%;
  justify-content: center;
  border-radius: 12px;
  padding: 0.9rem;
}

.feat-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.fcard {
  background: white;

  border: 1.5px solid var(--gray2);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.fcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(230, 126, 34, 0.25);
}

.fcard-img {
  background: var(--gray1);
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  transition: background 0.3s;
}

.fcard:hover .fcard-img {
  background: #fff9f4;
}

.fcard-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fcard-brand {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--p);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.fcard-name {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.fcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fcard-price {
  font-weight: 700;
  font-size: 0.95rem;
}

.fcard-stars {
  font-size: 0.72rem;
  color: #f39c12;
}

@media (max-width: 900px) {
  .ads-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ads-grid .ad-main {
    grid-column: 1/-1;
  }
}

@media (max-width: 768px) {
  .ads-grid {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  .ad-main,
  .ad-side {
    min-height: 220px;
  }

  .feat-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .sec {
    padding: 3rem 1.25rem;
  }

  .ad-side {
    padding: 2rem .8rem;
  }

  .ad-card img {
    position: absolute;
    bottom: -80px;
    right: 0;
    height: 280px;
    width: auto;
    margin: auto;
    margin-right: 0;
    display: block;
    object-fit: cover;
    z-index: 0;
  }

}

@media (max-width: 480px) {
  .sec-title {
    font-size: 1.4rem;
  }
}