
.coupons h2 {
	border-top: 1px solid #d1d1d1; 
	border-bottom: 1px solid #d1d1d1; 
	padding: 0.2em 0 0.4em 0;
	text-align: center;
	margin: 1em 0 1em 0;	
	clear: both;
}

.coupons {
  text-align: center;
  clear: both;
  margin-bottom: 20px;
}

.cpn_line {}

.c_title {
  color: #ec6060; /* Primary blue from the page */
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 1.2em;
}

.c_name {
  margin-bottom: 1px;
  font-size: 1.1em;
}

.cpn_blk {
  float: left;
  position: relative;
  margin-left: 7px;
  margin-bottom: 7px;
  border: 1px dashed #199bdc; /* Use the primary blue for the border */
  padding: 15px 10px;
  background-color: rgba(25, 155, 220, 0.05); /* Light tint of primary blue */
  width: 140px;
  height: 140px;
  border-radius: 5px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cpn_blk:hover {
  transform: translateY(-5px);
}

.cpn_blk:nth-child(even) {
  background-color: rgba(25, 155, 220, 0.11); /* Slightly darker tint of primary blue */
}

.c_btn {
  background-color: #28a745; /* Bootstrap-like green for a positive action */
  border: none;
  color: white;
  padding: 5px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.1em;
  cursor: pointer;
  border-radius: 2px;
  transition: background-color 0.3s ease;
  margin-top: px;
}

.c_btn:hover {
  background-color: #218838; /* Darker shade on hover */
}

.c_btn:active {
  background-color: #1e7e34; /* Even darker shade on active */
}

.c_btn[disabled] {
  background-color: #6c757d !important; /* Greyed out button */
  cursor: not-allowed; /* Indicate it's not clickable */
  opacity: 0.3; /* Further reduce prominence */
}

.c_note {
  transform: rotate(-10deg);
  position: absolute;
  bottom: 12px;
  right: 5px;
  background-color: #ffc107; /* Bootstrap-like warning yellow */
  color: #212529; /* Dark text for contrast on yellow */
  padding: 3px 5px;
  font-size: 0.8em;
  border-radius: 3px;
  font-weight: bold;
}

.cpn_expired {
  filter: grayscale(1);
  opacity: 0.5;
  transform: rotate(2deg);
}

.cpn_upcoming {
  opacity: 0.3;
  transform: rotate(2deg);
}

/* Disable hover effect and cursor change for expired and upcoming coupons */
.cpn_expired:hover,
.cpn_upcoming:hover {
  transform: rotate(2deg) !important; /* Override any other transforms */
}

.cpn_expired .c_btn,
.cpn_upcoming .c_btn{
  cursor: not-allowed;
}

.cpn_time {
  position: absolute;
  top: 5px; /* Position in the top left corner */
  left: 5px;
  background-color: rgba(79, 119, 130, 0.6); /* Semi-transparent black */
  color: white;
  padding: 2px 5px;
  margin-bottom: 0;
  border-radius: 3px;
  font-size: 0.85em;  /* Slightly smaller font for better fit */
  font-weight: bold; /* Make it stand out */
}