/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
/* Body Background (GLOBAL) */
body {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  position: relative;
  z-index: 1;
}

/* Background image as watermark */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: url('images/bg-main.jpg') no-repeat center center;
  background-size: 70%;

  opacity: 0.2;   /* 🔥 control watermark strength (0.1–0.3 best) */
  z-index: -1;
}

/* Header */
header {
  background: linear-gradient(90deg, #ff7a18, #ff6600);
  padding: 10px 20px;   /* reduced height */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Center Ganpati */
.center-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 80px;

  filter: drop-shadow(0 0 6px #fff) brightness(1.2);
}

/* Navigation */
nav {
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

nav a {
    color:white;
    margin:0;
    text-decoration:none;
    font-weight:500;
}

nav a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  background: url('images/bg.jpg') center/cover no-repeat;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.hero h1 {
  background: rgba(0,0,0,0.5);
  padding: 55px 25px;
  border-radius: 10px;
}

/* Layout */
.container {
  padding: 40px;
}

.container h2 {
  margin-bottom: 15px;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* FIXED 5 per row */
  gap: 20px;
}

/* Prevent stretching */
.card {
  max-width: 100%;
}

/* Card */
.card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}

/* ==============================
   Highlight Selected Puja Card
============================== */

.selected-puja{
    border:3px solid #ff6b00;
    box-shadow:0 0 18px rgba(255,107,0,0.35);
    transform:scale(1.02);
    transition:all .3s ease;
}

.selected-puja h3{
    color:#ff6b00;
}

.selected-puja button{
    background:#ff6b00;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

/* Buttons */
button {
  width: 100%;
  padding: 10px;
  background: #ff6600;
  color: white;
  border: none;
  margin-top: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
}

button:hover {
  background: #e65c00;
}

/* Back Button (NEW – for navigation consistency) */
.back-btn {
  margin: 20px;
  width: auto;
  padding: 8px 15px;
  background: #ddd;
  color: #333;
}

.back-btn:hover {
  background: #ccc;
}

/* Profile Section */
.profile-header {
  display: flex;
  gap: 20px;
  margin: 20px;
  flex-wrap: wrap;
}

.profile-header img {
  width: 150px;
  border-radius: 10px;
}

/* Content Sections */
.section {
  background: white;
  margin: 20px;
  padding: 20px;
  border-radius: 10px;
}

/* Booking Box */
.booking {
  position: fixed;
  right: 20px;
  top: 100px;
  width: 280px;
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Form Inputs */
input, select {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/* Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* Scroll Section */
/* Scroll Section (AUTO MOVING) */
.puja-scroll {
  overflow: hidden;
  position: relative;
  padding: 20px;
}

/* =========================
   FINAL GAP-FREE SLIDER
========================= */

/* Container */
.puja-scroll {
  overflow: hidden;
  position: relative;
  padding: 20px;
}

/* Track */
.puja-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 30s linear infinite;
}

/* Group (IMPORTANT) */
.puja-group {
  display: flex;
}

/* Cards */
.puja-card {
  flex: 0 0 auto;
  width: 250px;
  margin: 0 12px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Animation (FIXED) */
@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Pause on hover */
.puja-scroll:hover .puja-track {
  animation-play-state: paused;
}

/* Puja Card (Slider) */
.puja-card {
  min-width: 250px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: 0.3s;
}

.puja-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.puja-card img {
  width: 100%;
  height: 160px;
  border-radius: 12px 12px 0 0;
  object-fit: cover;
}

.puja-info {
  padding: 10px;
}

/* Price Styling */
.price {
  color: #ff6600;
  font-weight: bold;
}

.old-price {
  text-decoration: line-through;
  color: gray;
  margin-left: 6px;
}

.discount {
  color: red;
  margin-left: 6px;
  font-size: 14px;
}
.samagri-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 14px;
}

/* Fix checkbox size + alignment */
.samagri-option input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.filter-buttons button {
  padding: 6px 12px;
  font-size: 13px;
  border: none;
  background: #eee;
  border-radius: 20px;
  cursor: pointer;
}

.filter-buttons button:hover {
  background: #ff6600;
  color: white;
}

/* Pandit Image Fix */
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: 50% 7%;  /* focus slightly above center (face area) */
  border-radius: 12px;
}

.filter-box {
  margin: 20px 0;
}

.filter-box select {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* =========================
   HEADER
========================= */

header {
    /* your existing header CSS */
}

/* Header Brand */
.header-brand{
    display:flex;
    align-items:center;
    justify-content:center;

    width:100%;
    gap:12px;

    margin:0 0 8px 0;
    cursor:pointer;
}

.site-logo{
    width:70px;
    height:70px;
    border-radius:12px;
}

.site-title h2{
    margin:0;
    color:#fff;
    font-size:30px;
    font-weight:bold;
}

.ganpati-logo {
    width: 60px;
    height: 65px;
    object-fit: contain;
    flex-shrink: 0;
    margin-left: 5px;

    filter:
        contrast(1.25)
        saturate(1.2)
        drop-shadow(0 0 2px rgba(255,255,255,0.8));
}


/* =========================
   NAVIGATION
========================= */

nav {
    /* your existing nav CSS */
}

nav a {
    /* your existing nav link CSS */
}


/* =========================
   OTHER CSS
========================= */

/* hero, cards, footer etc... */


/* =========================
   MOBILE
========================= */
/* =====================================
   MOBILE HEADER
===================================== */

@media (max-width: 768px) {

    header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
        padding: 8px 10px;
        box-sizing: border-box;
    }

    /* Logo + Puja Sampark + Ganpati */
    .header-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 8px;
        margin: 0 auto 8px auto;
        padding: 0;
        box-sizing: border-box;
    }

    /* Puja Sampark Logo */
    .site-logo {
        width: 55px;
        height: 55px;
        object-fit: contain;
        border-radius: 10px;
        flex-shrink: 0;
    }

    /* Puja Sampark Text */
    .site-title h2 {
       margin: 0;
    padding: 2px 0 4px;
    color: white;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
    white-space: nowrap;
    }

    /* Ganpati Logo */
    .ganpati-logo {
        width: 45px;
        height: 48px;
        object-fit: contain;
        flex-shrink: 0;
        margin: 0;

        filter:
            brightness(1.5)
            contrast(1.4)
            saturate(1.4)
            drop-shadow(0 0 3px rgba(255,255,255,.9));
    }

    /* Navigation */
    header nav {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px 14px;
        margin: 0;
        padding: 4px 0;
        box-sizing: border-box;
    }

    header nav a {
        font-size: 14px;
        padding: 4px 2px;
        margin: 0;
        white-space: nowrap;
    }
}

  nav {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .puja-card {
    width: 200px;
    margin: 0 8px;
  }

  .puja-track {
    animation-duration: 40s; /* slower on mobile */
  
}
}
/* Logo Styling */
.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.logo img {
  height: 65px;          /* bigger logo */
  width: auto;
  object-fit: contain;

  /* make logo look clean even with white bg */
  background: white;
  padding: 5px;
  border-radius: 10px;
}

/* CART LAYOUT */
.cart-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

/* LEFT FORM */
.cart-left {
  flex: 2;
}

/* RIGHT SUMMARY */
.cart-right {
  flex: 1;
}

/* Sticky summary */
.summary-box {
  background: rgba(255,255,255,0.95);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);

  position: sticky;
  top: 100px;
}

/* Form section */
.section {
  background: rgba(255,255,255,0.95);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Inputs */
.section input {
  margin-bottom: 12px;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .cart-layout {
    flex-direction: column;
  }

  .cart-right {
    order: -1; /* summary on top */
  }
}

/* Mobile Logo */
@media (max-width: 768px) {
  .logo img {
    height: 40px;
  }
}

@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-contact {
    text-align: center;
  }

}
/* ===== CART LAYOUT FIX ===== */

.cart-layout {
  display: flex;
  justify-content: left;   /* center both sections */
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;           /* responsive */
}

/* LEFT FORM */
.left-section {
  max-width: 480px;
  width: 100%;
}

/* RIGHT SUMMARY */
.right-section {
  width: 280px;
  position: sticky;
  top: 100px;
}

/* OPTIONAL: card look */
.section, .right-section {
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  padding: 20px;
}

/* ===== CONTACT PAGE FIX ===== */

/* ===== CONTACT PAGE ONLY ===== */
.contact-page {
  max-width: 900px;
  margin: 0 auto;
}

.contact-page .section {
  max-width: 700px;
  margin: 20px auto;
}


/* ===== CART PAGE ONLY ===== */
.cart-page {
  max-width: 1100px;
  margin: 0 auto;
}

/* Make full page height */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Main content should expand */
.container {
  flex: 1;
}

/* Footer stays at bottom */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 13px;
  line-height: 1.6;
}

/* ===== FOOTER ===== */

.main-footer {
  background: #111;
  color: #fff;
  padding: 15px 20px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Links */
.footer-links a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Contact */
.footer-contact {
  text-align: right;
}

.social-icons a {
  margin-left: 10px;
  color: #ffcc00;
  text-decoration: none;
}

.social-icons a:hover {
  text-decoration: underline;
}

.back-btn {
  display: inline-block;   /* prevent full width */
  width: auto;             /* shrink to content */
  max-width: 120px;        /* optional limit */
  
  background: #ddd;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;

  margin: 15px;            /* spacing from edges */
}

.back-btn {
  background: #f1f1f1;
  color: #333;
  font-weight: 500;
}

.back-btn:hover {
  background: #e0e0e0;
}

/* Existing styles above */


/* ===== FIXED HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: #ff6a00;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 10px 20px;
    box-sizing: border-box;
}

/* Prevent content overlap */
body {
  padding-top: 135px;
}

/* =================================
   MOBILE RESPONSIVE FIX
================================= */
@media (max-width: 768px) {

  /* BODY */
  body {
    font-size: 16px;
    background-size: contain;
    background-position: center top;
    background-attachment: scroll;
  }

  /* HEADER */
  header {
    padding: 10px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  header h2 {
    font-size: 22px;
    width: 100%;
    text-align: center;
    margin: 0;
  }

  /* GANPATI LOGO */
  .center-logo {
    width: 28px;
    height: auto;
  }

  /* NAVIGATION */
  nav {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 14px;
    margin: 0;
  }

  /* BACK BUTTON */
  .back-btn {
    font-size: 14px;
    padding: 8px 12px;
    margin-top: 10px;
  }

  /* CONTAINERS */
  .container,
  .section,
  .card,
  .contact-box,
  .quick-box,
  .left-section,
  .right-section {
    width: 95%;
    max-width: 95%;
    margin: 10px auto;
    padding: 15px;
  }

  /* INPUTS */
  input,
  select,
  textarea,
  button {
    width: 100%;
    font-size: 16px;
  }

  /* TITLES */
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  p,
  li,
  label {
    font-size: 16px;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .footer-links a,
  .social-icons a {
    display: inline-block;
    margin: 5px;
    font-size: 14px;
  }

}

.site-title {
  background: linear-gradient(to right, #fff, #ffe08a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {

  .site-title {
    font-size: 24px;
    text-align: center;
  }

}
.form-group {
  margin-bottom: 22px;
}

.form-group label,
label {

  display: block;

  margin-bottom: 8px;

  font-size: 18px;

  font-weight: 700;

  color: #333;

}

.full-input {
  width: 100%;
  min-height: 100px;

  padding: 14px;

  border: 1px solid #ccc;
  border-radius: 10px;

  font-size: 16px;

  box-sizing: border-box;

  resize: vertical;
}
/* =========================================
   Floating WhatsApp & Call Buttons
========================================= */

.floating-buttons {

  position: fixed;

  bottom: 95px;
  left: 20px;

  display: flex;
  flex-direction: column;

  gap: 15px;

  z-index: 9999;
}

/* Common Button */
.float-btn {

  width: 55px;
  height: 55px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  font-size: 32px;

  color: white;

  box-shadow: 0 6px 15px rgba(0,0,0,0.25);

  transition: 0.3s ease;
}

/* Hover Effect */
.float-btn:hover {
  transform: scale(1.08);
}

/* WhatsApp */
.whatsapp-btn {
  background: #25D366;
}

/* Call */
.call-btn {
  background: #ff6a00;
}

/* Mobile Responsive */
@media (max-width: 768px) {

  .floating-buttons {
    bottom: 20px;
    left: 15px;
  }

  .float-btn {

    width: 58px;
    height: 58px;

    font-size: 28px;
  }

}

.developer-credit{
  margin-top: 5px;
  font-size: 14px;
  color: #ddd;
}

/* =========================================================
   PUJA SAMPARK - FINAL HEADER / RESPONSIVE OVERRIDE
   Keep this section at the END of style.css.
========================================================= */

/* DESKTOP */
/* =====================================
   PUJA SAMPARK - COMMON HEADER
===================================== */

header {
    background: linear-gradient(90deg, #ff7a18, #ff6600);
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Logo + Name + Ganpati */
.header-brand {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    gap: 16px;

    margin-bottom: 8px;
    cursor: pointer;
}


/* Puja Sampark Logo */
.site-logo {
    width: 85px;
    height: 85px;

    object-fit: contain;
    border-radius: 14px;
    background: white;
}


/* Puja Sampark Text */
.site-title h2 {
    margin: 0;
    padding: 2px 0 4px;
    color: white;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
    white-space: nowrap;
}

/* Ganpati Logo */
.ganpati-logo {
    width: 48px;
    height: 60px;

    object-fit: contain;
    flex-shrink: 0;

    filter:
        brightness(1.4)
        contrast(1.3)
        saturate(1.3)
        drop-shadow(0 0 4px rgba(255,255,255,.8));
}


/* Navigation */
header nav {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 30px;
    flex-wrap: wrap;
}


header nav a {
    color: white;
    text-decoration: none;

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

    padding: 5px 3px;
}


header nav a:hover {
    text-decoration: underline;
}

body {
    padding-top: 145px;
}

/* TABLET */
@media (min-width:769px) and (max-width:1024px) {
    header {
        height: 135px;
        padding: 8px 15px;
    }

    body {
        padding-top: 135px;
    }

    .site-logo {
        width: 58px;
        height: 58px;
    }

    .site-title h2 {
        font-size: 26px;
    }

    .ganpati-logo {
        width: 42px;
    }

    header nav {
        gap: 22px;
    }

    header nav a {
        font-size: 15px;
    }
}

/* MOBILE */
@media (max-width:768px) {
    header {
        height: auto;
        min-height: 128px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 8px;
    }

    body {
        padding-top: 128px;
    }

    .header-brand {
        width: 100%;
        justify-content: center;
        gap: 9px;
        margin: 0;
    }

    .site-logo {
        width: 48px;
        height: 48px;
        border-radius: 8px;
    }

    .site-title {
        width: auto;
        text-align: center;
    }

    .site-title h2,
    header .site-title h2 {
        width: auto;
        margin: 0;
        padding: 0;
        font-size: 21px;
        line-height: 1.1;
        white-space: nowrap;
    }

    .ganpati-logo {
        width: 36px;
        height: auto;
        margin: 0;
    }

    header nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px 14px;
        margin: 0;
        padding: 2px 0 0;
    }

    header nav a {
        margin: 0;
        padding: 4px 2px;
        font-size: 14px;
        line-height: 1.2;
        white-space: nowrap;
    }
}

/* ==========================
   Profile Action Buttons
========================== */

.profile-actions{
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
    margin:25px 0;
}

.profile-actions button,
.profile-actions a{
    padding:12px 20px;
    border:none;
    border-radius:8px;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.book-btn{
    background:#ff6600;
    color:#fff;
}

.book-btn:hover{
    background:#e65c00;
}

.call-btn{
    background:#28a745;
    color:#fff;
}

.call-btn:hover{
    background:#218838;
}

.whatsapp-btn{
    background:#25D366;
    color:#fff;
}

.whatsapp-btn:hover{
    background:#1ebd5a;
}

/* Mobile */
@media (max-width:768px){

    .profile-actions{
        flex-direction:column;
        align-items:center;
    }

    .profile-actions button,
    .profile-actions a{
        width:90%;
        text-align:center;
    }

}

@media (max-width:480px) {
    header {
        min-height: 132px;
        padding: 9px 6px;
    }

    body {
        padding-top: 132px;
    }

    .header-brand {
        gap: 7px;
    }

    .site-logo {
        width: 46px;
        height: 46px;
    }

    .site-title h2,
    header .site-title h2 {
        font-size: 20px;
    }

    .ganpati-logo {
        width: 34px;
    }

    header nav {
        gap: 4px 11px;
    }
}

/* ==============================
   Samagri Details
============================== */

.samagri-details{

    display:none;

    margin-top:12px;

    padding:15px;

    background:#fff8ec;

    border:1px solid #ffcf8a;

    border-radius:8px;

    text-align:left;

    line-height:1.8;
}

.samagri-details h4{

    margin:0 0 10px;

    color:#d35400;

    font-size:16px;
}

.samagri-details p{

    margin:0 0 15px;

    font-size:14px;

    color:#333;
}

/* =====================================
   PAYMENT PAGE
===================================== */

.payment-page {
    max-width: 850px;
    margin: 20px auto 40px;
}


/* Title */

.payment-page-title {
    text-align: center;
    color: #ff6a00;
    margin-bottom: 8px;
}


.payment-page-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
}


/* Payment amount */

.payment-amount-section {
    max-width: 600px;
    margin: 0 auto 20px;
}


.payment-amount-section h3 {
    margin-top: 0;
}


.amount-input-wrapper {
    display: flex;
    align-items: center;

    border: 1px solid #ddd;
    border-radius: 8px;

    overflow: hidden;

    background: #fff;
}


.amount-input-wrapper span {
    padding: 14px 16px;

    font-size: 22px;
    font-weight: 700;

    color: #ff6a00;

    border-right: 1px solid #ddd;
}


.amount-input-wrapper input {
    width: 100%;

    border: none;
    outline: none;

    padding: 14px;

    font-size: 20px;

    box-sizing: border-box;
}


.payment-amount-section small {
    display: block;

    margin-top: 8px;

    color: #777;
}


/* Payment summary */

.payment-summary {
    max-width: 600px;
    margin: 0 auto 20px;
}


.payment-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 0;

    border-bottom: 1px solid #eee;
}


.payment-summary-row strong {
    color: #ff6a00;
    font-size: 19px;
}


/* Payment methods */

.payment-methods-section {
    max-width: 600px;
    margin: 0 auto;
}


.payment-method-heading {
    margin-top: 0;
}


.payment-method-btn {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 18px;

    margin-bottom: 12px;

    border: 1px solid #e0e0e0;
    border-radius: 10px;

    background: #fff;

    color: #333;

    font-size: 17px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;
}


.payment-method-btn:hover {
    border-color: #ff6a00;

    transform: translateY(-2px);
}


.payment-method-left {
    display: flex;
    align-items: center;

    gap: 14px;
}


.payment-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff3eb;

    color: #ff6a00;

    font-size: 19px;

    flex-shrink: 0;
}


.phonepe-letter,
.paytm-letter {
    font-weight: 700;
}


/* Selected payment box */

.selected-payment-box {
    max-width: 600px;
    margin: 20px auto;
    text-align: center;
}


.selected-payment-box h3 {
    color: #ff6a00;
}


.selected-payment-amount {
    font-size: 18px;
}


.selected-payment-amount strong {
    color: #ff6a00;
    font-size: 22px;
}


/* Main payment button */

.payment-main-btn {
    width: 100%;

    padding: 14px;

    border: none;
    border-radius: 8px;

    background: #ff6a00;

    color: #fff;

    font-size: 17px;
    font-weight: 600;

    cursor: pointer;

    margin-top: 15px;
}


.payment-main-btn:hover {
    background: #e85f00;
}


/* =====================================
   PAYMENT QR CODE - RESPONSIVE FIX
   One QR rule only. This keeps the QR
   inside the visible mobile screen.
===================================== */

#qrBox {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-align: center;
    box-sizing: border-box;
}

#qrBox .payment-qr-image {
    display: block !important;
    width: 180px !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 180px !important;
    margin: 15px auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
}

@media (max-width: 768px) {
    #qrBox {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0;
        margin: 0 auto;
        overflow: hidden;
    }

    #qrBox .payment-qr-image {
        width: 150px !important;
        max-width: calc(100vw - 70px) !important;
        height: auto !important;
        max-height: 150px !important;
        margin: 12px auto !important;
    }
}

@media (max-width: 480px) {
    #qrBox .payment-qr-image {
        width: 130px !important;
        max-width: calc(100vw - 60px) !important;
        height: auto !important;
        max-height: 130px !important;
        margin: 10px auto !important;
    }
}


/* UPI ID */

.upi-id-payment-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding: 12px;

    border: 1px dashed #ff6a00;
    border-radius: 8px;

    background: #fff8f4;
}


.upi-id-payment-box strong {
    word-break: break-all;
}


.upi-id-payment-box button {
    border: none;

    background: #ff6a00;

    color: #fff;

    padding: 8px 12px;

    border-radius: 6px;

    cursor: pointer;

    flex-shrink: 0;
}


/* Important note */

.payment-note {
    max-width: 600px;
    margin: 20px auto;
}


.payment-note p {
    margin: 0;
}


.payment-note i {
    color: #ff6a00;
}


/* =====================================
   MOBILE PAYMENT PAGE
===================================== */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .payment-page {
        width: 95%;
        max-width: 95%;
        min-width: 0;
        margin: 10px auto 30px;
        padding: 0;
        overflow-x: hidden;
    }


    .payment-page-title {
        font-size: 26px;
    }


    .payment-page-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }


    .payment-method-btn {
        padding: 14px 12px;
        font-size: 16px;
    }


    .payment-icon {
        width: 38px;
        height: 38px;
    }


    .amount-input-wrapper input {
        font-size: 18px;
    }


    .upi-id-payment-box {
        flex-direction: column;
        align-items: stretch;
    }


    .upi-id-payment-box button {
        width: 100%;
    }

}
/* =====================================
   FINAL QR CODE MOBILE FIX
   KEEP THIS AT THE VERY END OF style.css
===================================== */

.payment-qr-image {
    width: 180px !important;
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
    margin: 15px auto !important;
    object-fit: contain !important;
}

/* Mobile */
@media (max-width: 768px) {

    .payment-qr-image {
        width: 150px !important;
        max-width: 150px !important;
        height: auto !important;
    }

}

/* Small mobile */
@media (max-width: 480px) {

    .payment-qr-image {
        width: 130px !important;
        max-width: 130px !important;
        height: auto !important;
    }

}

/* =====================================
   PAYMENT SUCCESS POPUP
===================================== */

.payment-success-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;

    background: rgba(0, 0, 0, 0.55);

    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;
}

.payment-success-content {
    width: 100%;
    max-width: 420px;

    background: #ffffff;

    border-radius: 18px;

    padding: 30px 25px;

    text-align: center;

    box-sizing: border-box;

    box-shadow: 0 10px 35px rgba(0,0,0,0.25);
}

.success-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #28a745;
    color: #ffffff;

    font-size: 42px;
    font-weight: bold;
}

.payment-success-content h2 {
    margin: 0 0 15px;

    font-size: 24px;

    color: #333333;
}

.payment-success-content p {
    margin: 8px 0;

    font-size: 16px;
    line-height: 1.5;

    color: #555555;
}

.payment-success-content .success-note {
    margin-top: 15px;

    padding: 12px;

    background: #fff4e8;

    border-radius: 10px;

    font-size: 14px;
}

.payment-success-content button {
    width: 100%;

    margin-top: 22px;

    padding: 13px;

    border: none;

    border-radius: 8px;

    background: #ff6b00;
    color: #ffffff;

    font-size: 17px;
    font-weight: bold;

    cursor: pointer;
}


/* Mobile */

@media (max-width: 480px) {

    .payment-success-content {
        padding: 25px 18px;
        max-width: calc(100vw - 30px);
    }

    .payment-success-content h2 {
        font-size: 21px;
    }

    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 35px;
    }

}
/* Manual Book Puja */
.manual-book-puja input{
    width:100%;
    padding:10px;
    margin:8px 0;
    border:1px solid #ccc;
    border-radius:5px;
    box-sizing:border-box;
    font-size:15px;
}

.manual-samagri-option{
    display:flex;
    align-items:center;
    gap:8px;
    margin:12px 0;
    cursor:pointer;
}

.manual-samagri-option input{
    width:auto;
    margin:0;
}

.manual-total{
    margin:12px 0 8px;
}

.manual-note{
    font-size:13px;
    margin:8px 0 12px;
}