@import "tailwindcss";

:root {
  --primary-color: #d5ab69;
  --secondary-color: #0e482e;
  --ink: #0a0f0d;
  --stone: #212c25;
  --sand: #f8f5ef;
}

@font-face {
  font-family: "telegraf";
  src: url("assets/fonts/PPTelegraf-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "telegraf", sans-serif;
  background-color: var(--sand);
  color: var(--ink);
}

.section-shell {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: clamp(2rem, 5vw, 3rem);
}

.section-shell > h2 {
  letter-spacing: 0.08em;
}

.collapse.collapse-plus > .collapse-title:after {
  width: 1.5rem !important;
  height: 1.5rem !important;
  top: 4px;
  font-size: 1.5rem !important;
  color: var(--secondary-color) !important;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2rem, 6vw, 5rem);
  background: radial-gradient(circle at top right, #fdf7ee, #efe1cf);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(13, 72, 46, 0.25),
    transparent 55%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(13, 72, 46, 0.08);
  color: var(--secondary-color);
}

.hero-title {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 1.1;
  color: var(--stone);
}

.hero-subtitle {
  color: rgba(0, 0, 0, 0.65);
  font-size: 1rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-cta button {
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.hero-cta .primary {
  background: var(--secondary-color);
  color: #fff;
  border: 1px solid transparent;
}

.hero-cta .ghost {
  border: 1px solid rgba(13, 72, 46, 0.35);
  color: var(--secondary-color);
  background: transparent;
}

.hero-cta button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(13, 72, 46, 0.18);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  padding: 1rem 0;
}

.hero-metrics span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(0, 0, 0, 0.55);
}

.hero-metrics strong {
  display: block;
  font-size: 1.9rem;
  color: var(--secondary-color);
}

.hero-slider {
  background: #fff;
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.hero-slider .swiper-slide {
  border-radius: 20px;
  overflow: hidden;
  min-height: clamp(360px, 48vw, 520px);
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
} 
.media-shell {
  width: min(1100px, 100%);
  margin-inline: auto;
  display: grid;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3rem);
  background: #0b1d16;
  border-radius: 32px;
  color: #f9f6ef;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.media-copy h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.media-frame {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.media-frame video {
  width: 100%;
  display: block;
  object-fit: cover;
}

#cardsGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#cardsGrid .card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#cardsGrid .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 35px rgba(15, 24, 18, 0.12);
}

.about-shell {
  display: grid;
  background: #fff;
  box-shadow: 0 25px 50px rgba(6, 19, 13, 0.1);
  border-radius: 25px;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.about-visual {
  border-radius: 32px;
  overflow: hidden;
  min-height: 250px;
}

.about-copy {
  border-radius: 32px;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-copy ul {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.about-stat {
  padding: 1rem 1.2rem;
  border-radius: 20px;
  background: rgba(13, 72, 46, 0.2);
}

.about-stat span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.25rem;
}

.reels-shell .reel-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.reel-controls button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(13, 72, 46, 0.25);
  display: grid;
  place-items: center;
  color: var(--secondary-color);
  background: white;
  transition: all 0.2s ease;
}

.reel-controls button:hover {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
}

.reelsSwiper {
  padding-block: 0.75rem 0.5rem;
}

.reel-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 9 / 16;
  box-shadow: 0 30px 40px rgba(0, 0, 0, 0.15);
  background: #000;
}

.reel-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.65));
}

.reel-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem;
  color: #fff;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-modern {
  background: #0f3624;
  color: rgba(255, 255, 255, 0.85);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.footer-grid h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.822);
  margin-top: 2rem;
  padding-block: 1rem;
  display: flex; 
  flex-wrap: wrap;
  gap: 1rem;
  justify-content:space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 50rem) {
  .featured {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 768px) {
  #cardsGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 468px) {
  .reel-info {
    padding: 8px 15px 10px;
    font-size: 12px;
  }
  .reel-info button {
    padding: 2px 8px;
  }
}

@media (min-width: 1280px) {
  #cardsGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
 
@keyframes marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}
 
.infinite-scroll-marquee { 
  will-change: transform;
  animation: marquee-scroll 8s linear infinite;
}


.render-products {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 75%, rgba(0, 0, 0, 0.65));
}

body.modal-open {
  overflow: hidden;
}

@keyframes modal-pop {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.b-filter::before {
  border: none !important;
}

/* Thumbnail active state */
.thumbnail-img.active,
.thumbnail-img.border-\[var\(--secondary-color\)\] {
  border-color: var(--secondary-color) !important;
  border-width: 2px !important;
}

/* Smooth image transitions */
#sp-main {
  transition: opacity 0.3s ease-in-out;
}

/* Pack size button active state */
.pack-size-btn.active {
  background-color: var(--secondary-color) !important;
  color: white !important;
  border-color: var(--secondary-color) !important;
}

/* Modal scrollbar styling */
.app-modal > div {
  scrollbar-width: thin;
  scrollbar-color: var(--secondary-color) rgba(0, 0, 0, 0.1);
}

.app-modal > div::-webkit-scrollbar {
  width: 8px;
}

.app-modal > div::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.app-modal > div::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 4px;
}

.app-modal > div::-webkit-scrollbar-thumb:hover {
  background: #0a3a25;
}

/* Single Product Page Improvements */
#bulk-pricing-content {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Quantity Control Buttons */
[data-action="increase"],
[data-action="decrease"] {
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
}

[data-action="increase"]:active,
[data-action="decrease"]:active {
  transform: scale(0.95);
}

/* Responsive adjustments for bulk pricing */
@media (max-width: 640px) {
  #bulk-pricing-content .flex-col.sm\:flex-row {
    flex-direction: column;
  }

  #bulk-pricing-content .text-left.sm\:text-right {
    text-align: left;
  }
}

/* MOQ Warning Animation */
#moq-warning {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Pack size button improvements */
.pack-size-btn {
  transition: all 0.2s ease;
}

.pack-size-btn:hover:not(.active) {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Mobile menu overlay z-index fix */
#overlay {
  z-index: 998 !important;
  pointer-events: auto !important;
}

#overlay.hidden {
  pointer-events: none !important;
}

#mobileMenu {
  z-index: 999 !important;
  pointer-events: auto !important;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.btn-active {
  background: #0e482e !important;
  color: white !important;
}

/* small polish */
.modal-card img {
  object-fit: cover;
}
.modal-overlay {
  background: rgba(0, 0, 0, 0.6);
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
 

/* Color Selection Styles */
.color-select-btn {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.color-select-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.color-select-btn.selected-color {
  border-width: 3px !important;
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 3px rgba(14, 72, 46, 0.2);
  transform: scale(1.1);
}

.color-checkmark {
  pointer-events: none;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 12px;
  margin-left: 2px;
}

.color-select-btn:not(.selected-color) .color-checkmark {
  display: none;
}

/* Cart Badge */
#bagTrigger.relative::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: red;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* Login Warning Animation */
#login-warning {
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bulk Pricing Content Animation */
#bulk-pricing-content {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Cart Item Remove Button */
.cart-item-remove {
  transition: all 0.2s ease;
}

.cart-item-remove:hover {
  transform: scale(1.1);
}

/* Empty Cart Icon */
.empty-cart-icon {
  opacity: 0.3;
}

.active-filter {
  background-color: #0e482e !important;
  color: white !important;
}
/* Custom Pagination Styling */
.myArraival .swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  margin-top: 1.5rem;
}

.myArraival .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #cbd5e1;  
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0 6px !important;
}

.myArraival .swiper-pagination-bullet-active {
  background: #0e482e; 
  width: 32px;
  border-radius: 6px;
  transform: scale(1.1);
}

/* Hover effect */
.myArraival .swiper-pagination-bullet:hover {
  background: #0e482e;
  transform: scale(1.15);
}

/* =========== */

/* Custom Pagination Styling */
.myHeroSwiper .swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  margin-top: -2rem;
}

.myHeroSwiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #f4f4f4;  
  border: 1px solid #333;
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0 6px !important;
}

.myHeroSwiper .swiper-pagination-bullet-active {
  background: #0e482e; 
  width: 32px;
  border-radius: 6px;
  transform: scale(1.1);
}

/* Hover effect */
.myHeroSwiper .swiper-pagination-bullet:hover {
  background: #0e482e;
  transform: scale(1.15);
}
