
.az-footrefill-section {
  width: 100%;
  padding: 30px 20px;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.az-footrefill-section *,
.az-footrefill-section *::before,
.az-footrefill-section *::after {
  box-sizing: border-box;
}

.az-footrefill-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.az-footrefill-heading {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

.az-footrefill-heading > span {
  display: inline-block;
  margin-bottom: 12px;
  color: #162a9f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 2px;
}

.az-footrefill-heading h2 {
  margin: 0;
  color: #0d164e;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.az-footrefill-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.az-footrefill-column {
  display: grid;
  gap: 15px;
}

.az-footrefill-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-height: 105px;
  padding: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(22, 42, 159, 0.14);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(13, 22, 78, 0.07);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.az-footrefill-card::after {
  content: "";
  position: absolute;
  top: -45px;
  right: -45px;
  width: 95px;
  height: 95px;
  background: #4d6dff;
  border-radius: 50%;
  opacity: 0.05;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.az-footrefill-card:hover {
  border-color: rgba(22, 42, 159, 0.34);
  box-shadow: 0 19px 38px rgba(13, 22, 78, 0.12);
  transform: translateY(-4px);
}

.az-footrefill-card:hover::after {
  opacity: 0.11;
  transform: scale(1.25);
}

.az-footrefill-number {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 41px;
  height: 41px;
  color: #fff;
  background: linear-gradient(135deg, #4d6dff, #162a9f);
  border-radius: 12px;
  box-shadow: 0 8px 17px rgba(22, 42, 159, 0.21);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  transition:
    border-radius 0.3s ease,
    transform 0.3s ease;
}

.az-footrefill-card:hover .az-footrefill-number {
  border-radius: 50%;
  transform: rotate(-7deg) scale(1.06);
}

.az-footrefill-card > div {
  position: relative;
  z-index: 1;
}

.az-footrefill-card h3 {
  margin: 1px 0 7px;
  color: #0d164e;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.35;
}

.az-footrefill-card p {
  margin: 0;
  color: #5b6684;
  font-size: 13px;
  line-height: 1.62;
}

.az-footrefill-product {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  perspective: 900px;
}

.az-footrefill-glow {
  position: absolute;
  top: 47%;
  left: 50%;
  width: 330px;
  height: 330px;
  background: radial-gradient(
    circle,
    rgba(77, 109, 255, 0.22),
    rgba(77, 109, 255, 0.04) 55%,
    transparent 72%
  );
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: az-footrefill-glow 3.5s ease-in-out infinite;
}

.az-footrefill-orbit {
  position: absolute;
  top: 47%;
  left: 50%;
  border: 1px solid rgba(22, 42, 159, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.az-footrefill-orbit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  background: #4d6dff;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(77, 109, 255, 0.75);
}

.az-footrefill-orbit.orbit-one {
  width: 300px;
  height: 300px;
  animation: az-footrefill-orbit 12s linear infinite;
}

.az-footrefill-orbit.orbit-two {
  width: 336px;
  height: 336px;
  border-style: dashed;
  opacity: 0.55;
  animation: az-footrefill-orbit-reverse 17s linear infinite;
}

.az-footrefill-refill {
  position: relative;
  z-index: 3;
  width: 142px;
  height: 320px;
  transform: rotate(-8deg) rotateY(-7deg);
  animation: az-footrefill-float 4s ease-in-out infinite;
}

.az-footrefill-abrasive {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
  background-color: #9d4f2c;
  background-image:
    radial-gradient(circle, rgba(255, 226, 190, 0.48) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(70, 28, 12, 0.32) 0 1px, transparent 1.6px),
    linear-gradient(145deg, #c87343, #7c351e);
  background-position:
    0 0,
    4px 5px,
    0 0;
  background-size:
    8px 8px,
    9px 9px,
    100% 100%;
  border: 5px solid #73321e;
  border-radius: 69px 69px 62px 62px;
  box-shadow:
    0 27px 40px rgba(13, 22, 78, 0.23),
    inset 0 0 0 2px rgba(255, 255, 255, 0.15),
    inset 0 -18px 25px rgba(57, 18, 8, 0.22);
}

.az-footrefill-abrasive::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 25px;
  width: 62px;
  height: 105px;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  border-radius: 50%;
  transform: rotate(-18deg);
}

.az-footrefill-brand,
.az-footrefill-abrasive strong,
.az-footrefill-abrasive small {
  position: relative;
  z-index: 2;
  display: block;
}

.az-footrefill-brand {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 1px;
}

.az-footrefill-abrasive strong {
  color: #fff;
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
}

.az-footrefill-abrasive small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.az-footrefill-notch {
  position: absolute;
  z-index: 5;
  bottom: -1px;
  left: 50%;
  width: 30px;
  height: 16px;
  background: #f6f9ff;
  border: 4px solid #73321e;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  transform: translateX(-50%);
}

.az-footrefill-liner {
  position: absolute;
  z-index: 6;
  right: -9px;
  bottom: 2px;
  width: 66px;
  height: 74px;
  color: #162a9f;
  background:
    repeating-linear-gradient(
      45deg,
      #fff 0 6px,
      #edf3ff 6px 12px
    );
  border: 1px solid #cbd6ed;
  border-radius: 5px 5px 48px 5px;
  box-shadow: -7px -7px 16px rgba(13, 22, 78, 0.12);
  transform-origin: bottom right;
  animation: az-footrefill-peel 4s ease-in-out infinite;
}

.az-footrefill-liner span {
  position: absolute;
  right: 11px;
  bottom: 15px;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.7px;
  transform: rotate(-36deg);
}

.az-footrefill-shadow {
  position: absolute;
  z-index: 1;
  bottom: 92px;
  left: 50%;
  width: 160px;
  height: 30px;
  background: rgba(13, 22, 78, 0.2);
  border-radius: 50%;
  filter: blur(12px);
  transform: translateX(-50%);
  animation: az-footrefill-shadow 4s ease-in-out infinite;
}

.az-footrefill-product-label {
  position: absolute;
  z-index: 7;
  bottom: 27px;
  left: 50%;
  width: max-content;
  padding: 12px 19px;
  color: #fff;
  background: linear-gradient(135deg, #0d164e, #162a9f);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 13px;
  box-shadow: 0 12px 25px rgba(13, 22, 78, 0.18);
  text-align: center;
  transform: translateX(-50%);
}

.az-footrefill-product-label strong,
.az-footrefill-product-label span {
  display: block;
}

.az-footrefill-product-label strong {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
}

.az-footrefill-product-label span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.1px;
}

@keyframes az-footrefill-float {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg) rotateY(-7deg);
  }

  50% {
    transform: translateY(-13px) rotate(-4deg) rotateY(2deg);
  }
}

@keyframes az-footrefill-shadow {
  0%,
  100% {
    opacity: 0.72;
    transform: translateX(-50%) scaleX(1);
  }

  50% {
    opacity: 0.42;
    transform: translateX(-50%) scaleX(0.84);
  }
}

@keyframes az-footrefill-glow {
  0%,
  100% {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(0.94);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@keyframes az-footrefill-orbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes az-footrefill-orbit-reverse {
  from {
    transform: translate(-50%, -50%) rotate(360deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes az-footrefill-peel {
  0%,
  100% {
    transform: rotate(0deg) scale(0.94);
  }

  50% {
    transform: rotate(-8deg) translate(-5px, -6px) scale(1);
  }
}

@media (max-width: 1020px) {
  .az-footrefill-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .az-footrefill-product {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 460px;
  }
}

@media (max-width: 680px) {
  .az-footrefill-section {
    padding: 40px 16px;
  }

  .az-footrefill-heading {
    margin-bottom: 30px;
  }

  .az-footrefill-heading h2 {
    font-size: 30px;
  }

  .az-footrefill-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .az-footrefill-product {
    grid-column: auto;
    min-height: 410px;
  }

  .az-footrefill-card {
    min-height: 0;
    padding: 20px 18px;
    border-radius: 16px;
  }

  .az-footrefill-card:hover {
    transform: none;
  }

  .az-footrefill-refill {
    width: 118px;
    height: 275px;
  }

  .az-footrefill-orbit.orbit-one {
    width: 250px;
    height: 250px;
  }

  .az-footrefill-orbit.orbit-two {
    width: 283px;
    height: 283px;
  }

  .az-footrefill-shadow {
    bottom: 66px;
    width: 140px;
  }

  .az-footrefill-product-label {
    bottom: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .az-footrefill-card,
  .az-footrefill-card::after,
  .az-footrefill-number {
    transition: none;
  }

  .az-footrefill-refill,
  .az-footrefill-shadow,
  .az-footrefill-glow,
  .az-footrefill-orbit,
  .az-footrefill-liner {
    animation: none;
  }
}
