.fttm-box{width:100%;max-width:100%;box-sizing:border-box;margin:18px 0 24px;padding:18px;border:1px solid #dfe5ec;border-radius:10px;background:#fff;box-shadow:0 7px 22px rgba(15,23,42,.05);clear:both;container-type:inline-size}
.fttm-box *{box-sizing:border-box}
.fttm-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.fttm-heading h3{font-size:21px;line-height:1.15;margin:0 0 5px;color:#111827;font-weight:800}
.fttm-heading p{margin:0;color:#6b7280;font-size:13px;line-height:1.35}
.fttm-badge{white-space:nowrap;background:#111827;color:#fff;border-radius:7px;padding:8px 11px;font-size:10px;font-weight:800}
.fttm-tab-card-intro{margin:4px 0 12px;font-size:14px;line-height:1.5;font-weight:700;color:#111827}

/* Kart adları: tek satır, büyük, köşeli dikdörtgen alan */
.fttm-card-names{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:0 0 18px;padding:12px 14px;border:1px solid #d9e0e8;border-radius:6px;background:#fff;overflow:hidden}
.fttm-card-name{display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;min-width:0;padding:4px 2px;border:0;background:transparent;font-size:13px;font-weight:900;line-height:1;white-space:nowrap;letter-spacing:-.15px}
.fttm-card-bonus{color:#159447}.fttm-card-world{color:#66218c}.fttm-card-maximum{color:#e6007e}.fttm-card-axess{color:#111827}.fttm-card-paraf{color:#168fca}.fttm-card-cardfinans{color:#0754a6}.fttm-card-bankkart{color:#e51b23}.fttm-card-shop-fly{color:#005ba9}.fttm-card-miles-smiles{color:#c9151e}.fttm-card-advantage{color:#df1d2f}

.fttm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.fttm-plan{position:relative;display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:0;min-height:158px;padding:22px 16px;border:1px solid #d9e0e8;border-radius:6px;background:#fff;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.fttm-plan:hover{transform:translateY(-3px) scale(1.012);box-shadow:0 13px 28px rgba(15,23,42,.11);border-color:#bcc7d4;z-index:2}
.fttm-plan.is-highlighted{border:2px solid #16a34a;background:linear-gradient(180deg,#f0fdf4 0%,#fff 80%);padding:21px 15px;box-shadow:0 8px 22px rgba(22,163,74,.12)}
.fttm-plan.is-highlighted:hover{border-color:#15803d;box-shadow:0 15px 32px rgba(22,163,74,.18)}
.fttm-popular{position:static;align-self:flex-start;background:#16a34a;color:#fff;padding:7px 11px;border-radius:5px;font-size:10px;line-height:1;font-style:normal;font-weight:900;letter-spacing:.25px;margin-bottom:2px}
.fttm-count{font-size:14px;color:#111827;font-weight:900;text-transform:uppercase;white-space:nowrap}
.fttm-monthly{display:block;font-size:22px;font-weight:900;color:#111827;line-height:1.18;white-space:nowrap;letter-spacing:-.35px}
.fttm-period{font-size:.68em;font-weight:800;letter-spacing:-.15px;white-space:nowrap}
.fttm-monthly .woocommerce-Price-amount{white-space:nowrap}
.fttm-total{font-size:12px;color:#6b7280;line-height:1.3;overflow-wrap:anywhere}
.fttm-plan em{display:none!important}
.fttm-campaign-message{margin-top:16px;padding:14px 16px;border-radius:6px;background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;font-size:14px;font-weight:800;line-height:1.45}
.fttm-note{display:block;color:#6b7280;margin-top:10px;font-size:9px;line-height:1.4}

.fttm-context-gallery,.fttm-context-gallery-fallback{width:100%;margin:18px 0 4px!important}
.woocommerce-product-gallery>.fttm-box,.images>.fttm-box,.product-gallery>.fttm-box,.cgkit-gallery>.fttm-box{clear:both;width:100%;flex-basis:100%}
.fttm-tab-content .fttm-box{max-width:100%;margin:8px 0 10px;box-shadow:none}

@container (min-width:560px){
  .fttm-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .fttm-plan{min-height:185px;padding:26px 18px}
  .fttm-plan.is-highlighted{padding:25px 17px}
  .fttm-monthly{font-size:24px}
  .fttm-count{font-size:15px}
  .fttm-card-name{font-size:14px}
}
@container (max-width:720px){
  .fttm-card-names{gap:7px;padding:10px;overflow-x:auto;justify-content:flex-start;scrollbar-width:thin}
  .fttm-card-name{flex:0 0 auto;font-size:11px;padding:4px 5px}
}
@media(max-width:600px){
  .fttm-box{padding:14px}
  .fttm-heading h3{font-size:18px}
  .fttm-heading p{font-size:11px}
  .fttm-grid{grid-template-columns:1fr 1fr;gap:8px}
  .fttm-plan{min-height:145px;padding:16px 11px}
  .fttm-plan.is-highlighted{padding:15px 10px}
  .fttm-monthly{font-size:17px}
  .fttm-count{font-size:12px}
  .fttm-tab-card-intro{font-size:12px}
  .fttm-campaign-message{font-size:12px;padding:12px}
}

/* v1.1.6: Ürün görseli altındaki kompakt kartlarda fiyat ve “/ ay” kesinlikle tek satırda kalır. */
.fttm-context-gallery .fttm-monthly,
.fttm-context-gallery-fallback .fttm-monthly{
  display:flex!important;
  align-items:baseline;
  flex-wrap:nowrap!important;
  gap:3px;
  width:max-content;
  max-width:100%;
  white-space:nowrap!important;
  font-size:0!important;
  line-height:1.05;
  letter-spacing:0;
  overflow:visible;
}
.fttm-context-gallery .fttm-monthly .woocommerce-Price-amount,
.fttm-context-gallery-fallback .fttm-monthly .woocommerce-Price-amount,
.fttm-context-gallery .fttm-monthly bdi,
.fttm-context-gallery-fallback .fttm-monthly bdi{
  display:inline-flex!important;
  align-items:baseline;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  font-size:clamp(14px,2.45cqw,17px)!important;
  font-weight:900;
  line-height:1.05;
  letter-spacing:-.7px;
}
.fttm-context-gallery .fttm-monthly .woocommerce-Price-currencySymbol,
.fttm-context-gallery-fallback .fttm-monthly .woocommerce-Price-currencySymbol{
  display:inline!important;
  white-space:nowrap!important;
  font-size:1em!important;
  margin-left:1px;
}
.fttm-context-gallery .fttm-period,
.fttm-context-gallery-fallback .fttm-period{
  display:inline-block!important;
  flex:0 0 auto;
  white-space:nowrap!important;
  font-size:clamp(12px,1.9cqw,15px)!important;
  font-weight:800;
  line-height:1.05;
  letter-spacing:-.5px;
}

/* v1.2.0 Gold: FeraShops siyah-gold premium görünüm */
.fttm-box{
  border:1px solid rgba(190,151,76,.45);
  border-radius:8px;
  background:linear-gradient(180deg,#ffffff 0%,#fcfaf6 100%);
  box-shadow:0 10px 30px rgba(20,16,9,.08);
}
.fttm-heading h3{color:#17130d;letter-spacing:-.25px}
.fttm-heading p{color:#766a56}
.fttm-badge{
  background:#15120d;
  color:#d6b56a;
  border:1px solid #b8964e;
  border-radius:4px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);
}
.fttm-tab-card-intro{color:#2b2418}
.fttm-card-names{
  border:1px solid rgba(190,151,76,.42);
  border-radius:4px;
  background:#fffdf9;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
.fttm-card-name{color:#2b2418!important}
.fttm-card-name:not(:last-child)::after{
  content:"";
  width:1px;
  height:15px;
  margin-left:10px;
  background:rgba(184,150,78,.32);
}
.fttm-plan{
  border:1px solid rgba(184,150,78,.42);
  border-radius:4px;
  background:#fff;
  box-shadow:0 4px 12px rgba(30,23,12,.035);
}
.fttm-plan:hover{
  transform:translateY(-4px) scale(1.012);
  border-color:#b8964e;
  box-shadow:0 15px 30px rgba(46,34,14,.14);
}
.fttm-plan.is-highlighted{
  border:2px solid #b8964e;
  background:linear-gradient(180deg,#17130d 0%,#262015 100%);
  box-shadow:0 10px 26px rgba(42,31,13,.20);
}
.fttm-plan.is-highlighted:hover{
  border-color:#d1ae61;
  box-shadow:0 17px 34px rgba(42,31,13,.28);
}
.fttm-plan.is-highlighted .fttm-count,
.fttm-plan.is-highlighted .fttm-monthly,
.fttm-plan.is-highlighted .woocommerce-Price-amount,
.fttm-plan.is-highlighted .woocommerce-Price-currencySymbol{color:#fff!important}
.fttm-plan.is-highlighted .fttm-total{color:#d9c9a4}
.fttm-popular{
  background:linear-gradient(135deg,#d7b86d 0%,#a98237 100%);
  color:#161109;
  border-radius:3px;
  box-shadow:0 4px 10px rgba(0,0,0,.18);
}
.fttm-count,.fttm-monthly{color:#1d1810}
.fttm-total{color:#766a56}
.fttm-campaign-message{
  background:linear-gradient(90deg,#17130d 0%,#282116 100%);
  border:1px solid #b8964e;
  color:#e2c77f;
  border-radius:4px;
  box-shadow:0 8px 18px rgba(26,20,10,.12);
}
.fttm-note{color:#857760}
.fttm-tab-content .fttm-box{border-color:rgba(190,151,76,.35)}

@media(max-width:600px){
  .fttm-card-name:not(:last-child)::after{height:12px;margin-left:7px}
}


/* v1.2.1: FeraShops yerleşimi — Sepete Ekle altı, üstte ve sekmede tek satır */
.fttm-context-cart,
.fttm-context-cart-fallback{
  width:100%!important;
  max-width:none!important;
  margin:16px 0 22px!important;
  clear:both;
}
.fttm-context-cart .fttm-grid,
.fttm-context-cart-fallback .fttm-grid,
.fttm-context-tab .fttm-grid{
  display:grid!important;
  grid-template-columns:repeat(var(--fttm-plan-count),minmax(0,1fr))!important;
  gap:8px;
  overflow-x:auto;
  overflow-y:visible;
  padding-bottom:3px;
}
.fttm-context-cart .fttm-plan,
.fttm-context-cart-fallback .fttm-plan{
  min-width:112px;
  min-height:136px;
  padding:16px 10px;
}
.fttm-context-cart .fttm-plan.is-highlighted,
.fttm-context-cart-fallback .fttm-plan.is-highlighted{
  padding:15px 9px;
}
.fttm-context-cart .fttm-monthly,
.fttm-context-cart-fallback .fttm-monthly{
  display:flex!important;
  align-items:baseline;
  flex-wrap:nowrap!important;
  gap:2px;
  width:max-content;
  max-width:100%;
  white-space:nowrap!important;
  font-size:0!important;
  line-height:1.05;
  overflow:visible;
}
.fttm-context-cart .fttm-monthly .woocommerce-Price-amount,
.fttm-context-cart-fallback .fttm-monthly .woocommerce-Price-amount,
.fttm-context-cart .fttm-monthly bdi,
.fttm-context-cart-fallback .fttm-monthly bdi{
  display:inline-flex!important;
  align-items:baseline;
  white-space:nowrap!important;
  font-size:clamp(13px,1.5vw,18px)!important;
  font-weight:900;
  line-height:1.05;
  letter-spacing:-.55px;
}
.fttm-context-cart .fttm-period,
.fttm-context-cart-fallback .fttm-period{
  display:inline-block!important;
  flex:0 0 auto;
  white-space:nowrap!important;
  font-size:clamp(10px,1.05vw,14px)!important;
  font-weight:800;
  line-height:1.05;
}
.fttm-context-cart .fttm-card-names,
.fttm-context-cart-fallback .fttm-card-names,
.fttm-context-tab .fttm-card-names{
  flex-wrap:nowrap!important;
  overflow-x:auto;
  justify-content:space-between;
}
@media(max-width:900px){
  .fttm-context-cart .fttm-grid,
  .fttm-context-cart-fallback .fttm-grid,
  .fttm-context-tab .fttm-grid{
    grid-template-columns:repeat(var(--fttm-plan-count),minmax(118px,1fr))!important;
  }
}

/* v1.2.2 — FeraShops tam genişlik, en dar krem-gold görünüm */
.fttm-context-cart,
.fttm-context-cart-fallback{
  box-sizing:border-box;
  width:min(100%,1200px)!important;
  max-width:1200px!important;
  margin:14px auto 18px!important;
  padding:12px 16px 10px!important;
  clear:both!important;
  border:1px solid rgba(185,137,43,.38)!important;
  border-radius:6px!important;
  background:linear-gradient(180deg,#fffdfa 0%,#fff9ed 100%)!important;
  box-shadow:0 5px 16px rgba(105,72,16,.07)!important;
}
.fttm-context-cart .fttm-heading,
.fttm-context-cart-fallback .fttm-heading{
  margin:0 0 7px!important;
  align-items:center!important;
}
.fttm-context-cart .fttm-heading h3,
.fttm-context-cart-fallback .fttm-heading h3{
  font-size:17px!important;
  line-height:1.1!important;
  margin:0 0 2px!important;
}
.fttm-context-cart .fttm-heading p,
.fttm-context-cart-fallback .fttm-heading p{
  font-size:10px!important;
  line-height:1.2!important;
  margin:0!important;
}
.fttm-context-cart .fttm-badge,
.fttm-context-cart-fallback .fttm-badge{
  padding:5px 8px!important;
  font-size:9px!important;
  background:#fff7df!important;
  color:#8b6418!important;
  border-color:#c99a3e!important;
  box-shadow:none!important;
}
.fttm-context-cart .fttm-card-names,
.fttm-context-cart-fallback .fttm-card-names{
  min-height:0!important;
  margin:0 0 7px!important;
  padding:5px 8px!important;
  gap:8px!important;
  border-color:rgba(185,137,43,.28)!important;
  background:#fff!important;
  overflow-x:auto!important;
  flex-wrap:nowrap!important;
}
.fttm-context-cart .fttm-card-name,
.fttm-context-cart-fallback .fttm-card-name{
  font-size:9px!important;
  line-height:1!important;
  padding:3px 2px!important;
  white-space:nowrap!important;
}
.fttm-context-cart .fttm-grid,
.fttm-context-cart-fallback .fttm-grid{
  display:grid!important;
  grid-template-columns:repeat(var(--fttm-plan-count),minmax(0,1fr))!important;
  gap:6px!important;
  padding:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
}
.fttm-context-cart .fttm-plan,
.fttm-context-cart-fallback .fttm-plan{
  box-sizing:border-box!important;
  min-width:135px!important;
  min-height:88px!important;
  height:88px!important;
  padding:10px 12px!important;
  border-radius:3px!important;
  justify-content:center!important;
  gap:2px!important;
  box-shadow:none!important;
  background:#fffdf9!important;
}
.fttm-context-cart .fttm-plan:hover,
.fttm-context-cart-fallback .fttm-plan:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 5px 12px rgba(117,79,15,.10)!important;
}
.fttm-context-cart .fttm-plan.is-highlighted,
.fttm-context-cart-fallback .fttm-plan.is-highlighted{
  padding:9px 11px!important;
  background:linear-gradient(135deg,#fff4cf 0%,#f3d993 100%)!important;
  border-color:#bf8b27!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)!important;
}
.fttm-context-cart .fttm-plan.is-highlighted .fttm-count,
.fttm-context-cart-fallback .fttm-plan.is-highlighted .fttm-count,
.fttm-context-cart .fttm-plan.is-highlighted .fttm-monthly,
.fttm-context-cart-fallback .fttm-plan.is-highlighted .fttm-monthly,
.fttm-context-cart .fttm-plan.is-highlighted .woocommerce-Price-amount,
.fttm-context-cart-fallback .fttm-plan.is-highlighted .woocommerce-Price-amount,
.fttm-context-cart .fttm-plan.is-highlighted .woocommerce-Price-currencySymbol,
.fttm-context-cart-fallback .fttm-plan.is-highlighted .woocommerce-Price-currencySymbol{
  color:#3a2910!important;
}
.fttm-context-cart .fttm-plan.is-highlighted .fttm-total,
.fttm-context-cart-fallback .fttm-plan.is-highlighted .fttm-total{color:#74531b!important}
.fttm-context-cart .fttm-popular,
.fttm-context-cart-fallback .fttm-popular{
  position:static!important;
  align-self:flex-start!important;
  margin:0 0 1px!important;
  padding:3px 6px!important;
  font-size:8px!important;
  line-height:1!important;
  background:#b78220!important;
  color:#fff!important;
  box-shadow:none!important;
}
.fttm-context-cart .fttm-count,
.fttm-context-cart-fallback .fttm-count{
  font-size:11px!important;
  line-height:1.05!important;
}
.fttm-context-cart .fttm-monthly,
.fttm-context-cart-fallback .fttm-monthly{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:nowrap!important;
  width:max-content!important;
  max-width:100%!important;
  white-space:nowrap!important;
  font-size:0!important;
  line-height:1!important;
  gap:2px!important;
}
.fttm-context-cart .fttm-monthly .woocommerce-Price-amount,
.fttm-context-cart-fallback .fttm-monthly .woocommerce-Price-amount,
.fttm-context-cart .fttm-monthly bdi,
.fttm-context-cart-fallback .fttm-monthly bdi{
  font-size:clamp(14px,1.55vw,19px)!important;
  line-height:1!important;
  letter-spacing:-.45px!important;
  white-space:nowrap!important;
}
.fttm-context-cart .fttm-period,
.fttm-context-cart-fallback .fttm-period{
  font-size:clamp(10px,1vw,13px)!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.fttm-context-cart .fttm-total,
.fttm-context-cart-fallback .fttm-total{
  font-size:9px!important;
  line-height:1.05!important;
  margin-top:1px!important;
}
.fttm-context-cart .fttm-campaign-message,
.fttm-context-cart-fallback .fttm-campaign-message{
  margin-top:7px!important;
  padding:7px 10px!important;
  min-height:0!important;
  border-radius:3px!important;
  font-size:10px!important;
  line-height:1.15!important;
  color:#6b4b12!important;
  background:#fff3cf!important;
  border-color:#d4aa55!important;
  box-shadow:none!important;
}
.fttm-context-cart .fttm-note,
.fttm-context-cart-fallback .fttm-note{
  margin-top:5px!important;
  font-size:8px!important;
  line-height:1!important;
}
@media(max-width:900px){
  .fttm-context-cart,
  .fttm-context-cart-fallback{width:calc(100% - 20px)!important;padding:10px!important}
  .fttm-context-cart .fttm-grid,
  .fttm-context-cart-fallback .fttm-grid{grid-template-columns:repeat(var(--fttm-plan-count),minmax(125px,1fr))!important}
}


/* v1.2.3 — Üst alan ultra kompakt; alt sekme tam içerik */
.fttm-context-cart,
.fttm-context-cart-fallback{
  padding:8px 12px 8px!important;
}
.fttm-context-cart .fttm-grid,
.fttm-context-cart-fallback .fttm-grid{
  margin:0!important;
}
.fttm-context-cart .fttm-campaign-message,
.fttm-context-cart-fallback .fttm-campaign-message{
  margin-top:6px!important;
}
