/* 
===========================================================
              PC Phone Services
               Main Stylesheet
                Version: 1.1
          © 2025 PC Phone Services
             All Rights Reserved
-----------------------------------------------
Author  : PC Phone Services
Website : https://www.pcphoneservices.eu
Date    : April 2025
-----------------------------------------------
Unauthorized copying or distribution of this 
file, via any medium, is strictly prohibited.
===========================================================
*/

/* ===== Variables ===== */
:root {
  /* Main Colors */
  --primary-color: #ccab56;
  --secondary-color: #231f20;
  --accent-color: #e9e1d1;
  --background-color: #f8f8f8;
  --text-color-primary: #231f20;
  --text-color-secondary: #6d6d6d;
  --white: #ffffff;
  --link: #3396cf;
  --link-visited: #1f5675;

  /* Complementary and Neutral Colors */
  --complementary-light: #f1d9a5;
  --complementary-dark: #4d4a4b;
  --neutral-gray: #a8a8a8;

  /* Alerts and Notification Colors */
  --success: #43a047;
  --info: #00acc1;
  --warning: #ffca28;
  --danger: #e53935;
  --light: #f5f5f5;
  --dark: #212121;

  /* Alert Background and Border Colors */
  --alert-primary-bg: #e9e1d1;
  --alert-secondary-bg: #d8d9db;
  --alert-success-bg: #d5e8d4;
  --alert-info-bg: #d1eaf0;
  --alert-warning-bg: #fce3b3;
  --alert-danger-bg: #f5cbcb;
  --alert-primary-border: #d1c7a3;
  --alert-secondary-border: #b2b5b8;
  --alert-success-border: #8bc34a;
  --alert-info-border: #4fc3f7;
  --alert-warning-border: #f57c00;
  --alert-danger-border: #e57373;

  /* Typography */
  --font-family: "Poppins", sans-serif;

  /* Border Radius */
  --border-radius-sm: 0.5rem;
  --border-radius: 0.75rem;
  --border-radius-lg: 1.75rem;
  --border-radius-xl: 28px;

  /* Box Shadow */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;

  /* Gradient */
  --gradient: linear-gradient(180deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0));

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing: 1.5rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
}

/* ===== Reset & Base Styles ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--background-color);
  font-family: var(--font-family);
  color: var(--text-color-primary);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin-top: 70px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: var(--transition);
}

a:visited {
  color: var(--link-visited);
}

a:hover {
  color: var(--primary-color);
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
  color: var(--text-color-primary);
}

h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

h2 {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: var(--spacing);
  width: 100%;
}

h3 {
  font-size: 2rem;
  font-weight: 600;
}

h4 {
  font-size: 1.75rem;
  font-weight: 600;
}

h5 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

h6 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

p {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.description {
  color: var(--text-color-secondary);
  margin-bottom: var(--spacing-sm);
}

/* Responsive Typography & Mobile Optimization */
@media (max-width: 768px) {
  /* Typography adjustments */
  h1 {
    font-size: 2.3rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.8rem;
  }

  h4 {
    font-size: 1.55rem;
  }

  h5 {
    font-size: 1.3rem;
  }

  h6 {
    font-size: 1.05rem;
  }

  p {
    font-size: 1rem;
  }

  /* Touch-friendly improvements */
  button, .btn, a.btn {
    min-height: 44px;
    min-width: 44px;
    padding: 12px 20px;
    font-size: 16px;
  }

  /* Better spacing for mobile */
  .content {
    padding: 0 15px;
  }

  /* Improve table responsiveness */
  table {
    font-size: 14px;
  }

  table td, table th {
    padding: 8px 4px;
  }

  /* Hero section mobile optimization */
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
}

/* ===== Form Elements ===== */
/* Input and Select Base Styles */
input,
select {
  width: 100%;
  padding: 10px;
  border: 2px solid var(--secondary-color);
  border-radius: var(--border-radius);
  background-color: #2c2c2c;
  color: var(--white);
  font-size: 16px;
  margin-top: 10px;
  transition: border-color 0.3s;
}

input:focus,
select:focus {
  border-color: #7e6935;
  box-shadow: 0 0 5px rgba(255, 221, 0, 0.5);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L.75 3.5 1.5 2.75 6 7.25 10.5 2.75l.75.75z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

/* Custom option styles */
select option {
  background-color: #2c2c2c;
  color: var(--white);
}

/* Background Variations */
.grey-back {
  background-color: #e7e7e7;
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
}

.black-back {
  background-color: #000000;
  color: var(--white);
}

.white-back {
  background-color: var(--white);
  color: var(--text-color-primary);
}

.content {
  padding: 1rem 7rem 0rem;
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.content section {
  width: 100%;
  margin: 2rem 0;
}

@media (max-width: 1030px) {
  .content {
    padding: 4rem;
  }
}

@media (max-width: 768px) {
  .content {
    padding: 1.5rem;
  }
}

/* Scrolling Anchors */
#gerant,
#entreprise,
#calculator,
#device-repair,
#home-repair-services,
#copying-services,
#orange {
  scroll-margin-top: 100px;
}

/* ===== Box Components ===== */
/* Base Box Styles - Common Properties */
.box,
.boxhover,
.boxshape,
.boximage,
.boxmain,
.boxmain-white {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
}

/* Box only Shape - Minimal Box */
.boxshape {
  padding: 25px;
  background-color: var(--white);
}

/* Main Container Box - Dark */
.boxmain {
  display: flex;
  flex-direction: column;
  background-color: var(--dark);
  color: var(--white);
  padding: var(--spacing-md);
  min-width: 100%;
  border: 1px solid var(--complementary-light);
}

/* Main Container Box - White */
.boxmain-white {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  color: var(--text-color-primary);
  padding: var(--spacing-md);
  min-width: 100%;
  border: 1px solid var(--complementary-light);
}

.boxmain .order-summary p {
  color: var(--white);
}

.boxmain .box {
  margin-bottom: var(--spacing-md);
  flex: 1 1 calc(100%);
}

/* Standard Box - No hover effect */
.box {
  background-color: var(--white);
  color: var(--text-color-primary);
  padding: var(--spacing-md);
  min-width: 250px;
  max-width: 100%;
  border: 1px solid var(--complementary-light);
}

/* Box with Hover Animation */
.boxhover {
  background-color: var(--white);
  padding: 25px;
  min-width: 250px;
  max-width: 100%;
  border: 1px solid var(--complementary-light);
  transition: var(--transition-slow);
}

.boxhover:hover {
  transform: translateY(-10px);
}

/* Image Box - Special styling for boxes with images */
.boximage {
  padding: 0;
  min-width: 250px;
  max-width: 100%;
  border: 1px solid var(--complementary-light);
  overflow: hidden;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
}

.boximage img {
  width: 100%;
  /* Full width */
  height: 200px;
  /* Fixed height for consistency */
  object-fit: cover;
  /* This will cover the entire area while maintaining aspect ratio */
  border-top-left-radius: var(--border-radius-lg);
  border-top-right-radius: var(--border-radius-lg);
  display: block;
  /* Ensures no extra space below */
}

.boximage h5 {
  margin: 15px 10px;
  color: var(--secondary-color);
  padding: 0 10px;
}

.boximage p {
  color: var(--text-color-secondary);
  padding: 10px;
  display: block;
}

.boximage .btn {
  color: var(--text-color-secondary);
  margin: 10px;
}

.boximage table {
  color: var(--text-color-secondary);
  padding: 10px;
}

/* Adjust image height responsively */
@media (min-width: 992px) {
  .boximage img {
    height: 220px;
    /* Slightly taller on desktop */
  }
}

@media (max-width: 768px) {
  .boximage img {
    height: 180px;
    /* Slightly shorter on mobile */
  }
}

/* Border Variations */
.border-black {
  border: 2px solid black;
  border-radius: 16px;
}

/* Flex Box Layouts */
.flex-box-4,
.flex-box-3,
.flex-box-2 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.flex-box-4 .box,
.flex-box-4 .boxhover,
.flex-box-4 .boximage,
.flex-box-4 .boxshape {
  flex: 1 1 calc(25% - var(--spacing-sm));
}

.flex-box-3 .box,
.flex-box-3 .boxhover,
.flex-box-3 .boximage,
.flex-box-3 .boxshape {
  flex-basis: calc(33.333% - 1.25rem) !important;
}

.flex-box-2 .box,
.flex-box-2 .boxhover,
.flex-box-2 .boximage,
.flex-box-2 .boxshape {
  flex-basis: calc(50% - var(--spacing-sm)) !important;
}

.flex-box-4 .btn,
.flex-box-3 .btn,
.flex-box-2 .btn {
  margin: 0 auto;
  width: auto;
}

.button-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.services .flex-box .boximage {
  flex-basis: calc(33.333% - 1.25rem) !important;
}

/* Responsive adjustments */
@media (max-width: 1005px) {

  .flex-box-4 .box,
  .flex-box-4 .boxhover,
  .flex-box-4 .boximage,
  .flex-box-4 .boxshape,
  .flex-box-3 .box,
  .flex-box-3 .boxhover,
  .flex-box-3 .boximage,
  .flex-box-3 .boxshape {
    flex: 1 1 calc(50% - var(--spacing-sm));
  }
}

@media (max-width: 768px) {

  .box,
  .boxhover,
  .boxshape,
  .boximage {
    min-width: 200px;
  }

  .flex-box-4 .box,
  .flex-box-4 .boxhover,
  .flex-box-4 .boximage,
  .flex-box-4 .boxshape,
  .flex-box-3 .box,
  .flex-box-3 .boxhover,
  .flex-box-3 .boximage,
  .flex-box-3 .boxshape,
  .flex-box-2 .box,
  .flex-box-2 .boxhover,
  .flex-box-2 .boximage,
  .flex-box-2 .boxshape {
    flex: 1 1 100%;
  }
}

/* General table styles */
.data-table,
.data-table-centerd {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}

/* Table headers */
.data-table th {
  background-color: var(--primary-color);
  color: white;
  text-align: left;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 15px;
}

/* Round left and right corners of the first and last th */
.data-table th:first-child {
  border-top-left-radius: 10px;
}

.data-table th:last-child {
  border-top-right-radius: 10px;
}

.data-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--complementary-light);
}

/* No border for the last row */
.data-table tr:last-child td,
.data-table-centerd tr:last-child td {
  border-bottom: none;
}

/* Adjustments for the included and has-included-item classes */
.data-table tr.has-included-item td {
  border-bottom: none;
  /* Removes the bottom border of the row above the included-item */
}

.data-table tr.included-item td {
  padding-top: 0;
  color: var(--text-color-secondary);
  /* Softer color for included items */
}

.data-table-centerd tr td {
  padding: 10px;
  border-bottom: 1px solid var(--complementary-light);
}

.data-table-centerd tr:last-child td {
  border-bottom: none;
}

.data-table-centerd td:first-child {
  width: 40px;
  text-align: center !important;
  vertical-align: middle;
}

.data-table-centerd td {
  text-align: left !important;
  padding-left: 10px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  color: var(--white) !important;
  background-color: var(--primary-color);
  padding: 12px 24px;
  border-radius: 28px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-slow);
  border: none;
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  background-color: var(--text-color-secondary);
  color: var(--white) !important;
  cursor: not-allowed;
}

.return-btn {
  display: inline-block;
  position: absolute;
  margin-bottom: 20px;
  padding: 10px 20px;
  max-width: 8rem;
  z-index: 80;
}

/* Special Button Styles */
.logout {
  margin-top: var(--spacing-sm);
  background-color: #c30e0e;
  color: var(--white) !important;
}

.logout:hover {
  background-color: #630808;
}

.default-btn {
  color: var(--white) !important;
  background-color: var(--text-color-secondary);
}

.set-default-btn {
  color: var(--primary-color) !important;
  background-color: var(--accent-color);
}

.set-default-btn:hover {
  color: var(--white) !important;
  background-color: var(--text-color-secondary);
}

/* Styles for the cart badge */
/* Badge Styles */
.cart-badge {
  display: inline-block;
  background-color: var(--danger);
  color: var(--white);
  font-size: 0.4em !important;
  font-weight: bold;
  text-align: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  position: relative;
  top: -23px;
  left: -5px;
  padding: 2px;
}

.cart-badge-navbar {
  display: inline-block;
  background-color: var(--danger);
  color: var(--white);
  font-size: 0.7em !important;
  font-weight: bold;
  text-align: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  position: relative;
  top: -9px;
  left: -4px;
  margin-right: -23px;
  padding: 1px;
}

/* Password Input with Toggle */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-wrapper .form-control {
  flex-grow: 1;
  padding-right: 40px;
  height: 38px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 60%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--white);
}

.toggle-password i {
  font-size: 18px;
}

@media (max-width: 900px) {
  .return-btn {
    position: relative !important;
  }
}

.description {
  color: var(--text-color-secondary) !important;
}

.box .description {
  margin-bottom: 1rem;
  /* Add margin below the description */
}

/* ===== Alert Components ===== */
.alert {
  position: fixed;
  top: 40px;
  right: 20px;
  z-index: 1050;
  padding: 1rem 2.5rem;
  margin: 0;
  border: 1px solid transparent;
  border-radius: var(--border-radius-sm);
  font-family: Arial, sans-serif;
  color: var(--text-color-primary);
  box-shadow: var(--shadow);
  min-width: 250px;
  max-width: 400px;
  transition: all 0.3s ease-in-out;
  opacity: 1;
}

.alert:not(:last-child) {
  margin-bottom: 10px;
}

.alert.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.alert .btn-close {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--text-color-primary);
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

.alert .btn-close:hover {
  color: var(--danger);
}

/* Alert Variations */
.alert-primary {
  background-color: var(--alert-primary-bg);
  border-color: var(--alert-primary-border);
}

.alert-secondary {
  background-color: var(--alert-secondary-bg);
  border-color: var(--alert-secondary-border);
}

.alert-success {
  background-color: var(--alert-success-bg);
  border-color: var(--alert-success-border);
  color: var(--success);
}

.alert-info {
  background-color: var(--alert-info-bg);
  border-color: var(--alert-info-border);
  color: var(--info);
}

.alert-warning {
  background-color: var(--alert-warning-bg);
  border-color: var(--alert-warning-border);
  color: var(--warning);
}

.alert-danger {
  background-color: var(--alert-danger-bg);
  border-color: var(--alert-danger-border);
  color: var(--danger);
}

.alert-light {
  background-color: var(--light);
  border-color: var(--neutral-gray);
  color: var(--text-color-secondary);
}

.alert-dark {
  background-color: var(--dark);
  border-color: var(--alert-danger-border);
  color: var(--white);
}

/* ===== Navigation ===== */
/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--background-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.logo img {
  width: 150px;
}

.nav-options {
  display: flex;
  gap: 15px;
}

.nav-options a {
  color: var(--secondary-color);
  padding-bottom: 10px;
  position: relative;
  font-size: 1.3rem;
  text-transform: uppercase;
}

/* Navigation Link Underline Animation */
.nav-options a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
  border-radius: 1px;
  transition: var(--transition-slow);
}

.nav-options a:hover::before,
.nav-options a.active::before {
  background-color: var(--primary-color);
}

.nav-options a:hover,
.nav-options a.active {
  color: var(--primary-color);
}

.nav-options a i,
.login-button a i {
  margin-right: 10px;
}

/* Login Button */
.login-button a {
  color: var(--white);
  background-color: var(--primary-color);
  font-size: 1.1rem;
  padding: 10px 20px;
  border-radius: var(--border-radius-lg);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition-slow);
}

.login-button a:hover {
  background-color: var(--secondary-color);
}

/* Container for Login and Language */
.login-lang-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Language Selector */
.lang-selector {
  margin-right: 1rem;
  font-weight: 500;
}

.dropbtn {
  background: transparent;
  color: var(--text-color-primary);
  border: none;
  font-size: 1.1rem;
  text-transform: uppercase;
  cursor: pointer;
  appearance: none;
}

.flag-icon {
  margin-right: 5px;
}

.lang-selector i {
  margin-left: 5px;
}

.lang-selector option {
  display: block;
}

/* Dropdown Container */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Dropdown Links */
.dropdown-content a {
  color: var(--text-color-primary);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.show {
  display: block;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger-menu i {
  transition: transform 0.5s ease, opacity 0.5s ease;
  font-size: 2rem;
}

.hamburger-menu.active i {
  transform: rotate(90deg);
  opacity: 0;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -16.875rem;
  width: 16.875rem;
  height: 100%;
  background-color: var(--background-color);
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  padding: 60px 0;
  transition: left 0.5s ease;
  z-index: 101;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.sidebar.active {
  left: 0;
}

.sidebar ul {
  list-style: none;
  padding-left: 20px;
  flex-grow: 1;
}

.sidebar ul li a {
  display: block;
  padding: 15px 0;
  font-size: 1.1rem;
  color: var(--text-color-primary);
  text-transform: uppercase;
}

.sidebar ul li a:hover {
  color: var(--primary-color);
}

.sidebar-options a.active {
  color: var(--primary-color);
}

/* Sidebar Logo */
.sidebar .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -25px;
}

.sidebar .logo img {
  max-width: 120px;
  height: auto;
}

/* Sidebar Login and Language Controls */
.sidebar .login-item {
  margin-top: auto;
  padding: 15px;
  text-align: center;
}

.sidebar .login-button a {
  display: block;
  text-align: center;
}

.sidebar .lang-selector {
  display: block;
  padding: 0 15px;
  text-align: center;
}

.sidebar .lang-select-button {
  width: 100%;
  margin-bottom: 20px;
  font-size: 1.1rem;
  padding: 10px 20px;
  border-radius: var(--border-radius-lg);
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
}

.sidebar .lang-select-button:hover {
  background-color: var(--secondary-color);
}

/* Mobile Language Selector */
.lang-selector-mobile {
  display: block;
  padding: 10px 15px;
  text-align: center;
}

.flag-icon-mobile {
  margin-right: 10px;
}

.dropbtn-mobile {
  background: transparent;
  color: var(--text-color-primary);
  border: none;
  font-size: 1.2rem;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.dropdown-mobile {
  position: relative;
  display: inline-block;
}

.dropdown-content-mobile {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  text-align: left;
  margin-bottom: 10px;
}

.dropdown-content-mobile a {
  color: var(--text-color-primary);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown-content-mobile a:hover {
  background-color: #ddd;
}

.show-mobile {
  display: block;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  display: none;
}

/* Responsive Navbar Styles */
@media (min-width: 1510px) and (max-width: 1710px) {
  .nav-options a {
    font-size: 1.125rem;
    padding-bottom: 5px;
  }

  .nav-options {
    gap: 10px;
  }

  .logo img {
    width: 130px;
  }

  .nav-options a i {
    margin-right: 3px;
  }

  .login-lang-container {
    margin-right: 0.5rem;
  }
}

@media (max-width: 1510px) {

  .nav-options,
  .navbar .login-button,
  .login-lang-container {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .sidebar {
    display: block;
  }

  .sidebar.active {
    display: flex;
  }
}

/* ===== Hero Section ===== */
.hero-section {
  min-height: 95vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-top: -6.25rem;
}

.hero-content h1 {
  font-size: 5rem;
  margin-bottom: 20px;
}

.hero-content p {
  margin-bottom: 40px;
  color: var(--white);
}

@media (max-width: 768px) {
  .hero-content {
    margin-top: -130px;
  }

  .hero-content h1 {
    font-size: 2.5rem !important;
    margin-bottom: 20px;
  }
}

/* About Us Section */
.about-us {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-content {
  flex: 1;
  min-width: 250px;
}

.about-content h5 {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.about-content p {
  margin-top: 15px;
  color: var(--text-color-secondary);
}

.about-content .image-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 28px;
}

.about-content .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-container {
  margin: auto;
  max-width: 50%;
  height: 500px;
}

.map-container #map {
  padding: 0;
  border-radius: 1.75rem;
}

#infos-horaire {
  max-width: 50%;
  margin: 0 auto;
}

#infos-horaire tr td:first-child {
  text-align: left !important;
}

#infos-horaire tr td {
  text-align: center !important;
}

@media (max-width: 768px) {
  .map-container {
    max-width: 100%;
    height: 300px;
  }

  .map-container #map {
    padding: 0;
    border-radius: 1.75rem;
  }

  #infos-horaire {
    margin: 0 auto;
  }
}

/* Products Section */
.products {
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Container for product cards */
.product-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  position: relative;
  padding: 0 0.5rem 1rem;
  gap: 1.25rem;
  -webkit-overflow-scrolling: touch;
  transition: transform 0.5s ease;
}

.product-container::-webkit-scrollbar {
  display: none;
  /* Hides the scrollbar */
}

/* Product box style */
.productbox {
  background-color: var(--white);
  border: 1px solid var(--complementary-light);
  padding: 1.25rem;
  border-radius: 1.75rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  margin: 1rem 0 0;
  flex: 0 0 auto;
  width: 17rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.productbox hr {
  opacity: 10%;
}

.productbox:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease;
}

/* Promotion tag */
.promotion-tag {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  z-index: 3;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  font-weight: bold;
  font-size: 0.9rem;
  border-radius: 1.75rem;
}

/* Product image container */
.product-image-container {
  width: 100%;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 0.625rem;
}

.product-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.625rem;
}

/* Product title with ellipsis */
.product-title {
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 0.625rem;
  color: var(--secondary-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Price section */
.price-section {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  font-weight: bold;
}

/* Original price if a promotion exists */
.original-price {
  font-size: 1rem;
  color: var(--text-color-secondary);
  text-decoration: line-through;
}

/* Discounted price */
.discounted-price {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary-color);
}

/* Load more button styled as product */
.see-more-button {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color) !important;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.5s ease;
}

.see-more-button:hover {
  background-color: var(--primary-color);
  color: var(--white) !important;
  font-weight: bold;
  transform: translateY(-0.5rem);
  transition: all 0.5s ease;
}

@media (max-width: 768px) {
  .product-container {
    gap: 0.5rem;
  }

  .productbox {
    width: 250px;
  }

  /* Promotion tag */
  .promotion-tag {
    font-size: 0.8rem;
  }

  /* Product image container */
  .product-image-container {
    height: 15rem;
  }

  /* Product title with ellipsis */
  .product-title {
    font-size: 0.9rem;
  }

  /* Price section */
  .price-section {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.725rem;
    font-weight: bold;
  }

  /* Original price if a promotion exists */
  .original-price {
    font-size: 0.9rem;
    color: var(--text-color-secondary);
    text-decoration: line-through;
  }

  /* Discounted price */
  .discounted-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
  }

  /* Load more button styled as product */
  .see-more-button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color) !important;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.5s ease;
  }

  .see-more-button:hover {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: bold;
    transform: translateY(-8px);
    transition: all 0.5s ease;
  }
}

/* Arrow buttons */
.scroll-arrow {
  background-color: #231f20;
  color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transition: all 0.5s ease;
  border: 2px solid var(--neutral-gray);
  opacity: 50%;
}

.scroll-arrow.left-arrow {
  left: 12px;
}

.scroll-arrow.right-arrow {
  right: 12px;
}

.scroll-arrow:hover {
  background-color: var(--complementary-dark);
  opacity: 100%;
  transition: all 0.5s ease;
}

.mobile-scroll-text {
  text-align: center;
  margin-top: 10px;
  color: var(--text-color-secondary);
  display: none;
}

.grey-back {
  background-color: #e7e7e7;
  padding: 2rem;
  border-radius: 1.75rem;
}

.black-back {
  background-color: #000000;
  color: var(--white);
}

.white-back {
  background-color: #ffffff;
  color: var(--text-color-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .products {
    padding: 1.5rem 1rem 2rem;
  }

  .productbox {
    flex-basis: calc(50% - 20px);
    margin: 1rem 0.5rem 0;
  }

  .scroll-arrow {
    display: none;
    /* Hide arrows on mobile */
  }

  .mobile-scroll-text {
    display: block;
  }

  .grey-back {
    padding: 2rem 1rem;
  }
}

/* Customer Reviews Section */
.customer-reviews {
  background-color: var(--background-color);
  text-align: center;
}

.customer-reviews .fa-star {
  color: var(--primary-color);
}

.review-box {
  margin-top: 20px;
  width: 100%;
}

/* Why Choose Us Section */

.why-box i {
  font-size: 2rem;
  color: var(--primary-color);
}

.why-box h5 {
  color: var(--primary-color);
}

.why-box p {
  display: block;
  color: var(--text-color-secondary);
}

.service-section {
  background-color: var(--background-color);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 28px;
}

.service-section h2,
.service-section h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.service-section table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
  border-radius: 28px;
}

.service-section table th,
.service-section table td {
  padding: 10px;
  border: 1px solid var(--primary-color);
  text-align: left;
}

.service-section table th {
  background-color: var(--accent-color);
}

.service-section table td {
  background-color: var(--white);
}

.service-section ul {
  padding-left: 20px;
}

.service-section ul li {
  list-style: disc;
  margin-bottom: 5px;
}

/* Login, signup */
.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  padding: 3rem;
}

.login-container h2 {
  text-align: center;
}

.form-group {
  width: 100%;
  text-align: left;
  margin: 1rem auto;
}

.center-table {
  margin: 0;
}

.form-group input[type="checkbox"] {
  margin-right: 10px;
  /* Adds space between checkbox and text */
}

.form-control {
  width: 100%;
  padding: 8px;
}

.forgot-password {
  display: block;
  margin-top: 5px;
  text-align: left;
  margin-bottom: 1rem;
}

.login-container .btn {
  margin-top: 0.5rem;
  padding: 10px 20px;
  display: block;
  width: 100%;
  margin: 0 auto;
}

.login-signup-link {
  text-align: center;
  margin-top: 1rem;
}

/* Pannel client */
.profile-menu .text-left {
  text-align: left;
}

.profile-menu .box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.profile-menu .btn {
  margin-top: auto;
  border: none;
  border-radius: 1.75rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
}

.logout {
  margin-top: 1rem;
  background-color: #c30e0e;
  color: white !important;
  transition: all 0.5s ease;
}

.logout:hover {
  background-color: #630808;
  transform: translateY(-2px);
  transition: all 0.5s ease;
}

/* address */
.add-address-box {
  border: 3px dashed #aaa;
  color: #aaa !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.limit-reached-box {
  border: 3px dashed #c74d4d;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #c74d4d;
}

.address-btn {
  min-width: 100%;
}

.default-btn {
  display: inline-block;
  color: var(--white) !important;
  background-color: var(--text-color-secondary);
  cursor: pointer;
}

.set-default-btn {
  display: inline-block;
  color: var(--primary-color) !important;
  background-color: var(--accent-color);
  cursor: pointer;
}

.set-default-btn:hover {
  display: inline-block;
  color: var(--white) !important;
  background-color: var(--text-color-secondary);
  cursor: pointer;
}

.contact-us-box {
  text-align: center;
  width: 100%;
}

.contact-us-box h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.contact-us-box p {
  color: var(--text-color-secondary);
  font-size: 1rem;
  margin-bottom: 15px;
}

.contact-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  padding: 70px 0 0;
  position: relative;
  width: 100%;
  bottom: 0;
}

.container {
  max-width: 1170px;
  margin: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.footer-col {
  width: 25%;
  padding: 0 15px;
}

.footer-col h4,
.footer-bottom h4 {
  font-size: 18px;
  color: #ffffff;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}

.footer-col h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: var(--primary-color);
  height: 2px;
  box-sizing: border-box;
  width: 70px;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 16px;
  text-transform: capitalize;
  color: #ffffff;
  text-decoration: none;
  font-weight: 300;
  color: #bbbbbb;
  display: block;
  transition: all 0.5s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 8px;
}

.footer-col .social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 28px;
  color: #ffffff;
  transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
  color: #ffffff;
  background-color: var(--primary-color);
}

.footer-bottom {
  padding: 20px;
  text-align: center;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-privacy-controls {
  display: flex;
  gap: 10px;
}

.cookie-settings-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cookie-settings-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .footer-bottom {
    text-align: left;
    padding-left: 15px;
  }

  .footer-bottom-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .footer-privacy-controls {
    align-self: stretch;
    justify-content: center;
  }

  .cookie-settings-btn {
    flex: 1;
    justify-content: center;
    max-width: 200px;
  }

  .footer-col {
    width: 50%;
    margin-bottom: 30px;
  }
}

@media (max-width: 574px) {
  .footer-col {
    width: 100%;
  }
}

/* Pagination CSS */
.pagination {
  text-align: center;
  padding: 20px 0;
}

.pagination .current-page {
  display: inline-block;
  font-weight: bold;
  color: white;
  background-color: var(--primary-color) !important;
  padding: 12px 17px;
  border-radius: 28px;
  text-decoration: none;
  margin: 0 5px 5px 5px;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination .btn-page {
  display: inline-block;
  font-weight: bold;
  color: white;
  background-color: var(--neutral-gray);
  padding: 10px 15px;
  border-radius: 28px;
  text-decoration: none;
  margin: 10px 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination .btn-page:hover {
  background-color: var(--primary-color);
  color: white;
}

.pagination .disabled {
  pointer-events: none;
  opacity: 0.6;
}