/* Svitloprostir persistent custom styles. This file is not generated by Moneymaker2. */
/* ===== Оновлений кошик у модальному вікні ===== */

#popupModal .modal-dialog {
  width: 620px;
  max-width: calc(100% - 30px);
  margin: 40px auto;
}

#popupModal .modal-content {
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

#popupModal .modal-header {
  min-height: 0;
  padding: 20px 55px 16px 24px;
  border-bottom: 1px solid #eeeeee;
  background: #ffffff;
}

#popupModal .modal-title {
  color: #2f2f2f;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

#popupModal .modal-header .close {
  display: block !important;
  position: absolute;
  top: 15px;
  right: 18px;
  margin: 0;
  color: #777777;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  opacity: 1;
}

#popupModal .modal-body {
  padding: 10px 24px 6px;
  background: #ffffff;
}

#popupModal .modal-body > ul {
  margin: 0;
}

#popupModal .modal-body > ul > li:first-child {
  margin: 0;
}

#popupModal .modal-body table.table {
  width: 100%;
  margin: 0;
  table-layout: fixed;
}

#popupModal .modal-body table.table tr {
  border-bottom: 1px solid #eeeeee;
}

#popupModal .modal-body table.table td {
  padding: 15px 7px;
  border: 0;
  vertical-align: middle;
  font-size: 15px;
}

#popupModal .modal-body table.table td:nth-child(1) {
  width: 88px;
  padding-left: 0;
}

#popupModal .modal-body table.table td:nth-child(2) {
  width: auto;
  text-align: left;
}

#popupModal .modal-body table.table td:nth-child(3) {
  width: 44px;
  color: #666666;
  text-align: center;
  white-space: nowrap;
}

#popupModal .modal-body table.table td:nth-child(4) {
  width: 92px;
  color: #2f2f2f;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

#popupModal .modal-body table.table td:nth-child(5) {
  width: 35px;
  padding-right: 0;
}

#popupModal .modal-body table.table img.img-thumbnail {
  width: 76px;
  height: 76px;
  padding: 3px;
  border: 1px solid #eeeeee;
  border-radius: 9px;
  object-fit: contain;
  background: #ffffff;
}

#popupModal .modal-body table.table td:nth-child(2) > a {
  display: -webkit-box;
  overflow: hidden;
  color: #333333;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#popupModal .modal-body table.table td:nth-child(2) > a:hover {
  color: #ba4646;
}

#popupModal .modal-body table.table .fa-times-circle {
  color: #999999;
  font-size: 19px;
  transition: color 0.2s ease;
}

#popupModal .modal-body table.table a:hover .fa-times-circle {
  color: #ba4646;
}

#popupModal .modal-body table.table tr > td[colspan="5"] {
  display: none;
}

#popupModal .modal-body table.table tr:nth-last-child(2) {
  border-bottom: 0;
}

#popupModal .modal-body table.table tr:nth-last-child(2) td {
  padding-top: 16px;
  padding-bottom: 6px;
}

#popupModal .modal-body table.table tr:nth-last-child(2) td:nth-child(2) {
  color: #555555;
  font-size: 16px;
}

#popupModal .modal-body table.table tr:nth-last-child(2) td:nth-child(4) {
  color: #2f2f2f;
  font-size: 19px;
  font-weight: 700;
}

#popupModal .modal-body .panel.panel-info {
  margin: 10px 0 14px;
  border: 0;
  border-radius: 9px;
  background: #eef8f0;
  box-shadow: none;
}

#popupModal .modal-body .panel-info .panel-heading {
  padding: 11px 15px;
  border: 0;
  border-radius: 9px;
  color: #337342;
  background: transparent;
  font-size: 14px;
  line-height: 1.45;
}

#popupModal .modal-body > ul > li:last-child {
  padding: 8px 0 18px;
}

#popupModal .modal-body > ul > li:last-child p {
  margin: 8px 0 0;
}

#popupModal .modal-body .btn-primary {
  min-width: 260px;
  padding: 12px 22px;
  border: 0;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: none;
}

#popupModal .modal-body .btn-default {
  padding: 5px 10px;
  border: 0;
  color: #777777;
  background: transparent;
  text-decoration: underline;
  box-shadow: none;
}

#popupModal .modal-footer {
  padding: 0 24px 18px;
  border: 0;
  background: #ffffff;
  text-align: center;
}

#popupModal .modal-footer .btn-shopping {
  padding: 9px 15px;
  color: #555555;
  font-size: 15px;
  text-decoration: none;
}

@media (max-width: 767px) {
  #popupModal .modal-dialog {
    width: auto;
    max-width: none;
    margin: 12px;
  }

  #popupModal .modal-header {
    padding: 17px 46px 14px 15px;
  }

  #popupModal .modal-title {
    font-size: 19px;
    text-align: left;
  }

  #popupModal .modal-header .close {
    top: 12px;
    right: 14px;
  }

  #popupModal .modal-body {
    padding: 6px 15px 4px;
  }

  #popupModal .modal-body table.table td {
    padding: 13px 4px;
    font-size: 14px;
  }

  #popupModal .modal-body table.table td:nth-child(1) {
    width: 66px;
  }

  #popupModal .modal-body table.table td:nth-child(3) {
    width: 35px;
  }

  #popupModal .modal-body table.table td:nth-child(4) {
    width: 78px;
    font-size: 13px;
  }

  #popupModal .modal-body table.table td:nth-child(5) {
    width: 27px;
  }

  #popupModal .modal-body table.table img.img-thumbnail {
    width: 58px;
    height: 58px;
  }

  #popupModal .modal-body table.table td:nth-child(2) > a {
    font-size: 13px;
    line-height: 1.35;
    -webkit-line-clamp: 3;
  }

  #popupModal .modal-body table.table tr:nth-last-child(2) td:nth-child(2) {
    font-size: 15px;
  }

  #popupModal .modal-body table.table tr:nth-last-child(2) td:nth-child(4) {
    font-size: 17px;
  }

  #popupModal .modal-body .btn-primary {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    font-size: 16px;
  }

  #popupModal .modal-footer {
    padding: 0 15px 14px;
  }

  #popupModal .modal-footer .btn-shopping {
    display: block;
    width: 100%;
  }
}
/* ===== Svitloprostir: header dropdown cart ===== */

#cart > ul.dropdown-menu {
    right: 0;
    left: auto;
    width: 560px;
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 100px);
    padding: 10px 16px 16px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.16);
}

#cart > ul.dropdown-menu > li {
    margin: 0;
    padding: 0;
}

#cart > ul.dropdown-menu table {
    width: 100%;
    margin: 0;
}

#cart > ul.dropdown-menu table td {
    border: 0;
    vertical-align: middle;
}

#cart > ul.dropdown-menu table tr:has(td:first-child img) td {
    padding: 12px 6px;
    border-bottom: 1px solid #ededed;
}

#cart > ul.dropdown-menu table td:first-child {
    width: 76px;
}

#cart > ul.dropdown-menu table td:first-child img {
    display: block;
    width: 64px;
    height: 64px;
    padding: 4px;
    border: 1px solid #e8e8e8;
    border-radius: 9px;
    background: #fff;
    object-fit: contain;
}

#cart > ul.dropdown-menu table td:nth-child(2) {
    min-width: 0;
    text-align: left;
}

#cart > ul.dropdown-menu table td:nth-child(2) > a {
    display: -webkit-box;
    overflow: hidden;
    color: #3f3f3f;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

#cart > ul.dropdown-menu table td:nth-child(2) > a:hover {
    color: #bd4441;
}

#cart > ul.dropdown-menu table td:nth-child(2) small {
    color: #777;
    line-height: 1.4;
}

#cart > ul.dropdown-menu table td:nth-child(3) {
    width: 44px;
    color: #666;
    text-align: center;
    white-space: nowrap;
}

#cart > ul.dropdown-menu table td:nth-child(4) {
    width: 94px;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

#cart > ul.dropdown-menu table td:nth-child(5) {
    width: 28px;
    text-align: right;
}

#cart > ul.dropdown-menu table td:nth-child(5) a {
    color: #999;
}

#cart > ul.dropdown-menu table td:nth-child(5) a:hover {
    color: #bd4441;
}

#cart > ul.dropdown-menu table tr:has(hr) {
    display: none;
}

#cart > ul.dropdown-menu table tr:has(hr) + tr td {
    padding-top: 14px;
}

#cart > ul.dropdown-menu table tr:not(:has(img)):not(:has(hr)) td {
    padding-top: 6px;
    padding-bottom: 6px;
}

#cart > ul.dropdown-menu table tr:not(:has(img)):has(+ tr td hr) td:nth-child(2),
#cart > ul.dropdown-menu table tr:not(:has(img)):has(+ tr td hr) td:nth-child(4) {
    padding-top: 10px;
    padding-bottom: 12px;
    color: #2f2f2f;
    font-size: 18px;
    font-weight: 700;
}

#cart > ul.dropdown-menu > li:last-child .text-center {
    padding-top: 4px;
}

#cart > ul.dropdown-menu > li:last-child .text-center p {
    margin: 12px 0 0;
}

#cart > ul.dropdown-menu > li:last-child .btn-primary {
    min-width: 270px;
    min-height: 46px;
    padding: 11px 20px;
    border-color: #b43f3c;
    border-radius: 8px;
    background: #bd4441;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

#cart > ul.dropdown-menu > li:last-child .btn-primary:hover,
#cart > ul.dropdown-menu > li:last-child .btn-primary:focus {
    border-color: #a93936;
    background: #a93936;
    color: #fff;
}

#cart > ul.dropdown-menu > li:only-child {
    padding: 18px 12px;
    color: #666;
}

/* Мобільний випадаючий кошик */

@media only screen and (max-width: 767px) {
    #cart > ul.dropdown-menu {
        width: calc(100vw - 16px);
        max-width: 430px;
        padding: 8px 10px 12px;
        border-radius: 10px;
    }

    #cart > ul.dropdown-menu table tr:has(td:first-child img) {
        display: grid;
        grid-template-columns: 60px minmax(0, 1fr) minmax(76px, auto);
        grid-template-areas:
            "image name remove"
            "image quantity price";
        column-gap: 10px;
        row-gap: 8px;
        padding: 12px 2px;
        border-bottom: 1px solid #ededed;
    }

    #cart > ul.dropdown-menu table tr:has(td:first-child img) td {
        display: block;
        width: auto;
        min-width: 0;
        padding: 0;
        border: 0;
    }

    #cart > ul.dropdown-menu table tr:has(td:first-child img) td:nth-child(1) {
        grid-area: image;
    }

    #cart > ul.dropdown-menu table tr:has(td:first-child img) td:nth-child(1) img {
        width: 58px;
        height: 58px;
    }

    #cart > ul.dropdown-menu table tr:has(td:first-child img) td:nth-child(2) {
        grid-area: name;
    }

    #cart > ul.dropdown-menu table tr:has(td:first-child img) td:nth-child(2) > a {
        font-size: 14px;
        line-height: 1.35;
        -webkit-line-clamp: 3;
    }

    #cart > ul.dropdown-menu table tr:has(td:first-child img) td:nth-child(3) {
        grid-area: quantity;
        align-self: center;
        width: auto;
        text-align: left;
    }

    #cart > ul.dropdown-menu table tr:has(td:first-child img) td:nth-child(4) {
        grid-area: price;
        align-self: center;
        width: auto;
        font-size: 14px;
        text-align: right;
    }

    #cart > ul.dropdown-menu table tr:has(td:first-child img) td:nth-child(5) {
        grid-area: remove;
        align-self: start;
        width: auto;
        text-align: right;
    }

    #cart > ul.dropdown-menu table tr:not(:has(img)):not(:has(hr)) td {
        font-size: 14px;
    }

    #cart > ul.dropdown-menu table tr:not(:has(img)):has(+ tr td hr) td:nth-child(2),
    #cart > ul.dropdown-menu table tr:not(:has(img)):has(+ tr td hr) td:nth-child(4) {
        font-size: 17px;
    }

    #cart > ul.dropdown-menu > li:last-child .btn-primary {
        display: block;
        width: 100%;
        min-width: 0;
        min-height: 48px;
        font-size: 16px;
    }
}
/* Fix: full width product rows in mobile header cart */

@media only screen and (max-width: 767px) {
    #cart > ul.dropdown-menu table,
    #cart > ul.dropdown-menu table tbody {
        display: block;
        width: 100%;
    }

    #cart > ul.dropdown-menu table tr:has(td:first-child img) {
        width: 100%;
        box-sizing: border-box;
    }

    #cart > ul.dropdown-menu table tr:has(td:first-child img) td:nth-child(2) {
        display: block !important;
        min-width: 0;
    }

    #cart > ul.dropdown-menu table tr:not(:has(img)) {
        display: table;
        width: 100%;
        table-layout: fixed;
    }
}

/* ===== Svitloprostir: direct language switcher ===== */
#top-links #ocd_multilang {
    display: none !important;
}

@media (min-width: 768px) {
    #top .navbar-right > .desktop-lang-inline {
        display: flex !important;
        align-items: center;
        height: 55px;
        padding: 0 11px;
        white-space: nowrap;
    }

    #top .desktop-lang-inline > a,
    #top .desktop-lang-inline > .active-language {
        display: inline-flex;
        align-items: center;
        height: 55px;
        font-size: 14px;
        line-height: 1;
        text-decoration: none;
    }
}

#top .desktop-lang-inline > a,
#top .mobile-lang-inline > a {
    color: #756a6a !important;
    font-weight: 400 !important;
}

#top .desktop-lang-inline > .active-language,
#top .mobile-lang-inline > .active-language {
    color: #b74646 !important;
    font-weight: 700 !important;
}

#top .desktop-lang-inline > a:hover,
#top .desktop-lang-inline > a:focus,
#top .mobile-lang-inline > a:hover,
#top .mobile-lang-inline > a:focus {
    color: #b74646 !important;
    text-decoration: none !important;
}

#top .desktop-lang-inline > * + *::before,
#top .mobile-lang-inline > * + *::before {
    content: "|";
    display: inline-block;
    margin: 0 7px;
    color: #b8a6a0;
    font-weight: 400;
}

@media (max-width: 767px) {
    #top .mobile-lang-inline > a,
    #top .mobile-lang-inline > .active-language {
        margin-right: 0 !important;
    }

    #top .mobile-lang-inline > * + *::before {
        margin: 0 5px;
    }
}
/* ===== /Svitloprostir: direct language switcher ===== */

/* ===== Svitloprostir: account dashboard ===== */
.sp-account-page #content { padding-bottom: 36px; }
.sp-account-hero { display:flex; align-items:center; gap:20px; margin:0 0 24px; padding:25px 28px; border:1px solid #eadfda; border-radius:16px; background:linear-gradient(135deg,#fff 0%,#fbf6f3 100%); box-shadow:0 8px 25px rgba(72,49,40,.07); }
.sp-account-hero__icon { display:flex; flex:0 0 58px; align-items:center; justify-content:center; width:58px; height:58px; border-radius:50%; color:#fff; background:#b74646; font-size:25px; }
.sp-account-hero__content { min-width:0; flex:1; }
.sp-account-hero__content h1 { margin:0 0 6px; font-size:27px; line-height:1.2; }
.sp-account-hero__content p { margin:0 0 5px; color:#665e5b; font-size:15px; }
.sp-account-hero__content span { color:#8b817d; font-size:13px; }
.sp-account-hero__button { flex:0 0 auto; padding:11px 18px; }
.sp-account-alert { margin-bottom:18px; border-radius:10px; }
.sp-account-legacy { display:flex; align-items:center; gap:18px; margin:0 0 24px; padding:20px 22px; border:1px solid #e5d8c5; border-radius:14px; background:#fffaf1; box-shadow:0 5px 18px rgba(50,38,32,.04); }
.sp-account-legacy__icon { display:flex; flex:0 0 46px; align-items:center; justify-content:center; width:46px; height:46px; border-radius:50%; color:#8a5d21; background:#f3e3c7; font-size:20px; }
.sp-account-legacy__content { min-width:0; flex:1; }
.sp-account-legacy__content h2 { margin:0 0 5px; font-size:19px; }
.sp-account-legacy__content p { margin:0 0 5px; color:#5f554d; }
.sp-account-legacy__content small,.sp-account-legacy__form > small { display:block; color:#84786f; line-height:1.4; }
.sp-account-legacy__action { flex:0 0 auto; }
.sp-account-legacy__form { flex:0 0 330px; }
.sp-account-legacy__form label { display:block; margin-bottom:6px; font-size:12px; }
.sp-account-legacy__form input[type="text"] { min-width:105px; letter-spacing:4px; font-weight:700; text-align:center; }
.sp-account-legacy__form > small { margin-top:6px; font-size:11px; }
.sp-account-section,.sp-account-active { margin:0 0 24px; padding:24px; border:1px solid #e8e3e1; border-radius:15px; background:#fff; box-shadow:0 5px 18px rgba(50,38,32,.05); }
.sp-account-active { border-color:#dfcbc3; }
.sp-account-section-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:18px; }
.sp-account-section-head h2 { margin:0; font-size:21px; line-height:1.3; }
.sp-account-section-head a { white-space:nowrap; }
.sp-account-kicker { display:block; margin-bottom:4px; color:#8b817d; font-size:13px; }
.sp-status { display:inline-flex; align-items:center; padding:6px 10px; border-radius:999px; font-size:12px; font-weight:600; line-height:1.2; }
.sp-status--new,.sp-status--pending { color:#7a5b17; background:#fff3cd; }
.sp-status--processing,.sp-status--packing { color:#245b7a; background:#dff2ff; }
.sp-status--sent { color:#2d5d84; background:#dcecff; }
.sp-status--complete { color:#28623b; background:#dff3e5; }
.sp-status--cancelled,.sp-status--attention { color:#8a3030; background:#fde3e3; }
.sp-status--return { color:#6b477d; background:#efe3f5; }
.sp-order-progress { display:flex; margin:26px 0 24px; overflow:hidden; }
.sp-order-progress__step { position:relative; flex:1; text-align:center; color:#a39a96; }
.sp-order-progress__step::before { content:""; position:absolute; z-index:0; top:15px; right:50%; width:100%; height:3px; background:#e7e2df; }
.sp-order-progress__step:first-child::before { display:none; }
.sp-order-progress__step span { position:relative; z-index:1; display:flex; align-items:center; justify-content:center; width:32px; height:32px; margin:0 auto 8px; border:3px solid #e7e2df; border-radius:50%; background:#fff; font-size:12px; font-weight:700; }
.sp-order-progress__step small { display:block; font-size:12px; }
.sp-order-progress__step.is-active { color:#70413f; }
.sp-order-progress__step.is-active::before { background:#b74646; }
.sp-order-progress__step.is-active span { border-color:#b74646; color:#fff; background:#b74646; }
.sp-account-active__bottom { display:flex; align-items:center; gap:18px; padding-top:18px; border-top:1px solid #eee9e6; }
.sp-account-order-meta { display:flex; flex:1; flex-wrap:wrap; align-items:center; gap:10px 18px; color:#6f6763; }
.sp-account-order-meta strong { color:#2d2927; font-size:18px; }
.sp-account-tracking { display:flex; flex-direction:column; gap:3px; min-width:190px; padding:10px 14px; border-radius:10px; background:#f7f4f2; }
.sp-account-tracking span,.sp-account-tracking small { color:#756d69; font-size:12px; }
.sp-account-tracking strong { letter-spacing:.3px; }
.sp-account-tracking .btn { margin-top:5px; }
.sp-account-orders { display:grid; gap:12px; }
.sp-account-order-card { padding:16px 18px; border:1px solid #ece7e4; border-radius:12px; transition:border-color .2s,box-shadow .2s; }
.sp-account-order-card:hover { border-color:#d7c4bc; box-shadow:0 5px 15px rgba(59,42,35,.06); }
.sp-account-order-card__main,.sp-account-order-card__details,.sp-account-order-card__actions { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.sp-account-order-card__main > div { display:flex; flex-direction:column; gap:3px; }
.sp-account-order-card__number { color:#3e3532; font-size:16px; font-weight:700; }
.sp-account-order-card__main div > span,.sp-account-order-card__details { color:#817874; font-size:13px; }
.sp-account-order-card__details { justify-content:flex-start; margin:12px 0; padding:10px 0; border-top:1px solid #f0ece9; border-bottom:1px solid #f0ece9; }
.sp-account-order-card__details strong { margin-left:auto; color:#2e2927; font-size:16px; }
.sp-account-order-card__ttn { padding-left:12px; border-left:1px solid #ddd5d1; }
.sp-account-order-card__actions { justify-content:flex-end; }
.sp-account-order-card__actions a + a { margin-left:14px; }
.sp-account-actions { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.sp-account-actions > a { display:flex; min-width:0; min-height:125px; flex-direction:column; padding:17px; border:1px solid #ece7e4; border-radius:12px; color:#423a37; text-decoration:none; }
.sp-account-actions > a:hover { border-color:#cfaaa0; background:#fdf9f7; }
.sp-account-actions i { margin-bottom:14px; color:#b74646; font-size:23px; }
.sp-account-actions strong { margin-bottom:5px; font-size:14px; }
.sp-account-actions span { color:#8b817d; font-size:12px; line-height:1.35; }
.sp-account-empty { padding:25px 10px; text-align:center; }
.sp-account-empty > i { margin-bottom:12px; color:#c9b9b2; font-size:42px; }
.sp-account-empty h3 { margin:0 0 8px; }
.sp-account-empty p { margin:0 0 18px; color:#7b726e; }
@media (max-width:991px) { .sp-account-actions { grid-template-columns:repeat(3,minmax(0,1fr)); } .sp-account-active__bottom { align-items:stretch; flex-wrap:wrap; } .sp-account-order-meta { min-width:60%; } .sp-account-legacy { align-items:flex-start; flex-wrap:wrap; } .sp-account-legacy__form { flex:1 0 100%; } }
@media (max-width:767px) { .sp-account-page { padding-left:10px; padding-right:10px; } .sp-account-hero { align-items:flex-start; flex-wrap:wrap; padding:20px; } .sp-account-hero__icon { flex-basis:48px; width:48px; height:48px; font-size:21px; } .sp-account-hero__content h1 { font-size:22px; } .sp-account-hero__button { width:100%; } .sp-account-legacy { padding:17px 15px; } .sp-account-legacy__icon { flex-basis:40px; width:40px; height:40px; } .sp-account-legacy__content { flex-basis:calc(100% - 58px); } .sp-account-legacy__action,.sp-account-legacy__action .btn,.sp-account-legacy__form { width:100%; } .sp-account-legacy__form .input-group { display:block; } .sp-account-legacy__form .form-control,.sp-account-legacy__form .input-group-btn,.sp-account-legacy__form .btn { display:block; width:100%; } .sp-account-legacy__form .form-control { margin-bottom:8px; border-radius:4px; } .sp-account-legacy__form .btn { border-radius:4px; } .sp-account-section,.sp-account-active { padding:18px 15px; border-radius:12px; } .sp-account-section-head h2 { font-size:19px; } .sp-order-progress { margin-left:-8px; margin-right:-8px; } .sp-order-progress__step small { font-size:9px; line-height:1.15; } .sp-order-progress__step span { width:27px; height:27px; border-width:2px; } .sp-order-progress__step::before { top:13px; } .sp-account-active__bottom { flex-direction:column; } .sp-account-order-meta,.sp-account-tracking,.sp-account-active__bottom > .btn { width:100%; } .sp-account-order-card__details { align-items:flex-start; flex-wrap:wrap; } .sp-account-order-card__details strong { margin-left:0; } .sp-account-order-card__ttn { width:100%; padding:7px 0 0; border:0; border-top:1px solid #eee9e6; } .sp-account-order-card__actions { align-items:flex-end; flex-direction:column; } .sp-account-order-card__actions a + a { margin-left:0; } .sp-account-actions { grid-template-columns:repeat(2,minmax(0,1fr)); } }
/* ===== /Svitloprostir: account dashboard ===== */

/* ===== Svitloprostir: human order history ===== */
.sp-orders-page #content,.sp-order-detail-page #content { padding-bottom:36px; }
.sp-orders-hero { display:flex; align-items:center; gap:18px; margin:0 0 20px; padding:22px 24px; border:1px solid #eadfda; border-radius:15px; background:linear-gradient(135deg,#fff 0%,#fbf6f3 100%); box-shadow:0 6px 22px rgba(72,49,40,.06); }
.sp-orders-hero__icon { display:flex; flex:0 0 50px; align-items:center; justify-content:center; width:50px; height:50px; border-radius:50%; color:#fff; background:#b74646; font-size:21px; }
.sp-orders-hero h1 { margin:0 0 5px; font-size:27px; line-height:1.2; }
.sp-orders-hero p { margin:0; color:#6f6561; }
.sp-orders-tools { margin:0 0 20px; padding:16px; border:1px solid #e8e3e1; border-radius:13px; background:#fff; }
.sp-orders-filters { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.sp-orders-filters a { display:inline-flex; align-items:center; gap:7px; padding:8px 13px; border:1px solid #e4ddda; border-radius:999px; color:#564c48; text-decoration:none; }
.sp-orders-filters a:hover,.sp-orders-filters a.is-active { border-color:#b74646; color:#fff; background:#b74646; }
.sp-orders-filters span { min-width:22px; padding:2px 6px; border-radius:999px; background:rgba(0,0,0,.07); font-size:11px; text-align:center; }
.sp-orders-filters a.is-active span,.sp-orders-filters a:hover span { background:rgba(255,255,255,.2); }
.sp-orders-search { display:flex; align-items:center; gap:12px; }
.sp-orders-search .input-group { width:100%; max-width:520px; }
.sp-orders-search__clear { white-space:nowrap; }
.sp-orders-list { display:grid; gap:14px; }
.sp-orders-card { padding:18px 20px; border:1px solid #e8e3e1; border-radius:14px; background:#fff; box-shadow:0 4px 15px rgba(50,38,32,.04); transition:border-color .2s,box-shadow .2s; }
.sp-orders-card:hover { border-color:#d2bbb2; box-shadow:0 7px 19px rgba(50,38,32,.07); }
.sp-orders-card__head,.sp-orders-card__body,.sp-orders-card__actions { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.sp-orders-card__head > div { display:flex; flex-direction:column; gap:4px; }
.sp-orders-card__head > div > span { color:#827873; font-size:12px; }
.sp-orders-card__number { color:#342e2b; font-size:17px; font-weight:700; }
.sp-orders-card__body { margin:14px 0; padding:13px 0; border-top:1px solid #f0ece9; border-bottom:1px solid #f0ece9; }
.sp-orders-card__summary { display:flex; flex:1; align-items:center; gap:20px; color:#6f6763; }
.sp-orders-card__summary strong { margin-left:auto; color:#2e2927; font-size:18px; }
.sp-orders-card__tracking { display:grid; min-width:210px; padding-left:17px; border-left:1px solid #e4ddda; }
.sp-orders-card__tracking small,.sp-orders-card__tracking span { color:#817771; font-size:11px; }
.sp-orders-card__tracking strong { letter-spacing:.35px; }
.sp-orders-card__actions > div { display:flex; flex-wrap:wrap; gap:8px; }
.sp-orders-pagination { margin-top:20px; }
.sp-orders-pagination .pagination { margin-bottom:8px; }
.sp-orders-empty { padding:45px 20px; border:1px solid #e8e3e1; border-radius:14px; text-align:center; }
.sp-orders-empty > i { margin-bottom:13px; color:#cdbeb8; font-size:44px; }
.sp-orders-empty h2 { margin:0 0 18px; font-size:20px; }
.sp-orders-back { margin-top:22px; }
.sp-order-detail-hero { margin:0 0 20px; padding:24px; border:1px solid #dfcbc3; border-radius:15px; background:linear-gradient(135deg,#fff 0%,#fbf6f3 100%); box-shadow:0 6px 22px rgba(72,49,40,.06); }
.sp-order-detail-hero__head,.sp-order-detail-hero__meta { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.sp-order-detail-hero__head h1 { margin:0; font-size:27px; }
.sp-order-detail-hero__meta { justify-content:flex-start; flex-wrap:wrap; margin-top:15px; color:#716762; }
.sp-order-detail-hero__meta strong { margin-left:auto; color:#2e2927; font-size:21px; }
.sp-order-detail-tracking { display:flex; align-items:center; gap:15px; margin-top:20px; padding:15px; border-radius:12px; background:#f7f4f2; }
.sp-order-detail-tracking__icon { display:flex; flex:0 0 42px; align-items:center; justify-content:center; width:42px; height:42px; border-radius:50%; color:#fff; background:#b74646; }
.sp-order-detail-tracking > div:nth-child(2) { display:grid; flex:1; }
.sp-order-detail-tracking small,.sp-order-detail-tracking span { color:#786e68; font-size:12px; }
.sp-order-detail-tracking strong { font-size:17px; letter-spacing:.4px; }
.sp-order-detail-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-bottom:20px; }
.sp-order-detail-card,.sp-order-detail-section { padding:20px; border:1px solid #e8e3e1; border-radius:14px; background:#fff; box-shadow:0 4px 15px rgba(50,38,32,.04); }
.sp-order-detail-card h2,.sp-order-detail-section > h2 { margin:0 0 16px; font-size:18px; }
.sp-order-detail-card h2 i,.sp-order-detail-section > h2 i { margin-right:7px; color:#b74646; }
.sp-order-detail-card p:last-child { margin-bottom:0; }
.sp-order-detail-card address { margin:0; line-height:1.65; }
.sp-order-detail-card dl { display:grid; grid-template-columns:auto 1fr; gap:9px 14px; margin:0; }
.sp-order-detail-card dt { color:#7d736e; font-weight:400; }
.sp-order-detail-card dd { margin:0; font-weight:600; }
.sp-order-detail-section { margin-bottom:20px; }
.sp-order-products-table { margin-bottom:0; }
.sp-order-products-table th { border-bottom-width:1px!important; color:#776c67; font-size:12px; font-weight:600; }
.sp-order-products-table td { vertical-align:middle!important; }
.sp-order-products-table td small { display:block; margin-top:4px; color:#817771; }
.sp-order-product-actions { white-space:nowrap; }
.sp-order-comment { padding:14px; border-radius:10px; background:#f8f6f4; line-height:1.6; }
.sp-order-timeline { position:relative; }
.sp-order-timeline__item { position:relative; display:flex; gap:15px; padding:0 0 20px 28px; }
.sp-order-timeline__item:last-child { padding-bottom:0; }
.sp-order-timeline__item::before { content:""; position:absolute; top:12px; bottom:-5px; left:7px; width:2px; background:#e7dfdb; }
.sp-order-timeline__item:last-child::before { display:none; }
.sp-order-timeline__dot { position:absolute; z-index:1; top:5px; left:0; width:16px; height:16px; border:3px solid #fff; border-radius:50%; box-shadow:0 0 0 1px #d9cfca; }
.sp-order-timeline__dot.sp-status--new,.sp-order-timeline__dot.sp-status--pending { background:#e1ad32; }
.sp-order-timeline__dot.sp-status--processing,.sp-order-timeline__dot.sp-status--packing,.sp-order-timeline__dot.sp-status--sent { background:#4d91bd; }
.sp-order-timeline__dot.sp-status--complete { background:#4d9a65; }
.sp-order-timeline__dot.sp-status--cancelled,.sp-order-timeline__dot.sp-status--attention { background:#c15757; }
.sp-order-timeline__dot.sp-status--return { background:#9162a5; }
.sp-order-timeline__item > div { display:grid; gap:3px; }
.sp-order-timeline__item time { color:#867c77; font-size:12px; }
.sp-order-timeline__item p { margin:5px 0 0; color:#655d59; }
@media (max-width:991px) { .sp-order-detail-grid { grid-template-columns:1fr 1fr; } .sp-order-detail-grid > :last-child { grid-column:1/-1; } }
@media (max-width:767px) { .sp-orders-page,.sp-order-detail-page { padding-left:10px; padding-right:10px; } .sp-orders-hero { align-items:flex-start; padding:18px; } .sp-orders-hero h1 { font-size:23px; } .sp-orders-tools { padding:13px; } .sp-orders-filters { flex-wrap:nowrap; margin-left:-13px; margin-right:-13px; padding:0 13px 3px; overflow-x:auto; } .sp-orders-filters a { flex:0 0 auto; } .sp-orders-search { align-items:stretch; flex-direction:column; } .sp-orders-search .input-group { max-width:none; } .sp-orders-card { padding:16px 14px; } .sp-orders-card__head { align-items:flex-start; } .sp-orders-card__body { align-items:stretch; flex-direction:column; } .sp-orders-card__summary strong { margin-left:auto; } .sp-orders-card__tracking { min-width:0; padding:10px 0 0; border-top:1px solid #e4ddda; border-left:0; } .sp-orders-card__actions { align-items:stretch; flex-direction:column; } .sp-orders-card__actions > div,.sp-orders-card__actions > .btn { width:100%; } .sp-orders-card__actions > div .btn { flex:1; } .sp-order-detail-hero { padding:18px 15px; } .sp-order-detail-hero__head { align-items:flex-start; } .sp-order-detail-hero__head h1 { font-size:22px; } .sp-order-detail-hero__meta strong { width:100%; margin-left:0; } .sp-order-detail-tracking { align-items:flex-start; flex-wrap:wrap; } .sp-order-detail-tracking > .btn { width:100%; } .sp-order-detail-grid { grid-template-columns:1fr; } .sp-order-detail-grid > :last-child { grid-column:auto; } .sp-order-detail-card,.sp-order-detail-section { padding:17px 14px; } .sp-order-products-table { min-width:720px; } }
/* ===== /Svitloprostir: human order history ===== */

/* Svitloprostir: hide product groups in product lists.
   Variants remain available on the product page. */
.product-thumb .product-groups,
.product-thumb .product-groups-list,
.product-thumb .product-groups-list-text,
.product-thumb .product-groups-list-holder,
.product-thumb .product-group-select-list {
    display: none !important;
}
/* /Svitloprostir: hide product groups in product lists */

/* Svitloprostir: modern product variant selector */

/* Основний контейнер різновидів */
#product .product-groups {
    margin: 18px 0 22px;
    padding: 17px 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
    border: 1px solid #e0e8e2;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(35, 65, 45, 0.06);
}

#product .product-group {
    margin: 0;
    padding: 0;
}

#product .product-group + .product-group {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #edf1ee;
}

#product .product-group-name,
#product .product-groups-text-title {
    display: block;
    margin: 0 0 11px;
    color: #303a34;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

/* Розкладка варіантів */
#product .product-group-products,
#product .product-groups-text-list {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 9px;
    margin: 0;
    padding: 0;
}

#product .product-group-product {
    position: relative;
    display: block;
    float: none;
    margin: 0;
}

/* Текстові варіанти: довжина, потужність тощо */
#product .product-group-product > .group-text,
#product .product-groups-product.product-groups-text-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 42px;
    margin: 0;
    padding: 8px 14px;
    color: #334039;
    background: #ffffff;
    border: 1px solid #d6dfd9;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(28, 55, 37, 0.04);
    transition:
        border-color 0.18s ease,
        background-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

#product .product-group-product > .group-text:hover,
#product .product-groups-product.product-groups-text-item:hover {
    color: #357f2e;
    background: #f7fcf5;
    border-color: #8acb73;
    box-shadow: 0 3px 9px rgba(64, 133, 53, 0.12);
    transform: translateY(-1px);
}

/* Активний текстовий варіант */
#product .product-group-product.current > .group-text,
#product .product-groups-product.product-groups-text-item.current {
    color: #287423;
    background: #f0f9ed;
    border-color: #55ad3d;
    box-shadow:
        0 0 0 1px rgba(85, 173, 61, 0.14),
        0 3px 9px rgba(64, 133, 53, 0.10);
}

/* Галочка активного варіанта */
#product .product-group-product.current::after,
#product .product-groups-product.current::after {
    content: "✓";
    position: absolute;
    z-index: 3;
    top: -6px;
    right: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #ffffff;
    background: #55ad3d;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-sizing: border-box;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 2px 5px rgba(34, 99, 31, 0.24);
    pointer-events: none;
}

/* Варіанти з фотографіями */
#product .product-group-product > a:not(.group-text),
#product .product-groups-product.product-groups-image-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 98px;
    min-height: 106px;
    margin: 0;
    padding: 8px;
    color: #354139;
    background: #ffffff;
    border: 1px solid #dce4df;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 7px rgba(30, 58, 39, 0.05);
    transition:
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

#product .product-group-product > a:not(.group-text):hover,
#product .product-groups-product.product-groups-image-item:hover {
    color: #357f2e;
    background: #f9fdf8;
    border-color: #8acb73;
    box-shadow: 0 5px 14px rgba(64, 133, 53, 0.13);
    transform: translateY(-2px);
}

#product .product-group-product.current > a:not(.group-text),
#product .product-groups-product.product-groups-image-item.current {
    color: #287423;
    background: #f4fbf1;
    border-color: #55ad3d;
    box-shadow: 0 0 0 1px rgba(85, 173, 61, 0.16);
}

#product .product-group-product > a:not(.group-text) img,
#product .product-groups-image-item img {
    display: block;
    width: 76px;
    height: 76px;
    margin: 0 auto 6px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 6px;
}

/* Альтернативна розмітка модуля */
#product .product-groups-list-text {
    margin: 18px 0 22px;
    padding: 17px 18px;
    background: #ffffff;
    border: 1px solid #e0e8e2;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(35, 65, 45, 0.06);
}

#product .product-group-select {
    margin: 16px 0 20px;
}

#product .product-group-select-current {
    min-height: 46px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #d6dfd9;
    border-radius: 9px;
}

#product .product-group-select-options {
    border: 1px solid #d6dfd9;
    border-radius: 9px;
    box-shadow: 0 8px 24px rgba(30, 58, 39, 0.14);
    overflow: hidden;
}

#product .product-group-select-option {
    min-height: 44px;
    padding: 8px 11px;
    background: #ffffff;
}

#product .product-group-select-option:hover,
#product .product-group-select-option.current {
    background: #f0f9ed;
}

/* Клавіатурна навігація */
#product .product-groups a:focus-visible,
#product .product-groups-list-text a:focus-visible {
    outline: 3px solid rgba(85, 173, 61, 0.28);
    outline-offset: 2px;
}

/* Телефон */
@media (max-width: 767px) {
    #product .product-groups,
    #product .product-groups-list-text {
        margin: 14px 0 18px;
        padding: 14px;
        border-radius: 10px;
    }

    #product .product-group-products,
    #product .product-groups-text-list {
        gap: 8px;
    }

    #product .product-group-product > .group-text,
    #product .product-groups-product.product-groups-text-item {
        min-width: 46px;
        min-height: 40px;
        padding: 8px 12px;
    }

    #product .product-group-product > a:not(.group-text),
    #product .product-groups-product.product-groups-image-item {
        width: 88px;
        min-height: 98px;
        padding: 7px;
    }

    #product .product-group-product > a:not(.group-text) img,
    #product .product-groups-image-item img {
        width: 68px;
        height: 68px;
    }
}

/* /Svitloprostir: modern product variant selector */

/* Svitloprostir: clean mobile variant scrolling */
@media (max-width: 767px) {
    #product .product-group-products,
    #product .product-groups-text-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-top: 7px;
        padding-bottom: 5px;
    }

    #product .product-group-products::-webkit-scrollbar,
    #product .product-groups-text-list::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    #product .product-group-product,
    #product .product-groups-product {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }
}
/* /Svitloprostir: clean mobile variant scrolling */

/* Svitloprostir: mobile variant scroll hint */
#product .sv-variant-scroll-hint {
    display: none;
}

@media (max-width: 767px) {
    #product .sv-variant-scroll-hint {
        display: inline-flex;
        align-items: center;
        width: max-content;
        max-width: 100%;
        margin: -3px 0 8px;
        padding: 4px 9px;
        color: #667269;
        background: #f2f7f1;
        border-radius: 999px;
        box-sizing: border-box;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.35;
        transition:
            opacity 0.22s ease,
            transform 0.22s ease;
        pointer-events: none;
    }

    #product .sv-variant-scroll-hint.is-hidden {
        opacity: 0;
        transform: translateY(-4px);
    }
}

@media (prefers-reduced-motion: reduce) {
    #product .sv-variant-scroll-hint {
        transition: none;
    }
}
/* /Svitloprostir: mobile variant scroll hint */
