/* Mobile two-column product grid */
@media (max-width: 575.98px) {
  #products-grid.row,
  .row#products-grid {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }
  #products-grid .product-item .product-thumb,
  #products-grid .product-content {
    padding: 0.5rem;
  }
  #products-grid .product-title,
  #products-grid .product-name {
    font-size: 0.9rem;
  }
}

/**
 * Wigton Desserts and Food Service – custom theme
 * Red theme and button styling
 */

:root {
  /* Wigton red theme */
  --wigton-red: #b91c1c;
  --wigton-red-dark: #991b1b;
  --wigton-red-light: #dc2626;
  --wigton-red-soft: rgba(185, 28, 28, 0.18);
  --wigton-red-border: rgba(185, 28, 28, 0.55);

  --clr-theme-primary: var(--wigton-red);
  --clr-theme-secondary: var(--wigton-red);
  --clr-theme-grocery: var(--wigton-red);
  --clr-common-heading: #1a1a1a;
  --clr-text-body: #444;
  --clr-text-secondary: #1a1a1a;
  --clr-border-2: rgba(0, 0, 0, 0.08);
  --clr-gradient-1: linear-gradient(135deg, var(--wigton-red) 0%, var(--wigton-red-dark) 100%);
}

.section-subtitle-4,
.section-subtitle-2 {
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--wigton-red);
}

body {
  line-height: 1.6;
  color: var(--clr-text-body);
}

p {
  line-height: 1.7;
}

/* ----- Header logo – keep smaller so header doesn’t grow ----- */
/* ----- Header background red (main bar: logo + nav) ----- */
/* Fixed header – black bar + main bar stay at top when scrolling */
header,
header .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 111;
  width: 100%;
}

/* Offset body content so it doesn't hide under fixed header */
body {
  padding-top: 130px;
}
@media (max-width: 991px) {
  body {
    padding-top: 100px;
  }
}
@media (max-width: 575px) {
  body {
    padding-top: 90px;
  }
}

.header-layout-4.header-bottom,
.header-4,
#header-sticky,
#header-sticky.sticky {
  background: var(--wigton-red) !important;
}

/* Header nav links and icons white on red */
.header-4 .main-menu ul li a,
#header-sticky .main-menu ul li a,
.header-4.sticky .main-menu ul li a,
#header-sticky.sticky .main-menu ul li a,
.header-4 .main-menu-2 ul li a,
#header-sticky .main-menu-2 ul li a,
.header-4.sticky .main-menu-2 ul li a,
#header-sticky.sticky .main-menu-2 ul li a {
  color: #fff !important;
}
/* Header menu hover: grey */
.header-4 .main-menu ul li:hover > a,
#header-sticky .main-menu ul li:hover > a,
.header-4.sticky .main-menu ul li:hover > a,
#header-sticky.sticky .main-menu ul li:hover > a,
.header-4 .main-menu-2 ul li:hover > a,
#header-sticky .main-menu-2 ul li:hover > a,
.header-4.sticky .main-menu-2 ul li:hover > a,
#header-sticky.sticky .main-menu-2 ul li:hover > a {
  color: #b8b8b8 !important;
}
.header-4 .main-menu ul li:hover > a::after,
#header-sticky .main-menu ul li:hover > a::after,
.header-4.sticky .main-menu ul li:hover > a::after,
#header-sticky.sticky .main-menu ul li:hover > a::after,
.header-4 .main-menu-2 ul li:hover > a::after,
#header-sticky .main-menu-2 ul li:hover > a::after,
.header-4.sticky .main-menu-2 ul li:hover > a::after,
#header-sticky.sticky .main-menu-2 ul li:hover > a::after {
  color: #b8b8b8 !important;
}
.header-4 .bar-icon-2 span,
#header-sticky .bar-icon-2 span,
.header-4.sticky .bar-icon-2 span,
#header-sticky.sticky .bar-icon-2 span {
  background: #fff !important;
}
.header-4 .header-search button,
#header-sticky .header-search button {
  background: rgba(255, 255, 255, 0.9) !important;
  color: var(--wigton-red) !important;
}
/* Search icon visible on white button – use red stroke */
.header-4 .header-search button svg,
.header-4 .header-search button svg path,
#header-sticky .header-search button svg,
#header-sticky .header-search button svg path {
  stroke: var(--wigton-red) !important;
}
.header-4 .header-action-btn,
#header-sticky .header-action-btn {
  color: #fff !important;
}

/* All header main bar text and icons white */
#header-sticky,
#header-sticky .header-4,
.header-4 {
  color: #fff;
}
/* Search input: light box so text is visible */
#header-sticky .header-search input,
.header-4 .header-search input {
  background: #fff !important;
  color: #1a1a1a !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
#header-sticky .header-search input::placeholder,
.header-4 .header-search input::placeholder {
  color: #6b7280 !important;
}
#header-sticky .header-action-btn svg,
#header-sticky .header-action-btn svg path,
.header-4 .header-action-btn svg,
.header-4 .header-action-btn svg path {
  stroke: #fff !important;
}
/* Badge styling moved to cart badge section below */

.header-logo {
  max-width: 140px;
}
.header-logo img {
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 991px) {
  .header-logo {
    max-width: 120px;
  }
  .header-logo img {
    max-height: 40px;
  }
}
@media (max-width: 575px) {
  .header-logo {
    max-width: 100px;
  }
  .header-logo img {
    max-height: 36px;
  }
}

/* ----- Footer logo – keep smaller ----- */
.footer-logo {
  max-width: 200px;
}
.footer-logo img {
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 575px) {
  .footer-logo {
    max-width: 160px;
  }
  .footer-logo img {
    max-height: 44px;
  }
}

/* ----- Buttons ----- */
.fill-btn,
.solid-btn,
.border-btn,
.join-btn,
.input__btn {
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.25s ease, color 0.25s ease;
}

.fill-btn {
  background: var(--wigton-red) !important;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.25);
}

.fill-btn:hover {
  background: var(--wigton-red-dark) !important;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.35);
  transform: translateY(-1px);
}

.fill-btn::before {
  background-color: var(--wigton-red-dark) !important;
}

.fill-btn.has-border {
  background: transparent !important;
  color: var(--wigton-red) !important;
  border: 2px solid var(--wigton-red) !important;
}

.fill-btn.has-border:hover {
  background: var(--wigton-red) !important;
  color: #fff !important;
  border-color: var(--wigton-red) !important;
}

.solid-btn {
  background: var(--wigton-red) !important;
  border-radius: 8px;
}

.solid-btn:hover {
  background: var(--wigton-red-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.3);
}

.border-btn {
  border: 2px solid var(--wigton-red);
  color: var(--wigton-red);
  border-radius: 8px;
}

.border-btn:hover {
  background: var(--wigton-red);
  color: #fff;
  border-color: var(--wigton-red);
  transform: translateY(-1px);
}

/* Product / CTA buttons */
.product__details-add-cart .fill-btn,
.product-action-btn .fill-btn,
.cart-btn,
.newsletter-input .fill-btn {
  border-radius: 8px;
  font-weight: 600;
}

/* Links and accents */
a:hover {
  color: var(--wigton-red);
}

.main-menu ul li a:hover,
.footer-link ul li a:hover,
.offcanvas__menu ul li a:hover {
  color: var(--wigton-red) !important;
}

/* Sidebar auth – same styling as sidebar menu items (.mean-container .mean-nav ul li a) */
/* Scoped to .offcanvas__info so it wins in sidebar on all viewports including mobile */
.offcanvas__info .offcanvas__auth-list,
.offcanvas__auth-list {
  padding: 0;
  margin: 0;
  width: 100%;
  list-style-type: none;
  display: block;
}
.offcanvas__info .offcanvas__auth-list li,
.offcanvas__auth-list li {
  list-style: none;
}
.offcanvas__info .offcanvas__auth .offcanvas__auth-link,
.offcanvas__auth .offcanvas__auth-link {
  display: block;
  width: 100%;
  padding: 10px 0;
  color: var(--clr-common-white, #fff);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  text-transform: capitalize;
  text-decoration: none;
  border-top: 1px solid var(--clr-border-2);
}
.offcanvas__info .offcanvas__auth .offcanvas__auth-list li:first-child .offcanvas__auth-link,
.offcanvas__auth .offcanvas__auth-list li:first-child .offcanvas__auth-link {
  border-top: 0;
}
.offcanvas__info .offcanvas__auth .offcanvas__auth-link:hover,
.offcanvas__auth .offcanvas__auth-link:hover {
  color: var(--wigton-red) !important;
}

/* Reinforce sidebar auth styling on mobile/tablet (when sidebar is used) */
@media (max-width: 991px) {
  .offcanvas__info .offcanvas__auth-list {
    padding: 0;
    margin: 0;
    width: 100%;
    list-style-type: none;
    display: block;
  }
  .offcanvas__info .offcanvas__auth .offcanvas__auth-link {
    display: block !important;
    width: 100%;
    padding: 10px 0 !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.5;
    font-weight: 500;
    text-transform: capitalize;
    text-decoration: none !important;
    border-top: 1px solid var(--clr-border-2);
  }
  .offcanvas__info .offcanvas__auth .offcanvas__auth-list li:first-child .offcanvas__auth-link {
    border-top: 0;
  }
  .offcanvas__info .offcanvas__auth .offcanvas__auth-link:hover {
    color: var(--wigton-red) !important;
  }
}

/* FAQ accordion – Wigton red */
.bd-faq .accordion-button:not(.collapsed),
.bd__faq .accordion-button:not(.collapsed) {
  background: var(--wigton-red-soft) !important;
  color: var(--wigton-red) !important;
}

.bd-faq .accordion-button:not(.collapsed)::after,
.bd__faq .accordion-button:not(.collapsed)::after {
  background: var(--wigton-red) !important;
  color: #fff !important;
  border-color: var(--wigton-red) !important;
}

/* FAQ: gap between question and answer, then padding inside answer */
.bd-faq .accordion-collapse,
.bd__faq .accordion-collapse {
  padding-top: 1rem;
}

.bd-faq .accordion-body,
.bd__faq .accordion-body {
  background: transparent;
  color: var(--clr-text-body);
  padding-top: 1.25rem !important;
  padding-bottom: 1.5rem !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  margin-top: 0.75rem !important;
}

.bd-faq .accordion-item:not(:last-child),
.bd__faq .accordion-item:not(:last-child) {
  margin-bottom: 1rem;
}

/* Pagination */
.bd-pagination ul li a:hover,
.bd-pagination ul li.active a {
  background: var(--wigton-red) !important;
  border-color: var(--wigton-red) !important;
  color: #fff !important;
}

/* Form focus */
.contact__from-input input:focus,
.contact__from-input textarea:focus,
.form-control:focus {
  border-color: var(--wigton-red-border) !important;
  box-shadow: 0 0 0 3px var(--wigton-red-soft) !important;
}

/* Newsletter subscribe button – no animation */
.newsletter-input .fill-btn::before {
  display: none !important;
}

.newsletter-input .fill-btn .fill-btn-hover {
  display: none !important;
}

.newsletter-input .fill-btn .fill-btn-normal {
  opacity: 1 !important;
  transform: none !important;
}

.newsletter-input .fill-btn:hover .fill-btn-normal {
  opacity: 1 !important;
  transform: none !important;
}

.newsletter-input .fill-btn:hover::before {
  display: none !important;
}

.newsletter-input .fill-btn:hover {
  transform: none !important;
}

/* Header CTA */
.header-area .fill-btn {
  background: var(--wigton-red) !important;
}

.header-area .fill-btn:hover {
  background: var(--wigton-red-dark) !important;
}

/* Preloader / loader dots – red */
.bd-loader-item {
  background: var(--wigton-red) !important;
}

/* Back to top */
.backtotop-wrap:hover path,
.backtotop-wrap:hover circle {
  fill: var(--wigton-red);
}

/* Mobile header: Sign In link (visible only on small screens; desktop uses top bar) */
.header-action-signin-mobile {
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  padding: 6px 10px;
  white-space: nowrap;
}
.header-action-signin-mobile:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Header auth links (Profile | Logout) – side by side */
.tp-header-setting {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.tp-header-setting .header-auth-link {
  white-space: nowrap;
}

.tp-header-setting .header-auth-sep {
  user-select: none;
  font-size: 0.9em;
}

/* No dropdown arrow on auth links – theme adds ::after to .header-lang-item > span */
.tp-header-setting .header-auth-sep::after,
.header-lang-item.tp-header-setting > span::after {
  content: none !important;
  display: none !important;
}

/* Footer "We Accept" payment images – consistent size and spacing */
.footer-payment {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-payment-item {
  margin-bottom: 0;
}

.footer-payment-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.footer-payment-thumb img,
.footer-payment-thumb .footer-payment-icon {
  display: block;
  height: 40px;
  width: auto;
  min-width: 40px;
  max-height: 40px;
  max-width: 80px;
  object-fit: contain;
  vertical-align: middle;
}

.footer-payment-thumb .footer-payment-icon {
  line-height: 0;
}

.footer-payment-thumb .footer-payment-icon svg {
  display: block;
  height: 40px;
  width: auto;
  min-width: 40px;
  max-width: 80px;
  fill: #ffffff;
}

/* Third support block (Contact us) – white and red button */
.support-item.is-pale-pink .mobile__app-download .app__download {
  background: #fff;
  color: var(--wigton-red);
  border: 2px solid var(--wigton-red);
}

.support-item.is-pale-pink .mobile__app-download .app__download:hover {
  background: var(--wigton-red);
  color: #fff;
  border-color: var(--wigton-red);
}

.support-item.is-pale-pink .mobile__app-download .app__download i {
  color: inherit;
}

/* Sign in / Register / Forgot / Reset form – .contact-from has red background (pharmecy), so text and links must contrast */
.contact-from #auth-login-form,
.contact-from #auth-register-form,
.contact-from #auth-forgot-form,
.contact-from #auth-reset-form {
  color: rgba(255, 255, 255, 0.95);
}
.contact-from #auth-login-form p,
.contact-from #auth-register-form p,
.contact-from #auth-forgot-form p,
.contact-from #auth-reset-form p,
.contact-from #auth-login-form .text-muted,
.contact-from #auth-register-form .text-muted,
.contact-from #auth-forgot-form .text-muted,
.contact-from #auth-reset-form .text-muted {
  color: rgba(255, 255, 255, 0.95) !important;
}
.contact-from #auth-login-form a,
.contact-from #auth-register-form a,
.contact-from #auth-forgot-form a,
.contact-from #auth-reset-form a {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-from #auth-login-form a:hover,
.contact-from #auth-register-form a:hover,
.contact-from #auth-forgot-form a:hover,
.contact-from #auth-reset-form a:hover {
  color: rgba(255, 255, 255, 0.85) !important;
}
/* Submit button text on red form background – ensure white */
.contact-from .fill-btn,
.contact-from .fill-btn span,
.contact-from .fill-btn i,
.contact-from .fill-btn .fill-btn-normal,
.contact-from .fill-btn .fill-btn-hover {
  color: #fff !important;
}
.contact-from .fill-btn:hover span,
.contact-from .fill-btn:hover i,
.contact-from .fill-btn:hover .fill-btn-normal,
.contact-from .fill-btn:hover .fill-btn-hover {
  color: #fff !important;
}
.contact-from .contact__from-input input {
  background-color: #fff !important;
  color: #1a1a1a !important;
  border: 2px solid var(--clr-border-2);
}
.contact-from .contact__from-input input:focus {
  border-color: var(--wigton-red-border) !important;
  box-shadow: 0 0 0 3px var(--wigton-red-soft) !important;
}
.contact-from .contact__from-input input::placeholder {
  color: #6b7280 !important;
}

/* Password show/hide toggle – inside the input field */
.password-input-wrap { position: relative; display: block; }
.password-input-wrap .password-field-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 59px;
  background-color: #fff;
  border: 2px solid var(--clr-border-2);
  border-radius: 0;
}
.password-input-wrap .password-field-inner:focus-within {
  border-color: var(--wigton-red-border) !important;
  box-shadow: 0 0 0 3px var(--wigton-red-soft) !important;
}
.password-input-wrap .password-field-inner input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 0 45px 0 23px;
  border: none !important;
  background: transparent !important;
  outline: none;
}
.password-input-wrap .password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  font-size: 16px;
  z-index: 1;
}
.password-toggle:hover { color: #1a1a1a; }

/* Mobile header search – same styling as desktop header-search (pill input + circular button) */
.header-mobile-search { flex: 1; min-width: 0; max-width: 220px; }
.header-mobile-search .header-search { max-width: 100%; }

/* Search dropdown (autocomplete) – shows below search input as user types */
.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 0;
  width: 100%;
}
.search-input-wrapper input {
  width: 100%;
}
.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  max-height: 320px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}
.search-dropdown.search-dropdown-visible {
  display: block;
}
.search-dropdown-loading {
  padding: 16px 20px;
  color: #666;
  font-size: 14px;
}
.search-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
  border-bottom: 1px solid #f0f0f0;
}
.search-dropdown-item:last-child {
  border-bottom: none;
}
.search-dropdown-item:hover {
  background: #f8f8f8;
}
.search-dropdown-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.search-dropdown-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-dropdown-empty {
  color: #666;
  cursor: default;
}
.search-dropdown-view-all {
  font-weight: 600;
  color: var(--wigton-red);
  justify-content: center;
}
@media (min-width: 992px) {
  .header-mobile-search { display: none !important; }
}

/* Ad banner (between New Arrivals and Featured) – rounded corners
   Desktop: max 280px tall. Mobile: 375×200 display (use 750×400 for 2x assets). */
#ad-banner-container .ad-banner-link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
}
#ad-banner-container .ad-banner-image {
  display: block;
  border-radius: 12px;
}
@media (max-width: 575px) {
  #ad-banner-container .ad-banner-image {
    max-height: 200px;
  }
}

/* Reduce breadcrumb height site-wide for more content visibility */
.breadcrumb__area {
  padding-top: 40px !important;
  padding-bottom: 28px !important;
}
/* Reduce gap between breadcrumb and content (e.g. about image) */
.about-area.pt-120 {
  padding-top: 30px !important;
}
.breadcrumb__area .breadcrumb__wrapper .breadcrumb__title {
  margin-bottom: 6px !important;
}
.breadcrumb__area .breadcrumb__wrapper .breadcrumb__menu {
  margin-top: 8px !important;
}

/* Breadcrumb header background – ensure image shows and covers area */
.breadcrumb__area .breadcrumb__thumb {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  opacity: 0.1;
}

/* ----- Buttons on red backgrounds (theme-bg-1) ----- */
/* Primary button: white background with red text */
.theme-bg-1 .solid-btn,
.theme-bg-1 .fill-btn:not(.has-border):not([style*="transparent"]) {
  background: #fff !important;
  color: var(--wigton-red) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.theme-bg-1 .solid-btn:hover,
.theme-bg-1 .fill-btn:not(.has-border):not([style*="transparent"]):hover {
  background: #f3f4f6 !important;
  color: var(--wigton-red-dark) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.theme-bg-1 .solid-btn span,
.theme-bg-1 .solid-btn i,
.theme-bg-1 .fill-btn:not(.has-border):not([style*="transparent"]) span,
.theme-bg-1 .fill-btn:not(.has-border):not([style*="transparent"]) i {
  color: var(--wigton-red) !important;
}

.theme-bg-1 .solid-btn:hover span,
.theme-bg-1 .solid-btn:hover i,
.theme-bg-1 .fill-btn:not(.has-border):not([style*="transparent"]):hover span,
.theme-bg-1 .fill-btn:not(.has-border):not([style*="transparent"]):hover i {
  color: var(--wigton-red-dark) !important;
}

/* Secondary/outline button on red background: white border */
.theme-bg-1 .fill-btn.has-border,
.theme-bg-1 .border-btn,
.btn-outline-light {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid #fff !important;
}

/* Disable the ::before animation for outline buttons on red backgrounds */
.theme-bg-1 .fill-btn.has-border::before {
  display: none !important;
}

/* Use simple background transition instead */
.theme-bg-1 .fill-btn.has-border {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.theme-bg-1 .fill-btn.has-border:hover,
.theme-bg-1 .border-btn:hover,
.btn-outline-light:hover {
  background: #fff !important;
  color: var(--wigton-red) !important;
  border-color: #fff !important;
}

.theme-bg-1 .fill-btn.has-border span,
.theme-bg-1 .fill-btn.has-border i,
.theme-bg-1 .fill-btn.has-border .fill-btn-inner,
.theme-bg-1 .fill-btn.has-border .fill-btn-normal,
.theme-bg-1 .fill-btn.has-border .fill-btn-hover,
.theme-bg-1 .border-btn span,
.theme-bg-1 .border-btn i {
  color: #fff !important;
}

/* Hover state: text must be red (visible on white background) */
.theme-bg-1 .fill-btn.has-border:hover,
.theme-bg-1 .fill-btn.has-border:hover span,
.theme-bg-1 .fill-btn.has-border:hover i,
.theme-bg-1 .fill-btn.has-border:hover .fill-btn-inner,
.theme-bg-1 .fill-btn.has-border:hover .fill-btn-normal,
.theme-bg-1 .fill-btn.has-border:hover .fill-btn-hover,
.theme-bg-1 .border-btn:hover,
.theme-bg-1 .border-btn:hover span,
.theme-bg-1 .border-btn:hover i {
  color: var(--wigton-red) !important;
}

/* Extra specificity for fill-btn hover text color override */
section.theme-bg-1 .fill-btn.has-border:hover,
div.theme-bg-1 .fill-btn.has-border:hover,
.theme-bg-1 a.fill-btn.has-border:hover,
.theme-bg-1 button.fill-btn.has-border:hover {
  color: var(--wigton-red) !important;
}

/* Ensure all child elements also get red color on hover */
.theme-bg-1 .fill-btn.has-border:hover * {
  color: var(--wigton-red) !important;
}

/* ----- Text and links on red background (theme-bg-1): ensure contrast ----- */
.theme-bg-1 .breadcrumb__title,
.theme-bg-1 .breadcrumb__wrapper h1,
.theme-bg-1 .breadcrumb__wrapper h2 {
  color: #fff !important;
}
.theme-bg-1 .breadcrumb__menu ul li span,
.theme-bg-1 .breadcrumb__menu ul li span a,
.theme-bg-1 .breadcrumb__menu ul li.active span,
.theme-bg-1 .breadcrumb__wrapper a {
  color: #fff !important;
}
.theme-bg-1 .breadcrumb__menu ul li span a:hover,
.theme-bg-1 .breadcrumb__wrapper a:hover {
  color: rgba(255, 255, 255, 0.85) !important;
}
.theme-bg-1 .section-subtitle-4,
.theme-bg-1 .section-subtitle-2,
.theme-bg-1 .section-title-4,
.theme-bg-1 .section-title-4.is-white,
.theme-bg-1 .section-title-4[style*="wigton-red"],
.theme-bg-1 [style*="color: var(--wigton-red)"],
.theme-bg-1 [style*="color:#dc2626"],
.theme-bg-1 [style*="color: #dc2626"] {
  color: #fff !important;
}
.theme-bg-1 p,
.theme-bg-1 .breadcrumb__subtitle,
.theme-bg-1 .breadcrumb__tagline {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* ----- Newsletter area: status messages must contrast (dark/red overlay) ----- */
.newsletter-area .newsletter-status,
#newsletter-status {
  color: rgba(255, 255, 255, 0.95) !important;
}
.newsletter-area .newsletter-status.newsletter-error,
.newsletter-area #newsletter-status[data-status="error"] {
  color: #fecaca !important; /* light red so visible on red/dark */
}
.newsletter-area .newsletter-status.newsletter-warning,
.newsletter-area #newsletter-status[data-status="warning"] {
  color: #fef3c7 !important; /* light amber */
}

/* ----- Cart badge ----- */
.header-action-badge,
.header-action-badge.bg-furniture {
  background-color: #fff !important;
  color: var(--wigton-red) !important;
  font-weight: 600;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* ----- Swiper pagination dots ----- */
.swiper-pagination-bullet-active,
.bd-swiper-dot .swiper-pagination-bullet-active {
  background: var(--wigton-red) !important;
}

/* ----- Category/discount slider hover ----- */
.discount-thumb-link {
  cursor: pointer;
}
.discount-thumb:hover,
.discount-item:hover .discount-thumb {
  border-color: var(--wigton-red) !important;
}

/* ----- Product card hover effects ----- */
.product-item:hover .product-thumb,
.product-card:hover .product-thumb {
  border-color: var(--wigton-red-border);
}

.product-action-btn:hover,
.product-action-btn:focus {
  background: var(--wigton-red) !important;
  color: #fff !important;
}

/* ----- Price styling ----- */
.product-price,
.product__price,
.price {
  color: var(--wigton-red) !important;
}

/* ----- Sale/discount badge ----- */
.product-badge,
.sale-badge,
.discount-badge {
  background: var(--wigton-red) !important;
  color: #fff !important;
}

/* ----- Star rating ----- */
.rating i.active,
.star-rating i.active {
  color: #fbbf24 !important; /* Keep gold for stars */
}

/* ----- Input/checkbox accent ----- */
input[type="checkbox"]:checked,
input[type="radio"]:checked {
  accent-color: var(--wigton-red);
}

/* ----- Selection highlight ----- */
::selection {
  background: var(--wigton-red-soft);
  color: var(--wigton-red-dark);
}

/* ----- Promotions page: category filter buttons ----- */
#promotions-filters {
  min-height: 2.5rem;
}
.promo-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--wigton-red);
  background: #fff;
  border: 1px solid var(--wigton-red-border);
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.promo-filter-btn:hover {
  background: var(--wigton-red-soft);
  border-color: var(--wigton-red);
}
.promo-filter-btn.active {
  background: var(--wigton-red);
  color: #fff;
  border-color: var(--wigton-red);
}
.promo-filter-btn:focus-visible {
  outline: 2px solid var(--wigton-red);
  outline-offset: 2px;
}

/* ----- Footer copyright: keep on one line ----- */
.footer-copyright-text p {
  white-space: nowrap;
}

/* ----- Product category (Top categories) slider: hide prev/next buttons (auto slide only) ----- */
.discount-slider-navigation {
  display: none !important;
}

/* ----- Header menu: keep nav links on one line ----- */
.main-menu ul {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.main-menu ul li {
  flex-shrink: 0;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .main-menu ul li {
    margin-inline-end: 14px;
  }
  .main-menu ul li a {
    font-size: 14px;
  }
}

/* ----- Header top bar: keep phone, notice, Sign In on one line ----- */
.header-to-main {
  flex-wrap: nowrap;
  white-space: nowrap;
}
.header-top-notice {
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ----- Product details: Additional Information button – red background ----- */
#nav-additional-tab {
  background-color: var(--wigton-red, #b91c1c) !important;
  color: white !important;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
}
#nav-additional-tab:hover,
#nav-additional-tab[aria-expanded="true"] {
  background-color: var(--wigton-red-dark, #991b1b) !important;
  color: white !important;
}

/* ----- Related Products Slider ----- */
.related-products-slider {
  padding-bottom: 50px;
}
.related-products-slider .swiper-slide {
  height: auto;
}
.related-products-slider .product-item {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.related-products-slider .product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.related-products-slider .product-price {
  margin-top: auto;
}
.related-pagination {
  bottom: 0 !important;
}
.related-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
}
.related-pagination .swiper-pagination-bullet-active {
  background: var(--wigton-red, #b91c1c);
}

/* ----- Promotions Flipbook Widget ----- */
#promo-flipbook {
  max-width: 1200px;
  margin: 0 auto;
  min-height: min(85vh, 900px);
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
/* Reserve space to prevent layout shift while flipbook loads */
#promo-flipbook:empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(85vh, 900px);
}
#promo-flipbook.flipbook-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flipbook-empty {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}
.flipbook-empty-hint {
  font-size: 13px;
  margin-top: 12px;
  opacity: 0.8;
}
.flipbook-empty-hint code {
  background: #eee;
  padding: 2px 6px;
  border-radius: 4px;
}
.flipbook-viewer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.flipbook-side-btn {
  flex-shrink: 0;
  align-self: center;
  margin: 0 8px;
}
.flipbook-pages {
  position: relative;
  flex: 1;
  padding: 20px;
  min-height: min(75vh, 800px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.flipbook-page {
  display: none;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.flipbook-page.active {
  display: block;
  animation: flipbook-fadeIn 0.3s ease;
}
@keyframes flipbook-fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.flipbook-page img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.flipbook-controls {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: rgba(255,255,255,0.95);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.flipbook-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--wigton-red);
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}
.flipbook-btn:hover:not(:disabled) {
  background: var(--wigton-red-dark);
}
.flipbook-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.flipbook-counter {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}
.flipbook-current {
  color: var(--wigton-red);
}

/* ----- Rich text content (product description, about, blog) ----- */
.product__details-description,
.about-full-content,
.postbox__text.about-full-content {
  line-height: 1.7;
  color: var(--clr-text-body);
}
/* About body: full width of section, justified text */
.about-area .container-fluid {
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}
@media (min-width: 576px) {
  .about-area .container-fluid {
    padding-left: 24px;
    padding-right: 24px;
  }
}
#about-body-content,
#about-wigton,
.about-body-full-width {
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 40px;
  box-sizing: border-box;
  font-size: 20px;
}
#about-body-content p,
#about-wigton p {
  text-align: center;
  margin-bottom: 0.4em;
  font-size: 20px;
}
#about-body-content h3,
#about-body-content h4,
#about-wigton h3,
#about-wigton h4 {
  text-align: center;
  margin-top: 1.25em;
  margin-bottom: 0.5em;
  font-size: 20px;
  font-weight: 600;
}
#about-body-content ul,
#about-wigton ul {
  text-align: center;
  padding-left: 0;
  list-style-position: inside;
}
#about-body-content li,
#about-wigton li {
  text-align: center;
  margin-bottom: 0.35em;
  font-size: 20px;
}
.product__details-description p,
.about-full-content p,
.postbox__text.about-full-content p {
  text-align: center;
  margin-bottom: 0.4em;
}
.product__details-description ul,
.about-full-content ul,
.postbox__text.about-full-content ul {
  margin: 0.5em 0 1em 1.5em;
  padding-left: 0;
}
.product__details-description ol,
.about-full-content ol,
.postbox__text.about-full-content ol {
  margin: 0.5em 0 1em 1.5em;
  padding-left: 1.5em;
}
.product__details-description strong,
.about-full-content strong,
.postbox__text.about-full-content strong {
  font-weight: 600;
}
.product__details-description a,
.about-full-content a,
.postbox__text.about-full-content a {
  color: var(--wigton-red);
  text-decoration: underline;
}
.product__details-description a:hover,
.about-full-content a:hover,
.postbox__text.about-full-content a:hover {
  color: var(--wigton-red-dark);
}

/* ----- Homepage Banner/Slider - Responsive ----- */
.banner-item-4 {
  min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Mobile slider adjustments */
@media (max-width: 768px) {
  .banner-item-4 {
    min-height: 400px;
    padding-top: 60px !important;
  }
  .banner-item-4 .banner-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  .banner-item-4 .banner-subtitle {
    font-size: 0.875rem;
  }
  .banner-item-4 .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .banner-item-4 {
    min-height: 350px;
    padding-top: 40px !important;
  }
  .banner-item-4 .banner-title {
    font-size: 1.5rem;
  }
}