/* —— L'Oréal Routine Builder ——body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--loreal-black);
  background-color: var(--loreal-white);
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}Inspired by L'Oréal's sophisticated brand aesthetic */

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --loreal-black: #000000;
  --loreal-white: #ffffff;
  --loreal-red: #e31e24;
  --loreal-gray: #f5f5f5;
  --loreal-dark-gray: #333333;
  --loreal-light-gray: #e8e8e8;

  /* Typography Scale */
  --size-huge: 8rem;
  --size-xxl: 4rem;
  --size-xl: 2.5rem;
  --size-lg: 1.5rem;
  --size-md: 1.125rem;
  --size-base: 1rem;
  --size-sm: 0.875rem;

  /* Animations */
  --transition-fast: 0.3s ease;
  --transition-slow: 0.6s ease;
}

body {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--loreal-black);
  background-color: var(--loreal-white);
  font-weight: 400;
}

.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--loreal-black);
  color: var(--loreal-white);
  overflow: hidden;
  padding: 40px 20px;
  margin-bottom: 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.logo {
  width: 220px;
  height: auto;
  margin-bottom: 40px;
  filter: brightness(0) invert(1);
  animation: fadeInDown 1s var(--transition-slow);
}

.hero-title {
  font-size: var(--size-huge);
  font-weight: 900;
  margin-bottom: 30px;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(
    135deg,
    var(--loreal-white) 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s var(--transition-slow);
}

.brand-tagline {
  font-family: "Playfair Display", serif;
  font-size: var(--size-xl);
  font-weight: 400;
  color: var(--loreal-red);
  margin-top: 20px;
  opacity: 0;
  animation: fadeIn 1s var(--transition-slow) forwards;
  animation-delay: 0.5s;
}

/* Animated Background */
.animated-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  background: var(--loreal-red);
  animation: float 20s infinite;
}

.circle-1 {
  width: 600px;
  height: 600px;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.circle-2 {
  width: 400px;
  height: 400px;
  top: 40%;
  right: -100px;
  animation-delay: -5s;
  background: var(--loreal-white);
}

.circle-3 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: 30%;
  animation-delay: -10s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.1);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Category Filter */
.search-section {
  margin-bottom: 60px;
}

.search-section select {
  width: 100%;
  padding: 20px;
  font-size: 16px;
  font-weight: 400;
  border: 2px solid var(--loreal-light-gray);
  background: var(--loreal-white);
  color: var(--loreal-black);
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.search-section select:focus {
  outline: none;
  border-color: var(--loreal-red);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.product-card {
  background: var(--loreal-white);
  border: 2px solid var(--loreal-black);
  padding: 30px;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--loreal-red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.product-card:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.product-card.selected {
  border-color: var(--loreal-red);
  border-width: 2px;
  box-shadow: 0 20px 40px rgba(227, 30, 36, 0.15);
}

.product-card.selected::after {
  transform: scaleX(1);
}

.product-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.product-card h3 {
  font-family: "Playfair Display", serif;
  font-size: var(--size-lg);
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--loreal-black);
  line-height: 1.2;
  transition: color var(--transition-fast);
}

.product-card:hover h3 {
  color: var(--loreal-red);
}

.product-card p.brand {
  font-family: "Inter", sans-serif;
  font-size: var(--size-sm);
  color: var(--loreal-red);
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.description-toggle {
  background: var(--loreal-black);
  color: var(--loreal-white);
  border: none;
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-bottom: 15px;
}

.description-toggle:hover {
  background: var(--loreal-red);
}

.selected-indicator {
  color: var(--loreal-red);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 15px;
}

.selected-indicator i {
  margin-right: 8px;
}

/* Selected Products Section */
.selected-products {
  background: var(--loreal-white);
  border: 1px solid var(--loreal-light-gray);
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 60px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.selected-products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.selected-products h2 {
  font-family: "Playfair Display", serif;
  font-size: var(--size-xxl);
  font-weight: 900;
  color: var(--loreal-black);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 20px;
}

.clear-all-btn {
  background: var(--loreal-red);
  color: var(--loreal-white);
  border: none;
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.clear-all-btn:hover {
  background: var(--loreal-black);
}

.clear-all-btn:disabled {
  background: var(--loreal-light-gray);
  color: var(--loreal-dark-gray);
  cursor: not-allowed;
}

#selectedProductsList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.selected-product {
  background: var(--loreal-white);
  border: 1px solid var(--loreal-light-gray);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.selected-product:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.selected-product img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.selected-product .product-details {
  flex: 1;
}

.selected-product h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--loreal-black);
}

.selected-product p {
  font-size: 14px;
  color: var(--loreal-gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.remove-btn {
  background: var(--loreal-red);
  color: var(--loreal-white);
  border: none;
  padding: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-btn:hover {
  background: var(--loreal-black);
}

.no-products {
  color: var(--loreal-dark-gray);
  font-style: italic;
  text-align: center;
  padding: 40px;
  font-size: 16px;
}

/* Generate Button */
.generate-btn {
  width: 100%;
  background: var(--loreal-black);
  color: var(--loreal-white);
  border: 2px solid var(--loreal-black);
  padding: 25px;
  font-family: "Inter", sans-serif;
  font-size: var(--size-lg);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.generate-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--loreal-red);
  transform: translateX(-100%);
  transition: transform var(--transition-fast);
  z-index: 0; /* Changed to 0 to be behind the text */
}

.generate-btn span {
  position: relative;
  z-index: 1;
  transition: transform var(--transition-fast);
  display: flex;
  align-items: center;
}

.generate-btn i {
  position: relative;
  z-index: 1;
  margin-right: 15px;
  font-size: var(--size-lg);
  transition: transform var(--transition-fast);
}

.generate-btn:hover::after {
  transform: translateX(0);
}

.generate-btn:hover i,
.generate-btn:hover span {
  transform: translateX(10px);
}

/* Chat Section */
.chatbox {
  background: var(--loreal-black);
  border: none;
  padding: 60px;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.chatbox::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23e31e24" opacity="0.05"/></svg>');
  background-size: 400px;
  opacity: 0.1;
  animation: rotate 60s linear infinite;
}

.chatbox h2 {
  font-family: "Playfair Display", serif;
  font-size: var(--size-xxl);
  font-weight: 900;
  color: var(--loreal-white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  position: relative;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.chat-window {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  height: 500px;
  overflow-y: auto;
  margin-bottom: 40px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.user-message {
  background: var(--loreal-red);
  color: var(--loreal-white);
  padding: 20px 25px;
  margin: 20px 0;
  margin-left: 20%;
  border-radius: 0;
  font-family: "Inter", sans-serif;
  font-size: var(--size-base);
  line-height: 1.6;
  font-weight: 500;
  position: relative;
  transform: translateX(50px);
  animation: slideIn var(--transition-fast) forwards;
}

.ai-message {
  background: var(--loreal-white);
  color: var(--loreal-black);
  padding: 20px 25px;
  margin: 20px 0;
  margin-right: 20%;
  border: none;
  border-radius: 0;
  font-family: "Inter", sans-serif;
  font-size: var(--size-base);
  line-height: 1.6;
  font-weight: 500;
  position: relative;
  transform: translateX(-50px);
  animation: slideIn var(--transition-fast) forwards;
}

@keyframes slideIn {
  to {
    transform: translateX(0);
  }
}

.routine-response {
  background: var(--loreal-white);
  border: 2px solid var(--loreal-gold);
  padding: 30px;
  margin: 20px 0;
}

.routine-response h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--loreal-black);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.routine-content {
  font-size: 16px;
  line-height: 1.6;
  color: var(--loreal-black);
}

.follow-up-prompt {
  background: var(--loreal-gray);
  padding: 20px;
  margin-top: 20px;
  border-left: 4px solid var(--loreal-gold);
}

.follow-up-prompt p {
  color: var(--loreal-dark-gray);
  font-size: 14px;
  font-style: italic;
}

.loading-message {
  color: var(--loreal-dark-gray);
  font-style: italic;
  text-align: center;
  padding: 20px;
}

.error-message {
  background: #ffebee;
  color: #c62828;
  padding: 15px;
  border-left: 4px solid #c62828;
  margin: 10px 0;
}

/* Chat Form */
.chat-form {
  display: flex;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.chat-form input {
  flex: 1;
  padding: 25px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-family: "Inter", sans-serif;
  font-size: var(--size-base);
  background: transparent;
  color: var(--loreal-white);
  transition: all var(--transition-fast);
}

.chat-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.chat-form input:focus {
  outline: none;
  border-color: var(--loreal-red);
  background: rgba(255, 255, 255, 0.05);
}

.chat-form button {
  background: var(--loreal-red);
  color: var(--loreal-white);
  border: none;
  padding: 25px 40px;
  font-family: "Inter", sans-serif;
  font-size: var(--size-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.chat-form button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--loreal-black);
  transform: translateX(-100%);
  transition: transform var(--transition-fast);
}

.chat-form button:hover::after {
  transform: translateX(0);
}

.chat-form button span {
  position: relative;
  z-index: 1;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: var(--loreal-white);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--loreal-light-gray);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.modal-header {
  background: var(--loreal-black);
  color: var(--loreal-white);
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px 12px 0 0;
}

.modal-header h2 {
  font-size: 24px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.modal-close {
  background: none;
  color: var(--loreal-white);
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

.modal-close:hover {
  color: var(--loreal-red);
}

.modal-body {
  padding: 30px;
}

.product-modal-info {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.modal-product-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border: 1px solid var(--loreal-light-gray);
}

.product-modal-details {
  flex: 1;
}

.modal-brand,
.modal-category {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--loreal-dark-gray);
}

.modal-brand strong,
.modal-category strong {
  color: var(--loreal-black);
  font-weight: 600;
}

.modal-description h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--loreal-black);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-description p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--loreal-black);
}

.modal-footer {
  background: var(--loreal-gray);
  padding: 30px;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.modal-select-btn {
  background: var(--loreal-red);
  color: var(--loreal-white);
  border: none;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.modal-select-btn:hover {
  background: var(--loreal-black);
}

.modal-close-btn {
  background: var(--loreal-black);
  color: var(--loreal-white);
  border: none;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.modal-close-btn:hover {
  background: var(--loreal-dark-gray);
}

/* Placeholder Message */
.placeholder-message {
  text-align: center;
  padding: 80px 40px;
  color: var(--loreal-dark-gray);
  font-size: 18px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--loreal-gray);
  border: 2px dashed var(--loreal-light-gray);
}

/* Footer Styles */
.footer {
  background: var(--loreal-black);
  color: var(--loreal-white);
  padding: 80px 0 40px;
  margin-top: 120px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--loreal-red);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  width: 180px;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-family: "Playfair Display", serif;
  font-size: var(--size-md);
  font-weight: 400;
  color: var(--loreal-red);
  line-height: 1.4;
}

.footer-links h3 {
  font-size: var(--size-base);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 25px;
  color: var(--loreal-white);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: var(--size-sm);
  transition: all var(--transition-fast);
  position: relative;
  padding-left: 15px;
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--loreal-red);
  transform: translateY(-50%) scale(0.8);
  transition: transform var(--transition-fast);
}

.footer-links a:hover {
  color: var(--loreal-white);
  padding-left: 20px;
}

.footer-links a:hover::before {
  transform: translateY(-50%) scale(1);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--loreal-white);
  font-size: var(--size-md);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--loreal-red);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--size-sm);
}

.footer-bottom a {
  color: var(--loreal-white);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--loreal-red);
}

@media (max-width: 1200px) {
  :root {
    --size-huge: 6rem;
    --size-xxl: 3rem;
    --size-xl: 2.5rem;
    --size-lg: 1.5rem;
    --size-md: 1.125rem;
    --size-base: 1rem;
    --size-sm: 0.875rem;
  }
}

@media (max-width: 768px) {
  :root {
    --size-huge: 4rem;
    --size-xxl: 2.5rem;
  }

  .hero {
    min-height: 70vh;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-modal-info {
    flex-direction: column;
    text-align: center;
  }

  .modal-product-image {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }

  .selected-products-header {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .modal-footer {
    flex-direction: column;
  }

  .modal-select-btn,
  .modal-close-btn {
    width: 100%;
  }

  .chatbox {
    padding: 40px 20px;
  }

  .chat-window {
    padding: 20px;
  }

  .chat-form {
    flex-direction: column;
  }

  .chat-form button {
    width: 100%;
  }

  .footer {
    padding: 60px 0 30px;
    margin-top: 80px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links a {
    padding-left: 0;
  }

  .footer-links a::before {
    display: none;
  }

  .footer-links a:hover {
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  :root {
    --size-huge: 3rem;
    --size-xxl: 2rem;
    --size-xl: 1.5rem;
  }

  .page-wrapper {
    padding: 0 15px;
  }

  .hero {
    min-height: 60vh;
    margin: -15px -15px 40px -15px;
  }

  .logo {
    width: 160px;
    margin-bottom: 30px;
  }

  .brand-tagline {
    font-size: var(--size-lg);
  }

  .chatbox,
  .selected-products {
    padding: 30px 20px;
  }

  .generate-btn {
    padding: 20px;
    font-size: var(--size-base);
  }
}

/* Print Styles */
@media print {
  .hero {
    min-height: auto;
    background: none;
    color: var(--loreal-black);
  }

  .hero-title {
    -webkit-text-fill-color: var(--loreal-black);
  }

  .animated-background {
    display: none;
  }
}

/* Footer Styles */
.site-footer {
  background: var(--loreal-black);
  color: var(--loreal-white);
  padding: 40px 20px;
  margin-top: 120px;
  position: relative;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--loreal-red);
}

.site-footer p {
  font-size: var(--size-sm);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer a {
  color: var(--loreal-white);
  text-decoration: none;
  font-size: var(--size-sm);
  transition: color var(--transition-fast);
  position: relative;
}

.site-footer a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--loreal-red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.site-footer a:hover {
  color: var(--loreal-red);
}

.site-footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
