/* itSale.bg component styles moved from body-level templates for valid HTML. */

/* Home DarkTech template */
/* ===== DarkTech Template – локални стилове (по желание ги премести в styles.css) ===== */

.darktech-hero {
    position: relative;
    padding: 3.5rem 0 3rem;
    background:
        radial-gradient(circle at 0% 0%, rgba(56,182,255,0.25) 0, transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(140,82,255,0.22) 0, transparent 55%),
        linear-gradient(160deg, #050816 0%, #02040a 40%, #050816 100%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

.darktech-hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(56,182,255,0.30), transparent 65%);
    filter: blur(10px);
    opacity: .5;
    right: -120px;
    top: -120px;
    pointer-events: none;
}

.darktech-hero-subglow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(246, 92, 255,0.35), transparent 65%);
    filter: blur(12px);
    opacity: .45;
    left: -80px;
    bottom: -80px;
    pointer-events: none;
}

.darktech-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .9rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,.35);
    background: rgba(15,23,42,0.65);
    color: #e5e7eb;
    font-size: .85rem;
}

.darktech-pill span.badge-dot {
    width: .7rem;
    height: .7rem;
    border-radius: 999px;
    background: radial-gradient(circle, #22c55e 0, #15803d 55%, #052e16 100%);
    box-shadow: 0 0 12px rgba(34,197,94,0.9);
}

.darktech-title {
    font-size: clamp(2.1rem, 3vw, 2.7rem);
    font-weight: 700;
    letter-spacing: .03em;
}

.darktech-gradient-text {
    background: linear-gradient(120deg, #38bdf8, #a855f7, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.darktech-hero-text {
    max-width: 650px;
}

.darktech-search-card {
    position: relative;
    z-index: 2;
    margin-top: 1.5rem;
    padding: 1.25rem 1.25rem 1.4rem;
    border-radius: 1.2rem;
    background: radial-gradient(circle at top left, rgba(56,189,248,0.12), transparent 55%),
                radial-gradient(circle at bottom right, rgba(168,85,247,0.12), transparent 55%),
                rgba(15,23,42,0.98);
    border: 1px solid rgba(148,163,184,0.35);
    box-shadow:
        0 24px 60px rgba(15,23,42,0.95),
        0 0 0 1px rgba(15,23,42,0.7);
}

.darktech-search-input {
    background: rgba(15,23,42,0.95);
    border-color: rgba(51,65,85,0.85);
    color: #e5e7eb;
}

.darktech-search-input::placeholder {
    color: #6b7280;
}

.darktech-search-input:focus {
    background: #020617;
    border-color: #38bdf8;
    box-shadow: 0 0 0 .1rem rgba(56,189,248,0.35);
    color: #f9fafb;
}

.darktech-select {
    background: rgba(15,23,42,0.95);
    border-color: rgba(51,65,85,0.85);
    color: #e5e7eb;
}

.darktech-select:focus {
    background: #020617;
    border-color: #a855f7;
    box-shadow: 0 0 0 .1rem rgba(168,85,247,0.35);
}

.darktech-btn-primary {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    border: none;
    color: #020617;
    font-weight: 600;
    box-shadow: 0 14px 40px rgba(34,197,94,0.55);
}

.darktech-btn-primary:hover {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #020617;
    transform: translateY(-1px);
}

.darktech-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 8px 24px rgba(21,128,61,0.55);
}

.darktech-hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 1.5rem;
    font-size: .9rem;
    color: #9ca3af;
}

.darktech-hero-metrics span strong {
    color: #e5e7eb;
}

/* Категории – неонови "чипове" */

.darktech-categories {
    padding: 2.6rem 0 1.8rem;
    background: linear-gradient(180deg,#07111d 0%,#040816 55%,#020617 100%);
}

.darktech-category-chip {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    background: linear-gradient(180deg,#08111f 0%,#050b16 45%,#020617 100%);
    border: 1px solid rgba(51,65,85,0.9);
    color: #e5e7eb;
    font-size: .87rem;
    text-decoration: none;
    transition: all .16s ease-out;
}

.darktech-category-chip span.icon {
    font-size: 1rem;
    opacity: .9;
}

.darktech-category-chip:hover {
    border-color: rgba(56,189,248,0.9);
    box-shadow: 0 0 0 1px rgba(37,99,235,0.25), 0 18px 30px rgba(15,23,42,0.85);
    transform: translateY(-1px);
    color: #f9fafb;
}


.darktech-vip-section{
    padding: 0 0 2.2rem;
    background: linear-gradient(180deg,#020617 0%,#030712 55%,#020617 100%);
}

.darktech-listings-section{
    background: linear-gradient(180deg,#020617 0%,#030712 55%,#020617 100%);
}

/* Последни обяви – карти */

.darktech-listings-section {
    padding: 0 0 3.5rem;
}

.promo-badge-paid{position:absolute;top:12px;right:12px;z-index:5;background:linear-gradient(135deg,#f59e0b,#f97316);color:#ffffff;font-weight:900;font-size:.72rem;padding:6px 10px;border-radius:999px;box-shadow:0 8px 22px rgba(245,158,11,.35);letter-spacing:.03em;text-transform:uppercase;}
.darktech-listing-card {
    position: relative;
    border-radius: 1.1rem;
    overflow: hidden;
    border: 1px solid rgba(31,41,55,0.95);
    background: radial-gradient(circle at top, rgba(15,23,42,0.96), #020617);
    box-shadow: 0 18px 40px rgba(15,23,42,0.95);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.darktech-listing-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #020617;
    position: relative;
}

.darktech-listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.darktech-listing-badge {
    position: absolute;
    left: .9rem;
    top: .8rem;
    padding: .25rem .7rem;
    font-size: .75rem;
    border-radius: 999px;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(56,189,248,0.85);
    color: #e0f2fe;
}

.darktech-listing-body {
    padding: .95rem 1rem 1.05rem;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    flex: 1;
}

.darktech-listing-title {
    font-size: .98rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 0;
}

.darktech-listing-meta {
    font-size: .8rem;
    color: #9ca3af;
}

.darktech-listing-bottom {
    margin-top: .5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
}

.darktech-price {
    font-weight: 600;
    color: #22c55e;
}

.darktech-link {
    color: #60a5fa;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.darktech-link:hover {
    color: #93c5fd;
}

/* Responsiveness */

@media (max-width: 991.98px) {
    .darktech-hero {
        padding-top: 2.4rem;
    }
}

@media (max-width: 767.98px) {
    .darktech-hero-text {
        text-align: center;
        margin-bottom: 1.8rem;
    }
    .darktech-hero-metrics {
        justify-content: center;
    }
}

/* Partners and site background */
.partners-section{background:linear-gradient(180deg,#020617 0%,#030712 60%,#020617 100%);border-top:1px solid rgba(148,163,184,.16);border-bottom:1px solid rgba(148,163,184,.16);}
    .partners-viewport{position:relative;overflow:hidden;border-radius:14px;background:#0f131a;border:1px solid #222836;padding:10px 0;}
    .partners-track{display:flex;align-items:center;gap:36px;will-change:transform;animation:partners-scroll 38s linear infinite}
    .partners-viewport:hover .partners-track{animation-play-state:paused}
    .partner{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:12px;background:transparent;transition:transform .15s ease,background .15s ease,box-shadow .15s ease}
    .partner:hover{background:rgba(255,255,255,.04);transform:translateY(-2px);box-shadow:0 6px 18px rgba(0,0,0,.35)}
    .partner img{height:44px;width:auto;object-fit:contain;filter:saturate(1.15) contrast(1.05);opacity:.95}
    @media (min-width:992px){.partner img{height:52px}}
    @keyframes partners-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
	/* По-четим надпис в секцията Партньори */
.partners-section a.text-muted {
  color: rgba(255,255,255,0.9) !important;
}
.partners-section a.text-muted:hover {
  color: #ffffff !important;
}

  
body{
    background:#020617 !important;
}
.footer-stats-section{
    margin-bottom:0 !important;
}
.footer-stats-section + footer{
    margin-top:0 !important;
    border-top:0 !important;
}

/* Footer statistics */
.footer-stats-section{
    background:linear-gradient(180deg,#020617 0%,#030712 60%,#020617 100%) !important;
    border-top:1px solid rgba(148,163,184,.16);
    border-bottom:1px solid rgba(148,163,184,.16);
}
footer{
    background:linear-gradient(180deg,#020617 0%,#030712 60%,#020617 100%) !important;
}

body{
    background:#020617 !important;
}
.footer-stats-section{
    margin-bottom:0 !important;
}
.footer-stats-section + footer{
    margin-top:0 !important;
    border-top:0 !important;
}

/* Cookie controls */
#itsale-cookie-bar{
position:fixed;
left:20px;
right:20px;
bottom:20px;
z-index:99999;
background:#0f172a;
border:1px solid rgba(255,255,255,.12);
border-radius:16px;
padding:18px;
box-shadow:0 10px 40px rgba(0,0,0,.45);
display:none;
align-items:center;
justify-content:space-between;
gap:20px;
color:#fff;
backdrop-filter:blur(10px);
}
#itsale-cookie-bar .cookie-text{
font-size:14px;
line-height:1.6;
color:#cbd5e1;
}
#itsale-cookie-bar .cookie-actions{
display:flex;
gap:10px;
flex-wrap:wrap;
}
.itsale-cookie-btn{
border:none;
border-radius:999px;
padding:10px 18px;
font-size:14px;
font-weight:600;
cursor:pointer;
transition:.2s ease;
}
.itsale-cookie-accept{
background:linear-gradient(135deg,#06b6d4,#2563eb);
color:#fff;
}
.itsale-cookie-settings{
background:#1e293b;
color:#fff;
border:1px solid rgba(255,255,255,.12);
}
.itsale-footer-links{
display:flex;
gap:14px;
flex-wrap:wrap;
justify-content:center;
margin-top:12px;
font-size:14px;
}
.itsale-footer-links a{
color:#94a3b8;
text-decoration:none;
}
.itsale-footer-links a:hover{
color:#fff;
}
@media(max-width:768px){
#itsale-cookie-bar{
flex-direction:column;
align-items:flex-start;
}
}
