/*=========================================================
            NEW ARRIVAL HERO
=========================================================*/

.newarrival-hero-section {
  position: relative;
  overflow: hidden;
  height: 65vh;
  min-height: 480px;
}

.newarrival-hero-split {
  display: flex;
  width: 100%;
  height: 100%;
}

.newarrival-hero-text-panel {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 70px;
  background: linear-gradient(135deg, #fbeee4 0%, #f6ddd0 100%);
}

.newarrival-hero-image-panel {
  width: 55%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #ece3dd;
}

.newarrival-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.newarrival-hero-content {
  position: relative;
  z-index: 2;
}

.newarrival-breadcrumb {
  margin-bottom: 26px;
}

.newarrival-breadcrumb a,
.newarrival-breadcrumb span {
  color: rgba(17, 17, 17, 0.65);
  text-decoration: none;
  font-size: 14px;
}

.newarrival-breadcrumb .active-page {
  color: var(--primary-color);
}

.newarrival-breadcrumb i {
  margin: 0 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.newarrival-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-color);
  color: var(--pure-white);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.newarrival-hero-content h1 {
  color: var(--heading-color, #111);
  font-size: 56px;
  margin-bottom: 18px;
  max-width: 700px;
}

.newarrival-hero-content p {
  color: rgba(17, 17, 17, 0.7);
  font-size: 16px;
  max-width: 500px;
}

.newarrival-scroll-cue {
  position: absolute;
  bottom: 26px;
  right: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@media (max-width: 767.98px) {
  .newarrival-hero-split {
    flex-direction: column;
  }
  .newarrival-hero-text-panel {
    width: 100%;
    padding: 40px 24px;
    order: 2;
  }
  .newarrival-hero-image-panel {
    width: 100%;
    height: 320px;
    order: 1;
  }
  .newarrival-hero-content h1 {
    font-size: 34px;
  }

  .newarrival-scroll-cue {
    display: none;
  }
}
/*=========================================================
            NEW ARRIVAL — FILTER BAR
=========================================================*/

.newarrival-products-section {
  padding: 90px 0;
}

.newarrival-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 45px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
}

.newarrival-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-btn {
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-color);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.pill-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.pill-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--pure-white);
}

.newarrival-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.newarrival-sort label {
  font-size: 14px;
  color: var(--text-color);
}

.newarrival-sort select {
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  outline: none;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  background: var(--pure-white);
}

/*=========================================================
            NEW ARRIVAL — GRID
=========================================================*/

.newarrival-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 991.98px) {
  .newarrival-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .newarrival-grid {
    grid-template-columns: 1fr;
  }
}

/*=========================================================
            NEW ARRIVAL — PAGINATION
=========================================================*/

.newarrival-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 55px;
}

.page-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--pure-white);
  color: var(--heading-color);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--pure-white);
}
/*=========================================================
            NEWSLETTER
=========================================================*/

.shop-newsletter-section {
  padding: 100px 0;
  background: var(--pure-white);
}

.shop-newsletter-box {
  max-width: 850px;
  margin: auto;
  text-align: center;
  background: var(--pure-white);
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  padding: 70px 50px;
  border: 1px solid var(--border-color);
}

.shop-newsletter-box span {
  color: #ff4f9a;
  letter-spacing: 2px;
}

.shop-newsletter-box h2 {
  color: var(--heading-color);
  margin: 18px 0;
  font-size: 42px;
}

.shop-newsletter-box p {
  color: #666666;
  margin-bottom: 35px;
}

.shop-newsletter-form {
  display: flex;
  max-width: 650px;
  margin: auto;
}

.shop-newsletter-form input {
  flex: 1;
  height: 60px;
  border: none;
  outline: none;
  background: #1f1f1f;
  color: #fff;
  padding: 0 20px;
  border-radius: 50px 0 0 50px;
}

.shop-newsletter-form button {
  width: 180px;
  border: none;
  background: #ff4f9a;
  color: #fff;
  border-radius: 0 50px 50px 0;
  transition: 0.35s;
}

.shop-newsletter-form button:hover {
  background: #fff;
  color: #111;
}

@media (max-width: 768px) {
  .shop-newsletter-form {
    flex-direction: column;
    gap: 15px;
  }

  .shop-newsletter-form input,
  .shop-newsletter-form button {
    width: 100%;
    border-radius: 50px;
  }

  .shop-newsletter-box {
    padding: 50px 25px;
  }

  .shop-newsletter-box h2 {
    font-size: 32px;
  }
}
/*=========================================================
        RECENTLY VIEWED — PRODUCT CARD
=========================================================*/

.shop-product-card {
  background: var(--pure-white);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: 0.4s;
  height: 100%;
}

.shop-product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(244, 91, 154, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.shop-product-image {
  position: relative;
  overflow: hidden;
  height: 460px;
}

.shop-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.45s;
}

.shop-product-card:hover .shop-product-image img {
  transform: scale(1.08);
}

.shop-sale-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #ff4f9a;
  color: #fff;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  z-index: 2;
}

.shop-product-overlay {
  position: absolute;
  top: 15px;
  right: -60px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: 0.4s;
}

.shop-product-card:hover .shop-product-overlay {
  right: 15px;
}

.shop-icon-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #111;
  transition: 0.3s;
}

.shop-icon-btn:hover {
  background: #ff4f9a;
  color: #fff;
}

.shop-product-content {
  padding: 25px;
}

.shop-product-category {
  color: #ff4f9a;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}

.shop-product-content h5 {
  color: var(--heading-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.shop-rating {
  color: #ffc107;
  margin-bottom: 18px;
}

.shop-rating span {
  color: #888888;
  margin-left: 8px;
}

.shop-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.new-price {
  color: var(--heading-color);
  font-size: 22px;
  font-weight: 700;
}

.old-price {
  color: #888;
  text-decoration: line-through;
}

.shop-cart-btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 50px;
  background: #ff4f9a;
  color: #fff;
  text-decoration: none;
  transition: 0.35s;
}

.shop-cart-btn:hover {
  background: #fff;
  color: #111;
}

/*=========================================================
        NEW ARRIVAL HERO — ENHANCEMENTS
=========================================================*/

/* Slow Ken Burns zoom on background */
.newarrival-hero-zoom {
  animation: newArrivalKenBurns 16s ease-in-out infinite alternate;
}

@keyframes newArrivalKenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.12);
  }
}

@keyframes newArrivalCrossfade {
  0% {
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  44% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Staggered fade-up entrance */
.newarrival-breadcrumb,
.newarrival-tag,
.newarrival-hero-content h1,
.newarrival-hero-content p,
.newarrival-hero-btn {
  opacity: 0;
  animation: newArrivalFadeUp 0.8s ease forwards;
}

.newarrival-breadcrumb {
  animation-delay: 0.1s;
}

.newarrival-tag {
  animation-delay: 0.25s;
}

.newarrival-hero-content h1 {
  animation-delay: 0.4s;
}

.newarrival-hero-content p {
  animation-delay: 0.55s;
}

.newarrival-hero-btn {
  animation-delay: 0.7s;
}

@keyframes newArrivalFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulse glow on tag */
.newarrival-tag {
  animation-name: newArrivalFadeUp, newArrivalPulse;
  animation-duration: 0.8s, 2.4s;
  animation-delay: 0.25s, 1.2s;
  animation-timing-function: ease, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}

@keyframes newArrivalPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(244, 91, 154, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(244, 91, 154, 0);
  }
}

/* CTA Button */
.newarrival-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 15px 32px;
  border: 1.5px solid var(--heading-color, #111);
  color: var(--heading-color, #111);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
}

.newarrival-hero-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--pure-white);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(244, 91, 154, 0.35);
}
