/* SM Naplata, sajtmajstor.com/naplata */
:root {
	--smn-red: #EE4040;
	--smn-red-dark: #d42f2f;
	--smn-green: #84D66A;
	--smn-dark: #1A1A1A;
	--smn-dark-2: #242424;
	--smn-mid: #5F5F5F;
	--smn-text: #6b6b6b;
	--smn-line: #e6e6e6;
	--smn-bg: #f5f5f5;
	--smn-radius: 14px;
}

.smn { font-family: "Roboto", Arial, sans-serif; color: var(--smn-text); background: var(--smn-bg); }
.smn *, .smn *::before, .smn *::after { box-sizing: border-box; }
.smn-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.smn h1, .smn h2, .smn h3 { font-family: "Roboto", Arial, sans-serif; color: var(--smn-dark-2); letter-spacing: -0.01em; }
.smn a { color: inherit; }

/* Pun prikaz na našim šablonima (tema ima header preko sadržaja) */
.smn-full .main-page-wrapper { background: var(--smn-bg); }
.smn-full .wd-content-layout { max-width: none !important; width: 100% !important; padding: 0 !important; display: block !important; }
.smn-full .wd-content-layout > .smn { width: 100%; }

/* Hero */
.smn-hero { background: var(--smn-dark); color: #d4d4d4; padding: 170px 0 120px; position: relative; overflow: hidden; }
.smn-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(238,64,64,.28), rgba(238,64,64,0) 70%); pointer-events: none; }
.smn-hero h1 { color: #fff; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; font-weight: 700; margin: 0 0 14px; max-width: 760px; }
.smn-hero__lead { font-size: 18px; line-height: 1.6; max-width: 640px; margin: 0; color: #cfcfcf; }
.smn-eyebrow { font-family: "Roboto Slab", Georgia, serif; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--smn-red); margin: 0 0 14px; font-weight: 600; }
.smn-back { display: inline-block; color: #bdbdbd !important; text-decoration: none; font-size: 14px; margin-bottom: 22px; }
.smn-back:hover { color: #fff !important; }

/* Grid usluga */
.smn-grid-wrap { padding-top: 44px; padding-bottom: 64px; }
.smn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: -84px; position: relative; z-index: 2; }
.smn-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--smn-line); border-radius: var(--smn-radius); padding: 26px 26px 22px; text-decoration: none !important; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; min-height: 250px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.smn-card:hover { transform: translateY(-3px); border-color: var(--smn-red); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.smn-card__tag { align-self: flex-start; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--smn-red); background: rgba(238,64,64,.08); padding: 5px 10px; border-radius: 999px; margin-bottom: 16px; }
.smn-card__title { font-size: 21px; line-height: 1.25; font-weight: 600; margin: 0 0 10px; }
.smn-card__desc { font-size: 15px; line-height: 1.6; margin: 0 0 20px; flex: 1; }
.smn-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-top: 1px solid var(--smn-line); padding-top: 16px; }
.smn-card__price { font-size: 22px; font-weight: 700; color: var(--smn-dark-2); white-space: nowrap; }
.smn-card__price small { font-size: 13px; font-weight: 500; color: var(--smn-text); }
.smn-card__more { font-size: 14px; font-weight: 600; color: var(--smn-red); white-space: nowrap; }

/* Poverenje */
.smn-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 40px 0; }
.smn-trust > div { border-left: 3px solid var(--smn-green); padding: 4px 0 4px 16px; }
.smn-trust strong { display: block; color: var(--smn-dark-2); font-size: 16px; margin-bottom: 4px; }
.smn-trust span { font-size: 14px; line-height: 1.55; }

/* Donji blok */
.smn-bottom { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
.smn-bottom > div { background: #fff; border: 1px solid var(--smn-line); border-radius: var(--smn-radius); padding: 26px; }
.smn-bottom h3, .smn-company h3 { font-size: 18px; margin: 0 0 12px; }
.smn-bottom p { font-size: 15px; line-height: 1.6; }
.smn-bottom__links { font-size: 14px !important; margin: 16px 0 0; }
.smn-bottom__links a { color: var(--smn-dark-2); }
.smn-company dl { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.smn-company dt { color: #999; font-weight: 500; }
.smn-company dd { margin: 0; color: var(--smn-dark-2); }
.smn-company__note { font-size: 13px !important; margin: 16px 0 0; color: #888; }
.smn-sep { margin: 0 8px; opacity: .5; }

/* Strana usluge */
.smn-hero--single { padding-bottom: 64px; }
.smn-single__body { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding-top: 44px; padding-bottom: 64px; align-items: start; }
.smn-single__content { background: #fff; border: 1px solid var(--smn-line); border-radius: var(--smn-radius); padding: 32px; font-size: 16px; line-height: 1.7; }
.smn-single__content h2, .smn-single__content h3 { font-size: 20px; margin: 22px 0 10px; }
.smn-single__content h2:first-child, .smn-single__content h3:first-child { margin-top: 0; }
.smn-single__content ul { margin: 0 0 16px 20px; padding: 0; }
.smn-single__content li { margin: 4px 0; }
.smn-buy { background: #fff; border: 1px solid var(--smn-line); border-radius: var(--smn-radius); padding: 28px; position: sticky; top: 110px; box-shadow: 0 14px 30px rgba(0,0,0,.06); }
.smn-buy__price { font-size: 32px; font-weight: 700; color: var(--smn-dark-2); margin-bottom: 14px; }
.smn-buy__price small { font-size: 15px; font-weight: 500; color: var(--smn-text); }
.smn-buy__facts { list-style: none; margin: 0 0 22px; padding: 0; font-size: 14px; }
.smn-buy__facts li { padding: 7px 0 7px 24px; position: relative; border-bottom: 1px dashed var(--smn-line); }
.smn-buy__facts li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 10px; height: 6px; border-left: 2px solid var(--smn-green); border-bottom: 2px solid var(--smn-green); transform: rotate(-45deg); }
.smn-btn { display: block; text-align: center; background: var(--smn-red); color: #fff !important; font-weight: 600; font-size: 16px; padding: 15px 20px; border-radius: 10px; text-decoration: none !important; transition: background .15s; }
.smn-btn:hover { background: var(--smn-red-dark); }
.smn-btn--ghost { display: inline-block; background: transparent; color: var(--smn-dark-2) !important; border: 1px solid var(--smn-dark-2); }
.smn-btn--ghost:hover { background: var(--smn-dark-2); color: #fff !important; }
.smn-buy__note { font-size: 13px; line-height: 1.55; margin: 14px 0 18px; }
.smn-buy__note a { color: var(--smn-dark-2); }
.smn-buy .smn-logos { justify-content: flex-start; }

.smn-message__body { padding: 40px 20px 70px; font-size: 16px; }
.smn-message__body a { color: var(--smn-dark-2); }

/* Logotipi: tri odvojene grupe */
.smn-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 16px 0 0; }
.smn-logos__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.smn-chip { display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #e3e3e3; border-radius: 6px; height: 40px; padding: 0 8px; }
.smn-chip img { display: block; height: 24px; width: auto; max-width: none; }
.smn-logos__cards .smn-chip img { height: 24px; min-height: 23px; }
.smn-logos__cards .smn-chip:nth-child(2) img, .smn-logos__cards .smn-chip:nth-child(3) img, .smn-logos__cards .smn-chip:nth-child(4) img { height: 30px; }
.smn-chip--secure { height: 68px; padding: 4px 6px; }
.smn-chip--secure img { height: 60px; }
.smn-chip--bank { height: 46px; padding: 0 12px; }
.smn-chip--bank img { height: 30px; }

/* Traka na dnu sajta */
.smn-strip { background: #111; color: #9a9a9a; font-family: "Roboto", Arial, sans-serif; font-size: 13px; border-top: 1px solid #2a2a2a; }
.smn-strip__in { max-width: 1220px; margin: 0 auto; padding: 22px 20px 20px; }
.smn-strip__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.smn-strip__label { color: #d4d4d4; font-weight: 500; font-size: 14px; }
.smn-strip .smn-logos { margin: 0; }
.smn-strip .smn-chip { border-color: #fff; }
.smn-strip__links { margin: 16px 0 6px; }
.smn-strip__links a, .smn-strip__company a { color: #d4d4d4; text-decoration: none; }
.smn-strip__links a:hover, .smn-strip__company a:hover { color: #fff; text-decoration: underline; }
.smn-strip__company { margin: 0; line-height: 1.6; }

/* Kasa */
.smn-page.woocommerce-checkout .main-page-wrapper { background: var(--smn-bg); }
.smn-checkout-intro h2 { font-size: 22px; margin-bottom: 6px; }
.smn-checkout-intro p { margin-bottom: 18px; }
.smn-price-note { font-size: 13px; color: #777; margin: 10px 0 14px; }
.smn-checkout-logos .smn-logos { margin-top: 18px; }
.smn-secure-note { font-size: 12.5px; line-height: 1.55; color: #777; margin-top: 12px; }
.smn-thanks-note { font-size: 15px; background: #f3fbef; border-left: 3px solid var(--smn-green); padding: 12px 16px; }
body.woocommerce-checkout #place_order { background: var(--smn-red) !important; border-color: var(--smn-red) !important; color: #fff !important; text-transform: none !important; font-size: 16px !important; letter-spacing: 0 !important; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart-subtotal { display: none !important; }
.woocommerce-checkout #place_order:hover { background: var(--smn-red-dark); }

@media (max-width: 1024px) {
	.smn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.smn-single__body { grid-template-columns: 1fr; }
	.smn-buy { position: static; }
}
@media (max-width: 720px) {
	.smn-hero { padding: 130px 0 100px; }
	.smn-hero--single { padding-bottom: 40px; }
	.smn-grid, .smn-trust, .smn-bottom { grid-template-columns: 1fr; }
	.smn-grid { margin-top: -64px; }
	.smn-company dl { grid-template-columns: 1fr; gap: 0 0; }
	.smn-company dt { margin-top: 8px; }
	.smn-single__content { padding: 22px; }
	.smn-strip__top { flex-direction: column; align-items: flex-start; }
}

/* Pravne stranice: tema ima header preko sadržaja i ne prikazuje naslov */
.smn-page.page:not(.woocommerce-checkout) .wd-content-layout { padding-top: 150px; }
.smn-legal h1 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 6px; color: #242424; }
.smn-legal { max-width: 880px; }
.smn-legal h2 { margin-top: 34px; }
.smn-obrazac { background: #fff; border: 1px dashed #ccc; border-radius: 10px; padding: 18px 22px; margin: 12px 0 24px; }
@media (max-width: 720px) { .smn-page.page:not(.woocommerce-checkout) .wd-content-layout { padding-top: 110px; } }

/* Strana posle plaćanja */
body.woocommerce-order-received .wd-content-layout { padding-top: 120px !important; }
@media (max-width: 720px) { body.woocommerce-order-received .wd-content-layout { padding-top: 90px !important; } }

/* Potvrda o plaćanju: dugme i štampa */
.smn-print-btn { background: #242424; color: #fff; border: 0; border-radius: 8px; padding: 11px 20px; font-weight: 600; cursor: pointer; }
.smn-print-btn:hover { background: #EE4040; }
.smn-thanks-merchant { margin-top: 30px; background: #fff; border: 1px solid #e6e6e6; border-radius: 14px; padding: 24px; }
.smn-thanks-merchant .smn-company dl { display: grid; grid-template-columns: 170px 1fr; gap: 6px 14px; }
@media print {
	.whb-header, header.whb-header, .wd-footer, footer, .footer-container, .smn-strip, .smn-print-wrap, .scrollToTop, .wd-toolbar, #wpadminbar { display: none !important; }
	body.woocommerce-order-received .wd-content-layout { padding-top: 0 !important; }
	.smn-thanks-merchant { border: 1px solid #ccc; }
	a { color: #000 !important; text-decoration: none !important; }
}
