/* Preview Frame Container */
.theme-wrap-cl{
    width: 100%;
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    padding:40px;
   
}

/* Top Bar */
.st-preview-frame__topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  	margin-bottom:30px;
    background: #fff;
	padding:0 20px;

}

.st-preview-frame__title {
  font-weight: 600;
    color: #181818;
    font-size: 31px;
   
    line-height: 1.1;
}
.st-preview-btn-set.button-box{
	margin-top:0 !important
}
.st-preview-frame__controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Device Buttons */
.st-preview-device {
    padding: 7px 11px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

/* Icon/image should always be visible */
.st-preview-device img {
    display: block;
}

/* Text: start hidden but “occupying” space we can animate */
.st-preview-device span {
    white-space: nowrap;
    overflow: hidden;
    max-width: 0;
    opacity: 0;
    transform: translateX(-4px);
    transition:
        max-width 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.st-preview-device:hover {
    background: #F4F5FE;
}

/* Active state */
.st-preview-device.is-active {
    background: #F4F5FE;
    border-color: #F4F5FE;
}

/* Smoothly reveal text on active */
.st-preview-device.is-active span {
    max-width: 80px;      /* adjust based on your text length */
    opacity: 1;
    transform: translateX(0);
}

/* Live Demo Button */
.st-preview-frame__btn-live {
    padding: 0.5rem 1rem;
    background: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-left: 0.5rem;
    transition: background 0.2s ease;
}

.st-preview-frame__btn-live:hover {
    background: #218838;
    color: #fff;
}

/* Viewport Container */
.st-preview-frame__viewport {
        position: relative;
    background: rgba(40, 57, 240, 0.05);
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 8px 8px;
    overflow: auto;
    border-radius: 16px;
    flex-wrap:wrap;
    border: 1px solid rgba(40, 57, 240, 0.1);
}

/* Device Wrappers */
.st-preview-frame__device {
    display: none;
    background: #fff;
    border-radius: 12px;
   
    overflow: hidden;
}

.st-preview-frame__device.is-active {
    display: block;
}

/* Desktop - Full width within container */
.st-preview-frame__device--desktop {
    width: 100%;
    height: 600px;
}

.st-preview-frame__device--desktop iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Tablet */
.st-preview-frame__device--tablet {
    width: 768px;
    height: 1024px;
   
    border-radius: 24px;
}

.st-preview-frame__device--tablet iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Mobile */
.st-preview-frame__device--mobile {
    width: 375px;
    height: 667px;
    
    border-radius: 24px;
}

.st-preview-frame__device--mobile iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.st-preview-frame__controls{
margin-bottom:20px;
}
.st_pr_main_box{
width:100%;
display:flex;
justify-content:center
}
.st-breadcrumb {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	line-height: 1.4;
	color: #181818; /* subtle gray */
	margin-bottom: 10px;
}

.st-breadcrumb__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	text-decoration: none;
	color: inherit;
}

.st-breadcrumb__link:hover {
	color: #4f46e5; /* soft purple/blue hover */
}

.st-breadcrumb__home-icon {
	font-size: 13px;
}

.st-breadcrumb__sep {
	opacity: 0.5;
}

.st-breadcrumb__current {
	color: #454655;
	font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .st-preview-frame__topbar {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .st-preview-frame__controls {
        flex-wrap: wrap;
    }
    
    .st-preview-frame__viewport {
        padding: 1rem;
        min-height: 400px;
    }
    
    .st-preview-frame__device--desktop {
        height: 400px;
    }
    
    .st-preview-frame__device--tablet {
        width: 100%;
        max-width: 768px;
        height: 800px;
    }
    
    .st-preview-frame__device--mobile {
        width: 320px;
        height: 568px;
    }
}