/* Ordomo, prodavnica (shop, detail, cart, checkout, order). Koristi tokene iz ordomo-member.css. */
.od-shop .section,.od-shop .section *{box-sizing:border-box}
.od-shop .section{font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}

/* ---------- Vrh prodavnice ---------- */
.od-shop-head{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:20px}
.od-shop-brand{display:flex;align-items:center;gap:16px;flex:1 1 100%;min-width:0}
.od-shop-brand > a{flex:0 0 auto;text-decoration:none!important}
.od-shop-brand .od-biz-logo{max-height:64px;max-width:140px}
.od-shop-title{min-width:0}
.od-shop-title .od-sec-title{margin:0 0 2px!important}
.od-shop-title p{margin:0;color:var(--od-muted);font-size:.92rem}
.od-shop-head .od-biz-tabs,.od-shop-head .od-biz-menu2{flex:1 1 100%}

/* ---------- Bočna kolona ---------- */
.od-shop-cats{padding:16px!important;border-radius:18px;background:var(--od-surface)!important;border:1px solid var(--od-border);box-shadow:none!important}
.od-shop-cats .od-side-h{margin-bottom:8px!important}
.od-shop-cats .nav-link{display:flex!important;align-items:center;gap:6px;padding:8px 10px!important;border-radius:10px;color:var(--od-text)!important;font-size:.9rem;font-weight:500;text-decoration:none!important}
.od-shop-cats .nav-link:hover{background:var(--od-primary-soft);color:var(--od-accent-text)!important}
.od-shop-cats .nav-item.active > .nav-link{background:var(--od-primary-soft);color:var(--od-accent-text)!important;font-weight:700}
.od-shop-cats .nav-link i{font-size:.75rem;opacity:.6}
.od-shop-cats ul ul .nav-link{font-size:.84rem;color:var(--od-muted)!important;padding:6px 10px!important}
.od-shop .btn-toggle{border-radius:14px!important;border:1px solid var(--od-border)!important;background:var(--od-surface)!important;color:var(--od-text)!important;box-shadow:none!important;font-weight:700}
.od-shop-filters .card{border-radius:18px!important;border:1px solid var(--od-border)!important;background:var(--od-surface)!important;box-shadow:none!important}
.od-shop-filters .card h3{font-size:.95rem!important;font-weight:700;color:var(--od-text)}
.od-shop-filters .form-control{height:42px;border-radius:10px!important;border:1.5px solid var(--od-border)!important;background:var(--od-input)!important;color:var(--od-text)!important}
.od-shop-filters .btn-light{height:42px;border-radius:10px!important;background:var(--od-primary-soft)!important;color:var(--od-accent-text)!important;border:0!important}
.od-shop-filters > .btn-nas,.od-shop .btn-nas.btn-sm.w-100{
   height:44px;display:inline-flex!important;align-items:center;justify-content:center;border:0!important;border-radius:12px!important;
   color:#fff!important;font-weight:700!important;text-transform:none!important;background:linear-gradient(135deg,#5f8a0c,#8db62a)!important;
}

/* ---------- Traka sa sortiranjem ---------- */
.od-shop-toolbar{padding:10px 12px 10px 16px;border-radius:16px;background:var(--od-surface);border:1px solid var(--od-border)}
.od-shop-count{font-size:.85rem;font-weight:600;color:var(--od-muted)}
.od-sort-form select{
   height:40px;min-width:210px;padding:0 36px 0 12px!important;border-radius:10px!important;border:0!important;background-color:var(--od-input)!important;color:var(--od-text)!important;
   font-weight:600;font-size:.88rem;-webkit-appearance:none;appearance:none;
   background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
   background-repeat:no-repeat!important;background-position:right 10px center!important;background-size:16px!important;
}
@media (max-width:575.98px){.od-sort-form select{min-width:0;width:100%}}

/* ---------- Kartice proizvoda ---------- */
.od-product{
   display:flex;flex-direction:column;padding:12px;border-radius:18px;background:var(--od-surface);border:1px solid var(--od-border);
   transition:transform .2s,box-shadow .2s,border-color .2s;
}
.od-product:hover{transform:translateY(-3px);border-color:rgba(111,154,18,.45);box-shadow:0 16px 32px -18px rgba(40,60,10,.35)}
.od-product-link,.od-product > a{text-decoration:none!important;color:var(--od-text)!important}
.od-product-img{margin:0 0 10px!important;aspect-ratio:1/1;border-radius:14px;background:#fff;display:grid;place-items:center;overflow:hidden;padding:10px;border:1px solid var(--od-border)}
.od-product-img img{max-width:100%;max-height:100%;object-fit:contain}
.od-product-info{display:flex!important;flex-direction:column;gap:4px;text-align:left}
.od-product-info .fw-medium{font-weight:600!important;font-size:.92rem;line-height:1.3;color:var(--od-text)}
.od-product-price{font-weight:800;font-size:1rem;color:var(--od-accent-text)}
.od-product .text-center{text-align:left!important}
.od-product .d-block.text-dark,.od-product .text-dark{color:var(--od-text)!important}
.od-product .text-success{color:var(--od-accent-text)!important}

/* količina */
.od-qty{gap:0;align-items:stretch}
.od-qty button{width:38px;justify-content:center;border:1.5px solid var(--od-border)!important;background:var(--od-surface)!important;color:var(--od-text)!important;font-weight:700}
.od-qty button:first-child{border-radius:10px 0 0 10px!important}
.od-qty button:last-child{border-radius:0 10px 10px 0!important}
.od-qty input{height:38px;border-top:1.5px solid var(--od-border)!important;border-bottom:1.5px solid var(--od-border)!important;background:var(--od-input)!important;color:var(--od-text)!important;font-weight:700}

/* ---------- Detalj proizvoda ---------- */
.od-detail{background:transparent!important}
.od-detail .breadcrumb{font-size:.82rem}
.od-detail .breadcrumb a{color:var(--od-muted)!important;text-decoration:none}
.od-detail .breadcrumb a:hover,.od-detail .text-nas{color:var(--od-accent-text)!important}
.od-detail .breadcrumb-item+.breadcrumb-item::before{display:none}
.od-gallery-card,.od-buy{border-radius:22px!important;border:1px solid var(--od-border)!important;background:var(--od-surface)!important;box-shadow:none!important;color:var(--od-text)}
.od-gallery-card img{border-radius:14px}
.od-buy-title{font-family:"Inter",system-ui,sans-serif!important;font-size:clamp(1.4rem,2.6vw,1.9rem)!important;font-weight:800!important;letter-spacing:-.03em;line-height:1.15;color:var(--od-text)!important;margin:4px 0 16px!important}
.od-buy .text-muted{color:var(--od-muted)!important}
.od-buy-price{font-size:1.9rem;font-weight:800;letter-spacing:-.02em;color:var(--od-accent-text)}
.od-buy-row input[type=number]{height:52px;border-radius:14px!important;border:1.5px solid var(--od-border)!important;background:var(--od-input)!important;color:var(--od-text)!important;font-weight:700;width:90px!important}
.od-buy-row .btn-nas{height:52px;border:0!important;border-radius:14px!important;color:#fff!important;font-weight:700!important;text-transform:none!important;background:linear-gradient(135deg,#5f8a0c,#8db62a)!important;box-shadow:0 10px 22px -10px rgba(111,154,18,.7)!important}
.od-desc{font-size:1rem;line-height:1.7;color:var(--od-text)}
.od-related{background:transparent!important}

/* ---------- Korpa ---------- */
.od-cart-item{position:relative;border-radius:18px!important;border:1px solid var(--od-border)!important;background:var(--od-surface)!important;box-shadow:none!important;color:var(--od-text)}
.od-cart-item img{border-radius:12px;background:#fff}
.od-cart-name{display:block;font-weight:700;font-size:.98rem;color:var(--od-text);padding-right:36px}
.od-cart-remove{position:absolute;top:12px;right:12px;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:var(--od-muted)!important;background:var(--od-soft);border:1px solid var(--od-border);z-index:2;transition:background .15s,color .15s}
.od-cart-remove:hover{background:#fef3f2;color:#d92d20!important;border-color:#fecdca}
.od-cart-total{font-weight:800;font-size:1.05rem;color:var(--od-accent-text)!important}
.od-cart-clear{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 14px;border-radius:12px;color:#d92d20!important;background:transparent;border:1.5px solid #fecdca;font-weight:600;font-size:.88rem;text-decoration:none!important}
.od-cart-clear:hover{background:#fef3f2}
.od-summary{border-radius:20px!important;border:1px solid var(--od-border)!important;background:var(--od-surface)!important;box-shadow:var(--od-shadow)!important;color:var(--od-text)!important}
@media (min-width:992px){.od-summary{position:sticky;top:96px}}
.od-summary .card-header{background:transparent!important;font-weight:800!important;font-size:1.1rem!important;color:var(--od-text)}
.od-summary .h3{font-weight:800;color:var(--od-accent-text);letter-spacing:-.02em}
.od-summary hr{border-color:var(--od-border);opacity:1}
.od-summary .btn-nas{height:52px;display:inline-flex!important;align-items:center;justify-content:center;gap:8px;border:0!important;border-radius:14px!important;color:#fff!important;font-weight:700!important;background:linear-gradient(135deg,#5f8a0c,#8db62a)!important;box-shadow:0 10px 22px -10px rgba(111,154,18,.7)!important}

/* ---------- Naplata ---------- */
.od-co-head{margin:4px 0 4px}
.od-co-card{border-radius:20px!important;border:1px solid var(--od-border)!important;background:var(--od-surface)!important;box-shadow:none!important;color:var(--od-text)}
.od-co-card .card-header{background:transparent!important;border-bottom:1px solid var(--od-border)!important;padding:16px 20px!important;font-weight:800;font-size:1.05rem;color:var(--od-text)}
.od-co-grid{display:grid;grid-template-columns:1fr;gap:0 14px}
@media (min-width:576px){.od-co-grid{grid-template-columns:1fr 1fr}.od-co-grid .form-group:nth-child(n+8){grid-column:1 / -1}}
.od-co-grid .form-group{margin-bottom:14px}
.od-co-grid label{display:block;font-size:.85rem;font-weight:600;margin-bottom:6px;color:var(--od-text)}
.od-co-grid .form-control{width:100%;height:46px;border-radius:12px!important;border:1.5px solid var(--od-border)!important;background:var(--od-input)!important;color:var(--od-text)!important;box-shadow:none!important}
.od-co-grid textarea.form-control{height:auto;min-height:100px}
.od-co-grid .form-control:focus{border-color:var(--od-primary)!important;background:var(--od-surface)!important;box-shadow:0 0 0 4px var(--od-primary-soft)!important}
.od-co-item img{border-radius:10px;background:#fff}
.od-terms-row{display:flex;align-items:flex-start;gap:8px}
.od-terms-row input{width:20px;height:20px;accent-color:#6f9a12;flex:0 0 20px;margin-top:1px}
.od-terms-row a{color:var(--od-accent-text)!important}
.od-co-alert{width:100%;border-radius:14px;margin:8px 12px 0}

/* ---------- Potvrda porudžbine ---------- */
.od-order-card{border-radius:24px!important;border:1px solid var(--od-border)!important;background:var(--od-surface)!important;box-shadow:var(--od-shadow)!important;color:var(--od-text)}
.od-order-ic svg{width:76px;height:76px;color:#12b76a;padding:10px;border-radius:50%;background:rgba(18,183,106,.12)}
.od-order-card .lead{color:var(--od-muted);font-size:1rem}
.od-order-back{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 18px;border-radius:12px;background:var(--od-primary-soft);color:var(--od-accent-text)!important;font-weight:700;text-decoration:none!important}

/* prazno stanje (dele i drugi delovi) */
.od-empty{text-align:center;padding:36px 20px;border-radius:20px;background:var(--od-surface);border:1px dashed var(--od-border);margin-bottom:12px}
.od-empty h3{font-family:"Inter",system-ui,sans-serif!important;font-size:1.1rem!important;font-weight:700!important;color:var(--od-text)!important;margin:0 0 6px!important}
.od-empty p{color:var(--od-muted);margin:0 auto 14px;max-width:360px;font-size:.92rem}
.od-btn-soft{display:inline-flex;align-items:center;height:40px;padding:0 16px;border-radius:12px;background:var(--od-primary-soft);color:var(--od-accent-text)!important;font-weight:700;font-size:.88rem;text-decoration:none!important}

/* ---------- Tamna tema ---------- */
html[data-od-theme="dark"] .od-cart-remove:hover{background:rgba(240,68,56,.12);border-color:rgba(240,68,56,.4);color:#f97066!important}
html[data-od-theme="dark"] .od-cart-clear{border-color:rgba(240,68,56,.4);color:#f97066!important}
html[data-od-theme="dark"] .od-cart-clear:hover{background:rgba(240,68,56,.12)}
html[data-od-theme="dark"] .od-shop .card-body,html[data-od-theme="dark"] .od-shop .text-gray-800,html[data-od-theme="dark"] .od-shop .text-gray-700{color:#f2f4f7!important}
html[data-od-theme="dark"] .od-shop .bg-white{background:#141722!important}
html[data-od-theme="dark"] .od-sort-form select option{background:#141722;color:#f2f4f7}

.od-shop .btn-nas,.od-shop .btn-nas span,.od-summary a{text-decoration:none!important}
