/*
Theme Name: Onepress - (M-Detailing theme)
Theme URI: https://mupla.net
Description: M-Detailing theme
Author: Elvis
Author URI: https://www.facebook.com/elvis.loksts
Template: onepress
Version: 2.3.8
*/

/* Style part */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap&subset=latin-ext');

body,
button,
input,
select,
textarea {
  font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.site-description,
.main-navigation a {
  font-family: 'Roboto', sans-serif;
}

.feature-media .feature-icon-svg-wrap {
  width: 2em;
  height: 2em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #c81d25;
  color: #ffffff;
  line-height: 1;
}

.feature-media .feature-icon-svg-wrap svg {
  width: 48%;
  height: 48%;
  display: block;
  color: currentColor;
}
.coca-image-compare-container {
    margin: 0 auto;
}
.feature-item h4 {
    font-size: 28px; /* vari likt 30px, 32px utt */
}
.row .col-sm-6.wow.slideInUp {
    margin: 0 auto;
    float: none;
}

.section-padding {
    padding: 20px 0px;!important
    /* padding: 4.375rem 0rem; */
}

.section-title-area {
    margin-bottom: 40px;!important
    text-align: center;
}

.section-desc {
  display: flex;
  gap: 20px; /* space between */
  flex-wrap: wrap; /* makes it responsive */
}

.section-desc .coca-bais-shortcode {
  flex: 1 1 48%; /* two columns */
  max-width: 48%;
}

@media (max-width: 768px) {
  .section-desc {
    flex-direction: column;
  }

  .section-desc .coca-bais-shortcode {
    max-width: 100%;
  }
}

/* melnais theme */
.section-meta {
    background-color: #000000;
}

.section-title-area .section-subtitle {
    color: #ebebeb;!important
}

.section-title-area .section-title {
    color: #ebebeb;!important
}

.feature-item h4 {
    color: #c81d25;!important
}

.feature-item h6 {
    color: #ebebeb;!important
}

.address-box {
    color: #f1f1f1;
}

.address-box h3 {
    color: #ffffff;
}

.section-contact .address-contact span {
    float: left;
    color: #c81d25;
}
#site-navigation .sub-menu {
    border: none !important;
    box-shadow: none !important;
}

@media screen and (max-width: 1140px) {
    .main-navigation .onepress-menu {
        width: 100% !important;
        display: block;
        height: 0px;
        overflow: hidden;
        background: #212728;
    }
}

@media screen and (max-width: 1140px) {
    .onepress-menu.onepress-menu-mobile li {
        line-height: 20px;
        background: #212728;
        border-top: 1px solid #ff0000;
        width: 100% !important;
    }
}

@media screen and (max-width: 1140px) {
    .onepress-menu.onepress-menu-mobile a {
        color: #dd3333;
    }
}

@media screen and (max-width: 1140px) {
    .onepress-menu.onepress-menu-mobile a:hover {
        color: #ffffff;
    }
}

@media screen and (max-width: 1140px) {
    .onepress-menu.onepress-menu-mobile {
        position: absolute;
        top: 75px;
        right: 0;
        width: 100%;
        z-index: 800;
        overflow: auto !important;
        border-top: 1px solid #dd3333;
        border-bottom: 1px solid #dd3333;
   }
}

@media screen and (max-width: 1140px) {
    .onepress-menu.onepress-menu-mobile .nav-toggle-subarrow {
        display: block;
        color: #dd3333;
        border-left: 1px solid #dd3333;
        font-weight: normal;
        position: absolute;
        top: 0;
        right: 0;
        cursor: pointer;
        text-align: center;
        padding: 11px 20px;
        z-index: 10;
        font-size: 22px;
    }
}

.onepress-menu ul li a {
    border-top: 1px solid #e9e9e9;
    padding: 8px 18px;
    color: #999999;
    font-size: 13px;
    text-transform: none;
    background: #212121;
    letter-spacing: 0;
}

/* cenas */
.detailing-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;

  position: relative; /* needed for pseudo-element */
  z-index: 1;
}

/* background icon */
.detailing-table::after {
    content: "";
    position: absolute;
    right: 5px;
    bottom: 0px;
    width: 100%;
    height: 100%;
    background: url(https://www.mdetailing.lv/wp-content/uploads/2026/04/0cac6797-9224-47ff-b18d-12fb5c0437c2.png) no-repeat center;
    background-size: contain;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.detailing-table th {
  background: #111;
  color: #fff;
  padding: 12px;
  text-align: left;
}

.detailing-table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
	color: #1b3d7b;
}

.detailing-table tr:hover {
  background: #e3e3e3;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
  .detailing-table thead {
    display: none;
  }

  .detailing-table,
  .detailing-table tbody,
  .detailing-table tr,
  .detailing-table td {
    display: block;
    width: 100%;
  }

  .detailing-table tr {
    margin-bottom: 10px;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    position: relative;
    z-index: 1;
  }

  .detailing-table td {
    border: none;
    padding: 0;
  }

  /* Service name */
  .detailing-table td:nth-child(1) {
    font-weight: bold;
    color: #111;
    margin-bottom: 6px;
  }

  /* Prices on one line */
  .detailing-table td:nth-child(2),
  .detailing-table td:nth-child(3) {
    display: inline;
    color: #1b3d7b;
    font-weight: 600;
  }

  .detailing-table td:nth-child(2)::before {
    content: "No ";
    color: #555;
    font-weight: normal;
  }

  .detailing-table td:nth-child(3)::before {
    content: " līdz ";
    color: #555;
    font-weight: normal;
  }

  .detailing-table td:nth-child(3)::after {
    content: "";
    display: block;
  }

  .detailing-table::after {
    width: 80px;
    height: 80px;
    opacity: 0.05;
  }
}

.note {
  font-size: 14px;
  color: #555;
  margin-top: 10px;
}

/* atsevišķa lapa */
.page-header {
    padding: 30px 0px;
    border-top: 2px solid #ff0000;
    background: #333333;
    border-bottom: 2px solid #ff0000;
    position: relative;
}

.page-header .entry-title, .page-header .page-title {
	color:white;
}


/* Homepage header */
.home .site-header,
.home.is-transparent .site-header.header-fixed {
    background: #0a0002d1 !important;
    border-bottom: 0 none;
}

/* All other pages */
body:not(.home) .site-header,
body:not(.home).is-transparent .site-header.header-fixed {
    background: black !important;
    border-bottom: 0 none;
}

/* Only homepage */
.home .site {
    background: black;
}

/* Keep other pages white */
.site {
    background: #ffffff;
}

/* Scope only this specific TikTok feed */
#sb-tiktok-feeds-container-1 {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Desktop: centered in one row */
#sb-tiktok-feeds-container-1 .sb-grid-wrapper {
    display: inline-flex !important;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    max-width: 100%;
}

/* Prevent weird shrinking */
#sb-tiktok-feeds-container-1 .sb-post-item-wrap {
    flex: 0 0 auto;
}

/* Only affect the section-desc that contains this feed */
.section-desc:has(#sb-tiktok-feeds-container-1) {
    display: flex;
    justify-content: center;
}

/* Tablet + mobile */
@media (max-width: 900px) {
    #sb-tiktok-feeds-container-1 .sb-grid-wrapper {
        flex-wrap: wrap;
    }

    #sb-tiktok-feeds-container-1 .sb-post-item-wrap {
        width: calc(50% - 10px);
        max-width: 180px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    #sb-tiktok-feeds-container-1 .sb-post-item-wrap {
        width: 100%;
        max-width: 220px;
    }
}

.entry-meta,
.entry-footer,
.byline,
.posted-on {
  display: none !important;
}
