.store-giveaway {
  padding-top: 6px;
}

.store-giveaway.is-hero-replacement {
  padding-top: 14px;
}

.store-giveaway.is-hero-replacement .store-giveaway-inner {
  border-radius: 24px;
}

.store-giveaway-inner {
  border: 1px solid #e6cf9a;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(255, 247, 230, 0.95), rgba(255, 235, 196, 0.8));
  padding: 14px;
  box-shadow: 0 10px 26px rgba(24, 16, 6, 0.08);
  display: grid;
  gap: 12px;
}

.store-giveaway-media {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(122, 91, 30, 0.22);
  background: rgba(255, 255, 255, 0.45);
  aspect-ratio: 16 / 7;
}

.store-giveaway-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-giveaway-content {
  display: grid;
  gap: 6px;
}

.store-giveaway-inner.has-hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #120c03;
  --banner-overlay-pad: clamp(14px, 2.4vw, 24px);
  --banner-overlay-top: 0.18;
  --banner-overlay-mid: 0.58;
  --banner-overlay-bottom: 0.8;
}

.store-giveaway-inner.has-hero .store-giveaway-media {
  border: 0;
  border-radius: 0;
  aspect-ratio: 16 / 6.2;
  min-height: 220px;
}

.store-giveaway-inner.has-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(18, 12, 3, var(--banner-overlay-top)) 0%,
    rgba(18, 12, 3, var(--banner-overlay-mid)) 58%,
    rgba(18, 12, 3, var(--banner-overlay-bottom)) 100%
  );
}

.store-giveaway-inner.has-hero .store-giveaway-content {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(92%, 760px);
  left: var(--banner-overlay-pad);
  bottom: var(--banner-overlay-pad);
  align-items: flex-start;
  text-align: left;
  transform: none;
}

.store-giveaway-inner.has-hero[data-banner-position="top-left"] .store-giveaway-content {
  top: var(--banner-overlay-pad);
  left: var(--banner-overlay-pad);
  right: auto;
  bottom: auto;
  align-items: flex-start;
  text-align: left;
}

.store-giveaway-inner.has-hero[data-banner-position="top-center"] .store-giveaway-content {
  top: var(--banner-overlay-pad);
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translateX(-50%);
  align-items: center;
  text-align: center;
}

.store-giveaway-inner.has-hero[data-banner-position="top-right"] .store-giveaway-content {
  top: var(--banner-overlay-pad);
  right: var(--banner-overlay-pad);
  left: auto;
  bottom: auto;
  align-items: flex-end;
  text-align: right;
}

.store-giveaway-inner.has-hero[data-banner-position="middle-left"] .store-giveaway-content {
  top: 50%;
  left: var(--banner-overlay-pad);
  right: auto;
  bottom: auto;
  transform: translateY(-50%);
  align-items: flex-start;
  text-align: left;
}

.store-giveaway-inner.has-hero[data-banner-position="middle-center"] .store-giveaway-content {
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  align-items: center;
  text-align: center;
}

.store-giveaway-inner.has-hero[data-banner-position="middle-right"] .store-giveaway-content {
  top: 50%;
  right: var(--banner-overlay-pad);
  left: auto;
  bottom: auto;
  transform: translateY(-50%);
  align-items: flex-end;
  text-align: right;
}

.store-giveaway-inner.has-hero[data-banner-position="bottom-center"] .store-giveaway-content {
  bottom: var(--banner-overlay-pad);
  left: 50%;
  right: auto;
  top: auto;
  transform: translateX(-50%);
  align-items: center;
  text-align: center;
}

.store-giveaway-inner.has-hero[data-banner-position="bottom-right"] .store-giveaway-content {
  bottom: var(--banner-overlay-pad);
  right: var(--banner-overlay-pad);
  left: auto;
  top: auto;
  align-items: flex-end;
  text-align: right;
}

.store-giveaway-inner.has-hero[data-banner-position$="-center"] .store-giveaway-buttons {
  justify-content: center;
}

.store-giveaway-inner.has-hero[data-banner-position$="-right"] .store-giveaway-buttons {
  justify-content: flex-end;
}

.store-giveaway-inner.has-hero .store-giveaway-line-1 {
  color: #f8df9f;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}

.store-giveaway-inner.has-hero .store-giveaway-line-2 {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.store-giveaway-inner.has-hero .store-giveaway-line-3 {
  color: rgba(255, 247, 229, 0.96);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.store-giveaway-inner.has-hero .store-giveaway-btn.is-primary {
  background: #fff;
  color: #1f1408;
  border-color: #fff;
}

.store-giveaway-inner.has-hero .store-giveaway-btn.is-secondary {
  background: rgba(22, 14, 5, 0.36);
  color: #ffeec4;
  border-color: rgba(255, 236, 186, 0.7);
}

.store-giveaway-line {
  margin: 0;
}

.store-giveaway-line-1 {
  letter-spacing: 0.08em;
  font-size: 12px;
  color: #75541f;
  font-weight: 700;
}

.store-giveaway-line-2 {
  font-size: 28px;
  line-height: 1.08;
  color: #1c1a17;
}

.store-giveaway-line-3 {
  font-size: 18px;
  color: #5e4d2a;
  line-height: 1.32;
}

.store-giveaway-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.store-giveaway-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #d7b676;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  transition: transform 120ms ease, filter 120ms ease;
}

.store-giveaway-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.store-giveaway-btn.is-primary {
  background: #30230f;
  color: #ffefcc;
  border-color: #30230f;
}

.store-giveaway-btn.is-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: #3f2d12;
}

.store-giveaway-media[hidden],
.store-giveaway-buttons[hidden] {
  display: none !important;
}

@media (max-width: 720px) {
  .store-giveaway-inner.has-hero .store-giveaway-media {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }
}

.checkout-giveaway-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  color: #75541f;
  font-weight: 700;
}

.checkout-giveaway h2 {
  margin: 6px 0 4px;
  font-size: 1.12rem;
}

.checkout-giveaway p {
  margin: 0;
  color: #5e4d2a;
}

.checkout-giveaway {
  border: 1px solid #e6cf9a;
  border-radius: 12px;
  background: #fff6e6;
  padding: 12px;
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.checkout-giveaway-optin {
  margin-top: 4px;
  color: #3a2d16;
  font-weight: 500;
}

.checkout-giveaway-entries {
  margin: 4px 0 0;
  font-weight: 700;
  color: #3a2d16 !important;
}

.confirm-giveaway {
  border: 1px solid #e6cf9a;
  border-radius: 12px;
  background: #fff6e6;
  padding: 12px;
  margin-top: 14px;
}

.confirm-giveaway h3 {
  margin: 0 0 6px;
}

.confirm-giveaway p {
  margin: 0;
  color: #5e4d2a;
}

.product-entry-tag {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #d7d7d7;
  border-radius: 7px;
  overflow: hidden;
  background: #eeeeee;
  box-shadow: 0 1px 0 rgba(18, 18, 18, 0.08);
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  color: #151515 !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.product-card {
  min-height: 0;
}

.product-body {
  padding-bottom: 8px;
}

.product-title {
  margin: 0;
  line-height: 1.18;
  min-height: calc(1.18em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  margin-top: 0;
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
}

.product-footer .price-tag {
  white-space: nowrap;
}

.product-entry-main {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  background: #eeeeee;
}

.product-entry-icon {
  width: 13px;
  height: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-entry-icon svg {
  width: 13px;
  height: 13px;
  display: block;
}

.product-entry-icon path {
  fill: #f4b63a;
}

.product-entry-icon .cut {
  fill: none;
  stroke: #151515;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.product-entry-count {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #151515 !important;
}

.product-entry-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #4e4e4e !important;
}

.product-entry-multiplier {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  min-width: 38px;
  background: #7bf4d6;
  color: #0f1a17 !important;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

@media (max-width: 840px) {
  .product-entry-label {
    display: none;
  }

  .product-entry-main {
    gap: 5px;
    padding: 5px 7px;
  }
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.product-price-row .item-giveaway-badge {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.item-giveaway-badge[hidden] {
  display: none !important;
}

.item-giveaway-badge .product-entry-tag {
  font-size: 0.88rem;
}

.item-giveaway-badge .product-entry-main {
  gap: 6px;
  padding: 7px 11px;
}

.item-giveaway-badge .product-entry-icon,
.item-giveaway-badge .product-entry-icon svg {
  width: 16px;
  height: 16px;
}

.item-giveaway-badge .product-entry-label {
  font-size: 0.74rem;
}

.item-giveaway-badge .product-entry-multiplier {
  min-width: 50px;
  padding: 0 10px;
  font-size: 1.02rem;
}
