/*
Theme Name:     Agencify PVM
Template:       twentytwentyfive
Version:        1.0
*/
/* Adding custom animations for 404 page */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-2px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(2px);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(76, 185, 68, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(76, 185, 68, 0.6), 0 0 30px rgba(76, 185, 68, 0.4);
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes rotateIn {
  0% {
    transform: rotate(-180deg) scale(0);
    opacity: 0;
  }
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-bounce-custom {
  animation: bounce 2s infinite;
}

.animate-pulse-custom {
  animation: pulse 2s ease-in-out infinite;
}

.animate-shake {
  animation: shake 0.5s ease-in-out;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease-out;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease-out;
}

.animate-rotate-in {
  animation: rotateIn 1s ease-out;
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.button-hover {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.button-hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.button-hover:hover::before {
  left: 100%;
}

.svg-animate {
  transition: transform 0.3s ease;
}

.svg-animate:hover {
  transform: rotate(360deg) scale(1.1);
}

.btn-border {
  background-color: white;
  border: 2px solid #4cb944;
  color: #5bcef8;
}

.btn-border:hover {
  background-color: #4cb944;
  color: white;
}
.cookiePrefs {
  margin-top: 9rem !important;
}
@media (max-width: 768px) {
  #cookieBanner {
    max-width: 358px !important;
  }
  .cookiePrefs {
    max-width: 335px !important;
    margin-top: 70px !important;
    max-height: 450px !important;
  }
}

.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  padding: 20px;
}

.cookie-modal {
  position: relative;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 570px;
  display: flex;
  flex-direction: column;
  /*  Added max-height and overflow handling for mobile */
  max-height: 90vh;
  margin-top: 12rem;
}

/*  Mobile-specific height constraint */
@media (max-width: 768px) {
  .cookie-modal {
    max-height: 500px;
  }
}

.modal-header {
  padding: 24px 24px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-shrink: 0;
}

.modal-title {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #111827;
}

@media (min-width: 1024px) {
  .modal-title {
    font-size: 24px;
  }
}

.close-button {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.close-button:hover {
  color: #1f2937;
}

/*  Made content area scrollable */
.modal-content {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.cookie-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.cookie-section:last-child {
  margin-bottom: 0;
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #5bcef8;
  flex-shrink: 0;
}

.cookie-title {
  font-weight: bold;
  font-size: 11px;
  color: #374151;
}

@media (min-width: 1024px) {
  .cookie-title {
    font-size: 12px;
  }
}

.cookie-description {
  font-size: 9px;
  line-height: 1.3;
  color: #6b7280;
}

@media (min-width: 1024px) {
  .cookie-description {
    font-size: 10px;
  }
}

.modal-footer {
  padding: 0 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  flex-shrink: 0;
}
.logo-footer{
  width: 118px;
}
.menu-logo-ds{

  /* margin-left: 13px !important; */
}

@media (min-width: 1024px) {
  .modal-footer {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .logo-footer{
    width: 164px;
  }
  .second-btn{
    max-width: 333px;
  }
  .menu-logo-ds{
    width: 100%;
  }
}

.button {
  padding: 24px;
  border-radius: 16px;
  font-weight: bold;
  font-size: 11px;
  text-align: center;
  width: 100%;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  display: block;
}
.phone-text p{
  font-weight: 600;
  color: white;
  text-align: center;
  font-size: 14px;
  line-height: 12px;
  letter-spacing: 0.5px;
}

.phone-text span{
  font-weight: 500;
  color: white;
  text-align: center;
  font-size: 5px;
  letter-spacing: 0.5px;
}

@media (min-width: 1024px) {
  .button {
    font-size: 12px;
    padding: 24px 20px;
  }
}

.button-save {
  background: white;
  color: #374151;
  border: 2px solid #d1d5db;
}

.button-save:hover {
  background: #f3f4f6;
}

.button-accept {
  background: #5bcef8;
  color: white;
}

.button-accept:hover {
  background: #2563eb;
}

.overlay-close {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/*  Custom scrollbar styling */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Custom CSS without :root */
.navbar {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Plus icon animation */
.plus-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.plus-line {
  position: absolute;
  background-color: white;
  transition: transform 0.3s ease;
}

.plus-line:first-child {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.plus-line:last-child {
  left: 50%;
  top: 0;
  height: 100%;
  width: 2px;
  transform: translateX(-50%);
}

.plus-icon.active .plus-line:first-child {
  transform: translateY(-50%) rotate(45deg);
}

.plus-icon.active .plus-line:last-child {
  transform: translateX(-50%) rotate(45deg);
}

/* Mobile menu animations */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease-out;
}

.mobile-menu.menu-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(4px);
  transition: all 0.5s ease-out;
  transform: scale(0.95);
  opacity: 0;
}

.menu-open .menu-backdrop {
  transform: scale(1);
  opacity: 1;
}

.menu-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  padding-left: 13px;
  padding-right: 13px;
  padding-top: 6rem;
  overflow-y: auto;
}

.menu-content {
  width: 100%;
  max-width: 384px;
  background: #5BCEF8 !important;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 32px;
  position: relative;
  transition: all 0.5s ease-out;
  transform: translateY(32px) scale(0.95);
  opacity: 0;
}

.menu-open .menu-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.menu-logo {
  transition: all 0.7s ease-out;
  transform: translateY(16px);
  opacity: 0;
  width: 125px !important;
  margin-left: 10px !important;
}

.menu-open .menu-logo {
  transform: translateY(0);
  opacity: 1;
  margin-top: 20px !important;
  max-width: 100px !important;
}

.menu-item {
  transition: all 0.7s ease-out;
  transform: translateY(16px);
  opacity: 0;
}

.menu-open .menu-item {
  transform: translateY(0);
  opacity: 1;
}

.menu-info {
  transition: all 0.7s ease-out;
  transform: translateY(16px);
  opacity: 0;
}

.menu-open .menu-info {
  transform: translateY(0);
  opacity: 1;
}

/* Stagger animation delays */
.menu-open .menu-item:nth-child(1) {
  transition-delay: 0.1s;
}
.menu-open .menu-item:nth-child(2) {
  transition-delay: 0.2s;
}
.menu-open .menu-item:nth-child(3) {
  transition-delay: 0.3s;
}
.menu-open .menu-logo {
  transition-delay: 0.1s;
}
.menu-open .menu-info {
  transition-delay: 0.4s;
}

/* Hide page content when menu is open */
.overflow-hidden {
  overflow: hidden;
}

.touch-none {
  touch-action: none;
}

.hidden-content {
  display: none;
}




/* Login Page */
.woocommerce-account .wp-block-post-title {
  display: none;
}
.woocommerce-account .entry-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.woocommerce .woocommerce-form-login {
  max-width: 420px;
  margin: 3rem auto;
  padding: 0;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  box-shadow: 
    0 20px 25px -5px rgba(6, 31, 101, 0.1),
    0 10px 10px -5px rgba(6, 31, 101, 0.04),
    0 0 0 1px rgba(6, 31, 101, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

/* Decorative elements */
.custom-account-entry {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}



.woocommerce .woocommerce-form-login::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #5bcef8 0%, #5bcef8 50%, #5bcef8 100%);
  border-radius: 20px 20px 0 0;
}

.woocommerce .woocommerce-form-login::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(6, 31, 101, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* Inner container */
.woocommerce .woocommerce-form-login > * {
  position: relative;
  z-index: 1;
}

.woocommerce .woocommerce-form-login {
  padding: 2.5rem;
}

/* Enhanced header styling */
.custom-login-heading {
  text-align: center;
  margin-bottom: 2.5rem;
  color: #5bcef8;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
}

.custom-login-heading::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #5bcef8 50%, transparent 100%);
  border-radius: 2px;
}


/* Enhanced form row styling */
.woocommerce-form-login .woocommerce-form-row {
  margin-bottom: 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Modern label styling */
.woocommerce-form-login label {
  display: block;
  margin-bottom: 0.75rem;
  color: #28282F;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.woocommerce-form-login .required {
  color: #ef4444;
  margin-left: 2px;
}

/* Advanced input styling */
.woocommerce-form-login .woocommerce-Input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 30px !important;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  box-sizing: border-box;
  position: relative;
}

.woocommerce-form-login .woocommerce-Input:focus {
  outline: none;
  border-color: #5bcef8 !important;
  box-shadow: 
    0 0 0 4px rgba(6, 31, 101, 0.1),
    0 1px 3px rgba(6, 31, 101, 0.1);
  background: #ffffff;
  transform: translateY(-1px);
}

.woocommerce-form-login .woocommerce-Input:hover:not(:focus) {
  border-color: #cbd5e1;
  box-shadow: 0 2px 4px rgba(6, 31, 101, 0.05);
}

/* Enhanced password input */
.woocommerce-form-login .password-input {
  position: relative;
  display: block;
}

.woocommerce-form-login .password-input input {
  padding-right: 3.5rem;
}

/* Modern show password button */
.woocommerce-form-login .show-password-input {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  border: 1px solid #cbd5e1;
  color: #64748b;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.woocommerce-form-login .show-password-input:hover {
  background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
  color: #5bcef8;
  transform: translateY(-50%) scale(1.05);
}

.woocommerce-form-login .show-password-input:active {
  transform: translateY(-50%) scale(0.95);
}

/* Enhanced checkbox styling */
.woocommerce-form-login .woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
  padding: 0.75rem;
  border-radius: 10px;
  transition: all 0.2s ease-in-out;
}

.woocommerce-form-login .woocommerce-form__label-for-checkbox:hover {
  background: rgba(6, 31, 101, 0.02);
}

.woocommerce-form-login .woocommerce-form__input-checkbox {
  width: 14px;
  height: 14px;
  margin-right: 0.75rem;
  margin-bottom: 0;
  accent-color: #5bcef8;
  border-radius: 4px;
}


.woocommerce-form-login .woocommerce-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #5bcef8;
  color: white;
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 35px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.woocommerce-form-login .woocommerce-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.woocommerce-form-login .woocommerce-button:hover {
  background: linear-gradient(135deg, #064797 0%, #064797 100%);
  transform: translateY(-2px);
  box-shadow: 
    0 10px 20px rgba(6, 31, 101, 0.3),
    0 6px 6px rgba(6, 31, 101, 0.2);
}

.woocommerce-form-login .woocommerce-button:hover::before {
  left: 100%;
}

.woocommerce-form-login .woocommerce-button:active {
  transform: translateY(-1px);
  box-shadow: 
    0 5px 10px rgba(6, 31, 101, 0.2),
    0 3px 3px rgba(6, 31, 101, 0.1);
}

/* Elegant lost password link */
.woocommerce-form-login .woocommerce-LostPassword {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 0;
  position: relative;
}

.woocommerce-form-login .woocommerce-LostPassword::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%);
  transform: translateY(-50%);
}

.woocommerce-form-login .woocommerce-LostPassword a {
  color: #28282F;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  position: relative;
  display: inline-block;
}

.woocommerce-form-login .woocommerce-LostPassword a:hover {
  color: #28282F;
  background: #ffffff;
  box-shadow: 0 4px 6px rgba(6, 31, 101, 0.1);
  transform: translateY(-1px);
}

/* Enhanced notices wrapper */
.woocommerce .woocommerce-notices-wrapper {
  margin-bottom: 1.5rem;
  max-width: 420px;
}

/* Loading state animation */
.woocommerce-form-login .woocommerce-button.loading {
  pointer-events: none;
  opacity: 0.8;
}

.woocommerce-form-login .woocommerce-button.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s ease infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .woocommerce-form-login * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible for better accessibility */
.woocommerce-form-login *:focus-visible {
  outline: 2px solid #061F65;
  outline-offset: 2px;
}

/* Error states */
.woocommerce-form-login .woocommerce-Input.woocommerce-invalid {
  border-color: #ef4444;
  background: linear-gradient(145deg, #fef2f2 0%, #ffffff 100%);
}

.woocommerce-form-login .woocommerce-Input.woocommerce-invalid:focus {
  border-color: #ef4444;
  box-shadow: 
    0 0 0 4px rgba(239, 68, 68, 0.1),
    0 1px 3px rgba(239, 68, 68, 0.1);
}

/* Success states */
.woocommerce-form-login .woocommerce-Input.woocommerce-valid {
  border-color: #10b981;
  background: linear-gradient(145deg, #f0fdf4 0%, #ffffff 100%);
}

/* Floating label effect (optional enhancement) */
.woocommerce-form-login .form-row.floating-label {
  position: relative;
}

.woocommerce-form-login .floating-label label {
  position: absolute;
  left: 1.25rem;
  top: 1rem;
  background: #ffffff;
  padding: 0 0.5rem;
  transition: all 0.2s ease-in-out;
  pointer-events: none;
  color: #6b7280;
  font-weight: 500;
  text-transform: none;
}

.woocommerce-form-login .floating-label input:focus + label,
.woocommerce-form-login .floating-label input:not(:placeholder-shown) + label {
  top: -0.5rem;
  font-size: 0.75rem;
  color: #061F65;
  font-weight: 600;
}

@media (max-width: 480px) {
  .woocommerce .woocommerce-form-login {
    margin: 1rem;
    max-width: 300px;
    padding: 2rem 1.25rem;
    border-radius: 16px;
  }

  .entry-content .woocommerce h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .woocommerce-form-login .woocommerce-form-row {
    margin-bottom: 1.25rem;
  }

  .woocommerce-form-login label {
    font-size: 0.75rem;
  }

  .woocommerce-form-login .woocommerce-Input {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem !important;
  }

   .password-input input {
    max-height: 30px;
  }

  .woocommerce-form-login .show-password-input {
    width: 20px;
    height: 20px;
    padding: 0.4rem;
  }

  .woocommerce-form-login .woocommerce-button {
    padding: 0.75rem 1rem;
    font-size: 0.7rem;
    border-radius: 10px;
  }

  .woocommerce-form-login .woocommerce-form__label-for-checkbox {
    padding: 0.5rem;
    font-size: 0.7rem;
  }

  .woocommerce-form-login .woocommerce-LostPassword a {
    font-size: 0.8125rem;
    padding: 0.4rem 0.75rem;
  }

  .woocommerce-form-login .floating-label label {
    left: 1rem;
    top: 0.875rem;
    font-size: 0.8125rem;
  }

  .woocommerce-form-login .floating-label input:focus + label,
  .woocommerce-form-login .floating-label input:not(:placeholder-shown) + label {
    top: -0.5rem;
    font-size: 0.6875rem;
  }
}


/*woocomerce dashboard */

/* WooCommerce Wrapper for Dashboard */
.entry-content.woocommerce {
  display: flex;
  flex-direction: column;
  gap: 2rem; /* Space between navigation and content */
  max-width: 1200px; /* Max width for the content area */
  margin: 0 auto; /* Center the content */
  padding: 0 1.5rem; /* Horizontal padding */
}

/* Navigation Styling */
.woocommerce-MyAccount-navigation {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(6, 31, 101, 0.05);
  border: 1px solid rgba(6, 31, 101, 0.03);
  padding: 1.5rem;
  position: relative; 
}

.woocommerce-MyAccount-navigation ul {
  display: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem; 
}

#myaccount-navigation-menu{
  padding-left: 1rem;
  padding-right: 1rem;
}

.woocommerce-MyAccount-navigation li {
  margin: 0;
}

.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 0.8rem 1rem;
  color: #4b5563;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.95rem;

  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

.woocommerce-MyAccount-navigation li a:hover {
  background-color: rgba(6, 31, 101, 0.05);
  color: #5bcef8;
  transform: translateX(3px);
}

/* Active Navigation Link */
.woocommerce-MyAccount-navigation li.is-active a {
  background-color: #5bcef8;
  color: #ffffff;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(6, 31, 101, 0.2);
  transform: translateX(0); 
}
.woocommerce-MyAccount-navigation li.is-active a:hover {
  background-color: #3f94b2;
  color: #ffffff;
}

/* Main Content Area Styling */
.woocommerce-MyAccount-content {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(6, 31, 101, 0.05);
  border: 1px solid rgba(6, 31, 101, 0.03);
  padding: 2rem;
  line-height: 1.7;
  color: #374151;
  max-width: 900px;
}

.woocommerce-MyAccount-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.woocommerce-MyAccount-content strong {
  color: #3c9136;
  font-weight: 600;
}

.woocommerce-MyAccount-content a {
  color: #3c9136;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease-in-out, text-decoration 0.2s ease-in-out;
}

.woocommerce-MyAccount-content a:hover {
  color: #0a2472;
  text-decoration: none !important;
}

/* Notices Wrapper (for messages like "Hello Admin") */
.woocommerce-MyAccount-content .woocommerce-notices-wrapper {
  margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  .entry-content.woocommerce {
    flex-direction: row; 
    align-items: flex-start; 
  }

  .woocommerce-MyAccount-navigation {
    flex: 0 0 250px; 
    padding: 2rem;
  }

  .woocommerce-MyAccount-content {
    flex: 1; 
    padding: 2.5rem;
  }

  /* Hide hamburger button on desktop */
  .woocommerce-MyAccount-navigation .hamburger-button {
    display: none;
  }
}

@media (max-width: 767px) {
  .wp-block-post-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .entry-content.woocommerce {
    padding: 0 1rem; /* More padding for smaller screens */
    gap: 1.5rem;
  }

  .woocommerce-MyAccount-navigation {
    padding: 1rem;
    
  }

  .woocommerce-MyAccount-navigation ul {
    display: none; 
    position: absolute;
    top: 100%; 
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 20px rgba(6, 31, 101, 0.05);
    border: 1px solid rgba(6, 31, 101, 0.03);
    border-top: none;
    flex-direction: column; 
    z-index: 100; 
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  /* Show the list when .is-open class is present */
  .woocommerce-MyAccount-navigation.is-open ul {
    display: flex; 
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .woocommerce-MyAccount-navigation li a {
    padding: 0.8rem 1rem; 
    font-size: 0.95rem;
    text-align: left; 
    border-radius: 0; 
  }

  .woocommerce-MyAccount-navigation li a:hover {
    transform: translateX(0); 
  }

  .woocommerce-MyAccount-navigation li.is-active a {
    border-radius: 10px; }

  .woocommerce-MyAccount-content {
    padding: 1.5rem;
  }

  .woocommerce-MyAccount-content p {
    font-size: 0.95rem;
  }

  /* Hamburger Button Styling */
  .woocommerce-MyAccount-navigation .hamburger-button {
    display: flex; 
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: #5bcef8;;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    box-shadow: 0 4px 8px rgba(6, 31, 101, 0.2);
  }

  .woocommerce-MyAccount-navigation .hamburger-button:hover {
    background-color: #3f94b2;
  }

  .woocommerce-MyAccount-navigation .hamburger-button .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 1px;
    transition: all 0.3s ease-in-out;
  }

  .woocommerce-MyAccount-navigation .hamburger-button .icon-bar + .icon-bar {
    margin-top: 4px;
  }

  /* Hamburger animation for open state */
  .woocommerce-MyAccount-navigation.is-open .hamburger-button .icon-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .woocommerce-MyAccount-navigation.is-open .hamburger-button .icon-bar:nth-child(2) {
    opacity: 0;
  }

  .woocommerce-MyAccount-navigation.is-open .hamburger-button .icon-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}


/* Dashboard content adresse */
.woocommerce-MyAccount-content .woocommerce-Addresses.col2-set {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1.5rem;
}

.woocommerce-MyAccount-content .u-column1 .col-1{
  margin-left: -20px !important;
}

/* Individual Address Block Styling */
.woocommerce-MyAccount-content .woocommerce-Address {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 12px;
  box-shadow: 
    0 8px 15px rgba(6, 31, 101, 0.04),
    0 2px 5px rgba(6, 31, 101, 0.02);
  border: 1px solid rgba(6, 31, 101, 0.03);
  padding: 1.8rem;
  flex: 1; 
  min-width: 300px;
  max-width: 600px; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.woocommerce-MyAccount-content .woocommerce-Address:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 12px 25px rgba(6, 31, 101, 0.08),
    0 4px 8px rgba(6, 31, 101, 0.04);
}

/* Address Block Header */
.woocommerce-MyAccount-content .woocommerce-Address-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0; /* Subtle separator */
  padding-bottom: 1rem;
}

.woocommerce-MyAccount-content .woocommerce-Address-title h2 {
  font-size: 1.35rem;
  color: #3c9136;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

/* "Modifier Adresse" Link Styling */
.woocommerce-MyAccount-content .woocommerce-Address-title .edit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #3c9136;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 1px solid #3c9136;
  border-radius: 20px;
  transition: all 0.2s ease-in-out;
  background-color: transparent;
}

.woocommerce-MyAccount-content .woocommerce-Address-title .edit::before {
  display: inline-block;
  vertical-align: middle;
}

.woocommerce-MyAccount-content .woocommerce-Address-title .edit:hover {
  background-color: #4cb944;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(6, 31, 101, 0.2);
  transform: translateY(-1px);
}

.woocommerce-MyAccount-content .woocommerce-Address-title .edit:active {
  transform: translateY(0);
}

/* Address Text Styling */
.woocommerce-MyAccount-content address {
  font-style: normal; 
  line-height: 1.8;
  color: #4a5568;
  font-size: 1rem;
}

.woocommerce-MyAccount-content address br {
  margin-bottom: 0.25em;
}

.woocommerce-MyAccount-content .woocommerce-notices-wrapper {
  margin-bottom: 1.5rem; 
}


/* Responsive Adjustments for Mobile */
@media (max-width: 767px) {
  .woocommerce-MyAccount-content .woocommerce-Addresses.col2-set {
    flex-direction: column;
    align-items: center; 
    gap: 1.5rem; 
    width: 100% !important;
  }

  .woocommerce-MyAccount-content .woocommerce-Address {
    padding: 1.5rem;
    min-width: unset; 
    width: 100%; 
    max-width: 400px;
  }

  .woocommerce-MyAccount-content .woocommerce-Address-title {
    flex-direction: column; 
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
  }

  .woocommerce-MyAccount-content .woocommerce-Address-title h2 {
    font-size: 1.2rem;
  }

  .woocommerce-MyAccount-content .woocommerce-Address-title .edit {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .woocommerce-MyAccount-content address {
    font-size: 0.95rem;
  }

}



/* Styling for WooCommerce buttons - khususnya untuk page pay now*/
.woocommerce-button {
    background-color: #5bcef8;
    color: #ffffff;
    padding: 12px 25px;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    display: inline-block;
    width: auto;
    border: 1px solid #5bcef8;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.woocommerce-button:hover,
.woocommerce-button:focus {
    background-color: #3f94b2;
    color: #ffffff;
    border-color: #3f94b2;
    text-decoration: none;
    opacity: 0.9;
}

.woocommerce-MyAccount-content .woocommerce-orders-table__cell a{
  color: white !important;

}

/* Contactez */

#contactez h2 {
  color: #0f172a; 
  letter-spacing: -0.02em;
}
#contactez p {
  color: #334155; 
  line-height: 1.65;
}


.after-title-contact {
  position: relative;
  padding-bottom: 0.75rem;
}
.after-title-contact::after {
  content: "";
  display: block;
  width: 96px;
  height: 3px;
  margin-top: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #4cb944, #5bcef8);
}


.banner-phone-number {
  display: inline-flex;
  align-items: center;
  cursor: pointer !important;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: #5bcef8; 
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.10); /* shadow-medium */
  transition: transform 160ms ease, box-shadow 200ms ease, opacity 160ms ease;
  will-change: transform, box-shadow;
}
a[href^="tel:"] .banner-phone-number svg {
  flex: 0 0 auto;
}
a[href^="tel:"]:hover .banner-phone-number {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.12); 
}
a[href^="tel:"]:active .banner-phone-number {
  transform: translateY(0);
  opacity: 0.92;
}
a[href^="tel:"]:focus .banner-phone-number {
  outline: none;
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.12); 
}
a[href^="tel:"]:focus-visible .banner-phone-number {
  box-shadow:
    0 12px 24px rgba(2, 6, 23, 0.12), 
    0 0 0 4px rgba(37, 99, 235, 0.24); 
}


.contact-card {
  background:
    linear-gradient(to top, rgba(37, 99, 235, 0.06), rgba(255, 255, 255, 1)),
    #ffffff; 
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: saturate(115%) blur(6px);
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.10); 
  width: 300px !important;
}


svg {
  shape-rendering: geometricPrecision;
}

/* ---- Form fields in #contactez ---- */
#contactez-form input:not([type="checkbox"]),
#contactez-form select,
#contactez-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  background: #fff;
  color: #0f172a;
  transition: border-color 160ms ease, box-shadow 180ms ease, transform 160ms ease;
}

/* Fokus: ring biru + sedikit lift */
#contactez-form input:not([type="checkbox"]):focus,
#contactez-form select:focus,
#contactez-form textarea:focus,
#contactez-form input:not([type="checkbox"]):focus-visible,
#contactez-form select:focus-visible,
#contactez-form textarea:focus-visible {
  outline: none;
  border-color: #5bcef8;
  box-shadow:
    0 0 0 4px rgba(91, 206, 248, 0.24),   
    0 0 0 1.5px #5bcef8;              
  transform: translateY(-1px);
}


#contactez-form input::placeholder,
#contactez-form textarea::placeholder {
  color: #64748b;
  opacity: 0.9;
}


#contactez-form .form-field:has(:focus-visible) {
  filter: saturate(110%);
}

/* ---- Checkbox ---- */

.checkbox-custom {
  appearance: none;              
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 2px solid #cbd5e1;      
  border-radius: 6px;
  background: #ffffff;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 180ms ease,
    transform 160ms ease,
    background 180ms ease;
  box-shadow: 0 2px 8px rgba(2,6,23,.08);
  position: relative;
}

/* ikon centang */
.checkbox-custom::after {
  content: "";
  width: 8px;
  height: 12px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 160ms ease;
  position: absolute;
  top: 1px;
  left: 5px;
}


.checkbox-custom:hover { transform: translateY(-1px); }
.checkbox-custom:active { transform: translateY(0); }


.checkbox-custom:checked {
  border-color: #4cb944;
  background: linear-gradient(135deg, #4cb944, #5bcef8);
  box-shadow: 0 4px 14px rgba(2,6,23,.14);
}
.checkbox-custom:checked::after { transform: rotate(45deg) scale(1); }


.checkbox-custom:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(91, 206, 248, 0.24), 
    0 0 0 1.5px #5bcef8,
    0 4px 14px rgba(2,6,23,.14);
  border-color: #5bcef8;
}


.checkbox-row label {
  cursor: pointer;
  line-height: 1.5;
  user-select: none;
}
.checkbox-custom:checked + label {
  color: #0f172a;                
  font-weight: 600;
}

#buttonContactez{
  cursor: pointer !important;
}

#contactInfoBox {
  z-index: 999 !important;
  box-shadow: 0 0 11px 3px #808080ab;
}
@media (max-width: 1280px) {
  #mobileMenuToggle{
  display:block ;
  }
  .btn-nav-mb{
    display: block;
  }
  .menu-content {
    width: 100%;
    max-width: 480px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 32px;
    position: relative;
    transition: all 0.5s ease-out;
    transform: translateY(32px) scale(0.95);
    opacity: 0;
  }

}
