/* Brend stil za FluentCart stranice (plugin Brend, assets/fluentcart.css; vidi notes/brend-stil.md) */
:root{
  --fct-primary-bg-color:#3e4869;
  --fct-primary-text-color:#3e4869;
  --fct-secondary-text-color:#676f8c;
  --fct-secondary-bg-color:#f2ede9;
  --fct-card-bg-color:#ffffff;
  --fct-border-color:#e8e0da;
  --fct-divider-color:#e8e0da;
  --fct-active-border-color:#7f6c62;
  --fct-input-bg-color:#ffffff;
  --fct-input-text-color:#3e4869;
  --fct-input-placeholder-text-color:#676f8c;
  --fct-input-disabled-bg-color:#f2ede9;
  --fct-btn-bg-color:#3e4869;
  --fct-btn-border-color:#3e4869;
  --fct-btn-text-color:#faf8f6;
  --fct-btn-hover-bg-color:#2f3753;
  --fct-btn-hover-text-color:#faf8f6;
  --fct-secondary-btn-bg-color:#ffffff;
  --fct-secondary-btn-hover-bg-color:#f2ede9;
  --fct-container-radius:22px;
  --fct-popup-radius:22px;
  --fct-input-radius:18px;
  --fct-btn-radius:9999px;
  --fct-badge-radius:9999px;
}
/* Potvrda porudžbine: bez zelene, u bojama brenda */
.fct-thank-you-page-header{background:#f2ede9 !important}
.fct-thank-you-page-header-icon{background:#3e4869 !important}
.fct-thank-you-page-header-title{color:#3e4869 !important;font-family:var(--wp--preset--font-family--playfair-display);font-weight:400;line-height:1.2}
.fct-thank-you-page h1,.fct-thank-you-page h2,.fct-thank-you-page h3,.fct-thank-you-page h4{font-family:var(--wp--preset--font-family--playfair-display);font-weight:400}
.fct-thank-you-page a:not([class*="button"]){color:#7f6c62}
.fct-thank-you-page-view-order-button{border-radius:9999px;padding:14px 28px}
.fct-thank-you-page-download-receipt-button{color:#7f6c62}

/* ---------- FluentCart stranice: fontovi i sitnice (od 20. 11.) ----------
   Raspored ostaje FluentCart-ov; menjamo samo tipografiju i detalje. */
.fluent-cart-checkout-page{font-size:16px;color:#3e4869}
.fluent-cart-checkout-page .fct_form_section_header_label,
.fluent-cart-checkout-page .fct_summary .fct_toggle_content{font-family:var(--wp--preset--font-family--playfair-display);font-weight:400;font-size:22px;color:#3e4869}
.fluent-cart-checkout-page .fct-input{font-size:16px}
.fluent-cart-checkout-page .fct_item_title{font-size:17px;font-weight:500;line-height:1.35}
.fluent-cart-checkout-page .fct_item_variant_title{font-size:14px;color:#676f8c}
.fluent-cart-checkout-page .fct_summary_label,.fluent-cart-checkout-page .fct_summary_value{font-size:15px}
.fluent-cart-checkout-page .fct_item_image{display:none}

/* Kupon: mali link umesto velike trake */
.fluent-cart-checkout-page .fct_coupon .fct_coupon_toggle a{background:none !important;padding:4px 0 !important;font-size:14px !important;font-weight:400 !important;color:#7f6c62 !important;text-decoration:underline !important;display:inline-block !important}

/* Način plaćanja: samo ikonica kartice iz logoa (u logou je i tekst, pa se ponavljao) */
.fluent-cart-checkout-page .fct_payment_method_raiaccept label img{width:40px !important;height:32px !important;object-fit:cover;object-position:left center;margin-right:8px}

/* Dugme */
.fluent-cart-checkout-page .fct_place_order_btn{min-height:52px;font-size:17px;font-weight:500;font-family:var(--wp--preset--font-family--roboto),Roboto,sans-serif !important;background:#3e4869 !important;background-image:none !important;border:0 !important;color:#faf8f6 !important}
.fluent-cart-checkout-page .fct_place_order_btn:hover{background:#2f3754 !important}

/* ---------- Stranica proizvoda (/item/...): kupci je ne vide, ali neka bude u brendu ---------- */
body.single-fluent-products .product-info-child-block .wp-block-columns,
body.single-fluent-products .wp-block-post-content{max-width:640px;margin-left:auto !important;margin-right:auto !important}
/* Nema slike proizvoda, pa ni galerije (inače prazna kutija) */
body.single-fluent-products .product-info-child-block .wp-block-column:has(.fct-product-gallery-wrapper){display:none}
body.single-fluent-products .wp-block-post-content,body.single-fluent-products .wp-block-post-content *{font-size:16px !important;line-height:1.65;color:#3e4869 !important}
body.single-fluent-products .wp-block-post-content em{color:#676f8c !important}
body.single-fluent-products .wp-block-post-title{font-family:var(--wp--preset--font-family--playfair-display);font-weight:400;font-size:clamp(2rem,4vw,2.5rem);line-height:1.2;color:#3e4869}
body.single-fluent-products .fct-product-card-excerpt{font-size:18px;line-height:1.6;color:#676f8c}
body.single-fluent-products .fct-product-card-prices,body.single-fluent-products .fct-product-item-price{font-size:20px;font-weight:500;color:#3e4869}
body.single-fluent-products .fct-product-variant-image{display:none}
body.single-fluent-products .fct-product-variant-item{border:1px solid #e8e0da !important;border-radius:18px !important;background:#fff;padding:12px 18px}
body.single-fluent-products .fct-product-variant-item.selected{border-color:#3e4869 !important;background:#f2ede9;box-shadow:0 0 0 1px #3e4869}
body.single-fluent-products .fct-product-variant-title{font-size:16px;font-weight:500;color:#3e4869}
body.single-fluent-products .fluent-cart-direct-checkout-button{font-family:var(--wp--preset--font-family--roboto),Roboto,sans-serif !important;border-radius:9999px !important;min-height:48px;padding:12px 28px !important;font-size:16px;font-weight:500;background:#3e4869 !important;color:#faf8f6 !important;border:0 !important}
/* Korpu ne koristimo (kupovina ide preko instant_checkout linka), pa nema ni "Add To Cart" */
body.single-fluent-products .fluent-cart-add-to-cart-button{display:none !important}

/* ---------- /placanje/: polja kao forme na sajtu (naziv iznad, 48px, zaobljeno 18px), mreža 2×2 ----------
   Ime | Prezime
   Email | Država
   Omotači sekcija dobijaju display:contents, pa su sva 4 polja deca iste mreže. */
.fluent-cart-checkout-page .fct_checkout_form_items{display:grid;grid-template-columns:1fr 1fr;column-gap:16px;row-gap:20px}
.fluent-cart-checkout-page .fct_checkout_form_items>*{grid-column:1/-1;min-width:0}
.fluent-cart-checkout-page .fct_checkout_form_items>.fct_checkout_form_section:first-child,
.fluent-cart-checkout-page .fct_checkout_form_items>.fct_checkout_form_section:first-child>.fct_form_section_body,
.fluent-cart-checkout-page .fct_checkout_billing_and_shipping,
.fluent-cart-checkout-page .fct_checkout_billing_and_shipping>.fct_checkout_form_section,
.fluent-cart-checkout-page .fct_checkout_billing_and_shipping .fct_form_section_body,
.fluent-cart-checkout-page .fct_checkout_form_items .fct_checkout_input_group{display:contents}
.fluent-cart-checkout-page .fct_checkout_billing_and_shipping .fct_form_section_header{display:none}
.fluent-cart-checkout-page .fct_checkout_form_items .fct_form_error{grid-column:1/-1}
.fluent-cart-checkout-page .fct_checkout_form_items .fct_checkout_payment_methods{margin-top:12px}
@media (max-width:600px){.fluent-cart-checkout-page .fct_checkout_form_items{grid-template-columns:1fr}}

.fluent-cart-checkout-page .fct_checkout_input_group .fct_input_wrapper{grid-column:auto;margin:0 !important;padding:0 !important;border:0 !important;border-radius:0 !important;background:none !important;box-shadow:none !important;outline:0 !important;display:flex;flex-direction:column;min-width:0}
.fluent-cart-checkout-page .fct_checkout_input_group .fct_input_wrapper::before{content:attr(data-fct-label);display:block;font-size:16px;line-height:1.4;color:#3e4869;margin-bottom:8px}
.fluent-cart-checkout-page .fct_checkout_input_group [data-fct-label]::after{display:none !important}
.fluent-cart-checkout-page .fct_checkout_input_group .fct_input_wrapper>input:not([type=checkbox],[type=radio],[type=hidden]),
.fluent-cart-checkout-page .fct_checkout_input_group .fct_input_wrapper>.fct-nice-select,
.fluent-cart-checkout-page .fct_checkout_input_group .fct_input_wrapper>select{
  height:48px !important;min-height:48px;width:100%;box-sizing:border-box;margin:0 !important;
  border:1px solid #e8e0da !important;border-radius:18px !important;background-color:#fff !important;
  padding:0 16px !important;font-size:16px !important;line-height:46px;color:#3e4869;box-shadow:none !important}
.fluent-cart-checkout-page .fct_checkout_input_group .fct_input_wrapper>input::placeholder{color:transparent}
.fluent-cart-checkout-page .fct_checkout_input_group .fct_input_wrapper>input:focus,
.fluent-cart-checkout-page .fct_checkout_input_group .fct_input_wrapper>.fct-nice-select:focus,
.fluent-cart-checkout-page .fct_checkout_input_group .fct_input_wrapper>.fct-nice-select.open{border-color:#3e4869 !important;box-shadow:0 0 0 3px rgba(62,72,105,.25) !important;outline:0}
.fluent-cart-checkout-page .fct_checkout_input_group .fct_input_wrapper.has-error>input,
.fluent-cart-checkout-page .fct_checkout_input_group .fct_input_wrapper.has-error>.fct-nice-select{border-color:#b3261e !important}

/* Napomena o dinarima (ubacuje je RaiAccept for FluentCart 0.1.3) */
.fluent-cart-checkout-page .rafc-rsd-note{margin:4px 0 0;font-size:14px;line-height:1.6;color:#676f8c}

/* FluentCart ispod 1280px dodaje padding-inline:20px uz width:100%, pa okvir izlazi 40px
   preko ivice (na telefonu se vidi kao pomeren udesno). Razmak sa strane već daje tema. */
.fluent-cart-checkout-page{box-sizing:border-box;padding-inline:0 !important}
