.smo-smart-gallery-wrap {
	position: relative;
	width: 100%;
}

.smo-gallery-grid {
    display: grid;
    width: 100%;
}

.gallery-item {
	position: relative;
	padding: 0 !important;
	aspect-ratio: 16/9;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.item-image {
	position: relative;
	width: 100%;
	height: 100%;
}

.item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.item-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.2);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.gallery-item .play-icon .pause rect{
	color: #fff;
	fill: #fff;
}

.gallery-item .play-icon .play,
.gallery-item.active .play-icon .pause{
	display: block;
}

.gallery-item .play-icon .pause,
.gallery-item.active .play-icon .play{
	display: none;
}

.gallery-item .play-icon .play{
	color: #fff;
	width: 12px;
	margin-left: 2px;
}

.gallery-item:hover .item-overlay,
.gallery-item.active .item-overlay {
	opacity: 1;
}

.btn-expand {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 0;
	border: none;
	outline: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	transition: all 0.3s ease;
	z-index: 3;
	background-color: transparent;
}

.btn-expand svg{
	stroke: #fff;
}

.gallery-item:hover .btn-expand {
	opacity: 1;
}

.play-area {
	position: absolute;
	bottom: 12px;
	left: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 2;
	padding: 0 12px 0 0;
}

.play-wrapper {
	position: relative;
	width: 16px;
	height: 16px;
}

.progress-ring {
	position: absolute;
	top: 0;
	left: 0;
	transform: rotate(-90deg);
}

.progress-ring-circle {
	fill: none;
	stroke: white;
	stroke-width: 1;
	stroke-dasharray: 43.98226;
	stroke-dashoffset: 43.98226;
	transition: stroke-dashoffset 0.3s ease;
}

.gallery-item.active .progress-ring-circle {
	animation: progressRing 10s linear forwards;
}

@keyframes progressRing {
	to {
		stroke-dashoffset: 0;
	}
}

.play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 16px;
	height: 16px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.play-icon svg {
	transition: color 0.3s ease;
}

.gallery-item.active .play-icon svg {
	color: white;
}

.gallery-item .play-icon svg{
	width: 9px;
}

.play-title {
	font-family: "Inter", Sans-serif;
	color: white;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: .025em
}

.gallery-popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	animation: fadeIn 0.3s ease;
}

.gallery-popup.open {
	display: flex;
	align-items: center;
	justify-content: center;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.popup-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(10px);
}

.popup-container {
	position: relative;
	top: 24px;
	width: 100%;
	height: 95svh;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 60px 20px 20px;
}

.popup-close {
	position: absolute;
	top: -20px;
	right: 24px;
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	background-color: transparent;
}

.popup-close svg {
	color: white;
}

.popup-main-image {
	flex: 1;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
}

.popup-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.popup-image.active {
	opacity: 1;
	visibility: visible;
}

.popup-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 8px;
}

.popup-title {
	position: absolute;
	top: -80px;
	left: 50%;
	transform: translateX(-50%);
	font-family: "Inter", Sans-serif;
	color: white;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.428;
	z-index: 1;
	text-align: center;
}

.popup-thumbnails {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
	padding: 0 20px;
}

.thumb-item {
	max-width: 76.28px;
	aspect-ratio: 76.28/52;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid transparent;
	transition: all 0.3s ease;
}

.thumb-item.active{
	border-color: #fff;
}

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

.popup-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	background: transparent;
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10;
	padding: 0;
}

.popup-prev {
	left: 20px;
}

.popup-next {
	right: 20px;
}

.popup-nav svg {
	color: white;
}

.popup-image {
	transition: opacity 0.5s ease, transform 0.5s ease;
	transform: translateX(0);
}

.popup-image.slide-out-left {
	opacity: 0;
	transform: translateX(-100px);
}

.popup-image.slide-out-right {
	opacity: 0;
	transform: translateX(100px);
}

.popup-image.slide-in-left {
	opacity: 0;
	transform: translateX(-100px);
}

.popup-image.slide-in-right {
	opacity: 0;
	transform: translateX(100px);
}

.popup-image.active {
	opacity: 1;
	transform: translateX(0);
}

.view-all-wrapper{
	display: none;
	justify-content: center;
}

.view-all-wrapper .btn-view-all{
	padding: 12px 10px 12px 14px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 3.40282e+38px;
	font-size: 12px;
	line-height: 1;
	color: #000;
	letter-spacing: 0.3px;
	font-family: "Inter", Sans-serif;
	display: flex;
	gap: 6px;
	align-items: center;
}

.view-all-wrapper .btn-view-all .item-count{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	padding: 4px;
	background: #1a1a1a1a;
	font-size: 10px;
}

/* tabs-capture */
.capture-tab{
	display: flex;
	gap: 8px;
}

.capture-tab .tabs-heading{
	width: calc(25% - 4px);
	display: flex;
	gap: 8px;
	flex-direction: column;
}

.capture-tab .tabs-content{
	width: calc(75% - 4px);
}

.capture-tab .tabs-heading .tabs-heading_content{
	border-radius: 12px;
	background-color: #1a1a1a;
	cursor: pointer;
}

.capture-tab .tabs-heading .tabs-heading_content:hover{
	background-color: rgba(255, 255, 255, 0.2);
}

.tabs-heading .tabs-heading_content .tab-heading_info{
	padding: 12px 16px;
}

.tabs-heading .tabs-heading_content .tabs-heading_title{
	margin: 0;
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 20px;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 500;
	color: #fff;
}

.tabs-heading .tabs-heading_content .tabs-heading_title .text{
	position: relative;
	padding-left: 0;
	transition: all 0.3s;
}

.tabs-heading .tabs-heading_content.active .tabs-heading_title .text{
	padding-left: 16px;
}

.tabs-heading .tabs-heading_content.active .tabs-heading_title .text::before{
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	width: 8px;
	height: 8px;
	background-color: #f7e731;
	border-radius: 50%;
	animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
}

.tabs-heading .tabs-heading_content .tabs-short_desc{
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.6);
}

.tabs-heading .tabs-heading_content .tabs-heading_desc{
	padding: 0 16px 16px;
	font-size: 14px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
}

.tabs-heading .tabs-heading_content .tabs-heading_desc p{
	margin: 0;
}

.tabs-heading_content .tabs-heading_title .icon{
	display: flex;
	transition: all 0.3s;
}

.tabs-heading_content.active .tabs-heading_title .icon{
	transform: rotate(180deg);
}

.capture-tab .tabs-content{
	border-radius: 12px;
	padding: 16px;
	background: #1a1a1a;
}

.tabs-content{
	position: relative;
}

.tabs-content .content-title{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

.tabs-content .content-title h4{
	margin: 0;
	font-size: 14px;
	line-height: 20px;
	color: #fff;
	letter-spacing: 0.35px;
}

.tabs-content .content-data{
	padding: 48px;
	text-align: center;
}

@media(max-width: 767px){
	.popup-nav{
		display: none;
	}
	.gallery-item:not(:first-child){
		display: none;
	}
	.view-all-wrapper{
		display: flex;
	}
	.smo-gallery-grid{
		grid-template-columns: repeat(1, 1fr) !important;
		margin: 0 0 48px;
	}
}