/* style.css - Основные стили сайта */

/* Base styles */
body {
    font-family: 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.55rem;
    letter-spacing: -.015rem;
    color: #4f5050 !important;
    background: url(/assets/img/bg3.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-color: #FAFAFA !important;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}
@media (min-width: 1366px) {
body {
    background-size: 40% auto;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    color: #111;
}

h2 {
	font-size: 22px;
}
h3 {
	font-size: 16px;
}
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header & Footer */
.webappHeader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: var(--tg-theme-bg-color);
    color: var(--tg-theme-text-color);
}

.webappHeaderContainer {
	background-color: #FAFAFA !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}


.webappHeaderBackBtn svg {
    width: 24px;
    height: 24px;
    fill: var(--tg-theme-link-color);
}

.webappHeaderLogo img {
    width: 139px;
    height: auto !important;
}

.appBottomMenu {
    min-height: 56px;
    position: fixed;
    z-index: 999;
    bottom: 0;
    left: 0;
    right: 0;
    background: #EEEEEE;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px 30px 0 0;
    padding: 20px 4px 10px 4px;
    justify-content: space-around;
}

.appBottomMenu a.item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--tg-theme-text-color);
    text-decoration: none;
    font-size: 12px;
}

.appBottomMenu a.item.active strong {
    color: var(--tg-theme-link-color);
}

.appBottomMenu svg {
    fill: var(--tg-theme-link-color);
}

/* Channel Cards */
.channel-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease-in-out;
}

.channel-card:hover {
    transform: translateY(-2px);
}

.channel-card-heading {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.channel-card-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 12px;
}

.channel-card-name {
    font-weight: bold;
    font-size: 16px;
}

.channel-card-stats {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #6c757d;
}


.channel-card-stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.channel-card-stat-item svg {
    width: 16px;
    height: 16px;
}

/* Channel Single Page */
.channel-single-stat-detailed {
    display: flex;
    justify-content: space-between;
    background: white;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.channel-single-stat-detailed-item {
    text-align: center;
    flex: 1;
    padding: 10px;
    border-right: 1px solid #eee;
}

.channel-single-stat-detailed-item:last-child {
    border-right: none;
}

.channel-single-stat-highlight-item-number {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
}

.channel-single-stat-highlight-item-caption {
    font-size: 12px;
    color: #6c757d;
}

.channel-single-descriptor {
    background: white;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* Buttons */
.btn-success {
    background-color: #00c853 !important;
    border-color: #00c853 !important;
}

.btn-primary {
    background-color: #007bff !important;
}

.btn-danger {
    background-color: #dc3545 !important;
}

/* Favorites & Cart Icons */
.channel-card-buttons {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid #eee;
}

.channel-card-btn-cart,
.channel-card-btn-favorite {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    border-radius: 8px;
    margin: 0 4px;
    font-size: 14px;
    font-weight: 500;
}

.channel-card-btn-cart span,
.channel-card-btn-favorite span {
    display: inline-block;
    vertical-align: middle;
}

.channel-card-btn-cart svg,
.channel-card-btn-favorite svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-left: 6px;
}

/* Similar Channels Section */
.channel-category-cards {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 16px 0;
}

.channel-category-cards .channel-card {
    min-width: 200px;
    flex: 1 0 200px;
    margin: 0;
}

/* Stories */
#zuck-modal-content .story-viewer.with-back-button .head .left>.back {
    position: absolute !important;
    right: 0px !important;
    top: 20px !important;
    background: url(/assets/close.svg);
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: center center;
    font-size: 0px;
}

.video-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    text-align: center;
    padding-top: 45vh;
    z-index: 9999;
    background: white;
}

.video-loading img {
    width: 100px !important;
}

.video-loading.done {
    display: none !important;
}

#zuck-modal-content .story-viewer .slides .item>.media {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.stories.carousel .story>.item-link>.item-preview {
    border-radius: 19px;
    border: 1px solid #7A2DC7;
}
	.nopc {
		display: none !important;
	}
/* Responsive */
@media (max-width: 934px) {
	.nomobile {
		display: none;
	}
	.nopc {
		display: flex !important;
	}
    .container {
        padding: 0 12px;
        margin-top: 30px !important;
    }

    .webappHeaderContainer {
        padding: 10px 14px;
    }

    .appBottomMenu {
        display: flex;
    }
}

/* Telegram WebApp Specific Styles */
html[platform="tdesktop"] .webappHeader {
    display: none;
}

html[platform="tmacos"] .webappHeader {
    display: none;
}

html[platform="tandroid"], html[platform="tios"] .webappHeader {
    display: block;
}

/* Helper Classes */
.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.rounded-circle {
    border-radius: 50%;
}

/* Placeholder Avatar */
.channel-card-avatar.placeholder {
    background: #e0e0e0;
}

/* Toast Messages */
.Vue-Toastification__container {
    z-index: 9999 !important;
}

/* Scrollbar for long pages */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.navbar-nav .nav-link.active {
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.storiesWrapper {
  padding: 12px;
  max-width: 500px;
  margin: 0 auto;
}

h1.Snapgram {
  background: #fff;
  color: #333;
}
h1.FaceSnap {
  background: #3b5998;
  color: #fff;
}
h1.VemDeZAP {
  background: #085e53;
  color: #fff;
}
h1.Snapssenger {
  background: #0084ff;
  color: #fff;
}

.disclaimer {
  display: block;
  text-decoration: none !important;
  color: #333;
  line-height: 1.5em;
  background: #ffffd2;
  border-radius: 3px;
  margin: 12px 12px 0;
  padding: 12px 12px 12px 74px;
  font-size: 13px;
  max-width: 500px;
  overflow: hidden;
  min-height: 50px;
}
.disclaimer img {
  float: left;
  margin-right: 12px;
  width: 50px;
  position: absolute;
  margin-left: -62px;
}
.disclaimer a {
  color: inherit !important;
  border: 0;
}
.disclaimer p {
  margin: 0;
}
.disclaimer p + p {
  margin-top: 1.25em;
}

.skin {
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  font-weight: bold;
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  font-size: 16px;
  padding: 12px;
  color: #fff;
  background: #333;
}
.skin select {
  background: #fff;
  font-size: inherit;
  text-transform: none;
  max-width: 30%;
}

@media (min-width: 524px) {
  .disclaimer {
    margin: 12px auto;
  }
}
.footer_btn_style {
	display: flex;
    flex-direction: column;
    align-items: center;
}

/* Превью сторис */
.story-carousel {
    display: flex;
    overflow-x: auto;
    padding: 5px;
    gap: 12px;
}

.story-item {
    width: 160px;
    height: 160px;
    border-radius: 19px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #7A2DC7;
}

.story-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 19px;
    margin: auto;
    padding: 2px;
}

.story-title {
    text-align: center;
    font-size: 12px;
    margin-top: 4px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60px;
}

/* Просмотр сторис */
.story-viewer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.story-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

#story-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.story-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    z-index: 10000;
}

.btn-primary, .btn-outline-primary {
	background-color: #7A2DC7 !important;
    border-color: #7A2DC7;
	color: #ffffff;
}

.btn-primary, .btn-outline-primary:hover {
	background-color: #7442c8 !important;
    border-color: #7442c8;
	color: #ffffff;    
}
.mw-auto {
    max-width: 150px;
}
.webappHeader .webappHeaderSupportBtnContainer {
    background: #ffffff;
    border-radius: 15px;
    padding: 8px 11px 8px 30px;
    position: relative;
}
.webappHeaderSupportBtnIconContainer {
    position: absolute;
    left: -20px;
    top: 0%;
    height: 100%;
    width: 40px;
    background: #FAFAFA;
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    align-items: center;
    display: flex;
    justify-content: center;
}
.webappHeaderSupportBtnIcon {
    z-index: 1000;
}
.webappHeaderSupportBtnTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.webappHeaderSupportBtnTop .login {
    color: #7A2DC7;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.webappHeaderSupportBtnTop .time {
    color: #0f1626;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.webappHeaderSupportBtnBottom {
    display: flex;
}
.webappHeaderSupportBtnBottom span {
    color: #0f1626;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
@media (max-width:934px) {
.story-item {
    width: 98px;
    height: 98px;
}
}
.category-filter {
    display: flex;
    width: 100%;
    overflow-x: scroll;
    gap: 7px;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 20px;
    padding-top: 20px;
    margin-top: -10px;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.category-filter::-webkit-scrollbar {
      width: 0;
      height: 0;
}

.category-item-title {
    border-radius: 10px;
    background: #7442c8;
    box-shadow: 0 0 10px #0f162614;
    padding: 11px 11px 10px;
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: .6px;
    line-height: 15px;
    text-wrap-mode: nowrap;
}
.category-item-title:hover {
	color: #fff;
}

.card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.channel-card-avatar {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: 1px solid #7442c8;
    background: #d1eaff;
    flex-shrink: 0;
    text-indent: -10000px;
}

.channel-card-name {
    flex-grow: 1;
    color: #0f1626;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.channel-card {
    border-radius: 19px;
    background: #FFF;
    box-shadow: 0 0 15px #4646460d;
    padding: 9px;
}
.channel-card-stats span {
    color: #0f1626;
    font-size: 10px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}
.channel-card-descriptor {
	min-height: 15px;
    word-break: break-word;
    color: #0f1626;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    position: relative;
    display: inline-block;
}
.channel-card-btn-cart {
    border-radius: 10px;
    background: #7442c8;
    border: 1px solid #7442c8;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 9px 15px;
    text-align: center;
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    transition: .1s all;
    height: 37px;
    max-width: 122px;
}
.channel-card-btn-cart:hover {
	color: #fff;
}
.btn-cart_white:hover {
	color: #0f1626;
}
.channel-card-btn-fav {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border: 1px solid #7442c8;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #ffffff;
    transition: .1s all;
    margin-left: 5px;
}
.channel-single-heading {
    background: #ffffff;
    border-radius: 19px;
    filter: drop-shadow(0px 0px 15px rgba(70, 70, 70, .05));
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 14px;
}

.channel-single-avatar {
    width: 94px;
    height: 94px;
    border-radius: 19px;
    border: 1px solid #7442c8;
    background: #d1eaff;
    flex-shrink: 0;
    text-indent: -10000px;
}

.channel-single-text-container {
    margin-top: 19px;
}

.channel-single-stat-highlights {
    display: grid;
    grid-gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
}

.channel-single-stat-highlight-item {
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0 0 15px #4646460d;
    padding: 20px 5px 13px;
    text-align: center;
    position: relative;
}

.channel-single-stat-highlight-item .h-icon-container {
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    text-align: center;
}

.channel-single-stat-highlight-item-number {
    color: #0f1626;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.channel-single-stat-highlight-item-caption {
    color: #6b6b6b;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 5px;
}

.channel-single-stat-detailed {
    display: grid;
    grid-gap: 12px;
    grid-row-gap: 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    margin-top: 15px;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0 0 15px #4646460d;
    padding: 27px 12px;
}

.channel-single-stat-detailed-item {
    text-align: center;
}

.appBottomMenu a.item span{
	color: #0f1626;
}
.btn-cart_white {
	background: #ffffff;
	color: #0f1626;
}

.cart-fixed-btn {
	opacity: 0.7;
    position: fixed;
    bottom: 100px;
    left: 0px;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.cart-fixed-btn a {
    border-radius: 10px;
    background: #7442c8;
    box-shadow: 0 0 12px #057ceb40;
    color: #fff;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 14px 33px 15px;
}
.appBottomMenu .item:not(.active) .bottom-menu-icon-heart path {
    fill: #bbb;
}
@media (max-width: 934px) {
.webappHeader {
    position: relative !important;
    margin-top: -56px;
}
}

.appBottomMenu .item.active .bottom-menu-icon-heart path {
    fill: #7442c8 !important;
}

.appBottomMenu .item .bottom-menu-icon-heart path {
    transition: fill 0.3s ease;
}

.appBottomMenu .item .bottom-menu-icon-cart path {
    fill: #bbb;
    transition: fill 0.3s ease;
}


.appBottomMenu .item.active .bottom-menu-icon-cart path,
.appBottomMenu .item.active .bottom-menu-icon-cart .bottom-menu-icon-cart-stroke {
    fill: #7442c8 !important;
    stroke: #7442c8 !important;
}

.btn-link_color {
    color: #7442c8;
}
.h2_title {
    font-size: 22px;
}
.sort_padding {
    display: flex;
    align-items: center;
}
