:root {
  --red: #c8102e;
  --cream: #f7ead7;
  --accent: #4b1020;
  --shadow: rgba(0, 0, 0, 0.12);
}

.oyf-container {
  max-width: 1400px;
  margin: 20px auto;
  color: #fff;
/*   font-family: Tahoma, Arial, sans-serif; */
  padding: 0 20px;
  background: linear-gradient(180deg, #c8102e 0%, #8b0a1f 100%);
  border-radius: 20px;
  overflow: hidden;
}

/* Header/Brand */
.oyf-brand {
  text-align: center;
  font-size: 56px;
  font-weight: 700;
  padding: 30px 0 20px;
  color: #fff;
  letter-spacing: 3px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* Top area with background */
.oyf-top-area {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 50px 40px;
  border-radius: 12px;
  background-image: var(--oyf-land-url);
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  min-height: 500px;
}

/* Left upload section */
.oyf-left-upload {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.oyf-upload-box {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 4px dashed rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  position: relative;
}

.oyf-upload-box::before {
  content: "🔹";
  font-size: 48px;
  display: block;
  margin-bottom: 10px;
}

.oyf-upload-box:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.05);
}

.oyf-upload-icon {
  font-weight: 700;
  text-align: center;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Center main product display */
.oyf-center-main {
  flex: 0 0 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.oyf-main-frame {
  width: 380px;
  height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Product name styling - NO ANIMATION */
.oyf-product-name {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 4;
  position: relative;
  top: 7rem !important;
  opacity: 1;
}

/* Main product image - NO ANIMATION */
.oyf-main-frame img {
  max-width: 280px;
  max-height: 340px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
  transform: scale(0.4);
  margin-top: 2rem;
  opacity: 1;
}

/* Heinz bottle background - NO ANIMATION */
.oyf-main-frame::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 380px;
  background-image: url("https://heinz.orientationre.com/wp-content/uploads/2025/11/heinz_bg.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
  opacity: 0.95;
}

/* Decorative glow effect - NO ANIMATION */
.oyf-main-frame::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(200, 16, 46, 0.3) 0%,
    transparent 70%
  );
  z-index: 1;
  opacity: 0.5;
}

/* Right form section */
.oyf-right-form {
  flex: 1;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.oyf-mini-form label {
  display: block;
  margin-top: 16px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.oyf-mini-form input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  font-size: 15px;
  transition: all 0.3s ease;
}

.oyf-mini-form input[type="file"] {
  padding: 10px 18px;
  font-size: 13px;
  cursor: pointer;
}

.oyf-mini-form input[type="file"]::file-selector-button {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.oyf-mini-form input[type="file"]::file-selector-button:hover {
  background: var(--accent);
}

.oyf-mini-form input:focus {
  outline: none;
  border-color: var(--cream);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(247, 234, 215, 0.3);
}

.oyf-btn-submit {
  margin-top: 20px;
  padding: 14px 32px;
  border-radius: 30px;
  background: var(--cream);
  color: var(--accent);
  border: none;
  cursor: pointer;
  display: block;
  width: 100%;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.oyf-btn-submit:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* Own Your Flavor banner */
.oyf-own-your-flavor {
  margin: 30px auto;
  background: linear-gradient(135deg, #4b1020 0%, #2a0610 100%);
  padding: 24px 40px;
  border-radius: 50px;
  width: 70%;
  text-align: center;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}

.oyf-own-your-flavor::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* ===== FIXED: Thumbnails area - NO ANIMATIONS ===== */
.oyf-thumbnails {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  padding: 40px !important;
  background: var(--cream) !important;
  color: #4b1020 !important;
  border-radius: 20px !important;
  margin: 20px 0 !important;
  justify-content: center !important;
  align-items: flex-start !important;
  min-height: 200px !important;
  visibility: visible !important;
  overflow: visible !important;
}

/* ===== FIXED: Thumb styling - NO ANIMATIONS ===== */
.oyf-thumb {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 150px !important;
  min-height: 180px !important;
  text-align: center !important;
  background: transparent !important;
  padding: 15px !important;
  border-radius: 12px !important;
  transition: none !important;
  cursor: pointer !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.oyf-thumb:hover {
  transform: none !important;
}

/* ===== Thumbnail images - NO ANIMATIONS - Match Design ===== */
.oyf-thumb img {
  width: 120px !important;
  height: 120px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 auto 10px !important;
  cursor: pointer !important;
  border: none !important;
  transition: none !important;
  animation: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transform: none !important;
  opacity: 1 !important;
}

.oyf-thumb img:hover {
  transform: none !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.oyf-thumb span {
  display: block !important;
  margin-top: 10px !important;
  font-weight: 700 !important;
  color: #5b1b2a !important;
  font-size: 14px !important;
  text-align: center !important;
  word-wrap: break-word !important;
  width: 100% !important;
  text-transform: uppercase !important;
}

/* ===== FIXED: Locked state ===== */
.oyf-thumb.locked {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.oyf-thumb.locked img {
  filter: grayscale(80%) !important;
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

/* ===== NEW: Unlock button styling ===== */
.oyf-unlock-btn {
  margin-top: 8px !important;
  padding: 6px 12px !important;
  background: #dc3545 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  pointer-events: all !important;
  transition: background 0.3s ease !important;
  display: inline-block !important;
}

.oyf-unlock-btn:hover {
  background: #c82333 !important;
  transform: scale(1.05) !important;
}

/* Request button */
.request-btn {
  background: linear-gradient(135deg, #0069d9 0%, #004a9e 100%);
  box-shadow: 0 6px 16px rgba(0, 105, 217, 0.3);
}

.request-btn:hover {
  background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
}

/* Floating add button */
.oyf-fab {
  position: fixed;
  bottom: 30px !important;
  right: 133px !important;
  background: linear-gradient(135deg, #00a86b 0%, #007a4d 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 98px !important;
  height: 98px !important;
  cursor: pointer;
  font-size: 12px !important;
  box-shadow: 0 8px 20px rgba(0, 168, 107, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
}

.oyf-fab:hover {
  box-shadow: 0 12px 30px rgba(0, 168, 107, 0.6);
}

/* Modal overlay */
.oyf-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  padding: 20px;
  z-index: 9999;
  animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.oyf-modal.hidden {
  display: none;
}

/* Modal inner card - smaller size */
.oyf-modal-inner {
  width: 100%;
  max-width: 550px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: visible;
  padding: 50px 30px 25px;
  animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideUp {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Decorative logo circle */
.oyf-modal-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -50px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-image: var(--oyf-modal-logo);
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background-color: #fff;
  border: 5px solid var(--red);
  animation: logoRotate 0.6s ease-out;
}

@keyframes logoRotate {
  0% {
    opacity: 0;
    transform: translateX(-50%) rotate(-180deg) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) rotate(0deg) scale(1);
  }
}

/* Modal title */
.oyf-modal-title {
  margin-top: 20px;
  margin-bottom: 18px;
  text-align: right;
  font-size: 26px;
  color: #1b1b1b;
  font-weight: 700;
}

/* Form styling */
.oyf-modal-inner label {
  display: block;
  margin: 12px 0 5px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
}

.oyf-modal-inner input[type="text"],
.oyf-modal-inner input[type="email"],
.oyf-modal-inner input[type="file"] {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 2px solid #ddd;
  transition: all 0.3s ease;
  font-size: 14px;
}

.oyf-modal-inner input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.1);
}

/* Action buttons */
.oyf-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 20px;
}

.oyf-btn-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.oyf-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.4);
}

.oyf-btn-ghost {
  background: #e9ecef;
  color: #333;
  border: 2px solid #ddd;
  padding: 10px 24px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.oyf-btn-ghost:hover {
  background: #ddd;
  border-color: #bbb;
}

/* Message area */
.oyf-form-message {
  min-height: 24px;
  font-size: 13px;
  padding: 7px 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.oyf-form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.oyf-form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Clip wrapper for main image */
.clip-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive design */
@media (max-width: 1200px) {
  .oyf-top-area {
    flex-direction: column;
    align-items: center;
    min-height: auto;
  }

  .oyf-left-upload,
  .oyf-center-main,
  .oyf-right-form {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .oyf-own-your-flavor {
    width: 90%;
    font-size: 28px;
  }
}

@media (max-width: 900px) {
  .oyf-brand {
    font-size: 36px;
  }

  .oyf-modal-inner {
    padding: 40px 20px;
    max-width: 450px;
  }

  .oyf-modal-logo {
    top: -45px;
    width: 90px;
    height: 90px;
  }

  .oyf-thumbnails {
    gap: 16px !important;
    padding: 25px !important;
  }

  .oyf-thumb {
    width: 130px !important;
  }

  .oyf-thumb img {
    width: 100px !important;
    height: 100px !important;
  }
}

@media (max-width: 600px) {
  .oyf-container {
    padding: 0 10px;
  }

  .oyf-brand {
    font-size: 28px;
  }

  .oyf-own-your-flavor {
    font-size: 22px;
    padding: 18px 25px;
  }

  .oyf-modal-inner {
    max-width: 95%;
    padding: 35px 18px;
  }

  .oyf-thumbnails {
    padding: 20px !important;
  }

  .oyf-thumb {
    width: 110px !important;
  }

  .oyf-thumb img {
    width: 90px !important;
    height: 90px !important;
  }
}