/*
Theme Name: My Theme
Theme URI: https://example.com
Author: Tuan
Author URI: https://example.com
Description: Theme WordPress cơ bản
Version: 1.0
License: GPL v2 or later
Text Domain: mytheme
*/

body {
  background-color: #e8e4df !important;
}

.header-wrapper {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  max-width: 1320px;
  margin: 20px auto;
  padding: 15px 30px;
}
/*==============Header====================*/

/* Logo + tagline */
.header-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-left img {
  height: 70px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.header-left p {
  margin: 0;
  text-align: center;
}

/* Menu giữa */
.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  width: 100%;
}

.nav-menu-item {
  color: #fff;
  text-decoration: none;
  padding: 15px 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-menu-item:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.nav-menu-item.active {
  background: rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.nav-menu-item.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #d35f3c;
}



/* =========================
   PROMOTIONAL BUTTONS
========================= */

.promo-buttons-wrapper {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.promo-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  flex: 1;
  max-width: 160px;
  position: relative;
  overflow: hidden;
}

.promo-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

.promo-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.promo-hot {
  background: linear-gradient(135deg, #f7a99f 0%, #eb2617 100%);
  color: #fff;
}

.promo-seasonal {
  background: linear-gradient(135deg, #f7a99f 0%, #eb2617 100%);
  color: #fff;
}

/* Icon wrapper with layered effects */
.promo-icon-wrapper {
  position: relative;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pulsing background glow */
.promo-icon-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Main rotating badge icon */
.promo-icon {
  font-size: 38px;
  position: relative;
  z-index: 2;
  animation: rotate 4s linear infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  color: #ffffff; /* White badge for contrast */
}

/* Inner icon (percent/gift) */
.promo-icon-inner {
  position: absolute;
  font-size: 15px;
  z-index: 3;
  animation: bounce 1.5s ease-in-out infinite;
  font-weight: 900;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hot deals - red/orange percent icon */
.promo-hot .promo-icon-inner {
  color: #ff3333;
}

/* Seasonal - blue gift icon */
.promo-seasonal .promo-icon-inner {
  color: #ff3333;
}

/* Text styling */
.promo-text {
  text-align: center;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

/* Animations */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.3;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.1);
  }
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* Icon mạng xã hội */
.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.social-icons a {
  font-size: 22px;
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.fa-facebook {
  color: #1877f2;
}
.fa-x-twitter {
  color: #000;
}
.fa-telegram {
  color: #28a9e0;
}
.fa-instagram {
  color: #e1306c;
}
.fa-youtube {
  color: #ff0000;
}

/*==============Main====================*/

.card-title a {
  text-decoration: none;
  color: #050505;
  hyphens: auto;
}

.card-title a:hover {
  color: #d35f3c;
}
.col-md-4 {
  padding: 15px !important;
}

.col-md-4 img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
  margin: 0 auto;
  display: block;
  max-width: 100%;
  object-fit: cover;
}
.card-text {
  margin-top: 15px;
}
.col-md-4 img:hover {
  transform: scale(1.05);
}

/* =========================
   NAVIGATION BAR (Standalone)
========================= */

.navigation-bar {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff5e3a 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 0;
  margin-bottom: 20px;
}

.navigation-bar .container-fluid {
  padding: 0;
}

.nav-menu-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.nav-menu {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 18px;
}

/* =========================
   CARD SYSTEM (CORE)
========================= */

.card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 18px;
}

/* Header */
.card-title {
  font-weight: 600;
  font-size: 18px;
}

/* Body */
.card-body {
  padding: 12px 16px;
}

/* =========================
   LIST CONTENT (SIDEBAR)
========================= */

.card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-body li {
  border-bottom: 1px dashed #e5dada;
  line-height: 36px;
}

.card-body li:last-child {
  border-bottom: none;
}

.card-body a {
  color: #333;
  text-decoration: none;
}

.card-body a:hover {
  color: #d35f3c;
}

/* Sidebar specific - ensure color consistency */
.sidebar .card-body a {
  color: #333;
}

.sidebar .card-body a:hover {
  color: #d35f3c !important;
}

/* =========================
   SEARCH FORM
========================= */

.card-body form.search-form {
  display: flex;
  gap: 8px;
}

.card-body .search-field {
  flex: 1;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.card-body .search-submit {
  background: #ff5e3a;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.card-body .search-submit:hover {
  opacity: 0.9;
}

/* =========================
   WIDGET FIX (OPTIONAL)
========================= */

.sidebar-widget ul {
  margin: 0;
}

/* =========================
   CARD VARIANTS (OPTIONAL)
========================= */

.card--highlight {
  border-color: #ff5e3a;
  background: #fff7f4;
}

.card--cta {
  background: linear-gradient(135deg, #ff5e3a, #ff784e);
  color: #fff;
}

.card--cta a {
  color: #fff;
}

/*==============Footer====================*/

.footer {
  background-color: #fff;
  color: #222;
  font-family: "Poppins", sans-serif;
}

.footer a,
footer.footer a,
.footer-bottom a {
  text-decoration: none;
  color: inherit;
  position: relative;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  display: inline-block;
}

.footer a:hover,
.footer-bottom a:hover {
  text-decoration: none;
  color: #d35f3c;
  transform: translateX(4px);
}

/* Footer About Section Spacing */
.footer .btn-outline-light {
  margin-bottom: 20px;
  margin-top: 10px;
}

.footer .custom-logo-link {
  display: block;
  margin-top: 20px;
}

.footer .grey-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #555;
}

.footer .cat-title {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
}

/* Email Subscription Form in Footer */
.footer .es_subscription_form_container {
  max-width: 100%;
}

.footer .es_subscription_form h3,
.footer .es_subscription_form_container h3 {
  font-size: 16px !important;
  font-weight: 600 !important;
  margin-bottom: 10px !important;
  color: #222 !important;
}

.footer .es_subscription_form p,
.footer .es_subscription_form_container p {
  font-size: 13px !important;
  line-height: 1.5 !important;
  margin-bottom: 12px !important;
  color: #666 !important;
}

.footer .es_subscription_form input[type="text"],
.footer .es_subscription_form input[type="email"],
.footer .es_subscription_form_container input[type="text"],
.footer .es_subscription_form_container input[type="email"] {
  font-size: 13px !important;
  padding: 8px 12px !important;
  margin-bottom: 10px !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  width: 100% !important;
}

.footer .es_subscription_form input[type="submit"],
.footer .es_subscription_form_container input[type="submit"],
.footer .es_subscription_form button,
.footer .es_subscription_form_container button {
  font-size: 13px !important;
  padding: 10px 20px !important;
  background: #d35f3c !important;
  border: none !important;
  border-radius: 4px !important;
  color: #fff !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
  width: 100% !important;
}

.footer .es_subscription_form input[type="submit"]:hover,
.footer .es_subscription_form_container input[type="submit"]:hover,
.footer .es_subscription_form button:hover,
.footer .es_subscription_form_container button:hover {
  background: #b84d2f !important;
}

.footer .es_subscription_form .es_caption_label,
.footer .es_subscription_form_container .es_caption_label {
  font-size: 11px !important;
  color: #999 !important;
  margin-top: 8px !important;
  line-height: 1.4 !important;
}

/* Đường phân cách form contact */
.section-divider {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 40px 0;
}

/* ===== TABLET: max-width 768px ===== */
@media (max-width: 768px) {
  .header-wrapper {
    border-radius: 25px;
    padding: 20px;
  }

  .header-left {
    margin-bottom: 10px;
  }

  .header-left p {
    font-size: 13px;
  }

  .header-left img {
    height: 45px;
  }

  .promo-buttons-wrapper {
    flex-direction: column;
    gap: 12px;
    margin: 15px 0;
  }

  .promo-button {
    max-width: 100%;
    padding: 15px 20px;
    font-size: 11px;
  }

  .promo-icon-wrapper {
    width: 50px;
    height: 50px;
  }

  .promo-icon {
    font-size: 40px;
  }

  .promo-icon-inner {
    font-size: 16px;
  }

  .navigation-bar {
    margin-bottom: 15px;
  }

  .nav-menu-wrapper {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu-item {
    width: 100%;
    text-align: center;
    border-right: none !important;
    border-left: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
  }

  .nav-menu-item:last-child {
    border-bottom: none;
  }

  .nav-menu {
    flex-wrap: wrap;
    margin-bottom: 10px;
  }

  .social-icons {
    justify-content: center;
    margin-top: 10px;
    gap: 10px;
  }

  .social-icons a {
    font-size: 18px;
  }

  .col-md-4 {
    padding-left: 0 !important;
    width: 90%;
    margin: 15px auto;
  }

  .col-md-4 img {
    width: 90%;
    height: auto;
  }
}

/* ===== MOBILE: max-width 600px ===== */
@media (max-width: 600px) {
  .header-wrapper {
    padding: 15px 20px;
    margin: 15px auto;
  }

  .header-left img {
    height: 40px;
  }

  .header-left p {
    font-size: 11px;
  }

  .nav-menu {
    gap: 10px;
    font-size: 14px;
  }

  .social-icons {
    gap: 8px;
  }

  .social-icons a {
    font-size: 16px;
  }

  .col-md-4 {
    width: 100%;
    margin: 12px auto;
  }
}

/*==============Post====================*/

/* Center align images in post content */
.entry-content img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

#content .entry-title {
  width: 100%;
}
.col-md-12 {
  padding: 15px !important;
}
.entry-title {
  border-bottom: 0 none !important;
  margin: 0 0 5px 0;
  display: inline-block;
  width: 80%;
  text-shadow: 1px 0 1px #fff;
  font-size: 24px;
  line-height: 40px;
  letter-spacing: -1px;
  color: #0c0c0c;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
}
.entry-meta {
  color: #666;
  padding: 0.225em 0 0 0;
}

.entry-meta p {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin: 0;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 14px;
}

.meta-item i {
  font-size: 14px;
  color: #333;
  transition: color 0.2s ease;
}

.meta-item a {
  color: #056ff8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.meta-item a:hover {
  color: #d35f3c;
}

.meta-item strong {
  color: #d35f3c;
  font-weight: 600;
}
hr.spa {
  border: 0;
  height: 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  clear: both;
  margin: 5px 0 10px;
}
.tags {
  margin-top: 15px;
}
.tags .chip {
  display: inline-block;
  padding: 7px 16px;
  margin: 4px;
  background: #f3f3f3;
  color: #333;
  border-radius: 25px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #e2e2e2;
  transition: 0.2s ease;
}

.tags .chip:hover {
  background: #fff7f4;
  border-color: #d35f3c;
  color: #d35f3c;
}

.tags .tag-title {
  font-weight: bold;
  margin-right: 10px;
  font-size: 14px;
  color: #444;
}

/* ===== Comment Section Styling ===== */

#comments {
  border-top: 2px solid #eee;
  padding-top: 30px;
  margin-top: 40px;
}

/* Title căn giữa đẹp */
#comments h2,
.comment-reply-title {
  text-align: center;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

/* Mô tả "Your email address…" */
.comment-notes {
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-bottom: 25px;
}

/* Textarea đẹp như bạn muốn */
.comment-form textarea {
  border-radius: 12px;
  padding: 14px;
  border: 1px solid #ddd;
  transition: 0.2s ease-in-out;
}

.comment-form textarea:focus {
  border-color: #d35f3c;
  box-shadow: none;
}

/* Input Name / Email / Website theo Bootstrap UI */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid #ddd;
  transition: 0.2s;
}

.comment-form input:focus {
  border-color: #d35f3c;
  box-shadow: none;
}

/* Checkbox */
.comment-form .comment-form-cookies-consent input {
  width: auto;
  margin-right: 6px;
}

/* Submit Button Styling */
.form-submit .submit {
  background: #d35f3c;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 16px;
  display: inline-block;
  transition: 0.2s ease;
}

.form-submit .submit:hover {
  background: #c85a30;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(211, 95, 60, 0.2);
}

.form-submit .submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(211, 95, 60, 0.1);
}

/* Căn giữa nút Post Comment */
.form-submit {
  text-align: center;
  margin-top: 20px;
}

/* Khoảng cách form đẹp hơn */
.comment-form p {
  margin-bottom: 15px;
}

/* Checkbox căn thẳng hàng với label */
.comment-form .form-check {
  display: flex;
  align-items: center;
}

.comment-form .form-check-input {
  width: auto;
  height: auto;
  margin-top: 0;
  margin-right: 0.5rem;
  vertical-align: middle;
  flex-shrink: 0;
}

.comment-form .form-check-label {
  margin-bottom: 0;
  display: flex;
  align-items: center;
}
label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block !important;
}

input.form-control {
  border-radius: 6px;
  padding: 10px;
}
.required {
  color: #d35f3c;
}

/* Đảm bảo label trong comment form nằm trên input */
.comment-form .row .col-md-4 > label {
  display: block;
  width: 100%;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

/* Đảm bảo label và input trong div.mb-3 nằm chính xác */
.comment-form .row .col-md-4 .mb-3 label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.comment-form .row .col-md-4 .mb-3 input {
  width: 100%;
}

/* Nếu có label dùng inline-flex/float trước đó, override */
.comment-form .row .col-md-4 > label {
  float: none;
  display: block;
}

/* ===== Heading Styles trong Post ===== */

h2 {
  font-size: 22px;
  font-weight: 600;
  color: #000000;
  margin: 25px 0 15px 0;
  line-height: 1.4;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  margin: 20px 0 12px 0;
  line-height: 1.4;
}

h4 {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  margin: 18px 0 10px 0;
  line-height: 1.4;
}

h5 {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  margin: 15px 0 8px 0;
  line-height: 1.4;
}

/* ===== Blockquote Styles ===== */

.entry-content blockquote,
blockquote {
  background-color: #f5f5f5;
  border-left: 4px solid #d35f3c;
  margin: 20px 0;
  padding: 15px 20px;
  font-style: italic;
  color: #333;
  border-radius: 4px;
  position: relative;
}

.entry-content blockquote p,
blockquote p {
  margin: 0;
  line-height: 1.6;
  font-size: 15px;
}

.entry-content blockquote p:last-child,
blockquote p:last-child {
  margin-bottom: 0;
}

/* Blockquote with citation */
.entry-content blockquote cite,
blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #666;
  font-style: normal;
  font-weight: 600;
}

.entry-content blockquote cite:before,
blockquote cite:before {
  content: "— ";
}

/* ===== Code Block Styles ===== */

/* Code blocks - Simple and clean for plugin compatibility */
.entry-content pre,
pre {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  overflow-x: auto;
  margin: 20px 0;
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

/* Inline code - Subtle highlight for readability */
.entry-content code,
code {
  background-color: #f0f0f0;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  font-size: 14px;
  color: #333;
  border: 1px solid #e0e0e0;
}

/* Code inside pre blocks - Reset inline code styling */
.entry-content pre code,
pre code {
  background-color: transparent;
  padding: 0;
  border: none;
  color: inherit;
  font-size: inherit;
}

/* ===== List Styles ===== */

.entry-content ul,
.entry-content ol {
  margin: 15px 0;
  padding-left: 30px;
}

.entry-content ul li,
.entry-content ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.entry-content ul {
  list-style-type: disc;
}

.entry-content ul ul {
  list-style-type: circle;
  margin-top: 8px;
}

.entry-content ol {
  list-style-type: decimal;
}

/* ===== Paragraph Styles ===== */

.entry-content p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #333;
}

/* ===== Link Styles in Content ===== */

.entry-content a {
  color: #d35f3c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.entry-content a:hover {
  color: #c85a30;
  text-decoration: underline;
}

/* ===== Horizontal Rule ===== */

.entry-content hr {
  border: 0;
  border-top: 2px solid #eee;
  margin: 30px 0;
}

/* ===== Table Styling trong Post ===== */

.entry-content table,
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  border: 2px solid #d35f3c;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

table thead {
  background: #d35f3c;
  color: #fff;
  border-bottom: 2px solid #d35f3c;
}

table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

table th:last-child {
  border-right: none;
}

table td {
  padding: 12px 16px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

table td:last-child {
  border-right: none;
}

table tbody tr:last-child td {
  border-bottom: none;
}

table tbody tr:nth-child(odd) {
  background: #f9f9f9;
}

table tbody tr:hover {
  background: #fff7f4;
}

table tbody tr:hover td {
  color: #d35f3c;
}

/* ===== Table Responsive (Mobile) ===== */

@media (max-width: 768px) {
  .entry-content table,
  table {
    font-size: 16px;
    margin: 15px 0;
    border: 1px solid #ddd;
  }

  table thead {
    display: table-header-group;
    background: #d35f3c;
  }

  table th {
    padding: 10px 12px;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    border: 1px solid #ddd;
  }

  table tr {
    display: table-row;
    margin-bottom: 10px;
    border: 1px solid #ddd;
  }

  table td {
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    display: table-cell;
  }

  table tbody tr:nth-child(odd) {
    background: #f9f9f9;
  }

  table tbody tr:hover {
    background: #fff7f4;
  }

  table tbody tr:hover td {
    color: #d35f3c;
  }
}

@media (max-width: 480px) {
  .entry-content table,
  table {
    font-size: 14px;
    margin: 10px 0;
  }

  table th,
  table td {
    padding: 8px 10px;
    font-size: 14px;
  }

  table {
    border: 1px solid #ddd;
  }
}
/* ============== PAGINATION ============== */
.pagination-wrapper {
  margin-top: 40px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.pagination-wrapper .page-numbers {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.pagination-wrapper .page-numbers li {
  display: inline;
}

.pagination-wrapper .page-numbers a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  background-color: #fff;
  cursor: pointer;
}

.pagination-wrapper .page-numbers a:hover {
  background-color: #d35f3c;
  color: #fff;
  border-color: #d35f3c;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pagination-wrapper .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-weight: 500;
}

.pagination-wrapper .page-numbers span.page-numbers {
  color: #333;
  background-color: #fff;
}

.pagination-wrapper .page-numbers span.dots {
  color: #999;
  border: none;
  cursor: default;
}

.pagination-wrapper .page-numbers span.current {
  background-color: #d35f3c;
  color: #fff;
  border-color: #d35f3c;
  font-weight: 600;
  cursor: default;
}

/* Responsive pagination */
@media (max-width: 768px) {
  .pagination-wrapper .page-numbers a,
  .pagination-wrapper .page-numbers span {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .pagination-wrapper .page-numbers span.current {
    width: 36px;
    height: 36px;
  }
}

/*==============Footer====================*/
.footer {
  background-color: #807e7e;
  color: #ecf0f1;
}

.footer .cat-title {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer p {
  color: #bdc3c7;
}

.footer a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #d35f3c;
}

.footer-bottom {
  background-color: #504f4f;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer-bottom .text-muted {
  color: #95a5a6 !important;
}

.footer img {
  height: 60px;
  max-width: 100%;
}

/*==============Sidebar Banner====================*/
.sidebar-banner .card-body {
  overflow: hidden;
  border-radius: 10px;
}

.sidebar-banner .banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.sidebar-banner a:hover .banner-img {
  transform: scale(1.05);
  opacity: 0.9;
}

.sidebar-banner .banner-img {
  object-fit: cover;
}

/*==============Sidebar Posts====================*/
.sidebar-post-item {
  margin-bottom: 1rem;
}

.sidebar-post-item a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: opacity 0.2s ease;
}

.sidebar-post-item a:hover {
  opacity: 0.8;
}

.sidebar-post-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #f0f0f0;
}

.sidebar-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar-post-content {
  flex: 1;
  min-width: 0;
}

.sidebar-post-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-post-item a:hover .sidebar-post-title {
  color: #d35f3c;
}

/* Featured Coupons Widget */
.featured-coupons-widget .card-body {
  padding: 15px;
}

.featured-coupons-title {
  font-size: 14px;
  font-weight: 700;
  color: #ff5e3a;
  text-transform: uppercase;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ff5e3a;
}

.featured-coupons-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.featured-coupon-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  transition: all 0.3s ease;
}

.featured-coupon-item:hover {
  border-color: #ff5e3a;
  box-shadow: 0 2px 8px rgba(255, 94, 58, 0.1);
}

.featured-coupon-item.expired {
  opacity: 0.6;
  background: #f9f9f9;
}

.featured-coupon-logo {
  text-align: center;
  margin-bottom: 10px;
}

.featured-coupon-logo img {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  padding: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.featured-coupon-logo img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.featured-coupon-logo-placeholder {
  width: 180px;
  height: 100px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.featured-coupon-logo-placeholder i {
  font-size: 24px;
  color: #999;
}

.featured-coupon-provider {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.featured-coupon-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 8px 0;
}

.featured-coupon-title a {
  color: #333;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-coupon-title a:hover {
  color: #ff5e3a;
}

.featured-coupon-excerpt {
  font-size: 12px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-coupon-excerpt .read-more {
  color: #ff5e3a;
  text-decoration: none;
  font-weight: 600;
}

.featured-coupon-excerpt .read-more:hover {
  text-decoration: underline;
}
/* Logo và site description */
.header-left img {
  height: 70px;
  width: auto;
}

.header-left p {
  font-size: 14px;
  color: #666;
  margin: 5px 0 0 0;
}

/* Nút "Gửi Coupon" */
.submit-coupon-btn {
  background: linear-gradient(135deg, #e85d3c 0%, #d35f3c 100%);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(227, 93, 60, 0.3);
}

.submit-coupon-btn:hover {
  background: linear-gradient(135deg, #d35f3c 0%, #b84d2f 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(227, 93, 60, 0.4);
  text-decoration: none;
  color: #fff;
}

.submit-coupon-btn:active {
  transform: translateY(0);
  background-color: #d35f3c;
}

.featured-coupon-action {
  gap: 8px;
}

.featured-coupon-btn {
  background: linear-gradient(135deg, #ff9500, #ff5e3a);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(255, 94, 58, 0.3);
}

.featured-coupon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 94, 58, 0.4);
}

.featured-coupon-btn .btn-code {
  display: block;
  font-size: 16px;
  font-weight: 700;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.featured-coupon-btn .btn-text {
  display: block;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
}

.featured-coupon-btn.expired {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
}

.featured-coupon-btn.expired:hover {
  transform: none;
}

.featured-coupon-expiry {
  font-size: 11px;
  color: #666;
  text-align: center;
}

.featured-coupon-item.expired .featured-coupon-expiry {
  color: #dc3232;
  font-weight: 600;
}

/*==============Contact Form - Privacy Policy====================*/

/* Privacy Policy Checkbox Container */
#contactform .form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

#contactform .form-check:hover {
  background-color: #fff;
  border-color: #d35f3c;
}

/* Checkbox Styling */
#contactform .form-check-input {
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid #999;
  transition: all 0.2s ease;
}

#contactform .form-check-input:checked {
  background-color: #d35f3c;
  border-color: #d35f3c;
}

#contactform .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(211, 95, 60, 0.25);
  border-color: #d35f3c;
}

/* Label Styling */
#contactform .form-check-label {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
  cursor: pointer;
  user-select: none;
}

/* Remove underline from Privacy Policy link */
#contactform .form-check-label a {
  color: #d35f3c;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

/* Add hover effect to link */
#contactform .form-check-label a:hover {
  color: #c85a30;
  border-bottom: 1px solid #c85a30;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #contactform .form-check {
    padding: 12px;
  }

  #contactform .form-check-label {
    font-size: 13px;
  }
}

/*==============Contact Form - Submit Button====================*/

/* Match the Post Comment button styling */
#contactform .btn-primary,
#contactform button[type="submit"] {
  background: #d35f3c !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
  transition: all 0.2s ease;
  box-shadow: none;
}

#contactform .btn-primary:hover,
#contactform button[type="submit"]:hover {
  background: #c85a30 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(211, 95, 60, 0.2) !important;
}

#contactform .btn-primary:active,
#contactform button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(211, 95, 60, 0.1) !important;
}

#contactform .btn-primary:focus,
#contactform button[type="submit"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(211, 95, 60, 0.25) !important;
}

/*==============Coupon System====================*/

/* Coupon Archive Header */
.coupon-archive-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
}

.coupon-archive-header .archive-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.coupon-archive-header .archive-description {
  font-size: 16px;
  color: #666;
}

/* Coupon Tabs */
.coupon-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.coupon-tab {
  background: #fff;
  border: 2px solid #e0e0e0;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.coupon-tab:hover {
  border-color: #d35f3c;
  color: #d35f3c;
  transform: translateY(-2px);
}

.coupon-tab.active {
  background: #d35f3c;
  border-color: #d35f3c;
  color: #fff;
}

.coupon-tab i {
  font-size: 16px;
}

/* Coupon Filters */
.coupon-filters {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-group label {
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 5px;
}

.coupon-filter-select {
  padding: 8px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.3s ease;
  min-width: 180px;
}

.coupon-filter-select:focus {
  outline: none;
  border-color: #d35f3c;
}

/* Coupon Grid */
.coupon-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

/* Horizontal Coupon Card */
.coupon-card-horizontal {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.coupon-card-horizontal:hover {
  border-color: #ff5e3a;
  box-shadow: 0 4px 12px rgba(255, 94, 58, 0.15);
  transform: translateY(-2px);
}

.coupon-card-horizontal.coupon-expired {
  opacity: 0.6;
  background: #f9f9f9;
}

.coupon-card-horizontal.coupon-featured {
  border-color: #ff5e3a;
  border-width: 3px;
}

/* Logo Wrapper (Left Column) */
.coupon-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #f9f9f9;
  height: 100%;
  min-height: 180px;
}

.coupon-logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.coupon-logo-img:hover {
  transform: scale(1.05);
}

.coupon-logo-placeholder {
  width: 80px;
  height: 80px;
  background: #e0e0e0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.coupon-logo-placeholder i {
  font-size: 32px;
  color: #999;
}

.coupon-provider-name {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  text-align: center;
}

.coupon-provider-name a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.coupon-provider-name a:hover {
  color: #d35f3c;
  text-decoration: none;
}

/* Content (Middle Column) */
.coupon-card-horizontal .card-body {
  padding: 20px;
}

.coupon-card-horizontal .coupon-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.coupon-card-horizontal .coupon-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.coupon-card-horizontal .coupon-title a:hover {
  color: #ff5e3a;
}

.coupon-card-horizontal .coupon-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 12px;
}

.coupon-meta-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 13px;
}

.coupon-meta-info .coupon-expiry {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #666;
}

.coupon-meta-info .coupon-expiry.expired {
  color: #dc3232;
  font-weight: 600;
}

.coupon-meta-info .coupon-expiry i {
  font-size: 14px;
}

.coupon-meta-info .coupon-uses,
.coupon-meta-info .coupon-comments {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #666;
}

.coupon-meta-info .coupon-uses i {
  color: #d35f3c;
  font-size: 13px;
}

.coupon-meta-info .coupon-comments i {
  color: #3b82f6;
  font-size: 13px;
}

/* Verified Date in Coupon Card */
.coupon-meta-info .coupon-verified {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #666;
  white-space: nowrap;
}

.coupon-meta-info .coupon-verified i {
  color: #28a745;
  font-size: 13px;
  flex-shrink: 0;
}

/* Action Wrapper (Right Column) */
.coupon-action-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 15px;
  height: 100%;
  background: linear-gradient(135deg, #fff7f4 0%, #fff 100%);
}

.coupon-discount-badge {
  background: linear-gradient(135deg, #ff5e3a, #ff784e);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 12px rgba(255, 94, 58, 0.3);
  min-width: 100px;
}

.coupon-btn {
  background: #ff5e3a;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 180px;
}

.coupon-btn:hover {
  background: #d35f3c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(211, 95, 60, 0.3);
}

.coupon-btn.copied {
  background: #46b450;
}

.coupon-btn-disabled {
  background: #ccc;
  cursor: not-allowed;
}

.coupon-btn-disabled:hover {
  background: #ccc;
  transform: none;
  box-shadow: none;
}

/* Featured Badge */
.coupon-featured {
  border-color: #ff5e3a;
  background: linear-gradient(135deg, #fff7f4 0%, #fff 100%);
}

.coupon-featured-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: linear-gradient(135deg, #ff5e3a, #ff784e);
  color: #fff;
  padding: 6px 16px;
  border-radius: 0 10px 0 10px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Expired State */
.coupon-expired {
  opacity: 0.6;
  filter: grayscale(50%);
}

/* Single Coupon Page */
.single-coupon-card {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
}

.single-coupon-header {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 25px;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 25px;
}

.single-coupon-logo img {
  max-width: 120px;
  max-height: 100px;
  object-fit: contain;
  border-radius: 8px;
}

.single-coupon-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px 0;
}

.single-coupon-provider {
  font-size: 16px;
  color: #666;
  font-weight: 600;
}

.single-coupon-discount {
  background: linear-gradient(135deg, #ff5e3a, #ff784e);
  color: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 12px rgba(255, 94, 58, 0.3);
}

/* Single Coupon Action Section */
.single-coupon-action-section {
  margin-bottom: 30px;
}

.single-coupon-action-box {
  background: linear-gradient(135deg, #fff7f4 0%, #fff 100%);
  border: 3px solid #ff5e3a;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(255, 94, 58, 0.15);
}

.coupon-code-label,
.coupon-deal-label {
  font-size: 14px;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.coupon-code-label i,
.coupon-deal-label i {
  color: #ff5e3a;
  font-size: 16px;
}

.coupon-instruction {
  margin-top: 15px;
  font-size: 13px;
  color: #666;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.coupon-instruction i {
  color: #ff5e3a;
}

.coupon-quick-info {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px dashed #e0e0e0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.quick-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.quick-info-item i {
  color: #666;
  font-size: 16px;
}

.quick-info-item.highlight {
  background: linear-gradient(135deg, #ff5e3a, #ff784e);
  border-color: #ff5e3a;
  color: #fff;
}

.quick-info-item.highlight i {
  color: #fff;
}

/* Single Coupon Content Section */
.single-coupon-content-section {
  margin-bottom: 30px;
}

.content-intro {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid #f0f0f0;
}

.content-intro h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-intro h2 i {
  color: #ff5e3a;
  font-size: 22px;
}

/* ===== Floating Comment Button ===== */
.floating-comment-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #d35f3c, #ff784e);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(211, 95, 60, 0.4);
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 999;
  cursor: pointer;
}

.floating-comment-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 20px rgba(211, 95, 60, 0.6);
  color: #fff;
  text-decoration: none;
}

.floating-comment-btn i {
  font-size: 24px;
  position: relative;
}

.floating-comment-btn .comment-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff0000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
  border: 2px solid #fff;
  line-height: 1;
}

/* Hide button when scrolled to comments section */
.floating-comment-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100px);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .floating-comment-btn {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .floating-comment-btn i {
    font-size: 20px;
  }

  .floating-comment-btn .comment-count {
    font-size: 10px;
    padding: 2px 5px;
    min-width: 18px;
  }
}

.single-coupon-content {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}

.single-coupon-content p {
  margin-bottom: 18px;
}

.single-coupon-content h2,
.single-coupon-content h3,
.single-coupon-content h4 {
  color: #333;
  font-weight: 700;
  margin-top: 25px;
  margin-bottom: 15px;
}

.single-coupon-content h2 {
  font-size: 22px;
}

.single-coupon-content h3 {
  font-size: 20px;
}

.single-coupon-content h4 {
  font-size: 18px;
}

.single-coupon-content ul,
.single-coupon-content ol {
  margin-bottom: 18px;
  padding-left: 25px;
}

.single-coupon-content li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.single-coupon-content a {
  color: #ff5e3a;
  font-weight: 600;
}

.single-coupon-content a:hover {
  color: #d35f3c;
  text-decoration: underline;
}

.single-coupon-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px auto;
  display: block;
}

.single-coupon-content blockquote {
  border-left: 4px solid #ff5e3a;
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  color: #666;
}

.coupon-code-reveal {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.coupon-code-display {
  background: #fff;
  border: 2px dashed #d35f3c;
  border-radius: 8px;
  padding: 15px;
  font-size: 20px;
  font-weight: 700;
  color: #d35f3c;
  letter-spacing: 2px;
}

.coupon-btn-large {
  background: #d35f3c;
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.coupon-btn-large:hover {
  background: #c85a30;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(211, 95, 60, 0.3);
}

.coupon-expired-notice {
  background: #fff3cd;
  border: 2px solid #ffc107;
  color: #856404;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.coupon-expiry-info {
  margin-top: 15px;
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Last Verified Date Display */
.coupon-verified-info {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.coupon-verified-info .fa-check-circle {
  color: #28a745; /* Green checkmark for trust */
  font-size: 15px;
}

.coupon-verified-info .verified-date {
  font-weight: 600;
  color: #333333;
}


.single-coupon-meta {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 2px solid #f0f0f0;
}

.coupon-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.coupon-categories strong {
  color: #333;
}

.coupon-categories .chip {
  background: #f3f3f3;
  color: #333;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid #e0e0e0;
  transition: all 0.2s ease;
}

.coupon-categories .chip:hover {
  background: #fff7f4;
  border-color: #d35f3c;
  color: #d35f3c;
}

/* Related Coupons */
.related-coupons {
  margin-top: 40px;
}

.related-coupons h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

/* No Coupons Found */
.no-coupons-found {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.no-coupons-found i {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.no-coupons-found h3 {
  font-size: 24px;
  color: #666;
  margin-bottom: 10px;
}

.no-coupons-found p {
  font-size: 16px;
  color: #999;
}

/* Loading State */
.coupon-loading {
  text-align: center;
  padding: 40px;
  font-size: 18px;
  color: #666;
}

.coupon-loading i {
  font-size: 32px;
  margin-bottom: 15px;
  display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
  .coupon-card-inner {
    grid-template-columns: 100px 1fr auto;
    gap: 15px;
  }

  .coupon-logo img {
    max-width: 80px;
    max-height: 60px;
  }

  .single-coupon-action-box {
    padding: 25px;
  }

  .content-intro h2 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  /* Stack coupon card columns vertically on mobile */
  .coupon-card-horizontal .row {
    flex-direction: column;
  }

  .coupon-card-horizontal .col-md-3,
  .coupon-card-horizontal .col-md-6 {
    max-width: 100%;
  }

  .coupon-logo-wrapper {
    min-height: auto;
    padding: 15px;
  }

  .coupon-action-wrapper {
    padding: 15px;
  }

  .single-coupon-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .single-coupon-logo {
    margin: 0 auto;
  }

  .single-coupon-discount {
    font-size: 20px;
    padding: 15px 20px;
  }

  .single-coupon-action-box {
    padding: 20px;
  }

  .content-intro h2 {
    font-size: 20px;
  }

  .single-coupon-content {
    font-size: 15px;
  }

  .coupon-quick-info {
    flex-direction: column;
    gap: 10px;
  }

  .quick-info-item {
    width: 100%;
    justify-content: center;
  }

  .coupon-tabs {
    flex-direction: column;
  }

  .coupon-tab {
    width: 100%;
    justify-content: center;
  }

  .coupon-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    flex-direction: column;
    align-items: stretch;
  }

  .coupon-filter-select {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .coupon-archive-header .archive-title {
    font-size: 24px;
  }

  .coupon-title {
    font-size: 16px;
  }

  .coupon-discount-badge {
    font-size: 16px;
    padding: 10px 16px;
  }

  .single-coupon-title {
    font-size: 22px;
  }

  .content-intro h2 {
    font-size: 18px;
  }

  .single-coupon-content {
    font-size: 14px;
  }

  .coupon-btn-large {
    font-size: 15px;
    padding: 14px 24px;
  }
}

/* Breadcrumb Navigation */
.breadcrumbs {
  font-size: 14px;
  color: #666;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 25px;
}

.breadcrumbs a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: #004499;
  text-decoration: underline;
}

.breadcrumbs .separator {
  margin: 0 8px;
  color: #999;
}

.breadcrumbs .current {
  color: #333;
  font-weight: normal;
}
