/* Colours */
/* Font */
.ctl-has-overlay {
  position: relative;
}

.ctl-overlay {
  position: absolute;
  pointer-events: none;
  z-index: 5;
}

.ctl-dot {
  position: absolute;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s;
}

.ctl-dot:hover, .ctl-dot:focus-visible, .ctl-dot.active {
  transform: scale(1.15);
}

.ctl-dot-inner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.6);
}

.ctl-dot.active .ctl-dot-inner {
  background: #222;
  box-shadow: 0 0 0 2px #fff;
}

.ctl-card {
  position: absolute;
  z-index: 1060;
  width: 280px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  padding: 14px;
  font-size: 14px;
}

.ctl-card-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  width: auto;
  border-radius: 12px 12px 0 0;
  padding: 18px 16px 20px;
}

.ctl-card-close, .ctl-modal-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #555;
  padding: 4px 8px;
}

.ctl-modal-close {
  z-index: 20;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  color: #222;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.ctl-card-body {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  padding-right: 18px;
}

.ctl-card-image {
  flex: 0 0 84px;
}

.ctl-card-image img, .ctl-row-image img {
  width: 100%;
  height: auto;
  display: block;
}

.ctl-card-name, .ctl-row-name {
  display: block;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
  line-height: 1.3;
}

.ctl-price {
  font-weight: 700;
  font-size: 17px;
}

.ctl-vat, .ctl-row-price {
  color: #666;
  font-size: 13px;
}

.ctl-stock {
  font-size: 12px;
  margin-top: 4px;
}

.ctl-stock.in {
  color: #1e7b34;
}

.ctl-stock.out {
  color: #a15c00;
}

.ctl-add, .ctl-add-all {
  width: 100%;
  border: 0;
  border-radius: 4px;
  padding: 10px 14px;
  cursor: pointer;
  background: var(--brand-cta, #4f9a3a);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ctl-add:hover, .ctl-add-all:hover {
  filter: brightness(0.93);
}

.ctl-add:disabled, .ctl-add-all:disabled {
  opacity: 0.6;
  cursor: default;
}

.ctl-card-view {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 13px;
}

.ctl-look {
  max-width: 720px;
  margin: 0 auto 32px;
  padding: 0 16px;
}

.ctl-look-heading {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

.ctl-look-image {
  position: relative;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
}

.ctl-look-image .picture-wrapper::before {
  content: none;
}

.ctl-look-image .picture-wrapper > picture, .ctl-look-image .picture-wrapper > img {
  position: static;
  display: block;
  height: auto;
}

.ctl-look-image img {
  width: 100%;
  height: auto;
  display: block;
}

.ctl-look-cta {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 6;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: #222;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.banner .tns-outer:has(.ctl-look) {
  position: relative;
  padding-bottom: 28px;
}

.banner .tns-outer:has(.ctl-look) .tns-nav {
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  gap: 8px;
}

.banner .tns-outer:has(.ctl-look) .tns-nav button {
  background-color: #c8c8c8;
  box-shadow: none;
}

.banner .tns-outer:has(.ctl-look) .tns-nav button.tns-nav-active {
  background-color: #222;
}

@media (min-width: 992px) {
  .banner .tns-outer:has(.ctl-look) .tns-controls {
    top: 50%;
    bottom: auto;
    left: 0;
    right: 0;
    height: 0;
    margin: 0;
    z-index: 7;
  }
  .banner .tns-outer:has(.ctl-look) .tns-controls button {
    top: 0;
    background: #fff !important;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  }
  .banner .tns-outer:has(.ctl-look) .tns-controls button::before {
    border-color: #222;
  }
  .banner .tns-outer:has(.ctl-look) .tns-controls button[data-controls=prev] {
    left: -10px;
  }
  .banner .tns-outer:has(.ctl-look) .tns-controls button[data-controls=next] {
    left: auto;
    right: -10px;
  }
}
body.ctl-modal-open {
  overflow: hidden;
}

.ctl-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ctl-modal {
  position: relative;
  background: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 1100px;
  max-height: calc(100vh - 32px);
  display: flex;
  overflow: hidden;
}

.ctl-modal-image {
  flex: 1 1 58%;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ctl-modal-image .picture-wrapper {
  width: 100%;
}

.ctl-modal-image img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 32px);
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

.ctl-modal-products {
  flex: 1 1 42%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  min-width: 0;
}

.ctl-modal-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 32px 12px 0;
}

.ctl-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1 1 auto;
}

.ctl-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 6px;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s;
}

.ctl-row.highlight {
  background: #fff6d6;
}

.ctl-row.pulse {
  animation: ctl-pulse 0.9s ease-out;
}

@keyframes ctl-pulse {
  0% {
    box-shadow: inset 0 0 0 3px #f0b400;
  }
  100% {
    box-shadow: inset 0 0 0 0 rgba(240, 180, 0, 0);
  }
}
.ctl-row-image {
  flex: 0 0 64px;
}

.ctl-row-details {
  flex: 1 1 auto;
  min-width: 0;
}

.ctl-tick {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.ctl-qty {
  width: 56px;
  flex: 0 0 auto;
  padding: 4px;
}

.ctl-modal-footer {
  padding-top: 14px;
}

.ctl-total {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 10px;
}

@media (max-width: 767px) {
  .ctl-modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }
  .ctl-modal-close {
    position: fixed;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    font-size: 28px;
  }
  .ctl-modal {
    flex-direction: column;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    overflow-y: auto;
  }
  .ctl-modal-image {
    flex: 0 0 auto;
  }
  .ctl-modal-image .picture-wrapper::before {
    content: none;
  }
  .ctl-modal-image .picture-wrapper > picture, .ctl-modal-image .picture-wrapper > img {
    position: static;
    display: block;
    height: auto;
  }
  .ctl-modal-image img {
    max-height: 55vh;
  }
  .ctl-modal-products {
    flex: 1 0 auto;
    padding: 16px;
  }
  .ctl-rows {
    overflow: visible;
  }
  .ctl-modal-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding-bottom: 12px;
  }
}