/* -------------------------------------------------
   ROOT VARIABLES
------------------------------------------------- */
:root {
  --primary: #e6007e;
  --primary-light: var(--primary);
  --primary-hover: #c60067;
  --text-dark: #333;
  --text-light: #fff;
  --background: #f9f9f9;
  --card-bg: #fff;
  --container:1200px;
    --gray: #555;
    --light: #f7f7f7;  

      --bg:#faf7fb;
      --card:#ffffff;
      --muted:#6b6b6b;
	  --dark:#000000;
      --accent:#e6007e; /* your pink */
      --accent-dark:#c60067;
      --radius:12px;
      --gap:18px;
      --container:1200px;
      --shadow: 0 6px 20px rgba(22,22,22,0.06);
      --shadow-sm: 0 4px 12px rgba(22,22,22,0.04);
	  
    --accent-cat: #d10024;
    --bg-light: #f8f8fb;
    --radius-cat: 14px;
    --shadow-cat: 0 6px 18px rgba(0,0,0,0.08);	  
}

/* -------------------------------------------------
   RESET
------------------------------------------------- */

html,body{height:100%; margin:0; font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial; background:var(--bg); color:#222;}

header { width: 100%; border-bottom: 1px solid #ddd; }

/* -------------------------------------------------
   TOP BAR (Desktop only)
------------------------------------------------- */
.top-bar {
  display: flex;
  justify-content: space-between;
  padding: 5px 20px;
  background: linear-gradient(to right, #f5f5f5, #830336);
  font-size: 14px;
}
.top-bar .contact span { margin-right: 20px; }
.top-bar .social a { margin-left: 10px; color: #ffffff; text-decoration: none; }

/* -------------------------------------------------
   MAIN HEADER (Desktop)
------------------------------------------------- */
.main-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 5px 15px;       /* ↓ reduced height */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 30px;        /* optional: controls overall header height */
}

/* Adjust logo spacing */
.main-header .logo img {
  width: 350px;            /* reduce width slightly if needed */
  height: auto;
  display: block;
}


/* Center: Search Box */
.search-box {
  flex: 1;                  /* expands to fill center space */
  max-width: 500px;
  display: flex;
  align-items: center;
  margin: 0 auto;
}
.search-box input {
  flex: 1;
  padding: 8px 15px;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
}
.search-box button {
  padding: 8px 20px;
  border: 1px solid #ccc;
  border-left: none;
  background: #870000;
  color: white;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

/* Right: User Actions */
.user-actions {
  display: flex;
  align-items: center;
}
.user-actions a {
  margin-left: 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.cart-btn {
    position: relative;
    display: inline-block;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #000;      /* black background */
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;    /* perfect circle */
    min-width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
	.mobile-header {
	  display: none;
	}
}	

/* -------------------------------------------------
   MOBILE HEADER (Hidden on Desktop)
------------------------------------------------- */
@media (max-width: 768px) {
	
	.main-menu {
		display: none;
    }
	
	.mobile-header {
	  display: flex;
	  flex-direction: column;
	  padding: 10px 20px;
	  position: sticky;
	  top: 0;
	  z-index: 9999;
	  transition: transform 0.25s ease;
	  background: #fff;
	}
	.mobile-header .top-mobile { 
	  flex-direction: row; 
	  display: flex;
	  justify-content: space-between;
	  align-items: center;
	  width: 100%;
	}
	.mobile-header .logo {
	  margin: 0 5px;
	  text-align: center;
	  position: absolute;
	  left: 50%;
	  transform: translateX(-50%);
	  line-height: 1;         /* keeps it neatly aligned */
	  margin-bottom: 10px;
	  max-width: 200px; 
	  overflow: hidden;
	}
	.mobile-header .logo img {
	  width: 350px;     /* <-- increase image size */
	  max-width: 1200px; /* optional */
	  height: auto;
	}
	.mobile-header .user-actions-a {
	  flex-direction: column;
	  display: flex;
	  gap: 8px;
	  margin-bottom: 10px;
	}
	.mobile-header .user-actions-b {
	  display: flex;
	  gap: 8px;
	  margin-bottom: 10px;
	  padding: 10px;
	}

	/* Left aligned */
	.mobile-header .user-actions-a {
	  margin-right: auto;
	}
	/* Right aligned */
	.mobile-header .user-actions-b {
	  margin-left: auto;
	}

	.mobile-header .search-box { 
		display: flex; 
		margin-left: auto;
		}

	.mobile-header .search-box input {
	  max-width: 500px;
	  padding: 8px 15px;
	  border: 1px solid #ccc;
	  border-radius: 4px 0 0 4px;
	  margin-left: auto;
	}


	.mobile-header .menu-toggle {
		font-size: 15px;
		font-weight: 500;
		padding: 8px 6px;
		cursor: pointer;
		background: #fff;
		border-radius: 6px;
		display: flex;
		align-items: center;
	}



}

/* -------------------------------------------------
   NAVIGATION (Desktop + Mobile)
------------------------------------------------- */
.main-menu { background: #870000; color: white; }
.main-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
    margin: 0;
  padding: 0;
}
.main-menu ul li a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  font-weight: 500;
}
.main-menu ul li a:hover { background: #e73370; }



/* ================================
   CATEGORY GRID — MODERN NEON STYLE
=================================== */

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.cat-card {
    position: relative;
    height: 260px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

    background-image: var(--bg);
    background-size: cover;
    background-position: center;

    /* Pink glow shadow */
    box-shadow: 0 8px 8px rgba(230, 0, 126, 0.35);

    transition: all .35s ease;
}

/* Dark color overlay with neon tint */
.cat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 0, 150, 0.55),
        rgba(0, 150, 255, 0.55)
    );
    mix-blend-mode: overlay;
}

/* Category title */
.cat-card span {
    position: relative;
    font-size: 35px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    z-index: 2;
}

/* Hover effect — zoom + stronger glow */
.cat-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 6px rgba(230, 0, 126, 0.65);
}

/* ================================
   RESPONSIVE BREAKPOINTS
=================================== */
@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: 2, 1fr;
    }

    .cat-card {
        height: 220px;
    }

    .cat-card span {
        font-size: 30px;
    }
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------------------------------------
   CATEGORIES & VIEW TOGGLE
------------------------------------------------- */
.action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px;
  gap: 15px;
  flex-wrap: wrap;
}

/* Desktop buttons */
.categories { display: flex; gap: 10px; }
.categories button {
  padding: 6px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}
.categories button:hover { background: #333; color: #fff; }

/* Mobile dropdown */
.category-dropdown { position: relative; display: none; }
.category-dropdown button {
  padding: 6px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
}
.category-dropdown ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  display: none;
}

/* -------------------------------------------------
   PRODUCT GRID / LIST
------------------------------------------------- */
#product-container {
  padding: 10px;
  display: grid;
  gap: 8px;
}

/* GRID */
.grid-view {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.grid-view .product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 5px;
}

/* LIST */
.list-view {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.list-view .product-card {
  flex-direction: row;
  gap: 20px;
}

/* -------------------------------------------------
   FOOTER
------------------------------------------------- */
/* Existing footer styles */
footer {
  background: #fff;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.05);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer-content nav {
  display: flex;
  gap: 15px;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .footer-line {
    flex-direction: column; /* stack items vertically */
    align-items: center;    /* center them */
    gap: 8px;               /* small gap between items */
  }

  .footer-line .payment-icons,
  .footer-line .developer-text  {
    display: none; 
  }
}


/* -------------------------------------------------
   CART SIDEBAR
------------------------------------------------- */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -350px;
  width: 350px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}
.cart-sidebar.open { right: 0; }

/* -------------------------------------------------
   SHOP TOOLBAR
------------------------------------------------- */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* -------------------------------------------------
   PRICE SLIDER
------------------------------------------------- */
.price-slider {
  position: relative;
  width: 220px;
}
.price-slider input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

/* -------------------------------------------------
   RESPONSIVE (Mobile)
------------------------------------------------- */
@media (max-width: 768px) {

  .top-bar {
    display: flex;
    justify-content: space-between;
    padding: 5px 20px;
    background: linear-gradient(to right, #f5f5f5, #830336);
    font-size: 12px;
  }
  .top-bar .contact span { margin-right: 20px; }
  .top-bar .social a { margin-left: 10px; color: #ffffff; text-decoration: none; }  
  .top-bar .contact span:nth-child(2) {
    display: none !important; /* hides the email */
  }  

  .main-header { display: none; }
  .mobile-header { display: flex; background: #fff; }

  .categories { display: none; }
  .category-dropdown { display: block; }

  #product-container.grid-view { grid-template-columns: repeat(2, 1fr); }

  .shop-toolbar { display: none; }

  .bottom-nav { display: flex; justify-content: space-around; padding: 8px 0;}
}


	a{color:inherit; text-decoration:none;}
    .site-wrap{max-width:var(--container); margin:24px auto; padding:0 16px;}
	.mobile-wrapper, .mobile-path { display: none; }
	  
	@media (max-width: 768px) {

	  .mobile-wrapper {
		display: block;
		position: relative; /* Needed for overlay */
		width: 100%;
	  }

	  .mobile-wrapper img {
		width: 100%;
		height: auto;
		display: block;
	  }

	  .mobile-path {
		display: block;
		position: absolute; /* Overlay on top of image */
		top: 5px; /* distance from top of image */
		left: 15px;
		right: 15px;
		padding: 5px 10px;
		font-size: 14px;
		color: #fff;
		border-radius: 4px;
		z-index: 10;
	  }

	  .mobile-path a {
		color: #fff; /* highlight color */
		text-decoration: none;
		font-weight: 500;
	  }
	}


a {
  text-decoration: none;
}

.clear {
  clear: both;
}

.ovh {
  overflow: hidden;
}

.error {
  color: red;
}

.success {
  color: green;
}

a:hover {
  text-decoration: none;
}

.headline {
  text-align: center;
  margin-bottom: 5px;
}

.headline h2 {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 0;
}

.headline h3 {
  font-size: 18px;
  margin-top: 0;
}

.headline-white {
  color: #fff;
}

.bg-gray {
  background: #f2f3f3 !important;
}

.bg-white {
  background: #ffffff !important;
}

.top {
  width: 100%;
  height: 40px;
  /* background: #ececec; */
  /* background: #131921; */
  background-image:  linear-gradient(to right, #190A05, #870000);

}

.top .left {
  float: left;
}

.top .left ul {
  padding-top: 8px;
}

.top .left ul li {
  list-style-type: none;
  float: left;
  margin-right: 14px;
  /* color: #0d1452; */
  color: white;
}

.top .left ul li i {
  /* color: #0d1452; */
  color: white;
}

.top .right {
  float: right;
}

.top .right ul {
  padding-top: 8px;
}

.top .right ul li {
  list-style-type: none;
  float: left;
  margin-left: 5px;
}

.top .right ul li a {
  /* color: #0d1452; */
  color: white;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  display: block;
  transition: all 0.4s ease;
}

.top .right ul li a:hover {
  background: #190A05;
  color: #f2f3f3;
}

.header {
  width: 100%;
  height: auto;
  /* background: #fff; */
  background: linear-gradient(to right, #FFFFFF, #830336);
}

.header .inner {
  height: auto;
  display: table;
}

.header .logo {
  float: none;
  display: table-cell;
  vertical-align: middle;
}

.header .logo img {
  max-width: 100%;
  height: 70px;
}

.header .navbar-form .form-control {
  width: 300px;
}

.header .search-area {
  float: none;
  display: table-cell;
  vertical-align: middle;
}

.header .search-area .form-group {
  width: calc(100% - 84px);
}

.header .search-area button {
  width: 80px;
}

.header .search-area form {
  width: 100%;
}

.header .right {
  float: none;
  display: table-cell;
  vertical-align: middle;
  padding-right: 0;
}

.header .right ul {
  float: right;
  margin-bottom: 0;
}

.header .right ul li {
  list-style-type: none;
  float: left;
  margin-left: 14px;
  color: #000;
}

.header .right ul li a {
  color: #FFFFFF;
}

.header .navbar-form .search-top {
  width: 100%;
}


/* ================================
   MOBILE HEADER LAYOUT FIX
   ================================ */

@media (max-width: 768px) {

    /* --- TOP BAR --- */
    .top .left ul li:not(.mobile-phone) {
        display: none; /* hide all except phone */
    }

    .top .left ul li.mobile-phone {
        display: inline-block; /* keep phone number */
    }

    .top .right ul li {
        display: inline-block; /* keep social icons */
    }

    /* --- HEADER MAIN --- */
    .header .search-area {
        display: none; /* hide search bar on mobile */
    }

    /* center logo + cart buttons layout */
    .header .inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 10px;
    }

    .header .logo {
        width: auto;
        display: block;
    }

    .header .logo img {
        height: 56px;
    }

    /* show only cart + wishlist or whatever is inside header .right */
    .header .right ul li {
        display: inline-block;
        margin-left: 10px;
    }

    /* OPTIONAL: better icon spacing */
    .header .right ul li a {
        font-size: 20px;
        padding: 4px;
    }
}




    /* Header */
    .site-header{display:flex; align-items:center; gap:16px; justify-content:space-between; padding:0px 0; background:transparent;}
    .logo{display:flex; align-items:center; gap:10px;}
    .logo img{height:44px; width:auto; display:block; border-radius:6px;}
    .search-wrap{flex:1; margin:0 20px; display:flex; justify-content:center;}
    .search-bar{width:100%; max-width:640px; display:flex; gap:8px; align-items:center;}
    .search-bar input{flex:1; padding:10px 12px; border-radius:999px; border:1px solid #e7d9e6; outline:none; font-size:0.95rem; background:white;}
    .search-bar button{background:var(--accent); color:white; border:none; padding:10px 14px; border-radius:999px; cursor:pointer; font-weight:600;}
    .header-actions{display:flex; gap:12px; align-items:center;}
    .icon-btn{background:var(--card); border:1px solid transparent; padding:8px 10px; border-radius:10px; cursor:pointer; font-weight:600; box-shadow:var(--shadow-sm);}
    .reset-btn{background:var(--accent); color:white; border:none; padding:8px 10px; border-radius:10px; cursor:pointer; font-weight:600;}   
	.cart-badge{background:var(--accent); color:white; padding:4px 8px; border-radius:999px; font-size:0.8rem; margin-left:6px;}

    /* Layout */
    .main{display:grid; grid-template-columns: 280px 1fr; gap:var(--gap); margin-top:18px;}
    @media (max-width: 980px){
      .main{grid-template-columns: 1fr;}
      .filters{display:none;} /* we'll show drawer on mobile */
    }

    /* Filters */
    .filters{background:var(--card); padding:18px; border-radius:var(--radius); box-shadow:var(--shadow-sm);}
    .filters h3{margin:0 0 8px 0; font-size:2.05rem; font-weight:600;}
    .filter-group{margin-bottom:12px;}
    .category-pill{display:inline-block; padding:6px 6px; border-radius:4px; background:#fff0f7; color:var(--accent-dark); margin:6px 6px 0 0; font-weight:600; cursor:pointer; border:1px solid rgba(230,0,126,0.08);}
    .filter-btn{display:inline-block; padding:8px 12px; border-radius:6px; background:var(--accent-dark); color:var(--card); margin:6px 6px 0 0; font-weight:800; cursor:pointer; border:1px solid rgba(230,0,126,0.08);}


	.range-slider { position: relative; width: 100%; height: 5px; margin: 20px 0; background: #e6007e; }
	.range-slider input[type=range] { position: absolute; width: 100%; height: 0; -webkit-appearance: none; background: none; pointer-events: none; }
	.range-slider input[type=range]::-webkit-slider-thumb {	-webkit-appearance: none; pointer-events: all; height: 22px; width: 22px; border-radius: 50%; background: #e6007e; border: 2px solid #fff; box-shadow: 0px 0px 4px rgba(0,0,0,0.4); }
	.range-slider .track { position: absolute; top: 50%; left: 0; height: 6px; width: 100%; background: #ddd; border-radius: 3px;	transform: translateY(-50%); }
	.range-slider .range { position: absolute;	top: 50%; height: 6px; background: #e6007e; border-radius: 3px; transform: translateY(-50%); }
	.price-values { display: flex; justify-content: space-between; font-size: 10px; margin-top: 2px; }


    /* Product grid */
    .grid{display:grid; row-gap: 9px; column-gap: 9px; grid-template-columns: repeat(4, 1fr);}
    @media (max-width:1200px){ .grid{grid-template-columns: repeat(3,1fr);} }
    @media (max-width:880px){ .grid{grid-template-columns: repeat(2,1fr);} }
    @media (max-width:520px){ .grid{grid-template-columns: repeat(2,1fr);} }

    .card{ background:var(--card); border-radius:6px; padding:8px; box-shadow:var(--shadow); display:flex; flex-direction:column; gap:12px; transition:transform .18s ease, box-shadow .18s ease; }
    .card:focus-within, .card:hover{ transform: translateY(-6px); box-shadow: 0 10px 30px rgba(22,22,22,0.08); }
    .media{
      width:100%; aspect-ratio: 1 / 1; overflow:hidden; border-radius:6px; background:#f6f1f6; display:flex; align-items:center; justify-content:center;
    }
    .media img{width:100%; height:100%; object-fit:cover; display:block;}

    .meta{display:flex; flex-direction:column; gap:6px; padding:0 2px;}
    .title{font-weight:550; font-size:1.25rem; color:#222; min-height:35px;}
    .price-row{display:flex; justify-content:space-between; align-items:center; gap:8px;}
    .price{font-weight:700; color:var(--accent-dark); font-size:1rem;}
	.old-price{font-weight:400; color:var(--dark); font-size:0.9rem;}
    .category{font-size:0.82rem; color:var(--muted);}

    .actions{display:flex; gap:8px; align-items:center;}
    .btn{flex:1; padding:8px 10px; border-radius:6px; border:none; cursor:pointer; font-weight:700;}
    .btn-add{background:var(--accent); color:white;}
    .btn-wish{background:transparent; border:1px solid #eee; color:var(--muted); padding:8px; width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; border-radius:10px;}

    /* Badges */
    /* .badge{position:absolute; top:6px; left:10px; background:var(--accent); color:white; padding:6px 10px; border-radius:999px; font-size:0.78rem;} */
	.badge-container { position: absolute; top: 3px; left: 6px; display: flex; gap: 6px; /* space between badges */ flex-wrap: wrap; /* optional: wrap if too many */ }
	.badge { font-size: 0.78rem; font-weight: 600; }
	.badge.placeholder { min-width: 50px; /* adjust width to match typical badge */ }


    /* Grid item wrapper to allow absolute badges */
    .card-wrap{position:relative;}

    /* Pagination */
    .pager{display:flex; gap:8px; justify-content:center; margin:20px 0; flex-wrap: wrap;}
    .pager button{padding:8px 12px; border-radius:999px; border:1px solid #eee; background:white; cursor:pointer;}
    .pager button.active{background:var(--accent); color:white; border-color:var(--accent);}
	
	.pager .page-btn,
	.pager .dots { padding: 8px 14px; border-radius: 6px; border: 1px solid #ccc; background: white; cursor: pointer; font-size: 14px; min-width: 38px; text-align: center;}

	.pager .page-btn:hover { background: #f4f4f4;}
	.pager .page-btn.active { background: #e6007e; color: white; border-color: #e6007e;}
	.pager .page-btn.disabled { opacity: 0.4; cursor: not-allowed;}

    /* Mobile filter button */
    .mobile-filter-btn{display:none;}
    @media (max-width:980px){
      .mobile-filter-btn{display:inline-flex; gap:8px; align-items:center;}
    }

    /* Drawer */	
	.drawer { position: fixed; inset: 0; background: rgba(0,0,0,0.45); display: none; z-index: 10000; justify-content: flex-start; /* drawer slides from left */ }
	.drawer.open {display: flex;}
	.drawer-close{display:flex; justify-content:flex-end;}
	.drawer-panel { width: 320px; max-width: 85%; height: 100%; background: #ffffff; border-top-left-radius: 0; border-top-right-radius: 12px; border-bottom-right-radius: 12px; padding: 20px; overflow-y: auto; /* scrollable */ transform: translateX(-100%); transition: transform 0.35s ease; }
	.drawer.open .drawer-panel { transform: translateX(0); }
	.drawer-header { display: flex; align-items: center; justify-content: space-between;	margin-bottom: 20px; }
	.drawer-header img { height: 40px; border-radius: 6px; }
	
    .filter-collapsible{border-radius:10px; padding:10px; border:1px solid #f1e6ef; background:#fff;}
    /* focus */
    input:focus, button:focus { outline:3px solid rgba(230,0,126,0.08); outline-offset:2px; border-radius:8px; }

    /* small helpers */
    .muted{color:var(--muted);}
    .flex{display:flex;}
    .space-between{justify-content:space-between; align-items:center;}

/* -------------------------------------------------
   PRODUCT PAGE  
------------------------------------------------- */



/* -------------------------------------------------
    PAGE BANNERS
------------------------------------------------- */

.page-banner {
  width: 100%;
  height: auto;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  background-size: cover;
  position: relative;
  /* padding-top: 80px; */
  padding-bottom: 15px;
  overflow: hidden;
}

.page-banner .overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  /* background: #333; */
  background: linear-gradient(to right, #190A05, #870000);
}

.page-banner h1 {
  color: var(--text-light);
  text-align: center;
  z-index: 999;
  position: relative;
}

.page {
  width: 100%;
  height: auto;
  padding-top: 5px;
  padding-bottom: 10px;
}
/*
.page {
  width: 100%;
  height: auto;
  padding-top: 50px;
  padding-bottom: 50px;
  background: linear-gradient(to right, #FFF1FA, #FFFFFF, #FFF1FA);
}
*/

/* Floating question marks layer */
.page-banner .floating-marks {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

/* Each generated mark */
.page-banner .floating-marks span {
    position: absolute;
    color: #fff;
    opacity: 0;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
    animation: floatUp ease-in-out infinite;
}

/* Floating question marks layer */
.page-banner .floating-contact {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

/* Each generated mark */
.page-banner .floating-contact span {
    position: absolute;
    color: #fff;
    opacity: 0;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
    animation: floatUp ease-in-out infinite;
}

/* Animation */
@keyframes floatUp {
    0% {
        transform: translateY(40px) translateX(-10px) scale(0.8);
        opacity: 0;
    }
    20% { opacity: 1; }
    50% {
        transform: translateY(-50px) translateX(10px) scale(1);
    }
    80% { opacity: 1; }
    100% {
        transform: translateY(-150px) translateX(-5px) scale(1.2);
        opacity: 0;
    }
}


/* -------------------------------------------------
    CART
------------------------------------------------- */

/* =========================
   CART TABLE — RESPONSIVE
   ========================= */

/* smooth touch scrolling for the horizontal wrapper */
.desktop-table-wrapper {
  /* overflow-x: auto;*/ /* you already had this inline; keep it */
  /*-webkit-overflow-scrolling: touch; */
  background: transparent;
  margin-bottom: 18px;
}

/* base table styling */
.desktop-table {
  width: 100%;
  border-collapse: collapse;
  font-family: inherit;
  font-size: 15px;
  table-layout: fixed; /* helps with consistent column sizing */
  min-width: 780px; /* ensures sensible column widths on narrow screens with horizontal scroll */
  background: #fff;
}

/* header */
.desktop-table thead th {
  padding: 12px 10px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid #e6e6e6;
  vertical-align: middle;
  white-space: nowrap;
}

/* body rows */
.desktop-table tbody tr.desktop-row {
  border-bottom: 1px solid #f0f0f0;
}


.desktop-table td {
  padding: 10px;
  vertical-align: middle;
  white-space: normal;   /* allow wrapping */
  overflow: visible;     /* let text expand naturally */
}


/* image cell */
.desktop-table img {
  display: block;
  width: 80px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* product name cell: allow wrap if necessary */
.desktop-info strong {
  display: inline-block;
  max-width: 240px;
  white-space: normal;
  word-break: break-word;
}

/* quantity input */
.desktop-qty {
  width: 80px;
  padding: 6px 8px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-size: 14px;
}

/* action (trash) */
.desktop-table .trash {
  display: inline-block;
  padding: 6px;
  line-height: 1;
}

/* footer total */
.desktop-table tfoot th.total-text {
  text-align: left;
  padding: 12px 10px;
  font-weight: 700;
  border-top: 2px solid #eee;
}
.desktop-table tfoot .total-amount {
  text-align: center;
  font-weight: 700;
  padding: 12px 10px;
}

/* CART BUTTONS layout */

.cart-buttons {
    width: 100%;
    margin-top: 20px;
    text-align: right;
}

.cart-buttons ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cart-buttons li {
    display: inline-block;
    margin-left: 5px;
    margin-bottom: 7px;
}

.cart-buttons li input[type="submit"],
.cart-buttons li a {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    padding: 5px 12px;
    transition: all 0.4s ease;
    text-decoration: none;
}

.cart-buttons li input[type="submit"]:hover,
.cart-buttons li a:hover {
    background: #190A05;
}

/* =========================
   SMALL SCREENS (phones)
   ========================= */

/* Breakpoint: mobile phones */
@media (max-width: 767px) {

  /* reduce min-width so horizontal scroll isn't too excessive */
  .desktop-table { /*width: 100%;*/ min-width: 380px; font-size: 14px; }

  /* reduce image size */
  .desktop-table img { max-width: 60px; }

  /* reduce quantity input */
  .desktop-qty { width: 60px; font-size: 14px; padding: 6px; }

  /* Hide low-priority columns to keep the main info (image, name, qty, total, action) */
  /* Column mapping in your table:
     1 -> (#)
     2 -> (image)
     3 -> (product name)
     4 -> (details)
     5 -> (unit price)
     6 -> (quantity)
     8 -> (action)
  */
  .desktop-table thead th:nth-child(1),
  .desktop-table tbody td:nth-child(1),
  .desktop-table tbody td:nth-child(5),
  .desktop-table thead th:nth-child(5){
    display: none;
  }

  /* tighten padding */
  .desktop-table thead th,
  .desktop-table td {
    padding: 8px 6px;
  }

  /* make footer total easier to read and aligned */
  .desktop-table tfoot th.total-text { padding-right: 8px; }
  .desktop-table tfoot .total-amount { padding-left: 8px; }

  /* Stack cart buttons full width to improve touch targets */
  .cart-buttons ul { flex-direction: column; gap:10px; }
  .cart-buttons .btn { display: block; width: 100%; text-align:center; }
}

/* =========================
   MEDIUM SCREENS (tablets)
   ========================= */
@media (min-width: 768px) and (max-width: 991px) {
  .desktop-table { min-width: 720px; font-size: 15px; }
  .desktop-table img { width: 70px; }
  .desktop-qty { width: 70px; }
}

/* =========================
   ACCESSIBILITY / FOCUS
   ========================= */
.desktop-qty:focus { outline: 3px solid rgba(0,0,0,0.08); }
.desktop-table a.trash:focus { outline: 3px solid rgba(0,0,0,0.08); border-radius:6px; }

/* small visual polish */
.desktop-table thead th, .desktop-table td { color: #333; }




/* ===========================
   CHECKOUT
   =========================== */
.cart-checkout {
    width: 100%;
    padding-top: 15px;
    box-sizing: border-box;
}

.cart-checkout img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

.cart-checkout input[type="number"] {
    padding: 5px 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 70px;
    height: 30px;
    box-sizing: border-box;
}

.cart-checkout-buttons {
    width: 100%;
    margin-top: 20px;
    text-align: right;
}

.cart-checkout-buttons ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cart-checkout-buttons li {
    display: inline-block;
    margin-left: 5px;
    margin-bottom: 7px;
}

.cart-checkout-buttons li input[type="submit"],
.cart-checkout-buttons li a {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    padding: 5px 12px;
    transition: all 0.4s ease;
    text-decoration: none;
}

.cart-checkout-buttons li input[type="submit"]:hover,
.cart-checkout-buttons li a:hover {
    background: #190A05;
}

/* Trash / remove button */
.cart-checkout .trash i {
    color: red;
    font-size: 18px;
    cursor: pointer;
}

/* Total labels */
.cart-checkout table tr td.total-text,
.cart-checkout table tr th.total-text,
.cart-checkout table tr td.total-amount,
.cart-checkout table tr th.total-amount {
    text-align: right;
    font-size: 14px;
}

/* ===========================
   UNIFIED CART ITEM STRUCTURE
   =========================== */
.cart-checkout-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 15px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    margin-bottom: 12px;
    align-items: center;
}

.cart-checkout-item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

/* Product info */
.cart-checkout-item-info strong {
    font-size: 16px;
    color: #222;
    line-height: 1.3;
}

.cart-checkout-item-info .meta {
    font-size: 13px;
    color: #666;
    margin-top: 3px;
}

.cart-checkout-item-info .price {
    margin-top: 4px;
    font-weight: 600;
}

/* Item actions */
.cart-checkout-item-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
}

.cart-checkout-item-actions .total {
    font-size: 16px;
    font-weight: 600;
}

/* ===========================
   DESKTOP LAYOUT
   =========================== */
@media(min-width: 769px) {

    /* Hide mobile card layout */
    .cart-checkout-item {
        display: none !important;
    }
	
    /* Hide mobile cards */
    .mobile-checkout-table,
    .mobile-checkout-cart-info {
        display: none !important;
    }

    .cart-checkout-item {
        grid-template-columns: 100px 1fr 150px;
        padding: 18px;
    }

    .cart-checkout-item-info strong {
        font-size: 18px;
    }

    .cart-checkout-item-info .price {
        font-size: 16px;
    }

    /* Desktop table layout */
    .desktop-checkout-table {
        width: 100%;
        border-collapse: collapse;
    }

    .desktop-checkout-table th,
    .desktop-checkout-table td {
        padding: 12px 8px;
        border-bottom: 1px solid #e0e0e0;
        text-align: left;
        vertical-align: middle;
    }

    .desktop-checkout-info strong {
        font-size: 15px;
    }

    .desktop-checkout-info .meta {
        font-size: 13px;
        color: #666;
    }

    .desktop-checkout-info .price,
    .desktop-checkout-info .total {
        font-size: 14px;
        font-weight: 600;
    }

    .desktop-checkout-qty {
        width: 65px;
        text-align: center;
        padding: 5px;
        border-radius: 8px;
        border: 1px solid #ccc;
    }
}

/* ===========================
   MOBILE LAYOUT
   =========================== */
@media(max-width: 768px) {
    /* Hide desktop tables */
    .desktop-checkout-row,
    .desktop-checkout-row td,
    .desktop-checkout-table {
        display: none !important;
    }

    /* Ensure desktop-info inside mobile card is visible */
    .desktop-checkout-info {
        display: block !important;
    }

    .cart-checkout-item {
        grid-template-columns: 80px 1fr auto;
    }

    .cart-checkout-item-info input[type="number"] {
        width: 100%;
    }
}


/* ======================================================
   CONTACT
   ====================================================== */

.cform .well {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.cform label {
    font-weight: 600;
    color: #333;
}

.cform .form-control {
    height: 42px;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
}

.cform .form-control:focus {
    border-color: #870000;
    box-shadow: 0 0 6px rgba(135,0,0,0.3);
}

.cform textarea.form-control {
    height: auto;
    border-radius: 10px;
}

/* Submit Button */
.cform .btn-primary {
    background: #870000;
    border-color: #870000;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 16px;
    transition: 0.3s ease;
}

.cform .btn-primary:hover {
    background: #a60000;
    border-color: #a60000;
}


/* ------------------------------
   CONTACT DETAILS BOX
------------------------------ */
.cform address {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.cform address i {
    color: #870000;
    margin-right: 5px;
}

.cform address a {
    color: #333;
    text-decoration: none;
    transition: 0.2s;
}

.cform address a:hover {
    color: #870000;
    font-weight: bold;
}

/* -----------------------
	Popup Overlay 
--------------------------*/
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* Popup Box */
.popup-box {
    background: #fff;
    width: 350px;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    animation: popFade 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
}

@keyframes popFade {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 1; transform: scale(1); }
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Icon Circle */
.popup-icon {
    font-size: 45px;
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #28a74520;
    color: #28a745;
    font-weight: bold;
}

/* Title */
.popup-title {
    font-size: 22px;
    margin-bottom: 8px;
}

/* Success Colors */
.popup-success .popup-icon {
    background: #28a74520;
    color: #28a745;
}
.popup-success .popup-title {
    color: #28a745;
}

/* Error Colors */
.popup-error .popup-icon {
    background: #dc354520;
    color: #dc3545;
}
.popup-error .popup-title {
    color: #dc3545;
}

/* ------------------------------
   DIVIDER LINE
------------------------------ */

.divider { border: none; height: 2px; background-color: #e6007e; margin: 40px 0; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	background: linear-gradient(to right, #c60067, #e6007e); border-radius: 2px;  /* smooth edges */}


/* ------------------------------
   MAP STYLING
------------------------------ */
  
.contact-map {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	margin-bottom: 30px;
}


/* -------------------------------------------------
   FOOTER
------------------------------------------------- */

.footer-main {
  width: 100%;
  height: auto;
  padding: 50px 0;
  background: #2a2a2a;
}

.footer-main h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 25px;
  border-bottom: 1px solid #525252;
}

.footer-main h3:after {
  content: "";
  position: absolute;
  width: 50px;
  background: #0d1452;
  left: 0;
  bottom: -2px;
  height: 4px;
}

.footer-main .footer-col p,
.footer-main .footer-col ul li,
.footer-main .footer-col .contact-item {
  color: #a3a3a3;
  font-size: 14px;
  line-height: 22px;
}

.footer-main .footer-col ul li {
  list-style-type: none;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
  transition: all 0.4s ease;
}

.footer-main .footer-col ul li a {
  color: #a3a3a3;
  transition: all 0.4s ease;
}

.footer-main .footer-col ul li a:hover {
  color: #fff;
}

.footer-main .footer-col ul li:before {
  color: #a3a3a3;
  content: "\f0a4";
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial; 
  position: absolute;
  top: 0;
  left: 0;
}

.footer-main .footer-col .contact-item .icon i {
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  background: #dedede;
  color: #2a2a2a;
  border-radius: 50%;
}

.footer-bottom {
  width: 100%;
  background-image: linear-gradient(to right, #870000, #190A05);
  padding: 14px 0;
}

.footer-bottom .footer-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.footer-line .copyright {
  font-size: 13px;
  color: #fff;
}

.footer-line .payment-icons {
  font-size: 12px;
  color: #a3a3a3;
}

.footer-line .developer-text {
  font-size: 11px;
  color: #a3a3a3;
}

.footer-bottom .developer-link {
  color: #a3a3a3;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-bottom .developer-link:hover {
  color: #ffffff;
  font-weight: bold;
}

.footer-bottom .payment-icons img {
  vertical-align: middle;
}

/* ------------------------------
   MODERN NEWSLETTER
------------------------------ */
.home-newsletter {
    position: relative;
    padding: 30px 0;
    color: #fff;
    text-align: center;
    font-family: 'Inter', sans-serif;
    overflow: hidden;

	/* Background image with linear tint overlay */ 
	background: linear-gradient(135deg, rgba(255, 59, 63, 0.4), rgba(28, 28, 28, 0.4)), url('assets/img/faq_banner.png') 
				center center / cover no-repeat; 
	background-blend-mode: overlay;
	z-index: 0;
}

/* Remove ::before overlay */
.home-newsletter::before {
    content: none;
}

/* Floating glowing triangles container */
.home-newsletter .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Triangle shapes */
.home-newsletter .particles span {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid rgba(255,255,255,0.15);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.4)) blur(1px);
    animation: floatTriangle linear infinite;
}


/* Triangle floating animation */
@keyframes floatTriangle {
    0% {
        transform: translate(0, 100vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    25% {
        transform: translateX(10px) translateY(75vh) rotate(90deg) scale(0.7);
        opacity: 0.5;
    }
    50% {
        transform: translateX(-10px) translateY(50vh) rotate(180deg) scale(0.9);
        opacity: 0.8;
    }
    75% {
        transform: translateX(10px) translateY(25vh) rotate(270deg) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translateX(0) translateY(-10vh) rotate(360deg) scale(1.2);
        opacity: 0;
    }
}


/* Content above overlay and particles */
.home-newsletter .single {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.home-newsletter .single h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.home-newsletter .input-group {
    display: flex;
    width: 100%;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.home-newsletter .form-control {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    border-radius: 50px 0 0 50px;
}

.home-newsletter .btn-theme {
    padding: 0 25px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.home-newsletter .btn-theme:hover {
    background: var(--accent-dark);
    color: #fff;
}

.home-newsletter .success-message,
.home-newsletter .error-message {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

@media (max-width: 575px) {

    .home-newsletter .form-control{
		border-radius: 50px 0 0 50px;
	}
    .home-newsletter .btn-theme {
        border-radius: 0 50px 50px 0;
    }
}

/* ------------------------------
   SCROLL UP BUTTON
------------------------------ */

.scrollup {
  position: fixed;
  z-index: 99999;
  bottom: 20px;
  right: 20px;
  display: none;
  margin-bottom: 40px;
}
.scrollup i {
  width: 50px;
  height: 50px;
  line-height: 40px;
  border-radius: 50%;
  background: #870000;
  color: #fff;
  border: 4px solid #870000;
  text-align: center;
  font-size: 26px;
  opacity: 0.5;
  filter: alpha(opacity=50);
}
.scrollup i:hover {
  opacity: 1;
  filter: alpha(opacity=1);
}

/* --------------------------------------------------
   LOGIN BANNER (top section)
-------------------------------------------------- */
.login-banner {
    width: 100%;
    padding: 4px 0;
    /*background: url("<?php echo BASE_URL; ?>assets/banners/<?php echo $banner_login; ?>") center/cover no-repeat;*/
	background:  linear-gradient(to right, #FFF1FA, #FFFFFF, #FFF1FA);
    position: relative;
    text-align: center;
}

.login-banner .inner h1 {
    color: #830336;
    font-size: 36px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}


/* --------------------------------------------------
   LOGIN WRAPPER
-------------------------------------------------- */
/* PAGE WRAPPER */
.login-page {
    padding: 5px 0;
}

.login {
    display: flex;
    justify-content: center;
}

/* ======================================================
   CHECKOUT
   ====================================================== */

.center {
    text-align: center;
    margin-top: 20px;
	padding: 20px;
}

/* Default: vertical stacking (mobile first) */
.center p {
    margin: 10px 0;
}

/* General button improvements */
.center a.btn {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.3s ease;
}

/* Custom red button (override bootstrap danger) */
.center a.btn-danger {
    background: var(--accent);
    border: none;
	border-radius: 20px;
}

/* Hover effect */
.center a.btn-danger:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Button click effect */
.center a.btn-danger:active {
    transform: scale(0.97);
}

/* Horizontally stacked for desktop */
@media (min-width: 768px) {
    .center {
        display: flex;
        justify-content: center;
        gap: 20px; /* space between buttons */
    }

    .center p {
        margin: 0; /* remove vertical spacing when horizontal */
    }
}

.login form {
    background: #fff;
    padding: 5px 5px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    width: 100%;
    max-width: 1200px;
    animation: fadeIn 0.5s ease;
	margin: 15px auto !important;
}

/* Title (if added in future) */
.login form h2 {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
}


/* --------------------------------------------------
   FORM FIELDS
-------------------------------------------------- */
.login .form-group {
	padding: 0 10px;
}

.login .form-group:first-of-type {
    margin-top: 10px;
}

.login .form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.login .form-control {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #dadada;
    background: #fafafa;
    font-size: 15px;
    transition: 0.25s;
}

/* Fix broken select text alignment */
.login select.form-control {
    line-height: 1.4;           /* resets collapsed height */
    height: auto;               /* prevents clipping */
    appearance: none;           /* makes styling more consistent */
    -webkit-appearance: none;
    -moz-appearance: none;
}



.login .form-control:focus {
    border-color: #e4144d;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(228,20,77,0.15);
    outline: none;
}


/* --------------------------------------------------
   SUBMIT BUTTON
-------------------------------------------------- */
.login .btn-success {
    width: 100%;
    padding: 12px 14px;
    background: #e4144d !important;
    border: none;
    border-radius: 8px;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

.login .btn-success:hover {
    background: #c01040 !important;
    transform: translateY(-1px);
}

.login .btn-success:active {
    transform: scale(0.98);
}

/* Forgot password link */
.login a {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    text-decoration: none;
    color: #e4144d !important;
    transition: 0.2s;
	margin-bottom: 10px;
	padding: 10px 10px;
}

.login a:hover {
    text-decoration: underline;
}

.login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

.login-links a {
    font-size: 14px;
    text-decoration: none;
    color: #e4144d;
    font-weight: 500;
}

.login-links a:hover {
    text-decoration: underline;
}

.login-links .register-link {
    font-weight: 600;
}


/* --------------------------------------------------
   SUCCESS / ERROR BOXES
-------------------------------------------------- */
.error, .success {
    border-radius: 8px;
    background: #fff;
    border-left: 4px solid;
    padding: 12px 14px;
    margin-bottom: 20px;
    font-size: 14px;
}

.error {
    border-color: #e4144d;
    background: rgba(228,20,77,0.08);
    color: #b50c3d;
}

.success {
    border-color: #28a745;
    background: rgba(40,167,69,0.08);
    color: #197c38;
}


/* --------------------------------------------------
   ANIMATIONS
-------------------------------------------------- */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}


/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */
@media(max-width: 576px) {
    .login-banner .inner h1 {
        font-size: 28px;
    }

    .login form {
        padding: 30px 25px;
    }
}


/*----------------------------------------
SUCCESS
------------------------------------------*/

.success-page {
    padding: 40px 0;
}

.box {
    border: none;
    background: #ffffff;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);

    /* Apply animation */
    opacity: 0;
    transform: translateY(25px);
    animation: fadeSlideUp 0.8s ease-out forwards;
}

.text-center h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.text-center h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.text-center address {
    font-size: 16px;
    line-height: 1.8;
}

.text-center a {
    color: #28a745;
    font-weight: 600;
    text-decoration: none;
}

.text-center a:hover {
    text-decoration: underline;
}

/* Center the whole block vertically and horizontally on screen */
.page .container {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* -------------------------------
   Animation Keyframes
-------------------------------- */
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ================================
   ADMIN DASHBOARD
=================================== */

/* ========== DASHBOARD CONTENT ========== */
.dashboard-page {
    padding: 5px 0;
}

.dashboard h3 {
    font-size: 26px;
    font-weight: bold;
    margin-top: 20px;
}

/* ===================== */
/* Base Styles           */
/* ===================== */

.user-sidebar {
    width: 100%;
    margin: 20px 0;
    text-align: center;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links a {
    display: block;
    text-decoration: none;
    margin: 8px 0;
}

.sidebar-links button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.3s ease;
    border: none;
		background: var(--accent);
	color: var(--light);
}

/* Button hover animation */
.sidebar-links button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
		background: var(--accent-dark);
}

/* ===================== */
/* Mobile Menu Toggle    */
/* ===================== */

.mobile-menu-toggle {
    display: none;
    width: 100%;
    background: #d9534f;
    color: #fff;
    padding: 14px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    margin-bottom: 10px;
}

/* MOBILE VIEW */
@media (max-width: 767px) {

    .mobile-menu-toggle {
        display: block;
		width: 75%;
		margin: 0 auto;
    }

    .sidebar-links {
        display: none; /* hidden by default */
        flex-direction: column;
        animation: dropdown 0.3s ease;
		width: 75%;
		margin: 0 auto;
    }

    @keyframes dropdown {
        0% {opacity: 0; transform: translateY(-10px);}
        100% {opacity: 1; transform: translateY(0);}
    }
}

/* ===================== */
/* DESKTOP VIEW          */
/* ===================== */

@media (min-width: 768px) {

    .mobile-menu-toggle {
        display: none;
    }

    .user-sidebar {
        display: flex;
        justify-content: center;
    }

    .sidebar-links {
        display: flex !important;   /* Always visible on desktop */
        gap: 15px;
    }

    .sidebar-links a {
        margin: 0;
    }

    .sidebar-links button {
        width: auto;
        padding: 10px 25px;
    }
}
