:root {
  --goya-red: #d9000d;
  --goya-black: #111111;
  --goya-yellow: #f4d000;
  --goya-light: #f5f5f5;
  --goya-border: #dedede;
  --goya-radius: 12px;
  --goya-radius-small: 8px;
  --goya-font-sans: "Nunito Sans", Arial, Helvetica, sans-serif;
}

.goya-member-form,
.goya-member-card,
.goya-fbt { font-family: var(--goya-font-sans); }

.goya-member-form {
  background: var(--goya-light);
  border: 1px solid var(--goya-border);
  display: grid;
  gap: 10px;
  max-width: 560px;
  padding: clamp(20px, 4vw, 36px);
}

.goya-member-form label { font-size: 13px; font-weight: 800; margin-top: 10px; }
.goya-member-form input { background: #fff; border: 1px solid var(--goya-border); border-radius: var(--goya-radius-small); min-height: 50px; padding: 12px 14px; }
.goya-member-form input:focus { border-color: var(--goya-black); outline: 2px solid transparent; }
.goya-member-form button { background: var(--goya-black); border: 0; border-radius: var(--goya-radius-small); color: #fff; cursor: pointer; font-size: 13px; font-weight: 800; margin-top: 14px; min-height: 52px; padding: 14px 20px; text-transform: uppercase; }
.goya-member-form button:hover { background: var(--goya-red); }
.goya-member-form__note { color: #666; font-size: 11px; line-height: 1.7; margin: 4px 0 0; text-align: center; }

.goya-message { margin-bottom: 16px; max-width: 560px; padding: 14px 18px; }
.goya-message--error { background: #fff0f0; border-left: 4px solid var(--goya-red); }
.goya-message--success { background: #ecf8f1; border-left: 4px solid #1f8a4c; }

.goya-member-card { background: var(--goya-black); color: #fff; max-width: 720px; padding: clamp(24px, 5vw, 48px); }
.goya-member-card--kim-cuong { background: linear-gradient(135deg, #111 0%, #4e0006 100%); }
.goya-member-card__eyebrow { color: var(--goya-yellow); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.goya-member-card h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.12; margin: 8px 0; }
.goya-member-card__points { font-size: 20px; font-weight: 800; }
.goya-member-card__next { border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.7); margin-top: 24px; padding-top: 20px; }

.goya-fbt { border-top: 1px solid var(--goya-border); margin-block: 22px 0; padding-block: 19px 0; }
.goya-fbt__eyebrow { color: var(--goya-red); font-size: 9px; font-weight: 900; letter-spacing: .15em; margin: 0 0 5px; text-transform: uppercase; }
.goya-fbt h2 { font-size: 16px; font-weight: 900; line-height: 1.35; margin: 0 0 12px; }
.goya-fbt__list { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.goya-fbt__item { align-items: center; background: #f7f7f7; border: 1px solid #e7e7e7; border-radius: var(--goya-radius-small); display: grid; gap: 11px; grid-template-columns: 66px minmax(0, 1fr) auto; margin: 0; min-width: 0; padding: 7px 10px 7px 7px; }
.goya-fbt__image { background: #fff; border-radius: 6px; display: block; overflow: hidden; }
.goya-fbt__item img { display: block; height: 64px; margin: 0; object-fit: contain; padding: 4px; width: 64px; }
.goya-fbt__details { min-width: 0; }
.goya-fbt__item h3 { font-size: 11px; font-weight: 800; line-height: 1.4; margin: 0 0 4px; }
.goya-fbt__item h3 a { color: #111; text-decoration: none; }
.goya-fbt__item .price { color: var(--goya-red); font-size: 11px; font-weight: 900; line-height: 1.3; margin: 0; }
.goya-fbt__item .price del { color: #888; font-size: 9px; font-weight: 500; }
.goya-fbt__item .price ins { text-decoration: none; }
.goya-fbt__view { align-items: center; color: #111; display: inline-flex; font-size: 10px; font-weight: 900; gap: 5px; padding: 8px 2px; text-decoration: none; white-space: nowrap; }
.goya-fbt__view b { color: var(--goya-red); font-size: 15px; }

@media (max-width: 560px) {
  .goya-fbt__item { grid-template-columns: 58px minmax(0, 1fr) auto; }
  .goya-fbt__item img { height: 56px; width: 56px; }
  .goya-fbt__view span { display: none; }
}
/* Product campaign — configurable in WooCommerce > Chiến dịch sản phẩm */
.single-product div.product { position: relative; }
.goya-campaign-badge { background: linear-gradient(160deg, #173cff, #071fba); border-radius: 0 0 14px 14px; box-shadow: 0 10px 24px rgba(23,60,255,.25); color: #fff; left: 18px; min-width: 122px; padding: 16px 13px 22px; position: absolute; text-align: center; top: 0; z-index: 12; }
.goya-campaign-badge::after { border-left: 61px solid transparent; border-right: 61px solid transparent; border-top: 20px solid #071fba; bottom: -19px; content: ""; left: 0; position: absolute; }
.goya-campaign-badge strong,
.goya-campaign-badge span,
.goya-campaign-badge small { display: block; position: relative; z-index: 1; }
.goya-campaign-badge strong { font-size: 22px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.goya-campaign-badge span { font-size: 9px; font-weight: 900; letter-spacing: .08em; margin-top: 7px; text-transform: uppercase; }
.goya-campaign-badge small { color: rgba(255,255,255,.78); font-size: 9px; margin-top: 4px; }
.goya-product-promo { align-items: stretch; background: linear-gradient(135deg, #d9000d, #a90009); border: 1px solid rgba(244,208,0,.72); border-radius: 12px; display: grid; gap: 8px; grid-template-columns: 1fr auto 1fr auto 1fr; margin-top: 16px; overflow: hidden; padding: 8px; width: 100%; }
.goya-product-promo__deal { background: #760007; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; color: #fff; display: flex; flex-direction: column; font-family: inherit; justify-content: center; min-height: 112px; padding: 14px 12px; text-align: center; }
button.goya-product-promo__deal.is-voucher { background: linear-gradient(145deg, #ffe66a, #f4d000); color: #650007; }
button.goya-product-promo__deal { cursor: pointer; width: 100%; }
.goya-product-promo__deal small,
.goya-product-promo__deal strong,
.goya-product-promo__deal span { display: block; }
.goya-product-promo__deal small { font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.goya-product-promo__deal small b { color: #f4d000; }
.goya-product-promo__deal.is-voucher small b { color: #d9000d; }
.goya-product-promo__deal strong { color: #f4d000; font-size: 24px; font-weight: 900; line-height: 1.1; margin: 5px 0; }
.goya-product-promo__deal.is-voucher strong { color: #d9000d; }
.goya-product-promo__deal strong .woocommerce-Price-amount { color: inherit; }
.goya-product-promo__deal span { color: rgba(255,255,255,.8); font-size: 11px; line-height: 1.4; }
.goya-product-promo__deal.is-voucher span { color: rgba(101,0,7,.82); }
.goya-promo-money { color: inherit !important; display: inline-flex !important; font-size: inherit !important; white-space: nowrap; }
.goya-product-promo__copy { align-self: center; background: #870008; border: 1px solid rgba(255,255,255,.48); border-radius: 999px; color: #fff; display: inline-flex; font-size: 10px; font-style: normal; font-weight: 900; letter-spacing: .08em; margin-top: 8px; padding: 6px 10px; }
.goya-product-promo__deal.is-copied .goya-product-promo__copy { background: #147b2f; }
.goya-product-promo__or { align-items: center; color: #fff; display: flex; font-size: 8px; font-weight: 900; justify-content: center; writing-mode: vertical-rl; }

@media (max-width: 760px) {
	.goya-campaign-badge { left: 10px; min-width: 102px; padding: 13px 9px 17px; }
	.goya-campaign-badge::after { border-left-width: 51px; border-right-width: 51px; }
	.goya-campaign-badge strong { font-size: 18px; }
	.goya-product-promo { gap: 6px; grid-template-columns: 1fr; padding: 6px; }
	.goya-product-promo__deal { min-height: 84px; }
	.goya-product-promo__or { min-height: 18px; writing-mode: horizontal-tb; }
}
