/* Shared styles for every page (colours, typography, navbar, footer, language switch, focus).
   Page files in styles/ only contain what is specific to that page. */

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
}

.navbar container {
  padding: 0px !important;
}

.nav-item {
  padding: 0 20px;
  color: var(--primary-color);
}

.nav-item:hover {
  text-decoration: var(--link-text-decoration);
  text-decoration-color: var(--primary-color);
  text-decoration-thickness: var(--link-text-decoration-thickness);
  text-underline-offset: 1em;
}

.footer h4 {
  font-size: 20px;
}

.footer .widget h4 {
  font-size: 20px;
}

.footer .container {
  padding-top: 50px;
}

.footer address {
  font-size: 16px;
}

.footer .btn-primary {
  background: var(--primary-color);
  border: none;
}

.footer .nav-item {
  padding: 0;
}

.footer .my-footer-section {
  padding: 30px 0;
}

.footer .footer-copyright-wrapper {
  font-size: 14px;
}

.footer .credits {
  font-size: 14px;
  font-weight: 300;
}

:root { --primary-hover: #5c0f40;
}

html { scroll-behavior: smooth;
}

:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 2px;
}

.btn-branding:hover, .btn-contact:hover { background: var(--primary-hover); color: #fff;
}

.footer .btn-primary:hover { background: var(--primary-hover);
}

.footer .btn-outline-secondary { border-color: var(--primary-color); color: var(--primary-color);
}

.footer .btn-outline-secondary:hover { background: var(--primary-color); color: #fff;
}

.form-status { font-size: 15px; line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 14px;
}

.lang-link { color: var(--text-color); text-decoration: none; padding: 6px 4px;
}

.lang-link.is-active { color: var(--primary-color); font-weight: 600;
}

.lang-link.is-disabled { opacity: 0.45; cursor: not-allowed;
}

.lang-sep { opacity: 0.4;
}

/* Form labels (shared contact form) */
.form-label { font-size: 14px; font-weight: 500; margin-bottom: 4px; color: var(--text-color); }
.form-control { opacity: 1 !important; }

/* Brand buttons (used on home, 404 and "available on request" pages) */
.btn-branding-static { background: var(--primary-color); color: #fff;
}

.btn-branding-static:hover { background: var(--primary-hover); color: #fff;
}

.btn-outline-brand { border: 1px solid var(--primary-color); color: var(--primary-color);
}

.btn-outline-brand:hover { background: var(--primary-color); color: #fff;
}

/* Product category cards (home + products page) */
.content-product .product-card { height: 100%; }
.content-product .product-card > a { display: flex; flex-direction: column; height: 100%; }
.content-product .product-card-section { flex: 1; }
@media (max-width: 991.98px) {
  .content-product .container .row { padding: 24px 0 0; }
  /* Smaller screens: the whole band under the photo becomes brand colour with white text */
  .content-product .product-card-image { transform: none !important; }
  .content-product .product-card-thick-line { display: none; }
  .content-product .product-card-section { background: var(--primary-color); min-height: 64px; padding: 0; }
  .content-product .product-card-section-icon img { width: 56px; height: auto; display: block; }
  .content-product .product-card-section-title { color: #fff; font-size: 14px; font-weight: 500; line-height: 1.3; margin: 0 12px 0 6px; }
}
@media (max-width: 575.98px) {
  .content-product .product-card-section-icon { display: none; }
  .content-product .product-card-section { justify-content: center; text-align: center; padding: 10px 8px; }
  .content-product .product-card-section-title { margin: 0; font-size: 13px; }
}
