/* corneronotify/views/css/cornero.css */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=DM+Sans:wght@300;400;500&display=swap');

#index #content > section.cornero-notify-section {
  color: #f0ece4;
  font-family: 'Figtree', sans-serif;
  position: relative;
  padding: 80px 0;
  margin-bottom:0 !important;
}
.form-validation-error{
  display:none;
}

.cornero-notify-section::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: #1a1a1a;
  z-index: 0;
}

.cornero-notify-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

/* ── LEFT ── */
.cornero-left { flex: 1; min-width: 300px; }

.cornero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #C8B382;

  padding: 6px 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #C8B382;
  margin-bottom: 28px;
}

.cornero-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: #f0ece4;
  margin: 0 0 20px;
}

.cornero-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #9e9a91;
  margin-bottom: 28px;
  max-width: 480px;
}

.cornero-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cornero-features li {
  font-size: 14px;
  color: #b5b09f;
  padding-left: 20px;
  position: relative;
}

.cornero-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C8B382;
}

/* Form */
.cornero-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cornero-form input[type="email"] {
  flex: 1;
  min-width: 200px;

  border: 1px solid #3a3a3a;
  border-radius: 8px;
  padding: 14px 18px;
  color: black;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}

.cornero-form input[type="email"]::placeholder { color: #5a5a5a; }
.cornero-form input[type="email"]:focus { border-color: #C8B382; }

.cornero-form button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0ece4;
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}

.cornero-form button:hover { background: #C8B382; transform: translateX(2px); }
.cornero-form button:disabled { opacity: .5; cursor: not-allowed; }

.cornero-msg {
  margin-top: 12px;
  font-size: 13px;
  min-height: 18px;
}
.cornero-msg--ok    { color: #7abf8a; }
.cornero-msg--error { color: #e07070; }

/* ── RIGHT: Card ── */
.cornero-right { flex: 1; min-width: 300px; max-width: 480px; }

.cornero-card {
  background: #252525;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 28px;

}

/* Swatches grid */
.cornero-swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.cornero-swatch {
  border-radius: 10px;
  aspect-ratio: 4/4;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color .2s, transform .15s;
}

.cornero-swatch:hover { transform: scale(1.03); }

.cornero-swatch[data-active="true"] {
  border-color: #C8B382;
  box-shadow: 0 0 0 3px rgba(200,179,130,.25);
}


.cornero-swatch span {
  position: absolute;
  bottom: 0px;
  left: 0px;
  font-size: 12px;
  font-weight: 500;
  color: white;

  letter-spacing: .3px;
  pointer-events: none;
  width:100%;
  background:linear-gradient(0deg, #00000040 10%, transparent 90%);
  height:50%;
  display:flex;
  align-items: flex-end;
  padding:2px 4px
}


/* Spec rows */
.cornero-spec {
  border-top: 1px solid #333;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.cornero-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.cornero-spec-label { color: #6a6a6a; }
.cornero-spec-value { color: #f0ece4; font-weight: 500; }

.cornero-spec-row--price .cornero-spec-value {
  color: #C8B382;
  font-size: 15px;
  font-weight: 600;
}

/* Progress */
.cornero-progress-bar {
  height: 4px;
  background: #333;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}

.cornero-progress-fill {
  height: 100%;
  background: #C8B382;
  border-radius: 99px;
  width: 0;
  animation: corneroFill 1.2s ease-out .3s forwards;
}

@keyframes corneroFill {
  to { width: 75%; }
}

.cornero-progress-label {
  font-size: 11px;
  color: #5a5a5a;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .cornero-notify-inner {
    flex-direction: column;
    gap: 48px;
  }
  .cornero-right { max-width: 100%; width: 100%; }
}