 .ribbon-tab:focus { outline: none !important; box-shadow: none !important; }
        
        .ribbon-container {
            display: flex;
            gap: 0;
            margin: 20px 0 30px;
            min-height: 400px;
        }

        .ribbon-content-area {
            flex: 1;
            background: var(--bg-card-front, #ffffff);
            border: 1px solid var(--border-light, #e8e8e8);
            border-radius: 8px 0 0 8px;
            padding: 40px 45px;
            box-shadow: 0 4px 20px var(--shadow-light, rgba(0,0,0,0.04));
            min-height: 400px;
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* ============================================
           IMAGE CAROUSEL (inside content area)
           ============================================ */
        .image-carousel-wrapper {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            border: 1px solid var(--border-light, #e8e8e8);
            background: #1a1a1a;
            width: 100%;
            max-width: 900px;
            user-select: none;
        }

        .image-carousel {
            display: flex;
            transition: transform 0.5s ease;
        }

        .image-carousel .slide {
            flex: 0 0 100%;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #1a1a1a;
            cursor: pointer;
            position: relative;
        }

        .image-carousel .slide img {
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.3s ease;
            cursor: pointer;
            display: block;
        }

        .image-carousel .slide .zoom-hint {
            position: absolute;
            bottom: 15px;
            right: 15px;
            background: rgba(0,0,0,0.6);
            color: #fff;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .image-carousel .slide:hover .zoom-hint {
            opacity: 1;
        }

        .carousel-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            padding: 12px 0;
            background: rgba(0,0,0,0.7);
        }

        .carousel-dots .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
        }

        .carousel-dots .dot.active {
            background: var(--gold, #c9a84c);
            transform: scale(1.2);
        }

        .carousel-dots .dot:hover {
            background: rgba(255,255,255,0.6);
        }

        .carousel-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 5;
            background: rgba(0,0,0,0.5);
            color: #fff;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .carousel-arrow:hover {
            background: var(--gold, #c9a84c);
        }

        .carousel-arrow-left { left: 10px; }
        .carousel-arrow-right { right: 10px; }

        .no-modulars {
            text-align: center;
            padding: 60px 20px;
            color: #999;
        }

        .no-modulars .empty-icon {
            font-size: 60px;
            color: var(--gold, #c9a84c);
            opacity: 0.2;
            display: block;
            margin-bottom: 20px;
        }

        .no-modulars h3 {
            font-size: 20px;
            color: #666;
            font-weight: 300;
        }

        .no-modulars p {
            font-size: 14px;
            color: #999;
        }

        .ribbon-side {
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding-left: 0;
            flex-shrink: 0;
            width: 160px;
            position: relative;
            z-index: 2;
            padding-top: 10px;
        }

        .ribbon-tab {
            position: relative;
            padding: 14px 20px 12px 18px;
            background: var(--bg-card-front, #ffffff);
            border: 1px solid var(--border-light, #e8e8e8);
            border-left: none;
            border-radius: 0 8px 8px 0;
            font-family: var(--font-primary, 'Georgia', serif);
            font-size: 13px;
            font-weight: 600;
            color: var(--text-secondary, #555555);
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            text-align: left;
            box-shadow: 2px 2px 8px var(--shadow-light, rgba(0,0,0,0.04));
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 10px;
            min-height: 48px;
            border: none;
            width: 100%;
            background: var(--bg-card-front, #ffffff);
            border: 1px solid var(--border-light, #e8e8e8);
            border-left: none;
            border-radius: 0 8px 8px 0;
            text-decoration: none !important;
        }

        .ribbon-tab::after {
            content: '';
            position: absolute;
            left: -12px;
            top: 0;
            width: 12px;
            height: 100%;
            background: inherit;
            clip-path: polygon(100% 0, 0 50%, 100% 100%);
            border-left: 1px solid var(--border-light, #e8e8e8);
            border-top: 1px solid var(--border-light, #e8e8e8);
            border-bottom: 1px solid var(--border-light, #e8e8e8);
            border-radius: 4px 0 0 4px;
        }

        .ribbon-tab::before {
            content: '';
            position: absolute;
            bottom: -8px;
            right: 0;
            width: 100%;
            height: 10px;
            background: inherit;
            clip-path: polygon(100% 0, 50% 100%, 0 0);
            border: 1px solid var(--border-light, #e8e8e8);
            border-top: none;
            border-radius: 0 0 4px 4px;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .ribbon-tab.active {
            background: var(--gold, #c9a84c);
            color: #ffffff;
            border-color: var(--gold, #c9a84c);
            box-shadow: 4px 4px 20px rgba(201, 168, 76, 0.25);
            transform: translateX(4px);
            z-index: 3;
        }

        .ribbon-tab.active::after {
            border-color: var(--gold, #c9a84c);
            background: var(--gold, #c9a84c);
        }

        .ribbon-tab.active::before {
            opacity: 1;
            border-color: var(--gold, #c9a84c);
            background: var(--gold-dark, #a8893a);
        }

        .ribbon-tab:hover:not(.active) {
            background: var(--gold-light, #e8d5a3);
            border-color: var(--gold, #c9a84c);
            color: var(--text-primary, #1a1a1a);
            transform: translateX(4px);
        }

        .ribbon-tab i {
            font-size: 16px;
            min-width: 20px;
            text-align: center;
        }

        .ribbon-tab.active i {
            color: #ffffff;
        }

        /* ============================================
           IMAGE MODAL (Zoom)
           ============================================ */
        .image-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.92);
            z-index: 99999;
            align-items: center;
            justify-content: center;
            padding: 20px;
            cursor: grab;
        }

        .image-modal.show {
            display: flex !important;
        }

        .modal-container {
            position: relative;
            max-width: 95%;
            max-height: 92vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            padding: 8px;
        }

        .modal-image-wrapper {
            position: relative;
            max-height: 80vh;
            overflow: hidden;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0,0,0,0.3);
        }

        .modal-image-wrapper img {
            max-width: 100%;
            max-height: 80vh;
            object-fit: contain;
            border-radius: 8px;
            display: block;
            cursor: grab;
            user-select: none;
            transition: none;
        }

        .modal-image-wrapper img:active {
            cursor: grabbing;
        }

        .modal-close {
            position: absolute;
            top: 10px;
            right: 10px;
            color: #fff;
            font-size: 20px;
            background: rgba(0,0,0,0.7);
            border: 2px solid rgba(255,255,255,0.2);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .modal-close:hover {
            background: #dc3545;
            transform: rotate(90deg) scale(1.1);
        }

        .modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: rgba(0,0,0,0.6);
            color: #fff;
            border: 2px solid rgba(255,255,255,0.15);
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }

        .modal-nav:hover {
            background: #c9a84c;
            border-color: #c9a84c;
            transform: translateY(-50%) scale(1.1);
        }

        .modal-nav-left { left: 8px; }
        .modal-nav-right { right: 8px; }

        .modal-counter {
            color: rgba(255,255,255,0.4);
            font-size: 12px;
            margin-top: 8px;
            font-weight: 300;
        }

        .modal-counter span {
            color: #c9a84c;
            font-weight: 600;
        }

        .modal-title {
            color: #fff;
            font-size: 14px;
            margin-top: 10px;
            font-family: 'Georgia', serif;
            text-align: center;
            opacity: 0.6;
        }

        @media (max-width: 768px) {
            .ribbon-container {
                flex-direction: column-reverse;
            }
            
            .ribbon-side {
                flex-direction: row;
                flex-wrap: wrap;
                width: 100%;
                padding-top: 0;
                gap: 3px;
                overflow-x: auto;
            }
            
            .ribbon-tab {
                padding: 8px 14px 6px 14px;
                font-size: 11px;
                border-radius: 6px 6px 0 0;
                border: 1px solid var(--border-light, #e8e8e8);
                border-bottom: none;
                text-align: center;
                justify-content: center;
                flex: 0 0 auto;
                min-height: 34px;
            }
            
            .ribbon-tab::after,
            .ribbon-tab::before {
                display: none;
            }
            
            .ribbon-tab.active {
                transform: translateY(-2px);
                border-bottom: 3px solid var(--gold, #c9a84c);
            }
            
            .ribbon-content-area {
                border-radius: 8px 8px 0 0;
                padding: 25px 20px;
            }

            .image-carousel .slide {
                aspect-ratio: 4 / 3;
            }

            .carousel-arrow {
                width: 32px;
                height: 32px;
                font-size: 14px;
            }

            .modal-nav {
                width: 32px;
                height: 32px;
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .ribbon-content-area {
                padding: 15px;
            }

            .image-carousel .slide {
                aspect-ratio: 1 / 1;
            }

            .carousel-dots .dot {
                width: 8px;
                height: 8px;
            }

            .carousel-arrow {
                width: 28px;
                height: 28px;
                font-size: 12px;
            }

            .modal-nav {
                width: 28px;
                height: 28px;
                font-size: 12px;
            }

            .modal-close {
                width: 32px;
                height: 32px;
                font-size: 16px;
                top: 5px;
                right: 5px;
            }
        }

/* ============================================ */
        /* IMAGE CAROUSEL - MATCH LIVINGROOM.PHP */
        /* ============================================ */
        .image-carousel-wrapper {
            position: relative;
            overflow: hidden;
            margin-bottom: 30px;
            border-radius: 10px;
            border: 1px solid var(--border-light, #e8e8e8);
            background: #1a1a1a;
        }

        .image-carousel {
            display: flex;
            transition: transform 0.5s ease;
        }

        .image-carousel .slide {
            flex: 0 0 100%;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            cursor: pointer;
        }

        .image-carousel .slide img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .image-carousel .slide .zoom-hint {
            position: absolute;
            bottom: 20px;
            right: 20px;
            background: rgba(0,0,0,0.7);
            color: #fff;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-family: 'Segoe UI', sans-serif;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .image-carousel .slide:hover .zoom-hint {
            opacity: 1;
        }

        .carousel-dots {
            display: flex !important;
            justify-content: center;
            align-items: center;
            gap: 10px;
            padding: 12px 0;
            background: rgba(0,0,0,0.7);
            flex-wrap: wrap;
        }

        .carousel-dots .dot {
            display: inline-block !important;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            min-width: 10px;
            min-height: 10px;
            padding: 0;
        }

        .carousel-dots .dot.active {
            background: var(--gold, #c9a84c);
            transform: scale(1.2);
        }

        .carousel-dots .dot:hover {
            background: rgba(255,255,255,0.6);
        }

        .carousel-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 5;
            background: rgba(0,0,0,0.5);
            color: #fff;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .carousel-arrow:hover {
            background: var(--gold, #c9a84c);
        }

        .carousel-arrow-left { left: 10px; }
        .carousel-arrow-right { right: 10px; }

        /* ============================================ */
        /* RIBBON CONTAINER - MATCH LIVINGROOM.PHP */
        /* ============================================ */
        .ribbon-container {
            display: flex;
            gap: 0;
            margin: 20px 0 30px;
            min-height: 400px;
        }

        .ribbon-content-area {
            flex: 1;
            background: var(--bg-card-front, #ffffff);
            border: 1px solid var(--border-light, #e8e8e8);
            border-radius: 8px 0 0 8px;
            padding: 30px 35px;
            box-shadow: 0 4px 20px var(--shadow-light, rgba(0,0,0,0.04));
            min-height: 400px;
            position: relative;
            z-index: 1;
        }

        /* ============================================ */
        /* RIBBON SIDE - MATCH LIVINGROOM.PHP */
        /* ============================================ */
        .ribbon-side {
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding-left: 0;
            flex-shrink: 0;
            width: 160px;
            position: relative;
            z-index: 2;
            padding-top: 10px;
        }

        .ribbon-tab {
            position: relative;
            padding: 14px 20px 12px 18px;
            background: var(--bg-card-front, #ffffff);
            border: 1px solid var(--border-light, #e8e8e8);
            border-left: none;
            border-radius: 0 8px 8px 0;
            font-family: var(--font-primary, 'Georgia', serif);
            font-size: 13px;
            font-weight: 600;
            color: var(--text-secondary, #555555);
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            text-align: left;
            box-shadow: 2px 2px 8px var(--shadow-light, rgba(0,0,0,0.04));
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 10px;
            min-height: 48px;
            border: none;
            width: 100%;
            background: var(--bg-card-front, #ffffff);
            border: 1px solid var(--border-light, #e8e8e8);
            border-left: none;
            border-radius: 0 8px 8px 0;
            text-decoration: none !important;
        }

        .ribbon-tab::after {
            content: '';
            position: absolute;
            left: -12px;
            top: 0;
            width: 12px;
            height: 100%;
            background: inherit;
            clip-path: polygon(100% 0, 0 50%, 100% 100%);
            border-left: 1px solid var(--border-light, #e8e8e8);
            border-top: 1px solid var(--border-light, #e8e8e8);
            border-bottom: 1px solid var(--border-light, #e8e8e8);
            border-radius: 4px 0 0 4px;
        }

        .ribbon-tab::before {
            content: '';
            position: absolute;
            bottom: -8px;
            right: 0;
            width: 100%;
            height: 10px;
            background: inherit;
            clip-path: polygon(100% 0, 50% 100%, 0 0);
            border: 1px solid var(--border-light, #e8e8e8);
            border-top: none;
            border-radius: 0 0 4px 4px;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .ribbon-tab.active {
            background: var(--gold, #c9a84c);
            color: #ffffff;
            border-color: var(--gold, #c9a84c);
            box-shadow: 4px 4px 20px rgba(201, 168, 76, 0.25);
            transform: translateX(4px);
            z-index: 3;
        }

        .ribbon-tab.active::after {
            border-color: var(--gold, #c9a84c);
            background: var(--gold, #c9a84c);
        }

        .ribbon-tab.active::before {
            opacity: 1;
            border-color: var(--gold, #c9a84c);
            background: var(--gold-dark, #a8893a);
        }

        .ribbon-tab:hover:not(.active) {
            background: var(--gold-light, #e8d5a3);
            border-color: var(--gold, #c9a84c);
            color: var(--text-primary, #1a1a1a);
            transform: translateX(4px);
        }

        .ribbon-tab i {
            font-size: 16px;
            min-width: 20px;
            text-align: center;
        }

        .ribbon-tab.active i {
            color: #ffffff;
        }

        /* ============================================ */
        /* NO MODULARS STATE */
        /* ============================================ */
        .no-modulars {
            text-align: center;
            padding: 60px 20px;
            color: #999;
        }

        .no-modulars .empty-icon {
            font-size: 60px;
            color: var(--gold, #c9a84c);
            opacity: 0.2;
            display: block;
            margin-bottom: 20px;
        }

        .no-modulars h3 {
            font-size: 20px;
            color: #666;
            font-weight: 300;
        }

        .no-modulars p {
            font-size: 14px;
            color: #999;
        }

        /* ============================================ */
        /* IMAGE MODAL - MATCH LIVINGROOM.PHP */
        /* ============================================ */
        .image-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.92);
            z-index: 99999;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .image-modal.show {
            display: flex !important;
        }

        .modal-container {
            position: relative;
            max-width: 90%;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            padding: 8px;
            background: transparent;
        }

        .modal-image-wrapper {
            position: relative;
            max-height: 80vh;
            overflow: hidden;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-image-wrapper img {
            max-width: 100%;
            max-height: 80vh;
            object-fit: contain;
            border-radius: 8px;
            display: block;
            cursor: grab;
            user-select: none;
        }

        .modal-image-wrapper img:active {
            cursor: grabbing;
        }

        .modal-close {
            position: absolute;
            top: 10px;
            right: 10px;
            color: #fff;
            font-size: 20px;
            background: rgba(0,0,0,0.7);
            border: 2px solid rgba(255,255,255,0.2);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .modal-close:hover {
            background: #dc3545;
            transform: rotate(90deg) scale(1.1);
        }

        .modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: rgba(0,0,0,0.6);
            color: #fff;
            border: 2px solid rgba(255,255,255,0.15);
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }

        .modal-nav:hover {
            background: var(--gold, #c9a84c);
            border-color: var(--gold, #c9a84c);
            transform: translateY(-50%) scale(1.1);
        }

        .modal-nav-left { left: 10px; }
        .modal-nav-right { right: 10px; }

        .modal-counter {
            color: rgba(255,255,255,0.4);
            font-size: 13px;
            margin-top: 10px;
            font-weight: 300;
        }

        .modal-counter span {
            color: var(--gold, #c9a84c);
            font-weight: 600;
        }

        .modal-title {
            color: rgba(255,255,255,0.8);
            font-size: 16px;
            margin-top: 8px;
            font-weight: 400;
            font-family: var(--font-primary, 'Georgia', serif);
            text-align: center;
        }

        /* ============================================ */
        /* RESPONSIVE - MATCH LIVINGROOM.PHP */
        /* ============================================ */
        @media (max-width: 1024px) {
            .ribbon-side { width: 140px; }
            .ribbon-tab { font-size: 12px; padding: 12px 16px 10px 14px; min-height: 44px; }
            .ribbon-tab i { font-size: 15px; min-width: 18px; }
            .ribbon-content-area { padding: 25px 28px; }
        }

        @media (max-width: 992px) {
            .ribbon-side { width: 130px; }
            .ribbon-tab { font-size: 12px; padding: 10px 14px 8px 12px; min-height: 40px; }
            .ribbon-tab i { font-size: 14px; min-width: 16px; }
            .ribbon-content-area { padding: 20px 24px; }
        }

        @media (max-width: 768px) {
            .ribbon-container { 
                flex-direction: column-reverse; 
                margin: 15px 0 20px;
            }
            
            .ribbon-side {
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                width: 100%;
                padding: 10px 0 8px 0;
                gap: 6px;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                -ms-overflow-style: none;
                justify-content: flex-start;
                border-bottom: 2px solid var(--border-light, #e8e8e8);
                margin-bottom: 5px;
                background: transparent;
                box-shadow: none;
            }
            
            .ribbon-side::-webkit-scrollbar {
                display: none;
            }
            
            .ribbon-tab {
                position: relative;
                padding: 6px 16px 6px 16px;
                background: #f5f5f5;
                border: 1px solid var(--border-light, #e8e8e8);
                border-radius: 20px;
                font-family: var(--font-primary, 'Georgia', serif);
                font-size: 12px;
                font-weight: 600;
                color: var(--text-secondary, #555555);
                text-decoration: none;
                transition: all 0.3s ease;
                cursor: pointer;
                text-align: center;
                box-shadow: none;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 6px;
                min-height: 32px;
                white-space: nowrap;
                flex: 0 0 auto;
                width: auto;
                border-left: 1px solid var(--border-light, #e8e8e8);
                border-radius: 20px;
                transform: none;
            }
            
            .ribbon-tab i {
                font-size: 12px;
                min-width: 14px;
                color: var(--text-secondary, #555555);
            }
            
            .ribbon-tab::after,
            .ribbon-tab::before { 
                display: none; 
            }
            
            .ribbon-tab.active {
                background: var(--gold, #c9a84c);
                color: #ffffff;
                border-color: var(--gold, #c9a84c);
                transform: none;
                box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3);
            }
            
            .ribbon-tab.active i {
                color: #ffffff;
            }
            
            .ribbon-tab:hover:not(.active) {
                background: var(--gold-light, #e8d5a3);
                border-color: var(--gold, #c9a84c);
                color: var(--text-primary, #1a1a1a);
                transform: none;
            }
            
            .ribbon-content-area {
                border-radius: 8px 8px 0 0;
                padding: 20px 18px;
                min-height: auto;
            }

            /* Image Carousel Mobile - Smaller Dots */
            .image-carousel .slide { 
                aspect-ratio: 4 / 3; 
            }
            
            .carousel-arrow { 
                width: 34px; 
                height: 34px; 
                font-size: 14px; 
            }
            
            .carousel-arrow-left { left: 6px; }
            .carousel-arrow-right { right: 6px; }
            
            .carousel-dots {
                padding: 8px 0;
                gap: 5px;
            }
            
            .carousel-dots .dot {
                width: 6px !important;
                height: 6px !important;
                min-width: 6px !important;
                min-height: 6px !important;
                border-radius: 50%;
                margin: 0;
            }

            .image-carousel .slide .zoom-hint {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .ribbon-side {
                gap: 4px;
                padding: 8px 0 6px 0;
            }
            
            .ribbon-tab { 
                font-size: 10px; 
                padding: 4px 12px 4px 12px; 
                min-height: 26px;
                gap: 4px;
                border-radius: 16px;
            }
            
            .ribbon-tab i { 
                font-size: 10px; 
                min-width: 12px; 
            }
            
            .ribbon-content-area { 
                padding: 14px 12px; 
            }

            /* Image Carousel Mobile - Even Smaller Dots */
            .image-carousel .slide { 
                aspect-ratio: 1 / 1; 
            }
            
            .carousel-arrow { 
                width: 28px; 
                height: 28px; 
                font-size: 12px; 
            }
            
            .carousel-dots {
                padding: 6px 0;
                gap: 4px;
            }
            
            .carousel-dots .dot {
                width: 5px !important;
                height: 5px !important;
                min-width: 5px !important;
                min-height: 5px !important;
                border-radius: 50%;
                margin: 0;
            }
            
            .image-carousel-wrapper {
                margin-bottom: 20px;
                border-radius: 8px;
            }

            .modal-nav {
                width: 34px;
                height: 34px;
                font-size: 14px;
            }
            
            .modal-nav-left { left: 4px; }
            .modal-nav-right { right: 4px; }
            
            .modal-close {
                width: 34px;
                height: 34px;
                font-size: 16px;
                top: 6px;
                right: 6px;
            }
            
            .modal-counter {
                font-size: 12px;
            }
            
            .modal-image-wrapper {
                max-height: 60vh;
            }
            
            .modal-image-wrapper img {
                max-height: 60vh;
            }

            .modal-title {
                font-size: 14px;
            }
        }

        @media (max-width: 360px) {
            .ribbon-content-area { 
                padding: 10px 8px; 
            }
            
            .ribbon-side {
                gap: 3px;
                padding: 6px 0 4px 0;
            }
            
            .ribbon-tab { 
                font-size: 9px; 
                padding: 3px 8px 3px 8px; 
                min-height: 22px;
                gap: 3px;
                border-radius: 12px;
            }
            
            .ribbon-tab i { 
                font-size: 9px; 
                min-width: 10px; 
            }

            /* Even smaller dots for extra small devices */
            .carousel-dots {
                padding: 4px 0;
                gap: 3px;
            }
            
            .carousel-dots .dot {
                width: 4px !important;
                height: 4px !important;
                min-width: 4px !important;
                min-height: 4px !important;
                border-radius: 50%;
                margin: 0;
            }

            .modal-nav {
                width: 30px;
                height: 30px;
                font-size: 12px;
            }
            
            .modal-nav-left { left: 2px; }
            .modal-nav-right { right: 2px; }
            
            .modal-close {
                width: 30px;
                height: 30px;
                font-size: 14px;
                top: 4px;
                right: 4px;
            }
            
            .modal-counter {
                font-size: 11px;
                margin-top: 6px;
            }
            
            .modal-image-wrapper {
                max-height: 50vh;
            }
            
            .modal-image-wrapper img {
                max-height: 50vh;
            }

            .modal-title {
                font-size: 12px;
            }
        }