/* 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__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; }
.smn-strip__links { margin: 0 0 0 auto; text-align: right; }
@media (min-width: 1025px) {
	.smn-strip__row { flex-wrap: nowrap; }
	.smn-strip__company { flex: 1 1 auto; min-width: 0; }
	.smn-strip__links { flex: 0 0 auto; white-space: nowrap; }
}
.smn-strip__top { margin-top: 18px; padding-top: 18px; border-top: 1px solid #222; }
.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; }
	.smn-strip__row { flex-direction: column-reverse; align-items: flex-start; }
	.smn-strip__links { margin: 0; text-align: left; }
}

/* 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; } }

/* Potvrda o plaćanju (templates/thankyou.php) */
.smn-thanks { padding-bottom: 70px; }
.smn-thanks__hero { padding: 160px 0 110px; }
.smn-thanks__head { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; position: relative; z-index: 1; }
.smn-thanks__icon { width: 68px; height: 68px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--smn-green); color: #1A1A1A; box-shadow: 0 0 0 8px rgba(132,214,106,.15); }
.smn-thanks--fail .smn-thanks__icon { background: var(--smn-red); color: #fff; box-shadow: 0 0 0 8px rgba(238,64,64,.18); }
.smn-thanks--wait .smn-thanks__icon { background: #f0b429; color: #1A1A1A; box-shadow: 0 0 0 8px rgba(240,180,41,.18); }
.smn-thanks__hero h1 { margin-bottom: 10px; }
.smn-thanks__hero .smn-hero__lead { font-size: 17px; }
.smn-thanks__amount { text-align: right; border-left: 1px solid rgba(255,255,255,.12); padding-left: 26px; }
.smn-thanks__amount span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #9a9a9a; margin-bottom: 4px; }
.smn-thanks__amount strong { font-size: clamp(26px, 3vw, 36px); color: #fff; font-weight: 700; white-space: nowrap; }
.smn-thanks .woocommerce-Price-amount, .smn-thanks .woocommerce-Price-amount bdi, .smn-thanks .woocommerce-Price-currencySymbol { font-size: inherit !important; font-weight: inherit !important; color: inherit !important; display: inline !important; line-height: inherit !important; white-space: nowrap; }
.smn-thanks__amount strong { display: block; line-height: 1.1; }
.smn-thanks__body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; margin-top: -64px; position: relative; z-index: 2; }
.smn-thanks .smn-box { background: #fff; border: 1px solid var(--smn-line); border-radius: var(--smn-radius); padding: 24px 26px; margin-bottom: 22px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.smn-thanks .smn-box h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--smn-mid); font-weight: 600; margin: 0 0 16px; }
.smn-thanks__next { background: #fff; border: 1px solid var(--smn-line); border-left: 4px solid var(--smn-green); border-radius: var(--smn-radius); padding: 20px 24px; margin-bottom: 22px; }
.smn-thanks__next strong { display: block; color: var(--smn-dark-2); font-size: 17px; margin-bottom: 6px; }
.smn-thanks__next p { margin: 0; font-size: 15px; line-height: 1.6; }
.smn-dl { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 0; margin: 0; }
.smn-dl dt, .smn-dl dd { padding: 11px 0; border-bottom: 1px solid #f0f0f0; margin: 0; font-size: 15px; }
.smn-dl dt { color: #8a8a8a; font-weight: 400; }
.smn-dl dd { color: var(--smn-dark-2); font-weight: 500; overflow-wrap: anywhere; }
.smn-dl dt:nth-last-of-type(1), .smn-dl dd:last-child { border-bottom: 0; }
.smn-dl--stack { grid-template-columns: 1fr; }
.smn-dl--stack dt { border-bottom: 0; padding: 10px 0 0; font-size: 13px; }
.smn-dl--stack dd { padding: 2px 0 10px; }
.smn-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px !important; }
.smn-pill { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.smn-pill--ok { background: rgba(132,214,106,.18); color: #2f7d18; }
.smn-pill--fail { background: rgba(238,64,64,.12); color: #c22c2c; }
.smn-pill--wait { background: rgba(240,180,41,.18); color: #8a6100; }
.smn-spec { width: 100%; border-collapse: collapse; margin: 0 0 12px; }
.smn-spec td { padding: 12px 0; border-bottom: 1px solid #f0f0f0; font-size: 15px; color: var(--smn-dark-2); vertical-align: top; }
.smn-spec td small { display: block; color: #8a8a8a; font-size: 13px; margin-top: 3px; }
.smn-spec__price { text-align: right; white-space: nowrap; font-weight: 600; padding-left: 16px !important; }
.smn-spec__total td { border-bottom: 0; font-weight: 700; font-size: 17px; padding-top: 14px; }
.smn-muted { font-size: 13px; color: #8a8a8a; line-height: 1.55; margin: 0; }
.smn-merchant { font-size: 14.5px; line-height: 1.7; margin: 0 0 12px; color: var(--smn-text); }
.smn-merchant strong { color: var(--smn-dark-2); }
.smn-thanks__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.smn-thanks .smn-btn { display: inline-flex !important; min-height: 0 !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; }
.smn-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--smn-red) !important; color: #fff !important; border: 1px solid var(--smn-red) !important; border-radius: 8px; padding: 12px 22px; font-size: 15px; font-weight: 600; text-decoration: none !important; cursor: pointer; line-height: 1.2; transition: background .15s ease; }
.smn-btn:hover { background: var(--smn-red-dark) !important; border-color: var(--smn-red-dark) !important; }
.smn-btn--ghost { background: transparent !important; color: var(--smn-dark-2) !important; border-color: #cfcfcf !important; }
.smn-btn--ghost:hover { background: #fff !important; border-color: var(--smn-dark-2) !important; }
.smn-thanks .smn-muted a { text-decoration: underline; color: var(--smn-dark-2); }
.smn-thanks__logos { padding: 4px 2px; }
.smn-thanks__hooks:empty { display: none; }
@media (max-width: 1024px) {
	.smn-thanks__body { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.smn-thanks__hero { padding: 120px 0 90px; }
	.smn-thanks__head { grid-template-columns: 1fr; gap: 16px; }
	.smn-thanks__icon { width: 56px; height: 56px; }
	.smn-thanks__amount { text-align: left; border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }
	.smn-dl { grid-template-columns: 1fr; }
	.smn-dl dt { border-bottom: 0; padding-bottom: 0; font-size: 13px; }
	.smn-dl dd { padding-top: 2px; }
	.smn-thanks .smn-box { padding: 20px; }
}
@media print {
	.whb-header, header.whb-header, .wd-footer, footer, .footer-container, .smn-strip, .scrollToTop, .wd-toolbar, #wpadminbar, .smn-thanks__actions, .smn-thanks__hooks, .wd-sticky-nav, .wd-close-side { display: none !important; }
	body, .smn, .smn-full .main-page-wrapper { background: #fff !important; }
	.smn-thanks__hero { background: #fff !important; color: #000; padding: 0 0 16px !important; border-bottom: 2px solid #000; }
	.smn-thanks__hero::after { display: none; }
	.smn-thanks__hero h1, .smn-thanks__amount strong { color: #000 !important; }
	.smn-thanks__hero .smn-hero__lead, .smn-thanks__amount span { color: #333 !important; }
	.smn-thanks__amount { border-left-color: #ccc; }
	.smn-thanks__icon { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.smn-thanks__body { margin-top: 16px; grid-template-columns: minmax(0, 1fr) 260px; gap: 14px; }
	.smn-thanks .smn-box, .smn-thanks__next { box-shadow: none; border-color: #bbb; break-inside: avoid; margin-bottom: 12px; padding: 14px 16px; }
	.smn-pill { border: 1px solid #999; }
	.smn-wrap { max-width: none; padding: 0; }
	a { color: #000 !important; text-decoration: none !important; }
}

/* O nama (templates/o-nama.php) */
.smn-about { padding-bottom: 70px; }
.smn-about__body { padding-top: 56px; }
.smn-about__content { max-width: none; }
.smn-about__intro { max-width: 820px; }
.smn-about__lead { font-size: 21px !important; line-height: 1.55 !important; color: var(--smn-dark-2) !important; font-weight: 500; }
.smn-about__intro p { font-size: 16.5px; line-height: 1.7; margin: 0 0 16px; }
.smn-about__h2 { font-size: 26px; margin: 46px 0 20px; }
.smn-pillars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.smn-pillar { grid-column: span 2; }
.smn-pillar:nth-child(-n+2) { grid-column: span 3; }
.smn-pillar { background: #fff; border: 1px solid var(--smn-line); border-radius: var(--smn-radius); padding: 24px 24px 20px; }
.smn-pillar__n { font-family: "Roboto Slab", Georgia, serif; font-size: 13px; color: var(--smn-red); font-weight: 600; letter-spacing: .1em; }
.smn-pillar h3 { font-size: 19px; margin: 8px 0 8px; }
.smn-pillar p { font-size: 15px; line-height: 1.6; margin: 0; }
.smn-about__cta { margin-top: 26px; background: var(--smn-dark); color: #cfcfcf; border-radius: var(--smn-radius); padding: 26px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.smn-about__cta p { margin: 0; font-size: 16px; }
.smn-about__cta strong { color: #fff; }
.smn-about__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.smn-about .smn-btn { display: inline-flex !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; }
.smn-about__cta .smn-btn--ghost { color: #fff !important; border-color: #555 !important; }
.smn-about__cta .smn-btn--ghost:hover { background: transparent !important; border-color: #fff !important; }
.smn-about__firm { margin-top: 56px; background: #fff; border: 1px solid var(--smn-line); border-radius: var(--smn-radius); padding: 30px 32px; display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; }
.smn-about__firm-head h2 { font-size: 22px; margin: 0 0 10px; }
.smn-about__legal-name { font-size: 14px; line-height: 1.6; color: var(--smn-text); margin: 0; }
.smn-about__firm .smn-dl a { color: var(--smn-dark-2); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 1024px) {
	.smn-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.smn-pillar, .smn-pillar:nth-child(-n+2) { grid-column: auto; }
	.smn-pillar:last-child { grid-column: 1 / -1; }
	.smn-about__firm { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 720px) {
	.smn-about__body { padding-top: 36px; }
	.smn-pillars { grid-template-columns: 1fr; }
	.smn-pillar:last-child { grid-column: auto; }
	.smn-about__lead { font-size: 18px !important; }
	.smn-about__firm { padding: 22px 20px; }
}
