/* ====== Variables ====== */
:root{
  --bg:#070707;
  --card:#0f0f0f;
  --muted:#bdbdbd;
  --accent1:#b30000;
  --accent2:#ff3b3b;
  --white:#ffffff;
  --container:1100px;
  --radius:12px;
  --glass: rgba(255,255,255,0.03);
  --font: 'Poppins', sans-serif;
}

/* ====== Base ====== */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  /* background: linear-gradient(180deg,#050505 0%, #120000 100%); */
  color:var(--white);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

.write-review-btn{
    display: flex;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    justify-content: center;
    align-items: center;
}

.write-review-btn img {
    height: 75%;
    opacity: 0.75;
}

/* ====== Container helper ====== */
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 18px;
}

.css-marquee { 
    white-space: nowrap;
    background:green;
    padding: 5px 0;
    overflow: hidden;
    min-height: 2rem;
 }
.css-marquee span { display:inline-block; padding-left:100%; animation: slide 24s linear infinite; font-weight:500; color:#fff; }
@keyframes slide { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }


/* ====== Header ====== */
.site-header{
      border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    position: sticky;
    top: 0;
    z-index: 1200;
    background-color: #fff;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 4px 20px;
}
.brand{display:flex;align-items:end;gap:0px;text-decoration:none;color:var(--white)}
.brand-logo{
    height: 100px;
    width: 100px;
    object-fit: cover;
    /* border-radius: 50%; */
    /* border: 1px solid rgba(255, 255, 255, 0.04); */
    /* background-color: rgb(255 255 255); */
}
/* .brand-title{font-weight:700;font-size:1.5rem} */
.brand-title img{
height: 55px;
 object-fit: cover;
}
.brand-title .herbs {
  color: green;
}

.brand-title .two {
  color: white;
}

.brand-title .heart {
  color: red;
}

.site-nav{display:flex;gap:18px;align-items:center}
.site-nav .nav-link{color:#525252;text-decoration:none;font-weight:600}
.site-nav .nav-link:hover{ color: rgb(20, 176, 64);}

.hamburger{display:none;background:transparent;border:0;cursor:pointer;padding: 0,;}
.hamburger span{display:block;width:22px;height:2px;background:black;margin:4px 0;border-radius:2px}

/* ====== Product hero ====== */
.product-hero{
    display: flex;
    gap: 28px;
    padding: 20px;
    align-items: flex-start;
}
.gallery{flex:0 0 48%;min-width:280px}
.main-photo{
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid rgb(117 121 94);
    overflow: hidden;
}
.main-photo img{width:100%;height:auto;border-radius:8px;display:block}
.thumbs{display:flex;gap:8px;margin-top:10px;justify-content:flex-start;flex-wrap:wrap}
.thumb{width:64px;height:64px;object-fit:cover;border-radius:8px;border:2px solid transparent;cursor:pointer;transition:transform .15s, border-color .15s}
.thumb:hover{transform:translateY(-6px);border-color:#7f8659}

.thumbs {
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
}
.thumbs::-webkit-scrollbar {
  display: none;
}

.hero-right {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.product-title h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.product-title h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    background: black;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.product-title h2::after {
    content: '🔥';
    position: absolute;
    right: -30px;
    top: 0;
    font-size: 24px;
}

.product-title p {
    font-size: 20px;
    color: #666;
    margin-bottom: 25px;
}

.rating {
    /* display: flex; */
    /* align-items: center; */
    gap: 15px;
    margin-bottom: 25px;
    /* background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%); */
    /* padding: 12px 20px; */
    /* border-radius: 50px; */
    width: fit-content;
    /* box-shadow: 0 3px 10px rgba(255, 193, 7, 0.2); */
    /* border: 2px solid #ffc107; */
}

.stars {
    font-size: 24px;
    color: #ffc107;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.rating-text {
    font-size: 16px;
    color: #f57c00;
    font-weight: 600;
}

.pricing {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(180deg, #010101d6, #75785d, #75785d);
    border-radius: 12px;
    border:   transparent;
    position: relative;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.15);
}

.pricing::before {
    content: '🕌 RAMADAN OFFER 🌙';
    position: absolute;
    top: -12px;
    left: 20px;
    background: #d32f2f;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.original-price {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.discount-price {
    font-size: 30px;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
    position: relative;
}

.discount-price::after {
    content: '45% OFF';
    position: absolute;
    top: -8px;
    right: -85px;
    background: green;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.urdu-text {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 16px;
    color: #1e40af;
    line-height: 1.9;
    direction: rtl;
    text-align: right;
    border: 2px solid #bfdbfe;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
    font-weight: 500;
}

.urdu-text .short-desc {
    margin: 0;
    font-family: "Noto Nastaliq Urdu", "Noto Nastaleeq", "Urdu Typesetting", serif;
}

.urdu-text .highlight-text {
    color: #dc2626;
    font-weight: 700;
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(220, 38, 38, 0.2);
}

.urdu-text strong {
    color: #059669;
    font-weight: 700;
    background: rgba(5, 150, 105, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}


/*.product-info {
    flex: 1;
    min-width: 260px;
    background-color: #c1c2b8;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 1px 1px 6px 0px #85867f;
}
.title{font-size:1.6rem;margin:0 0 8px;color: #323429;}
.short-desc{
  font-family: "Noto Nastaliq Urdu", "Noto Nastaleeq", "Urdu Typesetting", serif;
  direction: rtl;    
  font-size: 17px;   
color:#323429;
margin-bottom:14px;
    direction: rtl;
}
.col-md-12{
padding-left: 20px;
padding-right: 20px;
}
/* price */
.price-old {color:#323429}
.price-row{display:flex;align-items:baseline;gap:16px;margin-bottom:12px}
.price-old .strike{text-decoration:line-through;color:#323429}
.price-now{font-size:1.5rem;font-weight:700;color:#323429}

/* timer */
.timer-card{
background: rgb(255 255 255 / 56%);
    padding: 12px;
    border-radius: 8px;
    /* border: 1px solid rgba(255, 255, 255, 0.02); */
    margin: 12px 0;
    text-align: center;
    backdrop-filter: blur(10px);
}
.timer-label{
    font-size: 0.9rem;
    color: red;
    margin-bottom: 8px;
    font-weight: 700;
}
.countdown{display:flex;gap:10px;align-items:center;justify-content: center;}
.countdown div{
    background: linear-gradient(180deg, #010101d6, #75785d, #75785d);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 72px;
}
.countdown span{display:block;font-weight:700;font-size:1.1rem}
.countdown small{display:block;color:#ffffff;font-size:0.75rem}
.timer-note{
    font-size: 0.9rem;
    color: #000000;
    margin-bottom: 8px;
    font-weight: 500;
}

/* actions */
.action-row{display:flex;gap:12px;margin-top:14px;flex-wrap:wrap}
.btn{padding:10px 16px;border-radius:10px;border:0;cursor:pointer;font-weight:700}
.btn-primary{
    background: green;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(179, 0, 0, 0.14);
    width: -webkit-fill-available;
    padding: 15px;
    font-size: 1rem;
}

.bounce-animation{
    animation: bounce 1.1s infinite;
}

.btn:hover{
  cursor: pointer;
}

@keyframes bounce {
  0% {transform: scale(.85);}
  50% {transform: scale(1);}
  100%{transform: scale(.85);}

}

.btn-outline{background:transparent;border:1px solid rgba(255,255,255,0.06);color:var(--white)}

/* quick features */
.quick-features{list-style:none;margin-top:14px;padding-left:0;color:#323428}
.quick-features li{margin:6px 0}

/* promo block */
.promo{display:flex;gap:18px;padding:20px;align-items:center}
.promo-left{flex:1}
.promo-left p {
  direction: rtl;
  font-family: "Noto Nastaliq Urdu", "Noto Nastaleeq", "Urdu Typesetting", serif;
  direction: rtl;    /* Urdu ke liye */
  font-size: 1.2rem;   /* apni zarurat ke mutabiq */

}
.promo-right{flex:0 0 260px;display:flex;flex-direction:column;align-items:center;gap:12px}
.promo-badge{background:linear-gradient(90deg,var(--accent1),var(--accent2));padding:6px 12px;border-radius:999px;font-weight:700;color:#fff}
.promo-image img{width:220px;height:auto;border-radius:10px;border:1px solid rgba(255,255,255,0.04)}
.promo-left ul{
  direction: rtl;
  font-family: "Noto Nastaliq Urdu", "Noto Nastaleeq", "Urdu Typesetting", serif;
  direction: rtl;    /* Urdu ke liye */
  font-size: 1.2rem;   /* apni zarurat ke mutabiq */
}

/*  product description */

.product-description{
    margin: 18px auto;
    padding: 18px;
    border-radius: 10px;
    background-color: #c1c2b8;
    color: #000;
}
.product-description h3{margin:0 0 8px}
.product-description p{
  direction: rtl;
  font-family: "Noto Nastaliq Urdu", "Noto Nastaleeq", "Urdu Typesetting", serif;
  direction: rtl;    /* Urdu ke liye */
  font-size: 1.2rem;   /* apni zarurat ke mutabiq */
}

.product-description h4
{margin:0 0 8px}



/* content sections */
.content-section{
    margin: 18px auto;
    padding: 18px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgb(54 53 43), rgb(101 99 80));
    color: #fff;
}
.content-section h3{margin:0 0 8px}
.specs-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:12px;color:#2d2d2d}

.testimonials-section {
  padding: 40px 20px;
  background: linear-gradient(180deg, #646650, #141414);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 700;
}





.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  background: rgba(255,255,255,0.05);
  /* border: 1px solid rgba(255,255,255,0.08); */
    box-shadow: 0px 0px 7px 0px rgb(163 163 163 / 50%) inset;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .2s ease;
}
.review-card:hover {
  transform: translateY(-5px);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
  color: #bbb;
}

.customer-name {
  font-weight: 600;
  color: #fff;
}

.review-date {
  font-size: .8rem;
}

.review-stars {
  color: gold;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: .95rem;
  line-height: 1.5;
  color: #e0e0e0;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.write-review {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    /* border: 1px solid rgba(255, 255, 255, 0.3); */
    /* box-shadow: 2px 2px 4px 0px #676767; */
    border-radius: 12px;
    background: transparent;
    /* backdrop-filter: blur(6px); */
    font-family: Arial, sans-serif;
    color: #fff;
}

.write-review h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #fff; /* Golden heading */
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #eee;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #ccc;
}

.rating .stars {
  display: flex;
  gap: 5px;
  font-size: 22px;
  cursor: pointer;
  color: gold;
}

.rating .stars .selected {
  color: #FFD700;
}

.submit-btn {
     display: block;
    width: 100%;
    padding: 12px;
    background: #656450;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

.submit-btn:hover {
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 600px) {
  .write-review {
    margin: 20px;
    padding: 15px;
  }
}

.reviews-pagination {
  display: flex;
  justify-content: center;   /* center align */
  align-items: center;
  flex-wrap: nowrap;         /* row mein rakhega, neeche ni girega */
  gap: 8px;
  margin-top: 16px;
  font-family: inherit;
}

.reviews-pagination .page-btn {
  min-width: 40px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;             /* White background */
  color: #333;                  /* Dark text */
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  flex-shrink: 0;               /* Mobile pe bhi size kam na ho */
}

.reviews-pagination .page-btn:hover:not([disabled]) {
  background: #f5f5f5;
  border-color: #bbb;
}

.reviews-pagination .page-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.reviews-pagination .page-number.active {
  background: #333;             /* Active = dark */
  color: #fff;                  /* Text = white */
  border-color: #333;
}

/* Mobile responsive */
@media (max-width: 420px) {
  .reviews-pagination .page-btn {
    padding: 6px 10px;
    min-width: 34px;
    font-size: 14px;
  }
}
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #dfdfda;
  color: #ccc;
  font-family: 'Poppins', sans-serif;
}

/* Ensures main content takes remaining height */
main {
  flex: 1;
}

/* GALLERY SECTION */
/* ================================ */

.gallery-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0fff4 0%, #f0fdf4 100%);
}



.gallery-section .section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #166534;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-section .section-customer{
  color: black;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1) rotate(2deg);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.8), rgba(22, 163, 74, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay h4 {
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-section .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .gallery-item img {
        height: 250px;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .gallery-section {
        padding: 40px 0;
    }

    .gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 10px;
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .gallery-item {
        min-width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    .gallery-section .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .gallery-item img {
        height: 300px;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }

    .gallery-overlay h4 {
        font-size: 16px;
    }
}


/* Footer Styling */
footer {
      background-color:green;
    padding: 40px 20px;
    text-align: center;
    width: 100%;
    color: #f3f3f3;
    margin-top: auto;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 250px;
  max-width: 300px;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 10px;
}

.footer-section p {
  line-height: 1.6;
}

.footer-section a {
  color: #f3f3f3;
  text-decoration: none;
  transition: 0.3s;
}

.footer-section a:hover {
  color: #f3f3f3;
}

.copy {
  font-size: 14px;
  border-top: 1px solid #333;
  padding-top: 15px;
  margin-top: 25px;
}

/* Responsive: mobile view vertical layout */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  .footer-section {
    max-width: 100%;
  }
}

/* modal */
.modal{position:fixed;inset:0;background:rgba(0,0,0,0.75);display:none;align-items:center;justify-content:center;padding:20px;z-index:1000}
.modal.show{display:flex}
.modal-content{background:white;padding:18px;border-radius:12px;max-width:520px;width:100%;border:1px solid rgba(255,255,255,0.03);position:relative}
.modal-close{position:absolute;right:10px;top:8px;background:transparent;border:0;color:var(--accen t2);font-size:22px;cursor:pointer}
.modal-content h4{margin:0 0 10px; color: black; }
.modal-content form{display:flex;flex-direction:column;gap:10px;}
.modal-content input, .modal-content textarea{padding:10px;border-radius:8px;border:1px solid rgba(255,255,255,0.04);background:rgb(233, 225, 225);color:black}
.btn.wide{width:100%}

/* small helpers */
.strike{text-decoration:line-through}
.small{font-size:0.85rem;color:var(--muted)}

/* ====== Responsive ====== */
@media (max-width: 1000px){
  .product-hero{flex-direction:column}
  .gallery{width:100%}
  .promo{flex-direction:column-reverse;align-items:center}
  .reviews-grid{grid-template-columns:repeat(2,1fr)}
  .specs-grid{grid-template-columns:1fr}
}

@media (max-width: 700px){
  .site-nav{display:none}
  .hamburger{display:block}
  .promo-image img{width:180px}
  .reviews-grid{grid-template-columns:1fr}
  .thumb{width:56px;height:56px}
  .countdown div{min-width:60px}
  .brand-title{display:none}
}

@media (max-width:420px){
  .thumb{width:48px;height:48px}
  .promo-image img{width:140px}
  .price-now{font-size:1.25rem}
}


.loader-box{
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
z-index: 1200;
    background-color: #0000008f;
}

.loader {
  width: 100px;
  height: 100px;
  border: 5px solid #f50000;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  position: relative;
  animation: pulse 1s linear infinite;
}
.loader:after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border: 5px solid #FFF;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: scaleUp 1s linear infinite;
}

@keyframes scaleUp {
  0% { transform: translate(-50%, -50%) scale(0) }
  60% , 100% { transform: translate(-50%, -50%)  scale(1)}
}
@keyframes pulse {
  0% , 60% , 100%{ transform:  scale(1) }
  80% { transform:  scale(1.2)}
}




.review-modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.review-modal-content {
    background: #171717cf;
    padding: 20px;
    backdrop-filter: blur(11px);
    width: 40%;
    min-width: 400px;
    margin: 10% auto;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
    font-weight: 600;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.rating-stars span {
  font-size: 30px;
  cursor: pointer;
  color: #ccc;
}

.rating-stars span.active {
  color: gold;
}