/**
 * OggyShop - "Buy More Save More" & 100K Deal Category Styles
 * Matches high-converting product page UI
 */

/* 1. "Buy More Save More" Card */
.oggy-bmsm-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  margin: 10px 0 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}

.oggy-bmsm-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.oggy-bmsm-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.2px;
}

.oggy-bmsm-tiers {
  display: flex;
  flex-direction: column;
}

.oggy-bmsm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 4px;
  border-top: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  border-radius: 6px;
}

.oggy-bmsm-row:first-child {
  border-top: 1px solid #f1f5f9;
}

.oggy-bmsm-row.is-active {
  background: #f0fdf4;
  padding-left: 8px;
  padding-right: 8px;
  margin: 1px -4px;
}

.oggy-bmsm-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.oggy-bmsm-main {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

.oggy-bmsm-row.is-active .oggy-bmsm-main {
  color: #065f46;
}

.oggy-bmsm-sub {
  font-size: 12px;
  color: #64748b;
  line-height: 1.3;
}

.oggy-bmsm-add-btn {
  background: #006d5b !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 5px 14px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  outline: none !important;
  line-height: 1 !important;
  box-shadow: 0 2px 6px rgba(0, 109, 91, 0.2) !important;
  min-width: 72px !important;
}

.oggy-bmsm-add-btn:hover {
  background: #005647 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(0, 109, 91, 0.35) !important;
}

.oggy-bmsm-row.is-active .oggy-bmsm-add-btn {
  background: #059669 !important;
}

.oggy-bmsm-plus {
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

/* 2. Flat 30% Deal Flag Badge */
.oggy-deal-flag-badge {
  display: inline-block;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
}

/* 3. 100K Deals Category Hero Banner */
.oggy-deal-category-hero {
  background: linear-gradient(135deg, #0b1329 0%, #172554 60%, #1e1b4b 100%);
  border-radius: 18px;
  padding: 32px 30px;
  color: #ffffff;
  margin-bottom: 30px;
  border: 1.5px solid rgba(255, 194, 31, 0.35);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.25), 0 0 20px rgba(255, 194, 31, 0.15);
  position: relative;
  overflow: hidden;
}

.oggy-deal-category-hero::after {
  content: "30% OFF";
  position: absolute;
  right: 20px;
  bottom: -15px;
  font-size: 90px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  pointer-events: none;
}

.oggy-deal-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.oggy-deal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 194, 31, 0.15);
  border: 1px solid rgba(255, 194, 31, 0.3);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #ffc21f;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.oggy-deal-hero-heading {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff !important;
  margin: 0 0 10px !important;
  line-height: 1.3;
}

.oggy-deal-hero-sub {
  font-size: 14px;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.6;
}

.oggy-coupon-code-pill {
  display: inline-block;
  background: #ffc21f;
  color: #0f172a !important;
  padding: 2px 12px;
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.oggy-hero-coupon-action {
  margin-top: 16px;
}

.oggy-hero-coupon-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 8px !important;
  padding: 8px 18px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.oggy-hero-coupon-btn:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: #ffc21f !important;
  color: #ffc21f !important;
  transform: translateY(-1px);
}

.oggy-hero-coupon-btn.is-copied {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
}

/* 4. 100K Deal Coupon Promo Box on Single Product Page */
.oggy-deal-coupon-notice {
  background: linear-gradient(135deg, #fffdf2 0%, #fef3c7 100%);
  border: 1.5px dashed #f59e0b;
  border-radius: 10px;
  padding: 8px 12px;
  margin: 8px 0 10px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.08);
}

.oggy-dcn-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.oggy-dcn-icon {
  font-size: 20px;
  line-height: 1;
}

.oggy-dcn-content {
  flex-grow: 1;
  min-width: 170px;
}

.oggy-dcn-badge {
  font-size: 10px;
  font-weight: 800;
  color: #b45309;
  letter-spacing: 0.5px;
  margin-bottom: 1px;
  text-transform: uppercase;
}

.oggy-dcn-text {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.oggy-dcn-action {
  flex-shrink: 0;
}

.oggy-dcn-code-btn {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #d97706 !important;
  border-radius: 6px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 5px rgba(217, 119, 6, 0.12) !important;
}

.oggy-dcn-code-btn:hover {
  background: #fef3c7 !important;
  transform: translateY(-1px);
}

.oggy-dcn-code-btn.is-copied {
  background: #dcfce7 !important;
  border-color: #16a34a !important;
  color: #15803d !important;
}

.oggy-dcn-code {
  letter-spacing: 0.5px;
  color: #d97706;
  font-family: inherit;
}

.oggy-dcn-copy-tag {
  background: #fef3c7;
  color: #92400e;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .oggy-deal-category-hero {
    padding: 22px 18px;
  }
  .oggy-deal-hero-heading {
    font-size: 20px;
  }
  .oggy-bmsm-card {
    padding: 14px 16px;
  }
  .oggy-dcn-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .oggy-dcn-action {
    width: 100%;
  }
  .oggy-dcn-code-btn {
    width: 100%;
    justify-content: center;
  }
}
