/* ==========================================================================
   ShowMyAura Professional - Premium Modern Styles (Redesigned)
   ========================================================================== */

/* 1. Variables & Theme */
:root {
    --sma-primary: #0f172a;
    --sma-secondary: #3b82f6;
    --sma-bg: #ffffff;
    --sma-bg-alt: #f8fafc;
    --sma-text: #0f172a;
    --sma-text-muted: #64748b;
    --sma-border: #e2e8f0;
    --sma-radius-sm: 12px;
    --sma-radius-lg: 24px;
    --sma-shadow: 0 20px 40px -15px rgba(0,0,0,0.15);
    --sma-shadow-hover: 0 30px 50px -20px rgba(0,0,0,0.25);
    --sma-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.sma-gallery-wrap.theme-dark {
    --sma-bg: #0f172a;
    --sma-bg-alt: #1e293b;
    --sma-text: #f1f5f9;
    --sma-text-muted: #94a3b8;
    --sma-border: #334155;
}

/* 2. Base Reset */
.sma-gallery-wrap {
    width: 100%;
    position: relative;
    margin: 40px 0;
    font-family: 'Inter', sans-serif;
    color: var(--sma-text);
    background: var(--sma-bg);
    padding: 40px;
    border-radius: var(--sma-radius-lg);
    box-shadow: var(--sma-shadow);
}
.sma-gallery-wrap * { box-sizing: border-box; }

/* 3. Theme Toggle (Premium) */
.sma-theme-toggle {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}
.sma-theme-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--sma-bg-alt);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--sma-transition);
    color: var(--sma-text);
    font-size: 16px;
}
.sma-theme-btn:hover,
.sma-theme-btn.active {
    background: var(--gradient);
    color: #fff;
}

/* 4. Category Filters */
.sma-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    justify-content: center;
}
.sma-cat-btn {
    background: transparent;
    border: 2px solid var(--sma-border);
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: var(--sma-transition);
    color: var(--sma-text);
}
.sma-cat-btn:hover {
    border-color: var(--sma-secondary);
    color: var(--sma-secondary);
}
.sma-cat-btn.active {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(59,130,246,0.3);
}

/* 5. Media Box & Auto-Scroll */
.sma-media-box {
    position: relative;
    overflow: hidden;
    background: var(--sma-bg-alt);
    height: 100%;
    width: 100%;
    display: block;
}
.sma-img-scroller {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    transition: background-position var(--scroll-speed, 3s) ease-in-out, transform 0.6s ease;
}
.sma-card:hover .sma-img-scroller {
    background-position: bottom center;
    transform: scale(1.05);
}
.sma-media-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sma-audio-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--sma-text-muted);
    font-size: 40px;
}

/* 6. Overlay */
.sma-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    cursor: pointer;
    z-index: 2;
}
.sma-card:hover .sma-overlay {
    opacity: 1;
}
.sma-overlay-content h3 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.sma-btn-glass {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
    border: 1px solid rgba(255,255,255,0.3);
    display: inline-block;
}
.sma-card:hover .sma-overlay-content h3,
.sma-card:hover .sma-btn-glass {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   LAYOUT STYLES – Unique Modern Designs
   ========================================================================== */

/* 1. Modern Grid – Floating Cards with Gradient Border */
.layout-grid .sma-items-container {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    gap: 30px;
}
.layout-grid .sma-card {
    border-radius: var(--sma-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background: var(--sma-bg);
    height: 380px;
}
.layout-grid .sma-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(145deg, transparent 0%, var(--sma-secondary) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.layout-grid .sma-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 40px -15px rgba(59,130,246,0.3);
}
.layout-grid .sma-card:hover::before {
    opacity: 1;
}
.layout-grid .sma-media-box {
    height: 100%;
}

/* 2. Smart Masonry – Dynamic Columns with Varying Heights */
.layout-masonry .sma-items-container {
    columns: var(--cols, 3) 300px;
    column-gap: 25px;
}
.layout-masonry .sma-card {
    break-inside: avoid;
    margin-bottom: 25px;
    border-radius: var(--sma-radius-lg);
    overflow: hidden;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.layout-masonry .sma-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(59,130,246,0.2);
}
.layout-masonry .sma-media-box {
    height: auto;
}
.layout-masonry .sma-img-scroller {
    position: relative;
    padding-bottom: 75%; /* adjust as needed, but masonry will use actual image height */
}
/* Better to let the image define height – use background-size cover with aspect-ratio */
.layout-masonry .sma-media-box .sma-img-scroller {
    aspect-ratio: attr(data-ratio) / 1; /* fallback */
    background-size: cover;
}

/* 3. Swipe Slider – Minimal Cards with Clean Info */
.layout-slider .swiper {
    padding-bottom: 70px;
}
.layout-slider .sma-slider-card {
    background: var(--sma-bg);
    border-radius: var(--sma-radius-lg);
    overflow: hidden;
    box-shadow: var(--sma-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.layout-slider .sma-media-box {
    height: 250px;
}
.layout-slider .sma-slider-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.layout-slider h3 {
    font-size: 22px;
    margin: 0 0 12px;
    font-weight: 700;
}
.layout-slider .sma-desc-clamp {
    font-size: 14px;
    color: var(--sma-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.layout-slider .sma-view-btn {
    background: var(--gradient);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    align-self: center;
    margin-top: auto;
    width: fit-content;
}
.layout-slider .sma-view-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(59,130,246,0.3);
}

/* Swiper navigation */
.swiper-button-prev,
.swiper-button-next {
    width: 44px !important;
    height: 44px !important;
    background: var(--sma-bg);
    border-radius: 50%;
    box-shadow: var(--sma-shadow);
    top: 45% !important;
}
.swiper-button-prev::after,
.swiper-button-next::after {
    display: none !important;
}
.swiper-button-prev i,
.swiper-button-next i {
    color: var(--sma-text);
    font-size: 16px;
}
.swiper-pagination-bullet {
    background: var(--sma-border) !important;
}
.swiper-pagination-bullet-active {
    background: var(--sma-secondary) !important;
    width: 24px !important;
    border-radius: 4px !important;
}

/* 4. Portfolio Case Study (Zigzag) – Laptop Mockup & Background Number */
.layout-zigzag {
    background: var(--sma-bg-alt);
    border-radius: 0;
    padding: 80px 0;
    margin: 0;
}
.layout-zigzag .sma-items-container {
    display: flex;
    flex-direction: column;
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;
}
.layout-zigzag .sma-card {
    display: flex;
    align-items: center;
    gap: 60px;
    background: transparent !important;
    box-shadow: none !important;
    position: relative;
    counter-increment: zigzag;
}
.layout-zigzag .sma-card::before {
    content: counter(zigzag, decimal-leading-zero);
    position: absolute;
    font-size: 180px;
    font-weight: 800;
    color: rgba(59,130,246,0.05);
    z-index: 0;
    line-height: 1;
    pointer-events: none;
}
.layout-zigzag .sma-card:nth-child(odd)::before {
    left: -30px;
    top: -30px;
}
.layout-zigzag .sma-card:nth-child(even)::before {
    right: -30px;
    bottom: -30px;
}
.layout-zigzag .sma-card:nth-child(even) {
    flex-direction: row-reverse;
}
.layout-zigzag .sma-media-box {
    flex: 1.2;
    height: 500px;
    border-radius: 24px;
    box-shadow: 0 30px 40px -15px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
    border: 10px solid #333;
    border-radius: 20px;
    overflow: hidden;
}
/* Laptop mockup effect */
.layout-zigzag .sma-media-box::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 20%;
    width: 60%;
    height: 30px;
    background: #222;
    border-radius: 10px 10px 0 0;
    z-index: 3;
}
.layout-zigzag .sma-zigzag-info {
    flex: 1;
    background: var(--sma-bg);
    padding: 50px;
    border-radius: var(--sma-radius-lg);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
}
.layout-zigzag .sma-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.layout-zigzag h3 {
    font-size: 42px;
    margin: 0 0 15px;
    font-weight: 800;
    line-height: 1.2;
}
.layout-zigzag .sma-desc-clip {
    font-size: 16px;
    color: var(--sma-text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}
.layout-zigzag .sma-view-btn {
    background: transparent;
    border: 2px solid var(--sma-text);
    color: var(--sma-text);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}
.layout-zigzag .sma-view-btn:hover {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
}

/* 5. Elegant Framed – Vintage Polaroid with Rotation */
.layout-framed {
    background: #e2e8f0;
    padding: 50px 20px;
    border-radius: 0;
}
.layout-framed .sma-items-container {
    display: grid;
    grid-template-columns: repeat(var(--cols, 4), 1fr);
    gap: 30px;
}
.layout-framed .sma-card {
    background: #fff;
    padding: 15px 15px 40px 15px;
    border-radius: 4px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    height: auto;
    transition: all 0.3s ease;
    border: none;
    transform: rotate(0deg);
}
.layout-framed .sma-card:nth-child(odd) {
    transform: rotate(-1deg);
}
.layout-framed .sma-card:nth-child(even) {
    transform: rotate(1deg);
}
.layout-framed .sma-card:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 25px 40px rgba(0,0,0,0.15);
    z-index: 5;
}
.layout-framed .sma-media-box {
    height: 280px;
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}
.layout-framed .sma-overlay {
    border-radius: 2px;
}

/* 6. Bento Box Grid – Asymmetric Dynamic Grid */
.layout-bento .sma-items-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    grid-auto-rows: 250px;
}
.layout-bento .sma-card {
    border-radius: var(--sma-radius-lg);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.layout-bento .sma-card:nth-child(8n+1),
.layout-bento .sma-card:nth-child(8n+4),
.layout-bento .sma-card:nth-child(8n+6) {
    grid-column: span 2;
    grid-row: span 2;
}
.layout-bento .sma-card:nth-child(8n+2),
.layout-bento .sma-card:nth-child(8n+3),
.layout-bento .sma-card:nth-child(8n+5),
.layout-bento .sma-card:nth-child(8n+7) {
    grid-column: span 1;
    grid-row: span 1;
}
.layout-bento .sma-card:nth-child(8n+8) {
    grid-column: span 2;
    grid-row: span 1;
}
.layout-bento .sma-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 30px -5px rgba(59,130,246,0.2);
    z-index: 3;
}
.layout-bento .sma-media-box {
    height: 100%;
}

/* 7. Fanned Deck Carousel – 3D Card Stack */
.layout-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 550px;
    overflow: visible !important;
    background: transparent;
}
.layout-carousel .swiper {
    width: 300px;
    height: 420px;
    perspective: 1200px;
}
.layout-carousel .sma-card {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 30px -5px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
.layout-carousel .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}
.layout-carousel .swiper-slide-active .sma-card {
    transform: scale(1.05);
    box-shadow: 0 30px 50px -10px #3b82f6;
}
/* Ensure cards are visible */
.swiper-cards .swiper-slide {
    transform-origin: center bottom !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* 8. Download Gallery – Clean Resource Grid with Preview */
.layout-download .sma-items-container {
    display: grid;
    grid-template-columns: repeat(var(--cols, 4), 1fr);
    gap: 30px;
}
.sma-download-card {
    background: var(--sma-bg-alt);
    border-radius: var(--sma-radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--sma-border);
    transition: all 0.3s ease;
}
.sma-download-card:hover {
    transform: translateY(-5px);
    border-color: var(--sma-secondary);
    box-shadow: 0 15px 30px rgba(59,130,246,0.1);
}
.sma-download-media {
    height: 220px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.sma-download-media .sma-img-scroller {
    transition: transform 0.5s ease;
}
.sma-download-card:hover .sma-img-scroller {
    transform: scale(1.08);
}
.sma-download-media .sma-preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sma-download-media:hover .sma-preview-overlay {
    opacity: 1;
}
.sma-preview-btn {
    background: #fff;
    color: #0f172a;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.sma-download-info {
    padding: 20px;
}
.sma-download-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}
.sma-download-desc {
    font-size: 13px;
    color: var(--sma-text-muted);
    margin-bottom: 15px;
    line-height: 1.5;
}
.sma-download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sma-dl-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    background: var(--sma-bg);
    color: var(--sma-text);
    text-decoration: none;
    border: 1px solid var(--sma-border);
    cursor: pointer;
    transition: 0.2s;
}
.sma-dl-action-btn:hover {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}
.sma-dl-action-btn i {
    font-size: 14px;
}
.sma-upsell-btn {
    opacity: 0.7;
    cursor: not-allowed;
}
.sma-upsell-btn:hover {
    opacity: 1;
    background: var(--sma-bg);
    color: var(--sma-text);
    border-color: var(--sma-border);
}

/* ==========================================================================
   MODAL POPUP – Modern Cinematic
   ========================================================================== */
.sma-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.sma-modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(15px);
    cursor: pointer;
}
.sma-modal-content {
    position: relative;
    background: var(--sma-bg);
    border-radius: 32px;
    max-width: 1300px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    animation: sma-modal-in 0.3s ease;
}
@keyframes sma-modal-in {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
/* Close Button – Modern Circle */
.sma-modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: #fff;
    color: #0f172a;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.sma-modal-close-btn:hover {
    background: #ef4444;
    color: #fff;
    transform: rotate(90deg);
}
.sma-modal-split {
    display: flex;
    width: 100%;
    height: 90vh;
}
/* Image Area – 70% width, large */
.sma-modal-media-wrap {
    flex: 0 0 70%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}
.sma-modal-media {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sma-modal-media img,
.sma-modal-media video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
/* Info Area – 30% width */
.sma-modal-info {
    flex: 0 0 30%;
    padding: 40px;
    overflow-y: auto;
    background: var(--sma-bg);
    display: flex;
    flex-direction: column;
}
.sma-m-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 20px;
    line-height: 1.3;
}
.sma-m-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--sma-border);
    font-size: 13px;
    color: var(--sma-text-muted);
}
.sma-m-meta i {
    margin-right: 6px;
    color: var(--sma-secondary);
}
.sma-m-tech {
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--sma-text-muted);
}
.sma-tech-tag {
    display: inline-block;
    background: var(--sma-bg-alt);
    padding: 4px 10px;
    border-radius: 20px;
    margin: 3px;
    font-size: 12px;
}
.sma-m-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--sma-text-muted);
    margin-bottom: 20px;
    flex: 1;
}
.sma-m-url-wrap {
    margin-bottom: 20px;
}
.sma-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
}
.sma-visit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59,130,246,0.3);
}
.sma-m-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}
.sma-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--sma-bg-alt);
    border: 1px solid var(--sma-border);
    border-radius: 16px;
    font-weight: 600;
    color: var(--sma-text);
    text-decoration: none;
    transition: 0.2s;
    cursor: pointer;
    text-align: left;
}
.sma-action-btn:hover {
    border-color: var(--sma-secondary);
    background: var(--sma-bg);
}
.sma-like-btn.liked {
    color: #ef4444;
    border-color: #fecaca;
    background: #fff5f5;
}
.sma-free-upsell {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    width: 100%;
    color: #92400e;
}
.theme-dark .sma-free-upsell {
    background: #422006;
    color: #fef3c7;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .layout-bento .sma-items-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .layout-zigzag .sma-card,
    .layout-zigzag .sma-card:nth-child(even) {
        flex-direction: column !important;
        gap: 30px;
    }
    .layout-zigzag .sma-media-box {
        height: 350px;
        width: 100%;
    }
    .layout-zigzag .sma-card::before {
        font-size: 120px;
    }
    .sma-modal-split {
        flex-direction: column;
    }
    .sma-modal-media-wrap {
        flex: none;
        height: 50vh;
        width: 100%;
    }
    .sma-modal-info {
        flex: none;
        width: 100%;
        height: 50vh;
        padding: 25px;
    }
}
@media (max-width: 768px) {
    .sma-gallery-wrap {
        padding: 15px;
    }
    .layout-grid .sma-items-container,
    .layout-framed .sma-items-container,
    .layout-download .sma-items-container {
        grid-template-columns: 1fr !important;
    }
    .layout-framed .sma-card {
        height: auto;
    }
    .layout-bento .sma-items-container {
        grid-template-columns: 1fr;
    }
    .layout-bento .sma-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        height: 220px;
    }
    .layout-slider .sma-media-box {
        height: 200px;
    }
    .layout-carousel .swiper {
        width: 260px;
        height: 360px;
    }
    .layout-zigzag {
        padding: 40px 15px;
    }
    .layout-zigzag h3 {
        font-size: 28px;
    }
    .sma-modal-close-btn {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .sma-m-title {
        font-size: 22px;
    }
}